Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("prometheus", fx.Invoke(Listen), fx.Provide(NewPrometheus))
Functions ¶
func Listen ¶
func Listen(prom *Prometheus)
Types ¶
type Configuration ¶
type Configuration struct {
Address string
}
type Prometheus ¶
type Prometheus struct {
// contains filtered or unexported fields
}
func NewPrometheus ¶
func NewPrometheus(config Configuration) *Prometheus
Click to show internal directories.
Click to hide internal directories.