Project

General

Profile

Bug #45448

mgr/dashboard: automated tests for Prometheus configuration

Added by Patrick Seidensal 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Category:
dashboard/qa
Target version:
-
% Done:

0%

Source:
Tags:
monitoring
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently, there's no mechanism in place that prevents to use breaking changes or syntax errors in the Prometheus configuration, which also includes the Prometheus alerts.

By utilizing `promtool`, we can have a very cheap but working test to ensure that compatibility or syntax isn't broken.
The scope of this tool is limited to Prometheus' configuration and will not prevent any breaking changes in Grafana dashboards.

promtool for nautilus and octopus should be used to ensure compatiblity for Prometheus v2.7.2. Pacific may be tested by the most recent promtool.


Related issues

Related to mgr - Cleanup #45415: mgr/dashboard: test prometheus/alertmanager rules through promtool Pending Backport

History

#1 Updated by Ernesto Puerta 11 months ago

  • Related to Cleanup #45415: mgr/dashboard: test prometheus/alertmanager rules through promtool added

#3 Updated by Patrick Seidensal 11 months ago

  • Assignee set to Patrick Seidensal

Also available in: Atom PDF