canonical / openstack-exporter-operator

The openstack-exporter-operator is a machine charm for openstack-exporter.
https://charmhub.io/openstack-exporter
Apache License 2.0
1 stars 6 forks source link

Launch exporter with collect-metrics-time #29

Open samuelallan72 opened 4 months ago

samuelallan72 commented 4 months ago

The existing dashboards make use of a metric called scrape_duration_seconds. I think the equivalent metric in openstack-exporter is openstack_metric_collect_seconds. This is only collected if --collect-metric-time is passed to openstack-exporter.

If we want to use this metric, we must enable this option for the exporter service.