OpenStack Telemetry (Ceilometer)
Go to file
Mehdi Abaakouk 75e10b2a48 High precision rate of change timedelta
The current way to calculate rate of change is not precise at all and
depends on the local host clock. So, we have good chance that the host
clock derive a bit between each polling. Also the timestamp is polling
cycle run and not the exact polled sample.

This makes the rate of change transformer not accurate, and maybe wrong
if the local clock have jumped to much or if a pollster make to much
time to get the stats (libvirt reconnection, ...).

A sample gets a new attribute monotonic_time, where we can store an
accurate polling time using monotonic.monotonic().

In rate of change transformer, if the monotonic time is available we use
to calculate the time delta between samples.

For instance metrics, we set monotonic_time as soon as we poll it from
libvirt, avoiding almost all precision issue.

That makes the rate of change precise to the nanoseconds for polled
samples, while keeping the timestamp identical for all samples polled
during one cycle.

Related-bug: #1527620
Change-Id: I40e14fb6aa595a86df9767be5758f52b7ceafc8f
2017-07-20 16:45:20 +02:00
api-ref/source Fix html_last_updated_fmt for Python3 2017-06-06 08:28:33 +07:00
ceilometer High precision rate of change timedelta 2017-07-20 16:45:20 +02:00
devstack Limit the default numbers of metrics polled 2017-07-11 17:35:23 +02:00
doc Migrate telemetry-best-practices 2017-07-05 12:03:37 +08:00
etc Limit the default numbers of metrics polled 2017-07-11 17:35:23 +02:00
install-guide/source add instruction to set auth_mode 2017-06-13 19:55:24 +00:00
rally-jobs Docstrings should not start with a space 2016-09-28 07:29:56 +00:00
releasenotes Trivial fix typos 2017-05-30 11:40:26 +07:00
tools Add tool for migrating metric data from ceilometer's storage to gnocchi 2017-03-30 13:47:17 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:24:58 +00:00
.gitignore Add api-ref/build to .gitignore 2016-08-22 16:11:09 -05:00
.gitreview Update .gitreview for openstack. 2012-11-11 19:13:08 +00:00
.mailmap add mailmap to avoid dup of authors 2014-10-09 10:31:23 +03:00
.testr.conf Correct concurrency of gabbi tests for gabbi 1.22.0 2016-06-16 12:49:35 +01:00
babel.cfg Ground work for transifex-ify ceilometer. 2012-12-18 10:14:03 +08:00
bindep.txt add libxml2 required for lxml 2016-12-12 22:14:29 +00:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 17:15:28 +08:00
HACKING.rst Initial seed of hacking 2016-02-22 12:46:44 -03:00
LICENSE include a copy of the ASL 2.0 2013-03-15 14:25:48 +00:00
MAINTAINERS Remove Rohit Jaiswal from maintainers 2017-03-13 14:43:46 +01:00
README.rst Update Documentation link in README 2017-07-12 13:11:09 +00:00
requirements.txt High precision rate of change timedelta 2017-07-20 16:45:20 +02:00
run-tests.sh tox: refactor targets 2016-09-21 08:21:02 +02:00
setup.cfg Adds a Zaqar publisher 2017-05-02 15:59:33 +02:00
setup.py Updated from global requirements 2015-09-17 16:37:39 +00:00
test-requirements.txt Deprecate olsotest.mockpatch in favor of native fixtures 2017-05-04 23:29:22 +08:00
tox.ini Adds a Zaqar publisher 2017-05-02 15:59:33 +02:00

Ceilometer

Ceilometer is a data collection service that collects event and metering data by monitoring notifications sent from OpenStack services. It publishes collected data to various targets including data stores and message queues.

Ceilometer is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

For more information about Ceilometer APIs, see https://developer.openstack.org/api-ref-telemetry-v2.html

Release notes are available at https://releases.openstack.org/teams/telemetry.html

Developer documentation is available at https://docs.openstack.org/ceilometer/latest/

For information on how to contribute to ceilometer, see the CONTRIBUTING.rst file.

The project home is at https://launchpad.net/ceilometer

To report any ceilometer related bugs, see https://bugs.launchpad.net/ceilometer/