Currently if batch_polled_samples=True (default) then it will batch
up all samples of a poller into one message. This can be problematic
if the poller returns a large number of samples.
Change-Id: Ifc60a0cb81876f6d9054cae82ba6579707a02f67
Closes-bug: #1770310
Since kernel v4.6, virtio balloon driver commit 5057dcd0f
introduced metric VIRTIO_BALLOON_S_AVAIL,
corresponding to 'Available' in /proc/meminfo.
Libvirt exposed this metric as 'usable'.
As 'Available' of meminfo is an estimate of how much memory
is available for starting new applications, without swapping.
It's a better metric for calculating memory_usage.
Change-Id: I3b935f1fc2ed74ca45b26990c4f2bd5996e1dfea
Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
Curly quotes(Chinese punctuation) usually input from Chinese input method.
When read from english context, it makes some confusion.
Change-Id: I76f9d6102dbf72f234e10ba2ff426682011a5e79
Theses features doesn't work well, rate-of-change metrics can still
wrongly be computed even with Pipeline partioning enabled. Also backend
like Gnocchi offers a better alternative to compute them.
This deprecates these two features, to be able to remove them in a couple
of releases.
Change-Id: I52362c69b7d500bfe6dba76f78403a9d376deb80
This metric has been removed in 2015 when the Ceilometer WSGI middleware has
been removed from this repository. The new ceilometermiddleware package does
not provide it.
Change-Id: Ib0aa454f3f14efa034491a0f113998cb598f9628
since it is ceilometer's devstack plugin who enables/starts gnocchi
services, it is appropriate to also stop them during unstack phase.
Change-Id: I97747a98ddb139a6f89fa54b4d17e0ca1d1bdf62
It was mentioned "7 different transports", but there just shows 5
transports. I supplement 2 missing transports "zakar" and "https".
Change-Id: If5db5e31f7c7d1101ccf4d285cfb67b5af1944cb
We can't create archive policies in publisher init because if it fail
because Gnocchi is not yet ready the publisher fail to load. Ceilometer
will work, but samples will go to nowhere.
This change creates/checks archive policies when we publish a sample for
the very first time. If that fail because Gnocchi is not ready, this
will just retry next time Ceilometer will publish samples.
Closes-Bug: #1752420
Change-Id: Ib6b4da54592ad99a4e6561a73473b6c7ec73a21f
This creates two archive policies "ceilometer-low" and
"ceilometer-low-rate" in Gnocchi. And use them to create metrics
in Gnocchi.
The archive policies settings can now be configured in
gnocchi_resources.yaml.
This requires upcoming release of coming
(https://github.com/gnocchixyz/gnocchi/pull/655)
Change-Id: Ib804ef4652af9d40338ad970690f6e92f12ed636