This change replace jsonpath_rw per jsonpath_rw_exta
for parsing meter/event definitions.
Depends-On: I4ebf773fd8e01185d3d1946c971d98f5c15e610a
Change-Id: I2e561e7f8a1c73b1eea561614c379d5ea207a363
This commit integrates functionality from the `openstack.common.report`
module into Ceilometer. This enables Ceilometer services to receive
SIGUSR1 and print a Guru Meditation Report to stderr or file.
The required modules were added to 'openstack-common.conf' as well.
Change-Id: Ic59c08a610dff7140f14304a60f1c3297d190239
Implements: blueprint guru-meditation-report
The RequestContextSerializer and JsonPayloadSerializer have been
implemented in oslo_messaging, This change remove the re-implemented
serializers in ceilometer/messaging.py
Change-Id: I871ff34a8e1a140273fd10fe1fbb539ff864c9f7
Closes-Bug: 1467524
oslo.log has graduated from oslo-incubator, and openstack.common.log
has been removed from oslo-incubator, so let's use the new one.
NOTE1:openstack.common.log registers its options at import time, but
oslo.log needs to call register_options() explicitly.
NOTE2: split unit test case in tests/objectstore/test_swift_middleware.py
to avoid duplicate cli option register exception, see NOTE1.
Change-Id: Ida30808dbe0c584919755c207ca4ee4b91963a17
kafka publisher to support requeuing metering and event data to kafka MQ
for external consumption
Implements: blueprint kafka-publisher
Change-Id: I7f8727ef5a85627a5a605079b6acdcd0619f978c
wsgi.simple_server in a mono threaded process that can handle only
5 requests at a time.
Even the doc recommands to setup Ceilometer through an other WSGI services
like Apache 'mod_wsgi', we can provide a better testing API server.
So this patch changes the default HTTP server to the werkzeug one with
a autodiscovery of number of workers that we can use.
The client queue of werkzeug is 128, so on a 4 cpus machine, ceilometer-api
can now handle 512 connections instead of 5.
Also the change adds references of how to deploy pecan application in
the documentation.
The config option enable_reverse_dns_lookup can be safely removed,
because werkzeug doesn't do any reverse dns lookup.
DocImpact: configuration options changed:
enable_reverse_dns_lookup removed, api_workers added
Change-Id: If7450b393ea88bc185e5c82b706ace9c38ce350e
happybase and oslo.vmware are optional requirements for ceilometer.
they should be in test-requirements.
Change-Id: I28ae8f12c965ef6da32aeaf5104ede88211e0ff9
Since we don't support Python 2.6 anymore and argparse is native in
Python 2.7, no need to pip install it.
Change-Id: I59b49f7a169ca616f46270e855bd23fe56e17616