Project

General

Profile

Actions

Cleanup #45415

closed

mgr/dashboard: test prometheus/alertmanager rules through promtool

Added by Ernesto Puerta about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Category:
Monitoring
Target version:
% Done:

0%

Tags:
Backport:
pacific,octopus,nautilus
Reviewed:
Affected Versions:
Pull request ID:

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 5 (1 open4 closed)

Related to Dashboard - Bug #45448: mgr/dashboard: automated tests for Prometheus configurationNewPatrick Seidensal

Actions
Related to Ceph - Bug #49695: install-deps: docker-ce, docker-ce-cli, containerd.io not found on f33Closed

Actions
Copied to Dashboard - Backport #49656: nautilus: mgr/dashboard: test prometheus/alertmanager rules through promtoolResolvedAashish SharmaActions
Copied to Dashboard - Backport #49657: octopus: mgr/dashboard: test prometheus/alertmanager rules through promtoolResolvedAashish SharmaActions
Copied to Dashboard - Backport #49658: pacific: mgr/dashboard: test prometheus/alertmanager rules through promtoolResolvedAashish SharmaActions
Actions

Also available in: Atom PDF