Skip to content

Commit

Permalink
Add pod binding and pod creations graphs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsz committed Jan 17, 2020
1 parent 12cedf6 commit 3331133
Show file tree
Hide file tree
Showing 2 changed files with 247 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ def api_call_latency(title, verb, scope, threshold):
"sum(node_collector_unhealthy_nodes_in_zone) by (zone)",
legend="{{zone}}",
),
d.simple_graph(
"Pod creations",
'sum(irate(apiserver_request_total{verb="POST", resource="pods", subresource=""}[1m])) by (client)',
yAxes=g.single_y_axis(format=g.OPS_FORMAT),
),
d.simple_graph(
"Pod bindings",
'sum(irate(apiserver_request_total{verb="POST", resource="pods", subresource="binding"}[1m])) by (client)',
yAxes=g.single_y_axis(format=g.OPS_FORMAT),
),
# It's not clear which "Component restarts" shows more accurate results.
d.simple_graph(
"Component restarts",
Expand Down
Loading

0 comments on commit 3331133

Please sign in to comment.