Skip to content

Commit

Permalink
metrics: configurable period in concourse panel
Browse files Browse the repository at this point in the history
during the refactor of the queries, this one was left behind.

Signed-off-by: Ciro S. Costa <[email protected]>
  • Loading branch information
Ciro S. Costa committed Nov 22, 2019
1 parent a283918 commit 295a2b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"id": 4,
"iteration": 1574455228918,
"links": [
{
Expand Down Expand Up @@ -185,7 +186,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum by (status) (increase(concourse_builds_finished{kubernetes_pod_name=~\"$atc\",kubernetes_namespace=~\"$namespace\"}[15m]))",
"expr": "sum by (status) (increase(concourse_builds_finished{kubernetes_pod_name=~\"$atc\",kubernetes_namespace=~\"$namespace\"}[$period]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ status }}",
Expand Down

0 comments on commit 295a2b6

Please sign in to comment.