Repository navigation
Get Performance Data
Read stored samples for one performance series over a UTC time window. Read a performance trend
| Argument | Required or default | Meaning |
|---|---|---|
objectId |
Required | Owner GUID from counters.objects[].id in List performance counters. |
seriesId |
Required |
seriesId from a counter on that same owner. |
from |
24 hours before to
|
Inclusive UTC start (Z or +00:00), at or before to. |
to |
Now | Inclusive UTC end (Z or +00:00), no later than now. |
bucket |
auto |
Also accepts 5m, 15m, 1h or 1d. The host may widen the bucket to fit 200 points. |
{"name":"scom_get_performance_data","arguments":{"objectId":"11111111-1111-4111-8111-111111111111","seriesId":"22222222-2222-4222-8222-222222222222","bucket":"auto"}}Check data.state for usable samples, then read summary, the actual bucket and gaps. Empty buckets are omitted. Null samples indicate missing values. Optimized collection can leave gaps while a value stays within tolerance. SCOM supplies no separate units field.
If truncated is true, the summary and points cover only the samples read. For a request beyond retention, shorten the window to the duration given in the error.
scom_get_performance_series queries the SCOM data warehouse by counterName. You can narrow the match with objectName, instanceName and entity. Set lookbackHours or use the 24-hour default. resolution takes Auto, Raw, Hourly or Daily. For hourly and daily values, summaryValueType takes Average, Minimum or Maximum.
{"name":"scom_get_performance_series","arguments":{"counterName":"% Processor Time","objectName":"Processor","instanceName":"_Total","lookbackHours":168}}Use the reported resolution, queried UTC window and returned timestamps when interpreting the result. Truncation keeps the newest samples. Historical coverage depends on retention and aggregation. A SQL login needs independent warehouse permissions. This tool is omitted when the host launches with warehouse access disabled. Host options · SQL identity, permissions and retention