Project

General

Profile

Bug #45415

mgr/dashboard: run alertmanager rules through promtool

Added by Ernesto Puerta 9 months ago. Updated 9 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
dashboard/monitoring
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Given the increasing number of issues found on monitoring, some validation/testing should be put in place to avoid manual/integration testing.

Fortunately Prometheus Alertmanager offers a tool (promtool) for generating fake timeseries and test rules with them: https://prometheus.io/docs/prometheus/latest/configuration/unit_testing_rules/.


Related issues

Related to mgr - Bug #45448: mgr/dashboard: automated tests for Prometheus configuration New

History

#1 Updated by Ernesto Puerta 9 months ago

  • Related to Bug #45448: mgr/dashboard: automated tests for Prometheus configuration added

#2 Updated by Alfonso Martínez 9 months ago

Alertmanager also has its own tool to check its config:

amtool check-config <config.yml>

Also available in: Atom PDF