@@ -169,38 +169,6 @@ local singlestat = grafana.singlestat;
169169 )
170170 .addTarget(prometheus.target('histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{%(kubeApiserverSelector)s, instance=~"$instance", %(clusterLabel)s="$cluster"}[5m])) by (instance, name, le))' % $._config, legendFormat='{{instance}} {{name}}' ));
171171
172- local etcdCacheEntryTotal =
173- graphPanel.new(
174- 'ETCD Cache Entry Total' ,
175- datasource='$datasource' ,
176- span=4 ,
177- format='short' ,
178- min=0 ,
179- )
180- .addTarget(prometheus.target('etcd_helper_cache_entry_total{%(kubeApiserverSelector)s, instance=~"$instance", %(clusterLabel)s="$cluster"}' % $._config, legendFormat='{{instance}}' ));
181-
182- local etcdCacheEntryRate =
183- graphPanel.new(
184- 'ETCD Cache Hit/Miss Rate' ,
185- datasource='$datasource' ,
186- span=4 ,
187- format='ops' ,
188- min=0 ,
189- )
190- .addTarget(prometheus.target('sum(rate(etcd_helper_cache_hit_total{%(kubeApiserverSelector)s,instance=~"$instance", %(clusterLabel)s="$cluster"}[5m])) by (instance)' % $._config, legendFormat='{{instance}} hit' ))
191- .addTarget(prometheus.target('sum(rate(etcd_helper_cache_miss_total{%(kubeApiserverSelector)s,instance=~"$instance", %(clusterLabel)s="$cluster"}[5m])) by (instance)' % $._config, legendFormat='{{instance}} miss' ));
192-
193- local etcdCacheLatency =
194- graphPanel.new(
195- 'ETCD Cache Duration 99th Quantile' ,
196- datasource='$datasource' ,
197- span=4 ,
198- format='s' ,
199- min=0 ,
200- )
201- .addTarget(prometheus.target('histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{%(kubeApiserverSelector)s,instance=~"$instance", %(clusterLabel)s="$cluster"}[5m])) by (instance, le))' % $._config, legendFormat='{{instance}} get' ))
202- .addTarget(prometheus.target('histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{%(kubeApiserverSelector)s,instance=~"$instance", %(clusterLabel)s="$cluster"}[5m])) by (instance, le))' % $._config, legendFormat='{{instance}} miss' ));
203-
204172 local memory =
205173 graphPanel.new(
206174 'Memory' ,
@@ -308,11 +276,6 @@ local singlestat = grafana.singlestat;
308276 .addPanel(workQueueAddRate)
309277 .addPanel(workQueueDepth)
310278 .addPanel(workQueueLatency)
311- ).addRow(
312- row.new()
313- .addPanel(etcdCacheEntryTotal)
314- .addPanel(etcdCacheEntryRate)
315- .addPanel(etcdCacheLatency)
316279 ).addRow(
317280 row.new()
318281 .addPanel(memory)
0 commit comments