ceilometer.publisher.prometheus
Module¶ceilometer.publisher.prometheus.
PrometheusPublisher
(conf, parsed_url)[source]¶Bases: ceilometer.publisher.http.HttpPublisher
Publish metering data to Prometheus Pushgateway endpoint
This dispatcher inherits from all options of the http dispatcher.
To use this publisher for samples, add the following section to the /etc/ceilometer/pipeline.yaml file or simply add it to an existing pipeline:
- name: meter_file
meters:
- "*"
publishers:
- prometheus://mypushgateway/metrics/job/ceilometer
HEADERS
= {'Content-type': 'plain/text'}¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.