Skip to content

Commit 5ed6253

Browse files
fbartnitzekskl
andauthored
fix(cluster-total dashboard): remove joined kube_pod_info in TCP queries (#1104)
Co-authored-by: Stephen Lang <[email protected]>
1 parent f584d6e commit 5ed6253

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

dashboards/network-usage/cluster-total.libsonnet

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,6 @@ local var = g.dashboard.variable;
440440
'${datasource}', |||
441441
sum by (instance) (
442442
rate(node_netstat_Tcp_RetransSegs{%(clusterLabel)s="$cluster"}[%(grafanaIntervalVar)s]) / rate(node_netstat_Tcp_OutSegs{%(clusterLabel)s="$cluster"}[%(grafanaIntervalVar)s])
443-
* on (%(clusterLabel)s,namespace,pod) group_left ()
444-
topk by (%(clusterLabel)s,namespace,pod) (
445-
1,
446-
max by (%(clusterLabel)s,namespace,pod) (kube_pod_info{host_network="false"})
447-
)
448443
)
449444
||| % $._config
450445
)
@@ -458,11 +453,6 @@ local var = g.dashboard.variable;
458453
'${datasource}', |||
459454
sum by (instance) (
460455
rate(node_netstat_TcpExt_TCPSynRetrans{%(clusterLabel)s="$cluster"}[%(grafanaIntervalVar)s]) / rate(node_netstat_Tcp_RetransSegs{%(clusterLabel)s="$cluster"}[%(grafanaIntervalVar)s])
461-
* on (%(clusterLabel)s,namespace,pod) group_left ()
462-
topk by (%(clusterLabel)s,namespace,pod) (
463-
1,
464-
max by (%(clusterLabel)s,namespace,pod) (kube_pod_info{host_network="false"})
465-
)
466456
)
467457
||| % $._config
468458
)

0 commit comments

Comments
 (0)