https://github.com/mcaimi/openstack-ceilometer-influx-publisher
A simple ceilometer publisher driver that supports InfluxDB
https://github.com/mcaimi/openstack-ceilometer-influx-publisher
ceilometer-publisher mitaka openstack series-database
Last synced: about 2 months ago
JSON representation
A simple ceilometer publisher driver that supports InfluxDB
- Host: GitHub
- URL: https://github.com/mcaimi/openstack-ceilometer-influx-publisher
- Owner: mcaimi
- License: apache-2.0
- Created: 2018-03-16T13:55:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T14:00:39.000Z (about 8 years ago)
- Last Synced: 2025-03-06T10:22:07.662Z (over 1 year ago)
- Topics: ceilometer-publisher, mitaka, openstack, series-database
- Language: Python
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ceilometer Publisher Driver for InfluxDB Time-series database #
This is a ceilometer publisher that collects data from an Openstack Cloud and writes back data into an InfluxDB time-series database.
This was written in 2016 for our OpenStack Kilo installation and maintained until the Mitaka release cycle, after which this was superseded by the Gnocchi Project.
Actual development is halted for now.
### INSTALLATION INSTRUCTIONS: ###
- Install and configure InfluxDB server, set admin password
- Install Grafana
- Copy directory dbdriver to /usr/lib/python2.7/site-packages/ceilometer/publisher/ (it's a clone of https://github.com/influxdata/influxdb-python with some fixes)
- Copy influxdb_sink.py to /usr/lib/python2.7/site-packages/ceilometer/publisher/
- Copy driver_utils.py to /usr/lib/python2.7/site-packages/ceilometer/publisher/
- Add entry_point in /usr/lib/python2.7/site-packages/ceilometer-6.1.3-py2.7.egg-info/entry_point.txt
[ceilometer.publisher]
influxdb = ceilometer.publisher.influxdb_sink:InfluxDBPublisher
- Add the new publisher to all sinks in /etc/ceilometer/pipeline.yaml as shown in pipeline.yaml
- Add a customized version of the configuration from ceilometer-influx.conf to /etc/ceilometer/ceilometer.conf:
[influxdb]
influxdb_addr=...
influxdb_port=...
...
- Copy mappings.json to /etc/ceilometer/ and configure metering mappings between tags and meter names
- Restart openstack-ceilometer (sudo openstack-service restart openstack-ceilometer-*)