Do not collect node_exporter cpu metrics in prometheus job
Prometheus job already injects fake metrics for hosts and instances. This patch disables node_exporter cpu metric collector to avoid mixing both real and fake values in test execution. Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-prometheus/+/942181 Depends-On: https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/943825 Change-Id: Ie2b7269ab15af6190ce72ba2b149e84375f4419d
This commit is contained in:
parent
77a30ef281
commit
539be503f0
@ -214,6 +214,9 @@
|
||||
CEILOMETER_PIPELINE_INTERVAL: 15
|
||||
CEILOMETER_ALARM_THRESHOLD: 6000000000
|
||||
NODE_EXPORTER_ENABLE: false
|
||||
# avoid collecting real host cpu metrics since tests
|
||||
# will inject fake metrics when needed
|
||||
NODE_EXPORTER_COLLECTOR_EXCLUDE: "cpu"
|
||||
PROMETHEUS_ENABLE: false
|
||||
PROMETHEUS_SERVICE_SCRAPE_TARGETS: "sg-core,node-exporter"
|
||||
PROMETHEUS_CONFIG_FILE: "/home/zuul/prometheus.yml"
|
||||
@ -271,6 +274,9 @@
|
||||
devstack_localrc:
|
||||
CEILOMETER_BACKEND: "none"
|
||||
CEILOMETER_BACKENDS: "none"
|
||||
# avoid collecting real host cpu metric since tests
|
||||
# will inject fake metrics when needed
|
||||
NODE_EXPORTER_COLLECTOR_EXCLUDE: "cpu"
|
||||
# sg_core related var
|
||||
NODE_EXPORTER_ENABLE: false
|
||||
PROMETHEUS_ENABLE: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user