prometheus

package
v0.0.0-...-3f64f60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink struct {
}

Sink is a qpid.MetricSink that Reports metrics to Prometheus

func NewSink

func NewSink() *Sink

NewSink returns a new PrometheusSink

func (*Sink) Listen

func (p *Sink) Listen(s chan qpid.GrillStatus)

Listen starts a GrillStatus listener on GrillStatus channel reporting messages received to Prometheus. Must be started in a goroutine before starting grill run loop or grill will block when it tries to send first status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL