ceph/monitoring/prometheus/tests/settings.py
Paul Cuzner 4750ac0d77 mgr/prometheus: add test cases and validation using tox
Focus all tests inside a tests directory, and use pytest/tox to
perform validation of the overall content. tox tests also use
promtool if available to provide rule checks and unittest runs.

In addition to these checks a validate_rules script provides the
format, and content checks against all rules - which is also
called via tox (but can be run independently too)

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2021-10-22 13:36:40 +13:00

2 lines
85 B
Python

ALERTS_FILE = '../alerts/ceph_default_alerts.yml'
UNIT_TESTS_FILE = 'test_alerts.yml'