Processed Metrics for Managed System
The processed metrics for managed system are generated at every processing duration (30 seconds), same as the Long Term Monitor (LTM) frequency and the metrics are retained for maximum of 2 hours. After 2 hours, they are rolled up by the aggregation logic.
Resource
/rest/api/pcm/ManagedSystem/{uuid}/ProcessedMetrics /rest/api/pcm/ManagedSystem/{uuid}/ProcessedMetrics?StartTS={StartTS}&EndTS={EndTS}&NoOfSamples={n} | Quick property | Description | Format |
|---|---|---|
| StartTS | Start timestamp is a mandatory parameter. The API returns available Processed metrics after the specified time. | yyyy-MM-ddTHH:mm:ssZ |
| EndTS | End timestamp is an optional parameter. If specified, the API returns available Processed metrics on or before the specified time. | yyyy-MM-ddTHH:mm:ssZ |
| NoOfSamples | Number of samples is an optional parameter. If specified, the API returns the specified number of Processed metrics. | int > 0 |
| FileFormat | File format is an optional parameter. If the parameter is not specified, the API returns the Processed metrics in JSON format. | JSON or CSV |
| Method | Description | Internet media type |
|---|---|---|
| GET | This API retrievea the processed metrics for a managed system. The response is returned as an Atom feed to the consumer. The Atom Feed contains the Atom links to all the processed JSON files for the managed system. The Atom link is a web link to the actual JSON file. The content can be retrieved by using the Atom link. | application/xml |
Response
Successful execution of the request is returned with response code 200. As response, the application returns Atom feed and Atom entries. Attributes of the Atom feed are as follows:
- Id: UUID of the managed system.
- Updated: Timestamp of the last available processed metrics data
- Title: Name of metrics category.
- Subtitle: UUID of the managed system.
- Link: Type application/json, link to the processed JSON data.
- Generator: Name of console.
The Atom feed has series of Atom entries. Attributes of the Atom entry are as follows:
- Id: UUID of the managed system.
- Updated: End timestamp of the processed JSON returned.
- Title: Name of metrics category and system type.
- Published: Start timestamp of the processed JSON returned.
- Link: Type application/json, link to the processed JSON data.
- Author: Name of console.
- Category: Indicates the metrics category, in this case it is ManagedSystem.
- Frequency: Indicates metrics processing frequency in seconds.
The application processes data at every processing interval and generates one snapshot of the managed system utilization. Each snapshot corresponds to an Atom entry.
The metric data is supplied in the JSON format. The following link provides JSON specification for Managed System processed metrics.