Commit Graph

20 Commits

Author SHA1 Message Date
Cornellius Metto 9fd4ea0a39 Add configurability to polling.yaml.
The ceilometer compute agent uses the default polling.yaml
from the installed packages without the ability to configure its contents.

This change adds two configuration options: 'polling-interval' and
'enable-all-pollsters', borrowing from the implementation in
charm-ceilometer. We start off with a limited set of meters as before
and if these are not enough, the user can set 'enable-all-pollsters' to
'true' to collect all available 'Pollster' metrics as listed in the
documentation [1].

Verification:
I tested this change on a cluster built from the OpenStack base bundle
and the ceilometer and gnocchi charms. I confirmed that extra metrics
that originate from the Compute Agent pollster (e.g. disk.device.read.latency)
are available in gnocchi after setting 'enable-all-pollsters' to true.

[1] https://docs.openstack.org/ceilometer/latest/admin/telemetry-measurements.html

Closes-Bug: #1914442
Change-Id: I21c9a93e7dd91bced9365e44f3e6a5315976c3bb
2021-05-12 17:30:00 +03:00
Rodrigo Barbieri 2aace2fb69 Receive polling-batch-size config
Samples collected can be batched together,
consequently increasing or reducing the
amount of API calls and body data
sent to the configured publisher.

This config is available since Rocky,
receiving the value from ceilometer-charm
to allow its tuning.

Change-Id: I986073fdacd750cf96d662abf1d58844479c25ba
Closes-bug: #1885190
2020-09-17 15:35:49 -03:00
Corey Bryant 08758f4e7d Sync charm-helpers and use "rabbit_use_ssl" for ocata
Ensure "rabbit_use_ssl" is specified in the [oslo_messaging_rabbit]
config section instead of "ssl" for Ocata, since "ssl" was not yet
introduced.

Change-Id: I61f37a976951911d7c24d14cc4ea5e6ec3f84d2e
Closes-Bug: #1838696
2019-08-01 22:58:32 -04:00
James Page 54530ab595 Refactor RabbitMQ integration
Prior to this change, the ceilometer-agent charm receives RMQ
configuration details via the ceilometer charm.  This makes it
a bit of a snowflake.

Refactor RMQ integration to require a direct relation to the
rabbitmq-server charm; information provided on this relation
will superceed any information currently provided via the
charms relation with ceilometer, ensuring that there is no
disruption to service during a charm upgrade before the new
relation is added.

Switch to using [DEFAULT]transport_url for RMQ configuration,
making use of the new ch template for SSL and HA configuration
in [oslo_messaging_rabbit].

Change-Id: Ie637ec5162461826505cea39bde6829e036fa1f2
Closes-Bug: 1817672
2019-02-26 15:11:23 +01:00
Evgeny Kremenetsky c79168a924 Fixed ceilometer-agent template
Changed "os_endpoint_type=internal" to
"interface = internal" to support communication
by internal urls.

Signed-off-by: Evgeny Kremenetsky <ekremenetsky@dev.rtsoft.ru>

Change-Id: Icc637f4125e76b28d85b4d253ccf9c6be4bd172c
Closes-Bug: #1700111
2017-09-20 13:28:21 +03:00
Frode Nordahl a904456fe3 Fix support for Keystone v3 domain auth
When using v3 authentication and authorization Ceilometer must
authenticate to services project in service_domain.

Change-Id: Ibb19fa8476cf712ccb4bc524a48d3501f42fc62c
Closes-Bug: 1636098
2016-11-29 23:36:49 +01:00
Edward Hope-Morley 4d0af8bbf7 Ensure service_credentials use service_host
Ammendment to commit fa77346 to ensure service_credentials use
service_host and port. Also fix amulet tests.

Change-Id: Iccdec87b4885ab67465034577f9498f79c958dc4
Related-Bug: #1624173
2016-10-11 09:13:21 +01:00
Liam Young 846a75bee5 Remove sqlite db connection from mitaka template
The ceilometer-agent incorrectly declares a sqlite db connection.
It was required for icehouse, but can be dropped in the mitaka
template.

Change-Id: I7882daacf66eb4efc4810903199fe7082ee86a03
Closes-Bug: 1631876
2016-10-10 09:16:52 +00:00
Zhang Hua fa77346e98 Add keystone v3 support
Use shared section template for keystone authotken and update
service_credentials section to support Keystone v3 for OpenStack
Mitaka or later.

Change-Id: Ia7750276e6a6a52dc95a93f1d5cb8d1f544a94d5
Closes-Bug: #1624173
2016-10-07 17:05:19 +01:00
Edward Hope-Morley 959d6e7f12 Support using internal network for clients
Openstack mostly defaults to using public endpoints for
internal communication between services. This patch adds
a new option use-internal-endpoints which, if set to True,
will configure services to use internal endpoints where
possible.

Change-Id: I170e5e1eef3d2e3bb28d37606a468328005609d0
Closes-Bug: 1456876
2016-04-14 11:24:43 +01:00
Ryan Beisner 0fc7a96685 remove accidental templates/ceilometer.conf.~1~ from rev23 circa 2013 2015-07-01 17:15:42 +00:00
James Page 53061c8f3c Update config to support upgrade with db sync in maintainer scripts 2014-04-01 17:45:01 +01:00
James Page 061a3ed9bb Tidy templates, use parts 2014-04-01 09:03:47 +01:00
Kapil Thangavelu ec80c5f6ea rabbitmq ssl support for ceilometer 2014-03-01 16:36:42 -05:00
James Page 577c9d19f7 Tidy templates 2013-12-17 15:21:46 +00:00
James Page 4c59c6a149 Adjust context for ceilometer relation to pick specific data 2013-12-17 15:00:42 +00:00
James Page 06059b380f Switch to using openstack helpers for templating 2013-10-18 16:58:17 +01:00
yolanda.robla@canonical.com b23db35bbb added host to ceilometer.conf file 2013-04-05 15:29:39 +02:00
yolanda.robla@canonical.com b553263358 added logfile 2013-02-20 10:15:39 +01:00
yolanda.robla@canonical.com 4ade7439c9 added ceilometer relationships 2013-02-13 17:03:59 +01:00