Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventEmitted = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "loggen_events_total", Help: "The total number of events", }, []string{"type", "severity"}) EventEmittedBytes = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "loggen_event_bytes_total", Help: "The total bytes of events", }, []string{"type", "severity"}) GeneratedLoad = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "generated_load", Help: "Generated load", }, []string{"type"}) Uptime = promauto.NewCounterFunc( prometheus.CounterOpts{ Name: "uptime_seconds", Help: "Generator uptime.", }, func() float64 { return time.Since(Startup).Seconds() }, ) )
View Source
var Startup time.Time
Functions ¶
func Handler ¶
func Handler() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.