Solved

Issue Querying "metric-aggregates" Endpoint

  • 24 October 2022
  • 2 replies
  • 159 views

Userlevel 1
Badge +1

I am trying to hit the “metric-aggregates” endpoint to get and analyze my metric data over the prior few months. However, I keep receiving a 500 Servor Error Occurred, when trying to make the below request (in python). Is there anything else I’d need to add to my query to resolve this issue?

 

icon

Best answer by rpaul12 25 October 2022, 17:46

View original

2 replies

Userlevel 1
Badge +1

The issue was the interval: “hourly” - “hourly” is not supported, it was supposed to be “hour”.

 

I would suggest adding a more descriptive error message - similar to the error messages that occur when the filter string is formatted incorrectly 

Userlevel 7
Badge +36

Hi @rpaul12 and welcome to the Community!

 

I will certainly share this error message enhancement request with our Product Team for further consideration - in the mean time, here is a link to a page in our developer portal about Query Metric Aggregates:

 

Developer Portal - Query Metric Aggregates

 

Thank you for using the Community!

 

-Brian

Reply