Skip to main content
Solved

Issue Querying "metric-aggregates" Endpoint

  • October 24, 2022
  • 2 replies
  • 170 views

Forum|alt.badge.img+2

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?

 

Best answer by rpaul12

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 

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 3 replies
  • Answer
  • October 25, 2022

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 


Brian Turcotte
Forum|alt.badge.img+37

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