package
2025.0.0+incompatible
Repository: https://github.com/harmony-one/harmony.git
Documentation: pkg.go.dev

# Functions

NewService sets up a new instance for a given address host:port.
PromRegistry return the registry of prometheus service.

# Structs

Config is the config for the prometheus service.
Handler represents a path and handler func to serve on the same port as /metrics, /healthz, /goroutinez, etc.
Service provides Prometheus metrics via the /metrics route.