package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.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.