Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can I retrieve metric data points from StatusPage api?

Jeffrey Liu May 7, 2021

I could be mistaken, but it seems that "Get a Metric" on the StatusPage api just gets the metric metadata. Is it possible to retrieve the data points that had been posted to /pages/{page_id}/metrics/data endpoint? Or is it possible to get the value from a metric like the average of API response time for last month?

1 answer

0 votes
Nick Coates
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 10, 2021

Hi Jeffrey,

Welcome to the Atlassian Community.

The "get a metric" endpoint will only return the metadata. I can't see an API endpoint that would get the specific data points that were posted. I also assume only the last 28 days of data are retained (as per the KB article: https://support.atlassian.com/statuspage/docs/what-are-system-metrics/)

Thanks,
Nick

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events