Processed Metrics for Logical Partition
The processed metrics for logical partition are generated at every processing duration (30 seconds), same as the Long Term Monitoring (LTM) frequency and the metrics are retained for a maximum of 2 hours. After 2 hours, they are rolled up by the aggregation logic.
Resource
/rest/api/pcm/ManagedSystem/{system_uuid}/LogicalPartition/{uuid}/ProcessedMetrics /rest/api/pcm/ManagedSystem/{system_uuid}/LogicalPartition/{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 |
| Method | Description | Internet media type |
|---|---|---|
| GET | This API is used to retrieve the processed metrics for a logical partition. 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 logical partition. 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. In response the application returns Atom feed and Atom entries. Attributes of the Atom feed are as follows:
- Id: UUID of the logical partition.
- 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. The category used to collect metrics is
LogicalPartition.
- Frequency: Indicates metrics processing frequency in seconds.
The application processes data at every processing interval and generates one snapshot for the logical partition utilization. Each snapshot corresponds to an Atom entry.
The metric data is supplied in the JSON format. The following link provides JSON specification for logical partition processed metrics.