Override default Telemetry service configuration
You can customize Telemetry services by creating custom configuration files for your deployment. For example, you can customize the Ceilometer service by modifying the polling.yaml file.
Before you begin Copy linkLink copied!
- The pod for the service that you want to customize exists in your deployment and you are in the
openstacknamespace:$ oc get pods -A -o custom-columns="NAMESPACE:.metadata.namespace,POD:.metadata.name,CONTAINERS:.spec.containers[*].name" | grep <container>
Procedure Copy linkLink copied!
Polling properties Copy linkLink copied!
You can configure polling rules to poll for data not provided by service events and notifications, such as instance resource usage. Use the polling.yaml file to specify the polling plugins (pollsters) to enable, the interval they should be polled, and the meters to poll for each source.
The following template describes how to define a source to poll:
sources:
- name: <source_name>
interval: <sample_generation_interval>
meters:
- <meter_filter>
- <meter_filter>
...
- <meter_filter>
interval: The interval in seconds between sample generation of the specified metrics.meters: A list of resources to gather samples from. Each filter must match the meter name of the polling plugin.