metrics

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Namespace metric label
	Namespace = "namespace"
	// Status metric label
	Status = "status"
	// SourceID metric label
	SourceID = "source_id"
	// EventType metric label
	EventType = "event_type"
	// EventTypeVersion metric label
	EventTypeVersion = "event_type_version"
)

Variables

View Source
var (
	// TotalPublishedMessages metric
	TotalPublishedMessages = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "total_published_messages",
		Help: "The total number of published messages",
	}, []string{Namespace, Status, SourceID, EventType, EventTypeVersion})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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