Healthwatch not retrieveing etcd data due to etcd metric name change
search cancel

Healthwatch not retrieveing etcd data due to etcd metric name change

book

Article ID: 370956

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

In TKGI 1.17 and later the Kubernetes Etcd dashboard has missing data for “DB Size”, “Peer Traffic in” and “Peer Traffic out”.

 

 

 

Cause

TKGI 1.17 comes with K8s version 1.26. In K8s versions 1.26 and later, the metric 'etcd_db_total_size_in_bytes' is renamed to 'apiserver_storage_db_total_size_in_bytes' due to that Healthwatch is unable to retrieve any data. 

 

Resolution

Updating the metric name to apiserver_storage_db_total_size_in_bytes will fix the issue. 

Healthwatch 2.3.1 and later versions will come with the right etcd metric name.