aboutsummaryrefslogtreecommitdiff
path: root/tests/templates
diff options
context:
space:
mode:
authorDoug Szumski <doug@stackhpc.com>2025-09-03 15:14:16 +0000
committerMichal Nasiadka <mnasiadka@gmail.com>2026-04-16 08:24:57 +0000
commit23e8a4ebfebafd82f37a070f74a97b32fcba5f15 (patch)
treedbd77c869c76f5f86f2edaf8040a4534e74e94ca /tests/templates
parentfa19b11fbb9c6ba3b9824e54e4b10668bccb0bc1 (diff)
downloadkolla-ansible-23e8a4ebfebafd82f37a070f74a97b32fcba5f15.tar.gz
kolla-ansible-23e8a4ebfebafd82f37a070f74a97b32fcba5f15.zip
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 <doug@stackhpc.com>
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/globals-default.j22
-rw-r--r--tests/templates/inventory.j24
2 files changed, 6 insertions, 0 deletions
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.