Project

General

Profile

Actions

action #153346

closed

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

Added by tinita 9 months ago. Updated 8 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 #1

Updated by okurz 9 months ago

  • Tags set to infra, reactive work
Actions #2

Updated by okurz 9 months ago

  • Subject changed from Update Grafana API call to get firing alerts to new API to Update Grafana API call to get firing alerts to new API size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #3

Updated by okurz 8 months ago

  • Target version changed from Tools - Next to Ready
Actions #4

Updated by nicksinger 8 months ago

  • Status changed from Workable to In Progress
  • Assignee set to nicksinger
Actions #5

Updated by nicksinger 8 months ago

  • Status changed from In Progress to Feedback
Actions #6

Updated by okurz 8 months ago

  • Status changed from Feedback to Resolved

https://gitlab.suse.de/openqa/osd-deployment/-/merge_requests/55 merged. We can reopen if we see problems.

Actions

Also available in: Atom PDF