metrics

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OffersReceived = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: offerSubsystem,
			Name:      "received",
			Help:      "Counter of offers received from Mesos broken out by slave host.",
		},
		[]string{"hostname"},
	)

	OffersDeclined = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: offerSubsystem,
			Name:      "declined",
			Help:      "Counter of offers declined by the framework broken out by slave host.",
		},
		[]string{"hostname"},
	)

	OffersAcquired = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: offerSubsystem,
			Name:      "acquired",
			Help:      "Counter of offers acquired for task launch broken out by slave host.",
		},
		[]string{"hostname"},
	)

	OffersReleased = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: offerSubsystem,
			Name:      "released",
			Help:      "Counter of previously-acquired offers later released, broken out by slave host.",
		},
		[]string{"hostname"},
	)
)

Functions

func InMicroseconds

func InMicroseconds(d time.Duration) float64

func Register

func Register()

Types

This section is empty.

Jump to

Keyboard shortcuts

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