From 3ad4b8077dc29c546d36be121b00ad74bf322a70 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Mon, 25 Sep 2023 16:07:35 +0100 Subject: [PATCH] stacks dashboard: exclude docker-based apps turns out these show up as having the default "stack id" even though this is basically meaningless for docker apps --- manifests/prometheus/dashboards.d/stacks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/prometheus/dashboards.d/stacks.json b/manifests/prometheus/dashboards.d/stacks.json index 8ba08e6cc4..5df4c24823 100644 --- a/manifests/prometheus/dashboards.d/stacks.json +++ b/manifests/prometheus/dashboards.d/stacks.json @@ -108,7 +108,7 @@ "uid": "P1809F7CD0C75ACF3" }, "editorMode": "code", - "expr": "sum(cf_application_info{environment=\"$environment\",deployment=\"$bosh_deployment\",stack_id=\"$stack_id\", organization_name!~\"$test_orgs_nre\",state!~\"$stopped_apps_nre\"}) by (organization_id, organization_name)", + "expr": "sum(cf_application_info{detected_buildpack!=\"\",environment=\"$environment\",deployment=\"$bosh_deployment\",stack_id=\"$stack_id\", organization_name!~\"$test_orgs_nre\",state!~\"$stopped_apps_nre\"}) by (organization_id, organization_name)", "legendFormat": "{{organization_name}}", "range": true, "refId": "A"