metrics

package
v0.0.0-...-587bbaa Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MetricState   = "cm_states"
	MetricActions = "cm_actions"

	LabelState  = "state"
	LabelName   = "kyma_name"
	LabelAction = "action"

	ActionRegister   = "register"
	ActionConfigure  = "configure"
	ActionUnregister = "unregister"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

func NewMetrics

func NewMetrics() Metrics

func (Metrics) IncConfigure

func (m Metrics) IncConfigure(kymaName string)

func (Metrics) IncRegister

func (m Metrics) IncRegister(kymaName string)

func (Metrics) IncUnregister

func (m Metrics) IncUnregister(kymaName string)

func (Metrics) UpdateState

func (m Metrics) UpdateState(kymaName string, status s.Status)

Jump to

Keyboard shortcuts

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