Project

General

Profile

Actions

action #111440

closed

Avoid OSD deployment monitoring to fail due to WIP dashboard alerts

Added by mkittler over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2022-05-23
Due date:
% Done:

0%

Estimated time:
Tags:

Description

This weekend the OSD deployment post monitoring jobs failed due to:

+++ eval curl -S -s '"https://stats.openqa-monitor.qa.suse.de/api/alerts?
state=alerting"' '|' jq ''\''.[]' '|' 'select(.dashboardSlug!="automatic-
actions")'\'''
++++ curl -S -s 'https://stats.openqa-monitor.qa.suse.de/api/alerts?
state=alerting'
++++ jq '.[] | select(.dashboardSlug!="automatic-actions")'
++ new='{
  "id": 225,
  "dashboardId": 42,
  "dashboardUid": "liVg5rDGz",
  "dashboardSlug": "worker-dashboard-additional-grenache-1",
  "panelId": 2,
  "name": "grenache-1: pingable alert",
  "state": "alerting",
  "newStateDate": "2022-05-22T08:15:08+02:00",
  "evalDate": "0001-01-01T00:00:00Z",
  "evalData": {
    "evalMatches": [
      {
        "metric": "ping.last",
        "tags": null,
        "value": 1
      }
    ]
  },
  "executionError": "",
  "url": "/d/liVg5rDGz/worker-dashboard-additional-grenache-1"
}'

It was just about the WIP dashboard https://stats.openqa-monitor.qa.suse.de/d/liVg5rDGz/worker-dashboard-additional-grenache-1?orgId=1 and should likely be ignored.

Actions

Also available in: Atom PDF