## Monitor Service Function Instance Surrogate (VMs)
#### Configurations
#### Common context: Usage and Performance
| field | field | field | field | timestamp |
All of the specific context measurements below carry the following common context (this has not be replicated for brevity) for both usage and performance measurements. In this example, we illustrate using 2 surrogate VMs.
Also NOTE: the metrics provided in the measurements below are effectively a 'snapshot' of usage over a relatively small period of time. The length of this snapshot may vary, depending on the underlying implementation of the instrumentation, so we might have to assume this snapshot is close to 'instant'.
#### Specific context
| tag |
| --- |
| surrogate_id='MS_STREAM_1_SURROGATE_1' |
### USAGE: Monitor Service Function Instance Surrogate (VMs)
#### Configurations
#### Specific context: CPU usage
| measurement | \<common tags> | field | field | timestamp |
__QUESTION__: Do we only allow a 1-to-1 mapping between Media Service SF Instances and Surrogates w.r.t. configurations (i.e: I asked for 2 CPUs, I got 2 CPUs). If yes, we could cut some of the fields below.
| measurement | \<common tags> | field | field | timestamp |
All of the specific context measurements below carry the following common context (this has not be replicated for brevity) for both usage and performance measurements. In this example, we illustrate using two surrogate VMs.
#TODO: Label as averages
### PERFORMANCE: Monitor Service Function Instance Surrogate (VMs)
| measurement | tag | tag | tag | tag | tag | tag | tag |
Note all metrics described below are assumed to be *averages* over 1 second.
Also NOTE: the metrics provided in the measurements below are effectively a 'snapshot' of usage over a relatively small period of time. The length of this snapshot may vary, depending on the underlying implementation of the instrumentation, so we might have to assume this snapshot is essentially an average of a period of 1 second. Measuring 'usage' is dependent on the units, for example as a proportion of a resource or as a proportion of time.
| measurement | \<common tags> | field | timestamp |