Data Infrastructure Management Software Discussions
From OCI REST interface I am able to get the performace of nodes, volumes, etc, but found out the default is a week ( avg ). Trying to find out the way to limit the time of the performance response ( to last 3 hours for example ).
Links I use to get performance:
Does anyone know how to limit the default weekly avg with another timestart without expanding ? ( by expanding you get 15 min datapoints for 1 week !
Thanks in advance.
No, and yes...
OCI polls C-Mode data sources on 15min intervals
Hence you could grab the expanded output and then filter in your code for the 15min samples that you want to use.
I hope this response has been helpful to you.At your service,Eugene E. Kashpureff, Sr.Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureffSenior NetApp Instructor, Fast Lane US http://www.fastlaneus.com/(P.S. I appreciate 'kudos' on any helpful posts.)
I think you can construct a request like:
Where you specify the
fromtime in Unix *milliseconds* based timestamp, as well as the toTime
The expand=default only has performance metrics for the various objects of the thing we are talking about - not the invidual samples the expand=history has.
For example, on the demo (sales) database, one of the nodes has
You would want to use the "avg" latency for your use case.
I hope this helps. This is not my area of expertize, but most of the OCI folks have been travelling to Las Vegas over the last day or two - I am at 36k feet right now myself