metrics

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 2

README

Metrics

Our controllers expose metrics on port 9090. The corresponding services make those ports available.

To test locally you can forward the ports:

kubectl  -n steward-system port-forward steward-controller-758bf54c77-9qcxb 9090:9090 &
curl localhost:9090/metrics | grep steward
kubectl  -n steward-system port-forward steward-tenant-controller-... 9091:9090 &
curl localhost:9091/metrics | grep steward

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics interface {
	CountStart()
	CountResult(api.Result)
	ObserveDurationByState(state *api.StateItem) error
	StartServer()
}

Metrics provides metrics

func NewMetrics

func NewMetrics() Metrics

NewMetrics create metrics

Jump to

Keyboard shortcuts

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