summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorPedro Henrique <phpm13@gmail.com>2022-08-03 10:09:00 -0300
committerPedro Henrique <phpm13@gmail.com>2022-09-13 15:04:58 -0300
commitcb448a1dbc48ddd28d9fd0f6b6e44deafd636f52 (patch)
tree41a0b1a7bab96381b8093661918a049aa0476a28 /setup.cfg
parent225f1cd7765ddb7b725c538944947ada8c52e73f (diff)
downloadceilometer-cb448a1dbc48ddd28d9fd0f6b6e44deafd636f52.tar.gz
Add support to host command dynamic pollster definitions
Problem description =================== Today we have some hardcoded pollsters that are gathering data from running virtual machines through libvirt or different programs running in the compute nodes. However, the Dynamic pollster definition does not support this kind of operations to gather data, it only supports HTTP Rest requests to collect data. Therefore, it is not possible to use the dynamic pollster definition to create a YML based pollster that runs and collects data from Libvirt in the compute nodes. Proposal ======== To allow host commands/scripts in the Dynamic pollsters, we propose to add a new pollster definition using the `os.subprocess` lib to run host commands to collect Host/VMs data and store them in the configured backend. This will provide more flexibility and make the Dynamic pollsters able to be used in Ceilometer compute instances as well. Change-Id: I50b8dc341ce457780416b41d138e35f5a0d083b6 Depends-On: https://review.opendev.org/c/openstack/ceilometer/+/850253
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index a4dbdd49..2e8999ce 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -45,6 +45,7 @@ ceilometer.sample.endpoint =
ceilometer.discover.compute =
local_instances = ceilometer.compute.discovery:InstanceDiscovery
+ local_node = ceilometer.polling.discovery.localnode:LocalNodeDiscovery
ceilometer.discover.central =
barbican = ceilometer.polling.discovery.non_openstack_credentials_discovery:NonOpenStackCredentialsDiscovery