Project

General

Profile

Bug #45448

mgr/dashboard: automated tests for Prometheus configuration

Added by Patrick Seidensal 9 months ago. Updated 8 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:

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 - Bug #45415: mgr/dashboard: run alertmanager rules through promtool New

History

#1 Updated by Ernesto Puerta 9 months ago

  • Related to Bug #45415: mgr/dashboard: run alertmanager rules through promtool added

#3 Updated by Patrick Seidensal 8 months ago

  • Assignee set to Patrick Seidensal

Also available in: Atom PDF