Skip to content

Prometheus metrics are broken #22458

@Swift42

Description

@Swift42

System information

Geth version: 1.10.1
OS & Version: Linux

Expected behaviour

Prometheus should read the metrics without an error.

Actual behaviour

Prometheus scrape fails with "invalid metric type"
This happens because all of the new "les/clientcompact" and "les/clientdisk" metrics have a "." instead of "_" in the name.
E.g.
eth_db_les.clientcompact_input 0
should be
eth_db_les_clientcompact_input 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions