Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PromHandler ¶
PromHandler is the Event handnelr used to configure prometheus metrics
func NewHandler ¶
func NewHandler(ctx context.Context, b *bus.Bus) *PromHandler
NewHandler returns a configured instance of PromHandler
func (*PromHandler) Handle ¶
func (p *PromHandler) Handle(ctx context.Context, e *bus.Event)
Handle handles events passed by the bus, used to adhere to the EventHandler intterface
func (*PromHandler) Stop ¶
func (p *PromHandler) Stop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.