Fix regular expression matching on L2 agent name.
Fixes PROD-35390
Change-Id: Ic70493eeae185ae234bb31ec3d6f533b6e25f072
diff --git a/neutron/files/grafana_dashboards/neutron_l2_prometheus.json b/neutron/files/grafana_dashboards/neutron_l2_prometheus.json
index b755753..aef97b6 100755
--- a/neutron/files/grafana_dashboards/neutron_l2_prometheus.json
+++ b/neutron/files/grafana_dashboards/neutron_l2_prometheus.json
@@ -736,7 +736,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "openstack_neutron_agents{service=\"neutron-openvswitch-agent|neutron-linuxbridge-agent\",state=\"up\"}",
+ "expr": "openstack_neutron_agents{service=~\"neutron-openvswitch-agent|neutron-linuxbridge-agent\",state=\"up\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -1063,7 +1063,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "openstack_neutron_agents{service=\"neutron-openvswitch-agent|neutron-linuxbridge-agent\",state=\"disabled\"}",
+ "expr": "openstack_neutron_agents{service=~\"neutron-openvswitch-agent|neutron-linuxbridge-agent\",state=\"disabled\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -1390,7 +1390,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "openstack_neutron_agents{service=\"neutron-openvswitch-agent|neutron-linuxbridge-agent\",state=\"down\"}",
+ "expr": "openstack_neutron_agents{service=~\"neutron-openvswitch-agent|neutron-linuxbridge-agent\",state=\"down\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",