From 23e8a4ebfebafd82f37a070f74a97b32fcba5f15 Mon Sep 17 00:00:00 2001 From: Doug Szumski Date: Wed, 3 Sep 2025 15:14:16 +0000 Subject: Add OpenStack Network Exporter for Prometheus This is for gathering OVS/OVN related metrics. See: https://github.com/openstack-k8s-operators/openstack-network-exporter Depends-On: https://review.opendev.org/c/openstack/kolla/+/951971 Change-Id: I5752b3fe6457dcf2f191326a85c548584b5675b1 Signed-off-by: Doug Szumski --- tests/templates/globals-default.j2 | 2 ++ tests/templates/inventory.j2 | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'tests/templates') diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 80f34b0aa..b722f7dba 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -199,6 +199,8 @@ enable_octavia: "yes" octavia_provider_drivers: "ovn:OVN provider" octavia_provider_agents: "ovn" neutron_dns_domain: "example.org." +enable_prometheus: true +enable_prometheus_openstack_exporter: "no" {% endif %} {% if scenario == "prometheus-opensearch" %} diff --git a/tests/templates/inventory.j2 b/tests/templates/inventory.j2 index 1e2833298..1dc739c78 100644 --- a/tests/templates/inventory.j2 +++ b/tests/templates/inventory.j2 @@ -631,6 +631,10 @@ monitoring [prometheus-libvirt-exporter:children] compute +[prometheus-openstack-network-exporter:children] +compute +network + # NOTE(yoctozepto): In CI we want to test Masakari HA but not of other services, # to conserve the resources. Hence, we set Masakari groups to use both # primary and secondary while the parent group (control) uses only primary. -- cgit v1.2.3