Skip to content

Add informational metrics to prometheus endpoint #21783

Closed
@ulope

Description

@ulope

System information

Geth version: 1.9.23
OS & Version: OSX

Feature request

Please add informational metrics to the prometheus endpoint:

  • Chain / network info
  • Geth version

For example:

# TYPE chain_info gauge
chain_info{chain_id="5", network_name="goerli"} 1
# TYPE geth_info gauge
geth_info{version="1.9.23-stable", arch="amd64", os="darwin", commit="deadbeef", protocol_versions="63,64,65"} 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions