Originally posted by: PAKN
Alain, glad to see those cool visualizations you have been able to create. Its great that you are already using the new attributes transmittedBytes and transferredBytes introduced in 8.5.0.
The following API for fetching processed metrics would work fine without the StartTS and EndTS fetching you the latest 10 samples.
https://<hmc-ip>:12443/rest/api/pcm/ManagedSystem/<uuid>/ProcessedMetrics?NoOfSamples=10
Considering the current time on the HMC is:
Fri Nov 25 11:27:18 UTC 2016
The StartTS and EndTS would automatically take the below values:
"startTimeStamp": "2016-11-25T11:21:46+0000",
"endTimeStamp": "2016-11-25T11:26:16+0000",
Hope that clarifies. Thanks.