Use PROMETHEUS_CUSTOM_SCRAPE_TARGETS to pass sg_core scrape endpoint

https://review.opendev.org/c/openstack/devstack-plugin-prometheus/+/950476
adds the support for passing custom prometheus scrape target in d-p-p.

Let's use the same to pass sg_core endpoint.

Depends-On: https://review.opendev.org/c/openstack/devstack-plugin-prometheus/+/950476

Change-Id: I097d4875e75c097d9a7ea28ee57d3a6e4750194b
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah)
2025-05-21 10:35:20 +05:30
committed by chandan kumar
parent ba28a22c12
commit ddfb79a63e

View File

@@ -43,9 +43,7 @@
CEILOMETER_PIPELINE_INTERVAL: 15
CEILOMETER_ALARM_THRESHOLD: 6000000000
AODH_DEPLOY: uwsgi
PROMETHEUS_CONF_DIR: /opt/stack
PROMETHEUS_CONFIG_FILE: /opt/stack/prometheus.yml
PROMETHEUS_CLIENT_CONF_DIR: /etc/openstack
PROMETHEUS_CUSTOM_SCRAPE_TARGETS: "localhost:3000"
devstack_local_conf:
test-config:
$TEMPEST_CONFIG: