cloudkitty/releasenotes/notes/prometheus-collector-empty-meta-12402d8f0254c011.yaml
Ning Yao 89dfb91dd4 Fix empty metadata exception in Prometheus collector
Metadata defined in metrics.yml may be non-existent in data['metric']
from Prometheus results. Deal with the exception similarly to the
Gnocchi collector.

Change-Id: I02ee50793f3c46050250ca1c4094dd4ef0736ca6
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
Story: 2008123
Task: 40845
2020-09-09 15:18:36 +02:00

6 lines
161 B
YAML

---
issues:
- |
Fixes exceptions in Prometheus collector when metadata defined in
``metrics.yml`` is not present on metrics retrieved from Prometheus.