Sorry, I was thinking daily was shorter retention. Daily actually can do upto 365 days. After 365 days, weekly is used.
Hourly can only do upto 90 days OOTB. Past that you need to use daily.
So, that will only show as many daily data points are available upto 10000.
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/performance-management/3-7/apis/openapi/configure-openapi-defaults-and-limits.htmlThe default time is 30 secs (defaultQueryTimeoutSecs) to return an answer before it fails, but can go up to 120 (maxQueryTimeoutSecs) by using &timeout=120 in the URL. See if it works with &timeout=120. You can always change the defaultQueryTimeoutSecs to 120 to match max (and even extend max if you need to query a large time range).
maxTopLimit limits the max to 20000 for $top, so if there are more then 20000 daily points for 180+ days, then to get them all, you need to increase that.
Original Message:
Sent: 05-18-2020 04:19 PM
From: Planning And Performance Management
Subject: Large queries with openAPI in CAPM
Hi Pinard
I get it, the placement. but how can I have the result based on pooling. i need a longer period with a low granulity (pooling).
See my command :
http://10.100.40.33:8581/odata/api/cpumfs?$select=Timestamp,im_Utilization&$filter=(DeviceItemID%20eq%204698))&period=1d&$top=10000&$format=application/json;odata=verbose
Cassio
------------------------------
Analista
Cia de Tecnologia da Informação de Minas Gerais - PRODEMGE
Original Message:
Sent: 05-18-2020 04:06 PM
From: JEFFREY PINARD
Subject: Large queries with openAPI in CAPM
Does it timeout or just not return results?
over 180 days it should query weekly data. So when selecting time range, be sure to select Week resolution.
Url will contain like: &resolution=WEEK&starttime=<timestamp>&endtime=<timestamp>
Original Message:
Sent: 05-18-2020 02:54 PM
From: Planning And Performance Management
Subject: Large queries with openAPI in CAPM
how to return large queries using openAPI in CA Performance center ?
How to read the CPU consumption history of an ID when above 180 days using the default tool API?
Modifying the "Configure Maximum Results" parameters did not resolve the query issue of 180 days or more.
Cássio Pinheiro
------------------------------
Analista
Cia de Tecnologia da Informação de Minas Gerais - PRODEMGE
------------------------------