diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Ceph.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Ceph.json index bd9036bd..097ede92 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Ceph.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Ceph.json @@ -2829,7 +2829,7 @@ "includeAll": false, "name": "cluster", "options": [], - "query": "show tag values from ceph_health with key = cluster ", + "query": "show tag values from ceph_health with key = cluster where environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "", @@ -2842,7 +2842,7 @@ "includeAll": false, "name": "pool", "options": [], - "query": "show tag values from ceph_pool_size with key = pool", + "query": "show tag values from ceph_pool_size with key = pool where environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "/^[^.]/", @@ -2855,7 +2855,7 @@ "includeAll": false, "name": "osd", "options": [], - "query": "show tag values from ceph_osd_space_total with key = osd", + "query": "show tag values from ceph_osd_space_total with key = osd where environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "", diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/HAProxy.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/HAProxy.json index 54d880c2..27fd7d92 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/HAProxy.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/HAProxy.json @@ -2765,7 +2765,7 @@ "includeAll": false, "name": "service", "options": [], - "query": "show tag values from haproxy_backend_servers with key = backend where hostname = '$server'", + "query": "show tag values from haproxy_backend_servers with key = backend where hostname = '$server' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "", diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Hypervisor.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Hypervisor.json index 9d4c78bd..9bc0945a 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Hypervisor.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Hypervisor.json @@ -2091,7 +2091,7 @@ "multiFormat": "glob", "name": "instance_id", "options": [], - "query": "show tag values from virt_cpu_time with key = instance_id where hostname = '$hostname'", + "query": "show tag values from virt_cpu_time with key = instance_id where hostname = '$hostname' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "type": "query" @@ -2105,7 +2105,7 @@ "multiFormat": "glob", "name": "disk", "options": [], - "query": "show tag values from virt_disk_octets_read with key = device where hostname = '$hostname' and instance_id = '$instance_id'", + "query": "show tag values from virt_disk_octets_read with key = device where hostname = '$hostname' and instance_id = '$instance_id' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "", @@ -2120,7 +2120,7 @@ "multiFormat": "glob", "name": "interface", "options": [], - "query": "show tag values from virt_if_octets_rx with key = interface where hostname = '$hostname' and instance_id = '$instance_id'", + "query": "show tag values from virt_if_octets_rx with key = interface where hostname = '$hostname' and instance_id = '$instance_id' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "type": "query" diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/System.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/System.json index 3621bb14..baea8dbd 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/System.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/System.json @@ -3528,7 +3528,7 @@ "includeAll": false, "name": "disk", "options": [], - "query": "show tag values from disk_merged_read with key=\"device\" where hostname = '$server'", + "query": "show tag values from disk_merged_read with key=\"device\" where hostname = '$server' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "/^[a-z]+$/", @@ -3541,7 +3541,7 @@ "includeAll": false, "name": "mount", "options": [], - "query": "show tag values from fs_inodes_free with key=\"fs\" where hostname = '$server'", + "query": "show tag values from fs_inodes_free with key=\"fs\" where hostname = '$server' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "", @@ -3554,7 +3554,7 @@ "includeAll": false, "name": "interface", "options": [], - "query": "show tag values from if_errors_rx with key=\"interface\" where hostname = '$server'", + "query": "show tag values from if_errors_rx with key=\"interface\" where hostname = '$server' and environment_label = '$environment'", "refresh": true, "refresh_on_load": true, "regex": "",