Docs: update the path of "meters.yaml" and its new feature

The file has been moved from ceilometer/meter/data/meters.yaml to
ceilometer/data/meters.d/meters.yaml, in order to support loading
multiple meter definition files.

So I think it is necessary to update the info in doc.

Change-Id: I6e2dbe36cd6a3cf2c198dfbdffe696a954a57820
Related-Bug: #1479775
This commit is contained in:
Hangdong Zhang 2017-07-17 14:00:50 +08:00
parent 8f1223b309
commit 50f39e0044
1 changed files with 5 additions and 1 deletions

View File

@ -205,7 +205,7 @@ Meter definitions
The Telemetry service collects a subset of the meters by filtering
notifications emitted by other OpenStack services. You can find the meter
definitions in a separate configuration file, called
``ceilometer/meter/data/meters.yaml``. This enables
``ceilometer/data/meters.d/meters.yaml``. This enables
operators/administrators to add new meters to Telemetry project by updating
the ``meters.yaml`` file without any need for additional code changes.
@ -216,6 +216,10 @@ the ``meters.yaml`` file without any need for additional code changes.
collected meters can differ in some cases from what is referenced in the
documentation.
It also support loading multiple meter definition files and allow users to add
their own meter definitions into several files according to different types of
metrics under the directory of ``/etc/ceilometer/meters.d``.
A standard meter definition looks like:
.. code-block:: yaml