From 50f39e00445aaa1424f1d3f747258f4ded024472 Mon Sep 17 00:00:00 2001 From: Hangdong Zhang Date: Mon, 17 Jul 2017 14:00:50 +0800 Subject: [PATCH] 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 --- doc/source/admin/telemetry-data-collection.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/admin/telemetry-data-collection.rst b/doc/source/admin/telemetry-data-collection.rst index 70c04fe0e3..7890389710 100644 --- a/doc/source/admin/telemetry-data-collection.rst +++ b/doc/source/admin/telemetry-data-collection.rst @@ -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