remove legacy db stuff

let's not bother promoting this. if people want it, they can dig
through history.

Change-Id: Ifcb351a4d165426eb9d97eab6273ae83eebd6549
This commit is contained in:
gord chung 2017-02-24 21:24:02 +00:00 committed by gordon chung
parent 14dc1d49a6
commit 2e00e0e038
2 changed files with 46 additions and 70 deletions

View File

@ -19,6 +19,12 @@
Choosing a database backend
============================
Ceilometer is a data collection service. It normalizes data across OpenStack
and can be configured to persist the normalized data to multiple services.
Gnocchi_ is designed to store time-series **measurement data**. Panko_ is
intended to capture **event data**. Lastly, Aodh_ provides **alarming**
functionality.
Moving from Ceilometer to Gnocchi
=================================
@ -38,60 +44,7 @@ backend::
meter_dispatchers=gnocchi
event_dispatchers=gnocchi
Disable Keystone Authentification for Gnocchi
=============================================
In somes cases, it is possible to disable keystone authentication for
Gnocchi to remove the overhead of token creation/verification when request
authentication doesn't matter. This will increase the performance of Gnocchi.
Example of configuration::
[dispatcher_gnocchi]
auth_section=service_credentials_gnocchi
[service_credentials_gnocchi]
auth_type=gnocchi-noauth
roles = admin
user_id = <ceilometer_user_id>
project_id = <ceilometer_project_id>
endpoint = <gnocchi_endpoint>
.. _Gnocchi: http://gnocchi.xyz
.. _here: https://docs.google.com/presentation/d/1PefouoeMVd27p2OGDfNQpx18mY-Wk5l0P1Ke2Vt5LwA/edit?usp=sharing
Legacy Storage
==============
.. note::
Ceilometer's native database capabilities is intended for post processing
and auditing purposes where responsiveness is not a requirement. It
captures the full fidelity of each datapoint and thus is not designed
for low latency use cases. For more responsive use cases, it's recommended
to store data in an alternative source such as Gnocchi_. Please see
`Moving from Ceilometer to Gnocchi`_ to find more information.
.. note::
As of Liberty, alarming support, and subsequently its database, is handled
by Aodh_.
.. note::
As of Newton, event storage support is handled by Panko_.
.. _Aodh: http://docs.openstack.org/developer/aodh/
.. _Panko: http://docs.openstack.org/developer/panko
The following is a table indicating the status of each database drivers:
================== ============================= ===========================================
Driver API querying API statistics
================== ============================= ===========================================
MongoDB Yes Yes
MySQL Yes Yes
PostgreSQL Yes Yes
HBase Yes Yes, except groupby & selectable aggregates
================== ============================= ===========================================
.. _here: https://docs.google.com/presentation/d/1PefouoeMVd27p2OGDfNQpx18mY-Wk5l0P1Ke2Vt5LwA/edit?usp=sharing

View File

@ -44,25 +44,48 @@ Gnocchi
Prior to Gnocchi 2.1, Ceilometer resource types were included, therefore
--create-legacy-resource-types flag is not needed.
3. Edit `/etc/ceilometer/ceilometer.conf` for the collector service::
3. Edit `/etc/ceilometer/ceilometer.conf` for the collector service:
[DEFAULT]
meter_dispatchers = gnocchi
event_dispatchers = gnocchi
* With Keystone authentication enabled::
[dispatcher_gnocchi]
filter_service_activity = False # Enable if using swift backend
filter_project = <project name associated with gnocchi user> # if using swift backend
[DEFAULT]
meter_dispatchers = gnocchi
event_dispatchers = gnocchi
[service_credentials]
auth_url = <auth_url>:5000
region_name = RegionOne
password = password
username = ceilometer
project_name = service
project_domain_id = default
user_domain_id = default
auth_type = password
[dispatcher_gnocchi]
filter_service_activity = False # Enable if using swift backend
filter_project = <project name associated with gnocchi user> # if using swift backend
[service_credentials]
auth_url = <auth_url>:5000
region_name = RegionOne
password = password
username = ceilometer
project_name = service
project_domain_id = default
user_domain_id = default
auth_type = password
* In somes cases, it is possible to disable keystone authentication for
Gnocchi to remove the overhead of token creation/verification when request
authentication doesn't matter. This will increase the performance of
Gnocchi::
[DEFAULT]
meter_dispatchers = gnocchi
event_dispatchers = gnocchi
[dispatcher_gnocchi]
filter_service_activity = False # Enable if using swift backend
filter_project = <project name associated with gnocchi user> # if using swift backend
auth_section=service_credentials_gnocchi
[service_credentials_gnocchi]
auth_type=gnocchi-noauth
roles = admin
user_id = <ceilometer_user_id>
project_id = <ceilometer_project_id>
endpoint = <gnocchi_endpoint>
4. Copy gnocchi_resources.yaml to config directory (e.g./etc/ceilometer)