aodh/releasenotes/notes/add-metrics-endpoint-and-evaluation-counter-collection-f324ebda00fa5c6c.yaml
Jaromir Wysoglad 1643abed42 Add evaluation results counters to /metrics
This change adds code for collection and storage of
evaluation result counters. The values of the counters can
then be retreived through a new /metrics api endpoint.

Counters are collected and served for each alarm separately. Only
metrics for the current project will be shown on the /metrics endpoint.
To enable this feature set "enable_evaluation_results_metrics"
to true inside [DEFAULT].

Change-Id: I3fceb9a244f248f1e62a1267408c82d1b35a4d37
2025-03-04 09:14:14 -05:00

10 lines
409 B
YAML

---
features:
- |
Added collection of alarm evaluation counters. These show the number of
times alarms were evaluated as ``alarm``, ``ok`` and ``insufficient data``
per alarm. These counters are presented by the /v2/metrics API endpoint.
This feature can be enabled or disabled with
the ``[DEFAULT].enable_evaluation_results_metrics`` configuration option.
It's disabled by default.