meters

package
v0.0.0-...-234d649 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SandboxCountMeterName                  UpDownCounterType = "api.env.instance.running"
	BuildCounterMeterName                                    = "api.env.build.running"
	NewNetworkSlotSPoolCounterMeterName                      = "orchestrator.network.slots_pool.new"
	ReusedNetworkSlotSPoolCounterMeterName                   = "orchestrator.network.slots_pool.reused"
	NBDkSlotSReadyPoolCounterMeterName                       = "orchestrator.nbd.slots_pool.read"
)

Variables

This section is empty.

Functions

func GetCounter

func GetCounter(name CounterType) (metric.Int64Counter, error)

func GetUpDownCounter

func GetUpDownCounter(name UpDownCounterType) (metric.Int64UpDownCounter, error)

Types

type CounterType

type CounterType string
const (
	SandboxCreateMeterName CounterType = "api.env.instance.started"
)

type UpDownCounterType

type UpDownCounterType string

Jump to

Keyboard shortcuts

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