OpenStack Exporter¶
The OpenStack Exporter collects metrics from the OpenStack services and exposes them to Prometheus for integration with StackLight. The Exporter interacts with the REST APIs of various OpenStack services to gather data about the infrastructure state and performance for visualization, alerting, and analysis within the monitoring system.
To retrieve metrics from the OpenStack Exporter:
Locate the Exporter pod. The OpenStack Exporter runs in the
osh-system
namespace:kubectl -n osh-system get pods | grep exporter
Query the metrics by executing the curl request inside the exporter container:
kubectl -n osh-system exec -t <EXPORTER-POD> -c exporter curl http://localhost:9102/