Skip to content

Commit

Permalink
Add the grafana metric for the excess burst capacity (#4820)
Browse files Browse the repository at this point in the history
* Add the actual reporting of the EBC in metrics

* Add the grafana metric for the excess burst capacity.

* Update config/monitoring/metrics/prometheus/100-grafana-dash-knative-scaling.yaml

Co-Authored-By: mattmoor-sockpuppet <mattmoor+sockpuppet@google.com>
  • Loading branch information
2 people authored and knative-prow-robot committed Jul 18, 2019
1 parent 43cdaed commit b07f08d
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,27 +583,33 @@ data:
"format":"time_series",
"interval":"1s",
"intervalFactor":1,
"legendFormat":"60 Second Average Concurrency",
"legendFormat":"Average Concurrency",
"refId":"A"
},
{
"expr":"sum(autoscaler_panic_request_concurrency{namespace_name=\"$namespace\", configuration_name=\"$configuration\", revision_name=\"$revision\"})",
"format":"time_series",
"interval":"1s",
"intervalFactor":1,
"legendFormat":"6 Second Average Panic Concurrency",
"legendFormat":"Average Panic Concurrency",
"refId":"B"
},
{
"expr":"sum(autoscaler_target_concurrency_per_pod{namespace_name=\"$namespace\", configuration_name=\"$configuration\", revision_name=\"$revision\"})",
"format":"time_series",
"intervalFactor":1,
"legendFormat":"60 Second Target Concurrency",
"legendFormat":"Target Concurrency",
"refId":"C"
},
{
"expr":"sum(autoscaler_excess_burst_capacity{namespace_name=\"$namespace\", configuration_name=\"$configuration\", revision_name=\"$revision\"})",
"format":"time_series",
"intervalFactor":1,
"legendFormat":"Excess Burst Capacity",
"refId":"D"
}
],
"thresholds":[
],
"timeFrom":null,
"timeShift":null,
Expand Down

0 comments on commit b07f08d

Please sign in to comment.