Skip to main content

Update metrics

Manually update Teku metrics for your custom dashboard.

Teku has introduced changes to metric names due to the upgrade of the Prometheus library.

Gauge names are not allowed to end with total, therefore metrics as beacon_proposers_data_total and beacon_eth1_current_period_votes_total are dropping the _total suffix

The _created timestamps are not returned by default.

Some JVM metrics have changed name to adhere to the OTEL standard (see the table below)

If you are using a custom dashboard, you must update the metric names to reflect these changes.

The following table lists the name changes for Teku metrics:

Previous Teku metric nameNew Teku metric name
beacon_proposers_data_totalbeacon_proposers_data
beacon_eth1_current_period_votes_totalbeacon_eth1_current_period_votes
jvm_memory_bytes_committedjvm_memory_committed_bytes
jvm_memory_bytes_initjvm_memory_init_bytes
jvm_memory_bytes_maxjvm_memory_max_bytes
jvm_memory_bytes_usedjvm_memory_used_bytes
jvm_memory_pool_bytes_committedjvm_memory_pool_committed_bytes
jvm_memory_pool_bytes_initjvm_memory_pool_init_bytes
jvm_memory_pool_bytes_maxjvm_memory_pool_max_bytes
jvm_memory_pool_bytes_usedjvm_memory_pool_used_bytes