//
pkg.gl
Category
github.com/Timestopeofficial/feechain
api
service
prometheus
package
0.0.0-20240409024708-42fba537b5d4
Repository:
https://github.com/timestopeofficial/feechain.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
13
Dependents
11
Files
170 SLOC
#
Functions
NewService
NewService sets up a new instance for a given address host:port.
PromRegistry
PromRegistry return the registry of prometheus service.
#
Structs
Config
Config is the config for the prometheus service.
Handler
Handler represents a path and handler func to serve on the same port as /metrics, /healthz, /goroutinez, etc.
Service
Service provides Prometheus metrics via the /metrics route.