)]}'
{"doc/source/new_meters.rst":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"a5e36c0316b7448ba7ec695ce788462dec36466f","unresolved":false,"context_lines":[{"line_number":109,"context_line":"        project_id: \u0027path to project id eg: $.payload.owner\u0027"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"The definition above shows a simple meter definition with some fields."},{"line_number":112,"context_line":"The ``name``, ``event_type``, ``type``, ``unit`` and ``volume`` are required"},{"line_number":113,"context_line":"fields. A generic notification handler consumes the notification message and"},{"line_number":114,"context_line":"matches with the meters defined in the `meter.yaml` file. If there"},{"line_number":115,"context_line":"is a match on the event type, samples are generated for the meter."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_b15bee2d","line":112,"updated":"2015-09-15 19:10:37.000000000","message":"resource_id should be required.","commit_id":"9afbc88dd38d0fe55e133c0cec78d331b875cebf"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"a5e36c0316b7448ba7ec695ce788462dec36466f","unresolved":false,"context_lines":[{"line_number":115,"context_line":"is a match on the event type, samples are generated for the meter."},{"line_number":116,"context_line":"The values that need to be searched in the notification message are set"},{"line_number":117,"context_line":"with a jsonpath starting with ``$.``. For example, if we need to"},{"line_number":118,"context_line":"lookup the volume information from the message, its set as a jsonpath"},{"line_number":119,"context_line":"``$.payload.size``."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"There are cases where multiple meters need to be defined in a single"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_51c6129b","line":118,"updated":"2015-09-15 19:10:37.000000000","message":"s/its/it\u0027s/","commit_id":"9afbc88dd38d0fe55e133c0cec78d331b875cebf"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"a5e36c0316b7448ba7ec695ce788462dec36466f","unresolved":false,"context_lines":[{"line_number":118,"context_line":"lookup the volume information from the message, its set as a jsonpath"},{"line_number":119,"context_line":"``$.payload.size``."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"There are cases where multiple meters need to be defined in a single"},{"line_number":122,"context_line":"meter definition. The following is the meter definition example"},{"line_number":123,"context_line":"showing how to define multi meters::"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_d138e2a2","line":121,"updated":"2015-09-15 19:10:37.000000000","message":"s/need to be/can be/","commit_id":"9afbc88dd38d0fe55e133c0cec78d331b875cebf"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"a5e36c0316b7448ba7ec695ce788462dec36466f","unresolved":false,"context_lines":[{"line_number":152,"context_line":""},{"line_number":153,"context_line":"There are some existence meters defined in the `meter.yaml`. These"},{"line_number":154,"context_line":"meters have a ``volume`` as 1 and are at the bottom of the yaml file"},{"line_number":155,"context_line":"with a note suggesting that these will be deprecated in M release."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"For example, the meter definition for existence meters is as follows::"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_b15c4eee","line":155,"updated":"2015-09-15 19:10:37.000000000","message":"s/deprecated/removed/","commit_id":"9afbc88dd38d0fe55e133c0cec78d331b875cebf"}],"doc/source/plugins.rst":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"2c0ec7dd116eac78dd9fb46c0b68ca933c7baf74","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Notifications mechanism uses plugins as well, for instance"},{"line_number":62,"context_line":":class:`ceilometer.telemetry.notifications.TelemetryApiPost` plugin"},{"line_number":63,"context_line":"which is defined in the ``ceilometer/telemetry/notifications`` folder. Though"},{"line_number":64,"context_line":"in most cases, this is not needed. A meter definition can be directly added"},{"line_number":65,"context_line":"to :file:`ceilometer/meter/data/meter.yaml` to match the event type. For"},{"line_number":66,"context_line":"more information, see the :ref:`add_new_meters` page."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba15a1d1_ba015407","line":63,"updated":"2015-09-16 20:03:09.000000000","message":"s/folder. Though/folder, though/","commit_id":"85d9595d8bf217c62470f7d8bfc71ea655720e6a"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"2c0ec7dd116eac78dd9fb46c0b68ca933c7baf74","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Notifications"},{"line_number":117,"context_line":"-------------"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Notifications are defined as subclass of the"},{"line_number":120,"context_line":":class:`ceilometer.agent.plugin_base.NotificationBase` meta class."},{"line_number":121,"context_line":"Notifications must implement:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba15a1d1_f704c518","line":118,"updated":"2015-09-16 20:03:09.000000000","message":"should add a note here that this is only necessary for complex use cases (usually involving arithmetic on non-primitive data types)","commit_id":"85d9595d8bf217c62470f7d8bfc71ea655720e6a"}]}
