metrics

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

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

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(ctx context.Context, register prometheus.Gatherer, port int) error

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func New

func New(namespace string, serviceName string, r prometheus.Registerer) *Collector

func (*Collector) PublishEventInc

func (c *Collector) PublishEventInc(streamType string, eventType string)

func (*Collector) WalkUnpublishedEventsInc

func (c *Collector) WalkUnpublishedEventsInc()

Jump to

Keyboard shortcuts

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