Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefRegistryName is a definition name. DefRegistryName = "prometheus.component.registry" // TagCollectorProvider indicates defs with prom collectors TagCollectorProvider = "prometheus.collector" )
View Source
const DefFlagsName = "prometheus.component.flags"
DefFlagsName is a definition name.
View Source
const DefServerName = "prometheus.component.server"
DefServerName is a definition name.
Variables ¶
This section is empty.
Functions ¶
func DefRegistry ¶
func DefRegistry(registry *prometheus.Registry) di.Def
DefRegistry is a prometheus registry definition getter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.