@@ -83,11 +83,11 @@ local numbersinglestat = promgrafonnet.numbersinglestat;
8383 )
8484 .addTarget(prometheus.target(
8585 'sort_desc(sum by (pod_name) (rate(container_network_receive_bytes_total{%(cadvisorSelector)s, %(clusterLabel)s="$cluster", namespace="$namespace", pod_name="$pod"}[1m])))' % $._config,
86- legendFormat='RX: pod = {{ pod_name }}' ,
86+ legendFormat='RX: {{ pod_name }}' ,
8787 ))
8888 .addTarget(prometheus.target(
8989 'sort_desc(sum by (pod_name) (rate(container_network_transmit_bytes_total{%(cadvisorSelector)s, %(clusterLabel)s="$cluster", namespace="$namespace", pod_name="$pod"}[1m])))' % $._config,
90- legendFormat='TX: pod = {{ pod_name }}' ,
90+ legendFormat='TX: {{ pod_name }}' ,
9191 ))
9292 );
9393
@@ -96,7 +96,7 @@ local numbersinglestat = promgrafonnet.numbersinglestat;
9696 graphPanel.new(
9797 'Total Restarts Per Container' ,
9898 datasource='$datasource' ,
99- format='bytes ' ,
99+ format='short ' ,
100100 min=0 ,
101101 span=12 ,
102102 legend_rightSide=true ,
@@ -106,7 +106,7 @@ local numbersinglestat = promgrafonnet.numbersinglestat;
106106 )
107107 .addTarget(prometheus.target(
108108 'max by (container) (kube_pod_container_status_restarts_total{%(kubeStateMetricsSelector)s, %(clusterLabel)s="$cluster", namespace="$namespace", pod="$pod", container=~"$container"})' % $._config,
109- legendFormat='Restarts {{ container }}' ,
109+ legendFormat='Restarts: {{ container }}' ,
110110 ))
111111 );
112112
0 commit comments