ceilometer/ceilometer/tests/unit
Rafael Weingärtner fbb4b6d264 OpenStack Dynamic pollsters metadata enrichment with other OpenStack API's data
Sometimes we want/need to add/gather extra metadata for the samples
being handled by Ceilometer Dynamic pollsters, such as the project
name, domain id, domain name, and other metadata that are not always
accessible via the OpenStack component where the sample is gathered.

For instance, when gathering the status of virtual machines (VMs) from
Nova, we only have the tenant_id, which must be used as the project_id.
However, for billing and later invoicing one might need/want the
project name, domain id, and other metadata that are available in
Keystone (and maybe some others that are scattered over other
components). To achieve that, one can use the OpenStack metadata
enrichment option. This feature is only available to OpenStack
pollsters, and can only gather extra metadata from OpenStack APIs.

This patch introduces a new option in the OpenStack Dynamic pollsters,
that enable operators to enrich sample's metadata with information that
can be captured in other OpenStack APIs such as Keystone, Nova, Neutron,
and many others.

Change-Id: I079bf26cf26fcbcf678dba10469516a1dcb52c0d
2022-01-20 11:55:41 -03:00
..
cmd Add framework for ceilometer-status upgrade check 2019-05-16 11:13:43 +08:00
compute Fix broken test_discovery_with_libvirt_error 2021-10-11 09:48:57 +02:00
event Replace six with python3 code style 2021-01-13 14:20:31 +01:00
hardware Replace six with python3 code style 2021-01-13 14:20:31 +01:00
image separate base manager from pipeline 2017-11-16 14:43:46 -05:00
ipmi Replace six with python3 code style 2021-01-13 14:20:31 +01:00
meter Replace six with python3 code style 2021-01-13 14:20:31 +01:00
network Replace six with python3 code style 2021-01-13 14:20:31 +01:00
objectstore Fix CA file for Swift pollster 2021-08-20 14:25:44 +01:00
polling OpenStack Dynamic pollsters metadata enrichment with other OpenStack API's data 2022-01-20 11:55:41 -03:00
publisher Notify and update snapshot metrics 2021-06-30 19:55:14 +02:00
volume Add AZ resource metadata for volume size polling 2020-10-02 12:48:40 +02:00
__init__.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
pipeline_base.py Replace six with python3 code style 2021-01-13 14:20:31 +01:00
test_bin.py Replace six with python3 code style 2021-01-13 14:20:31 +01:00
test_declarative.py Use unittest.mock instead of third party mock 2020-03-20 15:30:23 -05:00
test_decoupled_pipeline.py pipeline: remove transformer support 2018-09-06 10:38:25 +02:00
test_event_pipeline.py notification: remove workload partitioning 2018-08-31 13:29:51 +02:00
test_messaging.py tests: remove oslo.config fixture usage 2017-04-18 18:24:49 +02:00
test_middleware.py Use unittest.mock instead of third party mock 2020-03-20 15:30:23 -05:00
test_monascaclient.py Use unittest.mock instead of third party mock 2020-03-20 15:30:23 -05:00
test_neutronclient.py Use unittest.mock instead of third party mock 2020-03-20 15:30:23 -05:00
test_neutronclient_lbaas_v2.py Use unittest.mock instead of third party mock 2020-03-20 15:30:23 -05:00
test_notification.py Replace six with python3 code style 2021-01-13 14:20:31 +01:00
test_novaclient.py Use unittest.mock instead of third party mock 2020-03-20 15:30:23 -05:00
test_polling.py separate polling code 2017-11-16 14:43:46 -05:00
test_sample.py ensure timezone is included in timestamps 2017-08-01 16:45:12 +00:00