Skip to content

Commit

Permalink
fix bandwidth_per_namespace visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
eranra committed Mar 10, 2022
1 parent 3286f9d commit 965cc0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/dashboards/dashboard_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@
"steppedLine": false,
"targets": [
{
"expr": "topk(10,rate(flp_egress_per_namespace{aggregate=~\".*pod.*\"}[1m]))",
"expr": "rate(flp_egress_per_namespace{aggregate=~\".*Pod.*\"}[1m])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
Expand Down
2 changes: 1 addition & 1 deletion contrib/dashboards/jsonnet/dashboard_details.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ dashboard.new(
)
.addTarget(
prometheus.target(
expr='topk(10,rate(flp_egress_per_namespace{aggregate=~".*Pod.*"}[1m]))',
expr='rate(flp_egress_per_namespace{aggregate=~".*Pod.*"}[1m])',
)
), gridPos={
x: 0,
Expand Down
2 changes: 1 addition & 1 deletion network_definitions/egress_bandwidth_per_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ encode:
visualization:
type: grafana
grafana:
- expr: 'topk(10,rate(flp_egress_per_namespace{aggregate=~".*Pod.*"}[1m]))'
- expr: 'rate(flp_egress_per_namespace{aggregate=~".*Pod.*"}[1m])'
type: graphPanel
dashboard: details
title:
Expand Down

0 comments on commit 965cc0b

Please sign in to comment.