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
Click to show internal directories.
Click to hide internal directories.