Documentation ¶
Overview ¶
Package consumer implements github.com/the-anna-project/instrumentor.Consumer and provides instrumentation primitives to manage application metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config ServiceConfig) (*Service, error)
NewService creates a new prometheus consumer service.
type ServiceConfig ¶
type ServiceConfig struct { }
ServiceConfig represents the configuration used to create a new prometheus consumer service.
func DefaultServiceConfig ¶
func DefaultServiceConfig() ServiceConfig
DefaultServiceConfig provides a default configuration to create a new prometheus consumer service by best effort.
Click to show internal directories.
Click to hide internal directories.