component

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 13 Imported by: 0

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 DefFlags

func DefFlags() di.Def

DefFlags is a custom flags definition getter.

func DefRegistry

func DefRegistry(registry *prometheus.Registry) di.Def

DefRegistry is a prometheus registry definition getter.

func DefServer

func DefServer() di.Def

DefServer is a http-server definition getter.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL