Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ListenAddr *string ListenPath *string Timeout *time.Duration StartingContext context.Context HealthCheck *string HTTPChain web.NextConstructor Logger log.Logger }
Config controls optional parameters for collectd listeners
type Server ¶
type Server struct { protocol.CloseableHealthCheck // contains filtered or unexported fields }
Server is the prometheus server
func NewListener ¶
NewListener serves http prometheus requests
func (*Server) Datapoints ¶
Datapoints returns decoder datapoints
func (*Server) DebugDatapoints ¶
DebugDatapoints returns datapoints that are used for debugging the listener
func (*Server) DefaultDatapoints ¶
DefaultDatapoints returns datapoints that should always be reported from the listener
Click to show internal directories.
Click to hide internal directories.