Debian Codegraph @

doc/source/admin/telemetry-measurements.rst

raw
1 .. _telemetry-measurements:
2
3 ============
4 Measurements
5 ============
6
7 The Telemetry service collects meters within an OpenStack deployment.
8 This section provides a brief summary about meters format and origin and
9 also contains the list of available meters.
10
11 Telemetry collects meters by polling the infrastructure elements and
12 also by consuming the notifications emitted by other OpenStack services.
13 For more information about the polling mechanism and notifications see
14 :ref:`telemetry-data-collection`. There are several meters which are collected
15 by polling and by consuming. The origin for each meter is listed in the tables
16 below.
17
18 .. note::
19
20 You may need to configure Telemetry or other OpenStack services in
21 order to be able to collect all the samples you need. For further
22 information about configuration requirements see the `Telemetry chapter
23 <https://docs.openstack.org/ceilometer/latest/install/index.html>`__
24 in the Installation Tutorials and Guides.
25
26 Telemetry uses the following meter types:
27
28 +--------------+--------------------------------------------------------------+
29 | Type | Description |
30 +==============+==============================================================+
31 | Cumulative | Increasing over time (instance hours) |
32 +--------------+--------------------------------------------------------------+
33 | Delta | Changing over time (bandwidth) |
34 +--------------+--------------------------------------------------------------+
35 | Gauge | Discrete items (floating IPs, image uploads) and fluctuating |
36 | | values (disk I/O) |
37 +--------------+--------------------------------------------------------------+
38
39 |
40
41 Telemetry provides the possibility to store metadata for samples. This
42 metadata can be extended for OpenStack Compute and OpenStack Object
43 Storage.
44
45 In order to add additional metadata information to OpenStack Compute you
46 have two options to choose from. The first one is to specify them when
47 you boot up a new instance. The additional information will be stored
48 with the sample in the form of ``resource_metadata.user_metadata.*``.
49 The new field should be defined by using the prefix ``metering.``. The
50 modified boot command look like the following:
51
52 .. code-block:: console
53
54 $ openstack server create --property metering.custom_metadata=a_value my_vm
55
56 The other option is to set the ``reserved_metadata_keys`` to the list of
57 metadata keys that you would like to be included in
58 ``resource_metadata`` of the instance related samples that are collected
59 for OpenStack Compute. This option is included in the ``DEFAULT``
60 section of the ``ceilometer.conf`` configuration file.
61
62 You might also specify headers whose values will be stored along with
63 the sample data of OpenStack Object Storage. The additional information
64 is also stored under ``resource_metadata``. The format of the new field
65 is ``resource_metadata.http_header_$name``, where ``$name`` is the name of
66 the header with ``-`` replaced by ``_``.
67
68 For specifying the new header, you need to set ``metadata_headers`` option
69 under the ``[filter:ceilometer]`` section in ``proxy-server.conf`` under the
70 ``swift`` folder. You can use this additional data for instance to distinguish
71 external and internal users.
72
73 Measurements are grouped by services which are polled by
74 Telemetry or emit notifications that this service consumes.
75
76 .. _telemetry-compute-meters:
77
78 OpenStack Compute
79 ~~~~~~~~~~~~~~~~~
80
81 The following meters are collected for OpenStack Compute.
82
83 +-----------+-------+------+----------+----------+---------+------------------+
84 | Name | Type | Unit | Resource | Origin | Support | Note |
85 +===========+=======+======+==========+==========+=========+==================+
86 | **Meters added in the Mitaka release or earlier** |
87 +-----------+-------+------+----------+----------+---------+------------------+
88 | memory | Gauge | MiB | instance | Notific\ | Libvirt | Volume of RAM |
89 | | | | ID | ation, \ | | allocated to the |
90 | | | | | Pollster | | instance |
91 +-----------+-------+------+----------+----------+---------+------------------+
92 | memory.\ | Gauge | MiB | instance | Pollster | Libvirt | Volume of RAM |
93 | usage | | | ID | | | used by the inst\|
94 | | | | | | | ance from the |
95 | | | | | | | amount of its |
96 | | | | | | | allocated memory |
97 +-----------+-------+------+----------+----------+---------+------------------+
98 | memory.r\ | Gauge | MiB | instance | Pollster | Libvirt | Volume of RAM u\ |
99 | esident | | | ID | | | sed by the inst\ |
100 | | | | | | | ance on the phy\ |
101 | | | | | | | sical machine |
102 +-----------+-------+------+----------+----------+---------+------------------+
103 | cpu | Cumu\ | ns | instance | Pollster | Libvirt | CPU time used |
104 | | lative| | ID | | | |
105 +-----------+-------+------+----------+----------+---------+------------------+
106 | vcpus | Gauge | vcpu | instance | Notific\ | Libvirt | Number of virtual|
107 | | | | ID | ation, \ | | CPUs allocated to|
108 | | | | | Pollster | | the instance |
109 +-----------+-------+------+----------+----------+---------+------------------+
110 | disk.dev\ | Cumu\ | req\ | disk ID | Pollster | Libvirt | Number of read |
111 | ice.read\ | lative| uest | | | | requests |
112 | .requests | | | | | | |
113 +-----------+-------+------+----------+----------+---------+------------------+
114 | disk.dev\ | Cumu\ | req\ | disk ID | Pollster | Libvirt | Number of write |
115 | ice.write\| lative| uest | | | | requests |
116 | .requests | | | | | | |
117 +-----------+-------+------+----------+----------+---------+------------------+
118 | disk.dev\ | Cumu\ | B | disk ID | Pollster | Libvirt | Volume of reads |
119 | ice.read\ | lative| | | | | |
120 | .bytes | | | | | | |
121 +-----------+-------+------+----------+----------+---------+------------------+
122 | disk.dev\ | Cumu\ | B | disk ID | Pollster | Libvirt | Volume of writes |
123 | ice.write\| lative| | | | | |
124 | .bytes | | | | | | |
125 +-----------+-------+------+----------+----------+---------+------------------+
126 | disk.root\| Gauge | GiB | instance | Notific\ | Libvirt | Size of root disk|
127 | .size | | | ID | ation, \ | | |
128 | | | | | Pollster | | |
129 +-----------+-------+------+----------+----------+---------+------------------+
130 | disk.ephe\| Gauge | GiB | instance | Notific\ | Libvirt | Size of ephemeral|
131 | meral.size| | | ID | ation, \ | | disk |
132 | | | | | Pollster | | |
133 +-----------+-------+------+----------+----------+---------+------------------+
134 | disk.dev\ | Gauge | B | disk ID | Pollster | Libvirt | The amount of d\ |
135 | ice.capa\ | | | | | | isk per device |
136 | city | | | | | | that the instan\ |
137 | | | | | | | ce can see |
138 +-----------+-------+------+----------+----------+---------+------------------+
139 | disk.dev\ | Gauge | B | disk ID | Pollster | Libvirt | The amount of d\ |
140 | ice.allo\ | | | | | | isk per device |
141 | cation | | | | | | occupied by the |
142 | | | | | | | instance on th\ |
143 | | | | | | | e host machine |
144 +-----------+-------+------+----------+----------+---------+------------------+
145 | disk.dev\ | Gauge | B | disk ID | Pollster | Libvirt | The physical si\ |
146 | ice.usag\ | | | | | | ze in bytes of |
147 | e | | | | | | the image conta\ |
148 | | | | | | | iner on the hos\ |
149 | | | | | | | t per device |
150 +-----------+-------+------+----------+----------+---------+------------------+
151 | network.\ | Cumu\ | B | interface| Pollster | Libvirt | Number of |
152 | incoming.\| lative| | ID | | | incoming bytes |
153 | bytes | | | | | | |
154 +-----------+-------+------+----------+----------+---------+------------------+
155 | network.\ | Cumu\ | B | interface| Pollster | Libvirt | Number of |
156 | outgoing\ | lative| | ID | | | outgoing bytes |
157 | .bytes | | | | | | |
158 +-----------+-------+------+----------+----------+---------+------------------+
159 | network.\ | Cumu\ | pac\ | interface| Pollster | Libvirt | Number of |
160 | incoming\ | lative| ket | ID | | | incoming packets |
161 | .packets | | | | | | |
162 +-----------+-------+------+----------+----------+---------+------------------+
163 | network.\ | Cumu\ | pac\ | interface| Pollster | Libvirt | Number of |
164 | outgoing\ | lative| ket | ID | | | outgoing packets |
165 | .packets | | | | | | |
166 +-----------+-------+------+----------+----------+---------+------------------+
167 | **Meters added in the Newton release** |
168 +-----------+-------+------+----------+----------+---------+------------------+
169 | perf.cpu\ | Gauge | cyc\ | instance | Pollster | Libvirt | the number of c\ |
170 | .cycles | | le | ID | | | pu cycles one i\ |
171 | | | | | | | nstruction needs |
172 +-----------+-------+------+----------+----------+---------+------------------+
173 | perf.ins\ | Gauge | inst\| instance | Pollster | Libvirt | the count of in\ |
174 | tructions | | ruct\| ID | | | structions |
175 | | | ion | | | | |
176 +-----------+-------+------+----------+----------+---------+------------------+
177 | perf.cac\ | Gauge | cou\ | instance | Pollster | Libvirt | the count of ca\ |
178 | he.refer\ | | nt | ID | | | che hits |
179 | ences | | | | | | |
180 +-----------+-------+------+----------+----------+---------+------------------+
181 | perf.cac\ | Gauge | cou\ | instance | Pollster | Libvirt | the count of ca\ |
182 | he.misses | | nt | ID | | | che misses |
183 +-----------+-------+------+----------+----------+---------+------------------+
184 | **Meters added in the Ocata release** |
185 +-----------+-------+------+----------+----------+---------+------------------+
186 | network.\ | Cumul\| pack\| interface| Pollster | Libvirt | Number of |
187 | incoming\ | ative | et | ID | | | incoming dropped |
188 | .packets\ | | | | | | packets |
189 | .drop | | | | | | |
190 +-----------+-------+------+----------+----------+---------+------------------+
191 | network.\ | Cumul\| pack\| interface| Pollster | Libvirt | Number of |
192 | outgoing\ | ative | et | ID | | | outgoing dropped |
193 | .packets\ | | | | | | packets |
194 | .drop | | | | | | |
195 +-----------+-------+------+----------+----------+---------+------------------+
196 | network.\ | Cumul\| pack\| interface| Pollster | Libvirt | Number of |
197 | incoming\ | ative | et | ID | | | incoming error |
198 | .packets\ | | | | | | packets |
199 | .error | | | | | | |
200 +-----------+-------+------+----------+----------+---------+------------------+
201 | network.\ | Cumul\| pack\| interface| Pollster | Libvirt | Number of |
202 | outgoing\ | ative | et | ID | | | outgoing error |
203 | .packets\ | | | | | | packets |
204 | .error | | | | | | |
205 +-----------+-------+------+----------+----------+---------+------------------+
206 | **Meters added in the Pike release** |
207 +-----------+-------+------+----------+----------+---------+------------------+
208 | memory.\ | Cumul\| | | | | |
209 | swap.in | ative | MiB | instance | Pollster | Libvirt | Memory swap in |
210 | | | | ID | | | |
211 +-----------+-------+------+----------+----------+---------+------------------+
212 | memory.\ | Cumul\| | | | | |
213 | swap.out | ative | MiB | instance | Pollster | Libvirt | Memory swap out |
214 | | | | ID | | | |
215 +-----------+-------+------+----------+----------+---------+------------------+
216 | **Meters added in the Queens release** |
217 +-----------+-------+------+----------+----------+---------+------------------+
218 | disk.devi\| Cumul\| | | | | Total time read |
219 | ce.read.l\| ative | ns | Disk ID | Pollster | Libvirt | operations have |
220 | atency | | | | | | taken |
221 +-----------+-------+------+----------+----------+---------+------------------+
222 | disk.devi\| Cumul\| | | | | Total time write |
223 | ce.write.\| ative | ns | Disk ID | Pollster | Libvirt | operations have |
224 | latency | | | | | | taken |
225 +-----------+-------+------+----------+----------+---------+------------------+
226 | **Meters added in the Epoxy release** |
227 +-----------+-------+------+----------+----------+---------+------------------+
228 | power.sta\| Gauge | state| instance | Pollster | Libvirt | virDomainState |
229 | te | | | ID | | | of the VM |
230 +-----------+-------+------+----------+----------+---------+------------------+
231 | **Meters added in the Flamingo release** |
232 +-----------+-------+------+----------+----------+---------+------------------+
233 | memory.\ | Gauge | MiB | instance | Pollster | Libvirt | Volume of RAM |
234 | available | | | ID | | | available to the |
235 | | | | | | | instance as seen |
236 | | | | | | | from within the |
237 | | | | | | | instance |
238 +-----------+-------+------+----------+----------+---------+------------------+
239
240 .. note::
241
242 To enable the libvirt ``memory.usage`` support, you need to install
243 libvirt version 1.1.1+, QEMU version 1.5+, and you also need to
244 prepare suitable balloon driver in the image. It is applicable
245 particularly for Windows guests, most modern Linux distributions
246 already have it built in. Telemetry is not able to fetch the
247 ``memory.usage`` samples without the image balloon driver.
248
249 .. note::
250
251 To enable libvirt ``disk.*`` support when running on RBD-backed shared
252 storage, you need to install libvirt version 1.2.16+.
253
254 OpenStack Compute is capable of collecting ``CPU`` related meters from
255 the compute host machines. In order to use that you need to set the
256 ``compute_monitors`` option to ``cpu.virt_driver`` in the
257 ``nova.conf`` configuration file. For further information see the
258 Compute configuration section in the `Compute chapter
259 <https://docs.openstack.org/nova/latest/configuration/config.html>`__
260 of the OpenStack Configuration Reference.
261
262 The following host machine related meters are collected for OpenStack
263 Compute:
264
265 +---------------------+-------+------+----------+-------------+---------------+
266 | Name | Type | Unit | Resource | Origin | Note |
267 +=====================+=======+======+==========+=============+===============+
268 | **Meters added in the Mitaka release or earlier** |
269 +---------------------+-------+------+----------+-------------+---------------+
270 | compute.node.cpu.\ | Gauge | MHz | host ID | Notification| CPU frequency |
271 | frequency | | | | | |
272 +---------------------+-------+------+----------+-------------+---------------+
273 | compute.node.cpu.\ | Cumu\ | ns | host ID | Notification| CPU kernel |
274 | kernel.time | lative| | | | time |
275 +---------------------+-------+------+----------+-------------+---------------+
276 | compute.node.cpu.\ | Cumu\ | ns | host ID | Notification| CPU idle time |
277 | idle.time | lative| | | | |
278 +---------------------+-------+------+----------+-------------+---------------+
279 | compute.node.cpu.\ | Cumu\ | ns | host ID | Notification| CPU user mode |
280 | user.time | lative| | | | time |
281 +---------------------+-------+------+----------+-------------+---------------+
282 | compute.node.cpu.\ | Cumu\ | ns | host ID | Notification| CPU I/O wait |
283 | iowait.time | lative| | | | time |
284 +---------------------+-------+------+----------+-------------+---------------+
285 | compute.node.cpu.\ | Gauge | % | host ID | Notification| CPU kernel |
286 | kernel.percent | | | | | percentage |
287 +---------------------+-------+------+----------+-------------+---------------+
288 | compute.node.cpu.\ | Gauge | % | host ID | Notification| CPU idle |
289 | idle.percent | | | | | percentage |
290 +---------------------+-------+------+----------+-------------+---------------+
291 | compute.node.cpu.\ | Gauge | % | host ID | Notification| CPU user mode |
292 | user.percent | | | | | percentage |
293 +---------------------+-------+------+----------+-------------+---------------+
294 | compute.node.cpu.\ | Gauge | % | host ID | Notification| CPU I/O wait |
295 | iowait.percent | | | | | percentage |
296 +---------------------+-------+------+----------+-------------+---------------+
297 | compute.node.cpu.\ | Gauge | % | host ID | Notification| CPU |
298 | percent | | | | | utilization |
299 +---------------------+-------+------+----------+-------------+---------------+
300
301 .. _telemetry-bare-metal-service:
302
303 IPMI meters
304 ~~~~~~~~~~~
305
306 Telemetry captures notifications that are emitted by the Bare metal
307 service. The source of the notifications are IPMI sensors that collect
308 data from the host machine.
309
310 Alternatively, IPMI meters can be generated by deploying the
311 ceilometer-agent-ipmi on each IPMI-capable node. For further information about
312 the IPMI agent see :ref:`telemetry-ipmi-agent`.
313
314 .. warning::
315
316 To avoid duplication of metering data and unnecessary load on the
317 IPMI interface, do not deploy the IPMI agent on nodes that are
318 managed by the Bare metal service and keep the
319 ``conductor.send_sensor_data`` option set to ``False`` in the
320 ``ironic.conf`` configuration file.
321
322
323 The following IPMI sensor meters are recorded:
324
325 +------------------+-------+------+----------+-------------+------------------+
326 | Name | Type | Unit | Resource | Origin | Note |
327 +==================+=======+======+==========+=============+==================+
328 | **Meters added in the Mitaka release or earlier** |
329 +------------------+-------+------+----------+-------------+------------------+
330 | hardware.ipmi.fan| Gauge | RPM | fan | Notificatio\| Fan rounds per |
331 | | | | sensor | n, Pollster | minute (RPM) |
332 +------------------+-------+------+----------+-------------+------------------+
333 | hardware.ipmi\ | Gauge | C | temper\ | Notificatio\| Temperature read\|
334 | .temperature | | | ature | n, Pollster | ing from sensor |
335 | | | | sensor | | |
336 +------------------+-------+------+----------+-------------+------------------+
337 | hardware.ipmi\ | Gauge | A | current | Notificatio\| Current reading |
338 | .current | | | sensor | n, Pollster | from sensor |
339 +------------------+-------+------+----------+-------------+------------------+
340 | hardware.ipmi\ | Gauge | V | voltage | Notificatio\| Voltage reading |
341 | .voltage | | | sensor | n, Pollster | from sensor |
342 +------------------+-------+------+----------+-------------+------------------+
343
344 .. note::
345
346 The sensor data is not available in the Bare metal service by
347 default. To enable the meters and configure this module to emit
348 notifications about the measured values see the `Installation
349 Guide <https://docs.openstack.org/ironic/latest/install/index.html>`__
350 for the Bare metal service.
351
352 OpenStack Image service
353 ~~~~~~~~~~~~~~~~~~~~~~~
354
355 The following meters are collected for OpenStack Image service:
356
357 +--------------------+--------+------+----------+----------+------------------+
358 | Name | Type | Unit | Resource | Origin | Note |
359 +====================+========+======+==========+==========+==================+
360 | **Meters added in the Mitaka release or earlier** |
361 +--------------------+--------+------+----------+----------+------------------+
362 | image.size | Gauge | B | image ID | Notifica\| Size of the upl\ |
363 | | | | | tion, Po\| oaded image |
364 | | | | | llster | |
365 +--------------------+--------+------+----------+----------+------------------+
366 | image.download | Delta | B | image ID | Notifica\| Image is downlo\ |
367 | | | | | tion | aded |
368 +--------------------+--------+------+----------+----------+------------------+
369 | image.serve | Delta | B | image ID | Notifica\| Image is served |
370 | | | | | tion | out |
371 +--------------------+--------+------+----------+----------+------------------+
372
373 OpenStack Block Storage
374 ~~~~~~~~~~~~~~~~~~~~~~~
375
376 The following meters are collected for OpenStack Block Storage:
377
378 +--------------------+-------+--------+----------+----------+-----------------+
379 | Name | Type | Unit | Resource | Origin | Note |
380 +====================+=======+========+==========+==========+=================+
381 | **Meters added in the Mitaka release or earlier** |
382 +--------------------+-------+--------+----------+----------+-----------------+
383 | volume.size | Gauge | GiB | volume ID| Notifica\| Size of the vol\|
384 | | | | | tion | ume |
385 +--------------------+-------+--------+----------+----------+-----------------+
386 | snapshot.size | Gauge | GiB | snapshot | Notifica\| Size of the sna\|
387 | | | | ID | tion | pshot |
388 +--------------------+-------+--------+----------+----------+-----------------+
389 | **Meters added in the Queens release** |
390 +--------------------+-------+--------+----------+----------+-----------------+
391 | volume.provider.ca\| Gauge | GiB | hostname | Notifica\| Total volume |
392 | pacity.total | | | | tion | capacity on host|
393 +--------------------+-------+--------+----------+----------+-----------------+
394 | volume.provider.ca\| Gauge | GiB | hostname | Notifica\| Free volume |
395 | pacity.free | | | | tion | capacity on host|
396 +--------------------+-------+--------+----------+----------+-----------------+
397 | volume.provider.ca\| Gauge | GiB | hostname | Notifica\| Assigned volume |
398 | pacity.allocated | | | | tion | capacity on host|
399 | | | | | | by Cinder |
400 +--------------------+-------+--------+----------+----------+-----------------+
401 | volume.provider.ca\| Gauge | GiB | hostname | Notifica\| Assigned volume |
402 | pacity.provisioned | | | | tion | capacity on host|
403 +--------------------+-------+--------+----------+----------+-----------------+
404 | volume.provider.ca\| Gauge | GiB | hostname | Notifica\| Virtual free |
405 | pacity.virtual_free| | | | tion | volume capacity |
406 | | | | | | on host |
407 +--------------------+-------+--------+----------+----------+-----------------+
408 | volume.provider.po\| Gauge | GiB | hostname\| Notifica\| Total volume |
409 | ol.capacity.total | | | #pool | tion, Po\| capacity in pool|
410 | | | | | llster | |
411 +--------------------+-------+--------+----------+----------+-----------------+
412 | volume.provider.po\| Gauge | GiB | hostname\| Notifica\| Free volume |
413 | ol.capacity.free | | | #pool | tion, Po\| capacity in pool|
414 | | | | | llster | |
415 +--------------------+-------+--------+----------+----------+-----------------+
416 | volume.provider.po\| Gauge | GiB | hostname\| Notifica\| Assigned volume |
417 | ol.capacity.alloca\| | | #pool | tion, Po\| capacity in pool|
418 | ted | | | | llster | by Cinder |
419 +--------------------+-------+--------+----------+----------+-----------------+
420 | volume.provider.po\| Gauge | GiB | hostname\| Notifica\| Assigned volume |
421 | ol.capacity.provis\| | | #pool | tion, Po\| capacity in pool|
422 | ioned | | | | llster | |
423 +--------------------+-------+--------+----------+----------+-----------------+
424 | volume.provider.po\| Gauge | GiB | hostname\| Notifica\| Virtual free |
425 | ol.capacity.virtua\| | | #pool | tion, Po\| volume capacity |
426 | l_free | | | | llster | in pool |
427 +--------------------+-------+--------+----------+----------+-----------------+
428
429 OpenStack File Share
430 ~~~~~~~~~~~~~~~~~~~~~~
431
432 The following meters are collected for OpenStack File Share:
433
434 +--------------------+-------+--------+----------+----------+-----------------+
435 | Name | Type | Unit | Resource | Origin | Note |
436 +====================+=======+========+==========+==========+=================+
437 | **Meters added in the Pike release** |
438 +--------------------+-------+--------+----------+----------+-----------------+
439 | manila.share.size | Gauge | GiB | share ID | Notifica\| Size of the fil\|
440 | | | | | tion, Po\| e share |
441 | | | | | llster | |
442 +--------------------+-------+--------+----------+----------+-----------------+
443 | **Meters added in the Gazpacho release** |
444 +--------------------+-------+--------+----------+----------+-----------------+
445 | manila.share.\ | Gauge | status | share ID | Pollster | Numeric status |
446 | status | | | | | of the share |
447 +--------------------+-------+--------+----------+----------+-----------------+
448
449 .. _telemetry-object-storage-meter:
450
451 OpenStack Object Storage
452 ~~~~~~~~~~~~~~~~~~~~~~~~
453
454 The following meters are collected for OpenStack Object Storage:
455
456 +--------------------+-------+-------+------------+---------+-----------------+
457 | Name | Type | Unit | Resource | Origin | Note |
458 +====================+=======+=======+============+=========+=================+
459 | **Meters added in the Mitaka release or earlier** |
460 +--------------------+-------+-------+------------+---------+-----------------+
461 | storage.objects | Gauge | object| storage ID | Pollster| Number of objec\|
462 | | | | | | ts |
463 +--------------------+-------+-------+------------+---------+-----------------+
464 | storage.objects.si\| Gauge | B | storage ID | Pollster| Total size of s\|
465 | ze | | | | | tored objects |
466 +--------------------+-------+-------+------------+---------+-----------------+
467 | storage.objects.co\| Gauge | conta\| storage ID | Pollster| Number of conta\|
468 | ntainers | | iner | | | iners |
469 +--------------------+-------+-------+------------+---------+-----------------+
470 | storage.objects.in\| Delta | B | storage ID | Notific\| Number of incom\|
471 | coming.bytes | | | | ation | ing bytes |
472 +--------------------+-------+-------+------------+---------+-----------------+
473 | storage.objects.ou\| Delta | B | storage ID | Notific\| Number of outgo\|
474 | tgoing.bytes | | | | ation | ing bytes |
475 +--------------------+-------+-------+------------+---------+-----------------+
476 | storage.containers\| Gauge | object| storage ID\| Pollster| Number of objec\|
477 | .objects | | | /container | | ts in container |
478 +--------------------+-------+-------+------------+---------+-----------------+
479 | storage.containers\| Gauge | B | storage ID\| Pollster| Total size of s\|
480 | .objects.size | | | /container | | tored objects i\|
481 | | | | | | n container |
482 +--------------------+-------+-------+------------+---------+-----------------+
483
484
485 Ceph Object Storage
486 ~~~~~~~~~~~~~~~~~~~
487 In order to gather meters from Ceph, you have to install and configure
488 the Ceph Object Gateway (radosgw) as it is described in the `Installation
489 Manual <http://docs.ceph.com/docs/master/radosgw/>`__. You also have to enable
490 `usage logging <http://docs.ceph.com/docs/master/man/8/radosgw/#usage-logging>`__ in
491 order to get the related meters from Ceph. You will need an
492 ``admin`` user with ``users``, ``buckets``, ``metadata`` and ``usage``
493 ``caps`` configured.
494
495 In order to access Ceph from Telemetry, you need to specify a
496 ``service group`` for ``radosgw`` in the ``ceilometer.conf``
497 configuration file along with ``access_key`` and ``secret_key`` of the
498 ``admin`` user mentioned above.
499
500 The following meters are collected for Ceph Object Storage:
501
502 +------------------+------+--------+------------+----------+------------------+
503 | Name | Type | Unit | Resource | Origin | Note |
504 +==================+======+========+============+==========+==================+
505 | **Meters added in the Mitaka release or earlier** |
506 +------------------+------+--------+------------+----------+------------------+
507 | radosgw.objects | Gauge| object | storage ID | Pollster | Number of objects|
508 +------------------+------+--------+------------+----------+------------------+
509 | radosgw.objects.\| Gauge| B | storage ID | Pollster | Total size of s\ |
510 | size | | | | | tored objects |
511 +------------------+------+--------+------------+----------+------------------+
512 | radosgw.objects.\| Gauge| contai\| storage ID | Pollster | Number of conta\ |
513 | containers | | ner | | | iners |
514 +------------------+------+--------+------------+----------+------------------+
515 | radosgw.api.requ\| Gauge| request| storage ID | Pollster | Number of API r\ |
516 | est | | | | | equests against |
517 | | | | | | Ceph Object Ga\ |
518 | | | | | | teway (radosgw) |
519 +------------------+------+--------+------------+----------+------------------+
520 | radosgw.containe\| Gauge| object | storage ID\| Pollster | Number of objec\ |
521 | rs.objects | | | /container | | ts in container |
522 +------------------+------+--------+------------+----------+------------------+
523 | radosgw.containe\| Gauge| B | storage ID\| Pollster | Total size of s\ |
524 | rs.objects.size | | | /container | | tored objects in |
525 | | | | | | container |
526 +------------------+------+--------+------------+----------+------------------+
527
528 .. note::
529
530 The ``usage`` related information may not be updated right after an
531 upload or download, because the Ceph Object Gateway needs time to
532 update the usage properties. For instance, the default configuration
533 needs approximately 30 minutes to generate the usage logs.
534
535 OpenStack Identity
536 ~~~~~~~~~~~~~~~~~~
537
538 The following meters are collected for OpenStack Identity:
539
540 +-------------------+------+--------+-----------+-----------+-----------------+
541 | Name | Type | Unit | Resource | Origin | Note |
542 +===================+======+========+===========+===========+=================+
543 | **Meters added in the Mitaka release or earlier** |
544 +-------------------+------+--------+-----------+-----------+-----------------+
545 | identity.authent\ | Delta| user | user ID | Notifica\ | User successful\|
546 | icate.success | | | | tion | ly authenticated|
547 +-------------------+------+--------+-----------+-----------+-----------------+
548 | identity.authent\ | Delta| user | user ID | Notifica\ | User pending au\|
549 | icate.pending | | | | tion | thentication |
550 +-------------------+------+--------+-----------+-----------+-----------------+
551 | identity.authent\ | Delta| user | user ID | Notifica\ | User failed to |
552 | icate.failure | | | | tion | authenticate |
553 +-------------------+------+--------+-----------+-----------+-----------------+
554
555 OpenStack Networking
556 ~~~~~~~~~~~~~~~~~~~~
557
558 The following meters are collected for OpenStack Networking:
559
560 +-----------------+-------+--------+-----------+-----------+------------------+
561 | Name | Type | Unit | Resource | Origin | Note |
562 +=================+=======+========+===========+===========+==================+
563 | **Meters added in the Mitaka release or earlier** |
564 +-----------------+-------+--------+-----------+-----------+------------------+
565 | bandwidth | Delta | B | label ID | Notifica\ | Bytes through t\ |
566 | | | | | tion | his l3 metering |
567 | | | | | | label |
568 +-----------------+-------+--------+-----------+-----------+------------------+
569
570 VPN-as-a-Service (VPNaaS)
571 ~~~~~~~~~~~~~~~~~~~~~~~~~
572
573 The following meters are collected for VPNaaS:
574
575 +---------------+-------+---------+------------+-----------+------------------+
576 | Name | Type | Unit | Resource | Origin | Note |
577 +===============+=======+=========+============+===========+==================+
578 | **Meters added in the Mitaka release or earlier** |
579 +---------------+-------+---------+------------+-----------+------------------+
580 | network.serv\ | Gauge | vpnser\ | vpn ID | Pollster | Existence of a |
581 | ices.vpn | | vice | | | VPN |
582 +---------------+-------+---------+------------+-----------+------------------+
583 | network.serv\ | Gauge | ipsec\_\| connection | Pollster | Existence of an |
584 | ices.vpn.con\ | | site\_c\| ID | | IPSec connection |
585 | nections | | onnect\ | | | |
586 | | | ion | | | |
587 +---------------+-------+---------+------------+-----------+------------------+
588
589 Firewall-as-a-Service (FWaaS)
590 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
591
592 The following meters are collected for FWaaS:
593
594 +---------------+-------+---------+------------+-----------+------------------+
595 | Name | Type | Unit | Resource | Origin | Note |
596 +===============+=======+=========+============+===========+==================+
597 | **Meters added in the Mitaka release or earlier** |
598 +---------------+-------+---------+------------+-----------+------------------+
599 | network.serv\ | Gauge | firewall| firewall ID| Pollster | Existence of a |
600 | ices.firewall | | | | | firewall |
601 +---------------+-------+---------+------------+-----------+------------------+
602 | network.serv\ | Gauge | firewa\ | firewall ID| Pollster | Existence of a |
603 | ices.firewal\ | | ll_pol\ | | | firewall policy |
604 | l.policy | | icy | | | |
605 +---------------+-------+---------+------------+-----------+------------------+
606
607 Octavia Load Balancer
608 ~~~~~~~~~~~~~~~~~~~~~
609
610 The following meters are collected for Octavia Load Balancer:
611
612 +---------------+-------+---------+------------+-----------+------------------+
613 | Name | Type | Unit | Resource | Origin | Note |
614 +===============+=======+=========+============+===========+==================+
615 | **Meters added in the Gazpacho release** |
616 +---------------+-------+---------+------------+-----------+------------------+
617 | loadbalancer\ | Gauge | status | lb ID | Pollster | Operating status |
618 | .operating | | | | | of a load |
619 | | | | | | balancer |
620 +---------------+-------+---------+------------+-----------+------------------+
621 | loadbalancer\ | Gauge | status | lb ID | Pollster | Provisioning |
622 | .provisioning | | | | | status of a load |
623 | | | | | | balancer |
624 +---------------+-------+---------+------------+-----------+------------------+
625
626 Designate DNS
627 ~~~~~~~~~~~~~
628
629 The following meters are collected for Designate DNS:
630
631 +---------------+-------+---------+------------+-----------+------------------+
632 | Name | Type | Unit | Resource | Origin | Note |
633 +===============+=======+=========+============+===========+==================+
634 | **Meters added in the Gazpacho release** |
635 +---------------+-------+---------+------------+-----------+------------------+
636 | dns.zone.sta\ | Gauge | status | zone ID | Pollster | Status of a DNS |
637 | tus | | | | | zone (1=ACTIVE, |
638 | | | | | | 2=PENDING, |
639 | | | | | | 3=ERROR) |
640 +---------------+-------+---------+------------+-----------+------------------+
641 | dns.zone.rec\ | Gauge | record\ | zone ID | Pollster | Number of record\|
642 | ordsets | | set | | | sets in a DNS |
643 | | | | | | zone |
644 +---------------+-------+---------+------------+-----------+------------------+
645 | dns.zone.ttl | Gauge | second | zone ID | Pollster | TTL value of a |
646 | | | | | | DNS zone |
647 +---------------+-------+---------+------------+-----------+------------------+
648 | dns.zone.ser\ | Gauge | serial | zone ID | Pollster | Serial number of |
649 | ial | | | | | a DNS zone |
650 +---------------+-------+---------+------------+-----------+------------------+
651
652 Openstack alarming
653 ~~~~~~~~~~~~~~~~~~
654
655 The following meters are collected for Aodh:
656
657 +---------------+-------+---------+------------+-----------+------------------+
658 | Name | Type | Unit | Resource | Origin | Note |
659 +===============+=======+=========+============+===========+==================+
660 | **Meters added in the Flamingo release** |
661 +---------------+-------+---------+------------+-----------+------------------+
662 | alarm.evalua\ | Gauge | evalua\ | alarm ID | Pollster | Total count of |
663 | tion_result | | tion_r\ | | | evaluation |
664 | | | esult\_\| | | results for each |
665 | | | count | | | alarm |
666 +---------------+-------+---------+------------+-----------+------------------+