Project

General

Profile

Actions

action #153346

closed

Update Grafana API call to get firing alerts to new API size:M

Added by tinita 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2024-01-10
Due date:
% Done:

0%

Estimated time:

Description

Observation

We are requesting https://stats.openqa-monitor.qa.suse.de/api/alerts?state=alerting in our post-deploy monitor step in osd-deployment.
However, that returns nothing, and even without a filter https://stats.openqa-monitor.qa.suse.de/api/alerts it returns an empty list.

After the migration to the unified alerting we probably need to use new API calls.
It's not obvious which call it would be though. See https://grafana.com/docs/grafana/latest/developers/

Our goal is to detect broken deployments, i.e. new alerts firing after deployment.

Suggestions

Actions

Also available in: Atom PDF