stackhpc / stackhpc-monasca-agent-plugins

A collection Monasca Agent plugins for gathering metrics
Apache License 2.0
2 stars 1 forks source link

Prometheusv2 plugin warning when prometheus response is empty #15

Closed oneswig closed 3 years ago

oneswig commented 4 years ago

Using the Ceph exporter, we scrape three Ceph MGR endpoints. However, only one is active and returning data. The other two endpoints return no data when scraped.

When Monasca prometheusv2 receives no data, but has metric transformations to apply, it logs a warning of this form:

monasca_agent.collector.checks.check.prometheusv2(prometheusv2.py:172) | Could not look up type for metric ceph_cluster_total_used_bytes. Does the metric exist?

However, this is normal behaviour in these circumstances.

github-actions[bot] commented 3 years ago

Stale issue message