Skip to content

Some Libp2p metrics are listed but no values returned #1923

@jakubgs

Description

@jakubgs

Those metrics seem broken, they are listed, just return nothing:

 > curl -s 0:9100/metrics | grep libp2p_peers_identity
# HELP libp2p_peers_identity peers identities
# TYPE libp2p_peers_identity gauge

 > curl -s 0:9100/metrics | grep libp2p_peers_traffic_write
# HELP libp2p_peers_traffic_write outgoing traffic
# TYPE libp2p_peers_traffic_write counter

 > curl -s 0:9100/metrics | grep libp2p_peers_traffic_read
# HELP libp2p_peers_traffic_read incoming traffic
# TYPE libp2p_peers_traffic_read counter

And they feature prominenty in Nimbus dashboards:

Image

Started happening since 25.10.0 release of nimbus-eth2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    new

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions