exporter to extract custom metrics from OpenStack
This is an exporter using OpenStack SDK. There is only 1 exporter new, which is for cinder to export the volume driver backend stats.
The exporter should be installed with
pip install .
Now run the exporter passing in the config.yaml
openstack_exporter --config <path to openstack-config.yaml>
You can use the given Dockerfile to build and use the docker container for an easy rampup
make
docker run -it openstack-exporter:0.1 sh
You can add a new collector to openstack_exporter/collectors
. Then you
must add the call to the collector in openstack_exporter/exporter.py
REGISTRY.register(myexporter.Myexporter(openstack_config))