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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,475
Community Members
 
Community Events
184
Community Groups

Statuspage Promethus Integration API error: {"error":"No metrics were specified, or unable to locate

Edited

Trying to Integrate the Statuspage with Prometheus using the following GO based code.
https://github.com/itering/prometheus-statuspage-pusher

1. deployed the dockerized image as in the kubernetes cluster as a pod to query the prometheus and push the metrics to Statuspage

2. added ametic on the status page with "I will submit my own data for this metric "option

3. crated the prometheus query file with the metricID in the qury.yaml files

4. Run the pod by supplying the statuspage IP< page ID, prometheus url and and qury.yaml file ( which contains quirt and metic ID)

/usr/bin/prometheus-statuspage-pusher -config "/app/queries.yaml" -prom "<Prometheus URL>" -pageid "<statuspage page ID>" -apikey " <StausPage API key>"

Result

which pushing the metrics to statuspage , getting HTTP status 403, API error

INFO[0000] Started to query and pushing metrics
ERRO[0000] Expected single time serial, got 0 backfill="<nil>" metric_id=3l44xxxxcp
INFO[0000] Pushing metrics:
ERRO[0000] HTTP status 403, API error: {"error":"No metrics were specified, or unable to locate metrics with the specified ids."}

Could you please share your inputs on error (HTTP status 403, API ) while pushing the data

1 answer

1 accepted

1 vote
Answer accepted

The issue got resolved after updating API URL for Adding data to a metric

https://api.statuspage.io/v1/pages/{page_id}/metrics/{metric_id}/data

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events