Skip to content

Commit

Permalink
stacks dashboard: exclude docker-based apps
Browse files Browse the repository at this point in the history
turns out these show up as having the default "stack id" even though
this is basically meaningless for docker apps
  • Loading branch information
risicle committed Sep 25, 2023
1 parent 50792a8 commit 3ad4b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/prometheus/dashboards.d/stacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3ad4b80

Please sign in to comment.