metric

package
v1.6.16 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObserverPoolScaleLatency

func ObserverPoolScaleLatency()

ObserverPoolScaleLatency records the elapsed interval since the oldest unobserved allocation and deallocation requests. If there are no recorded request starts, this method noops.

func SendHeartBeat added in v1.5.30

func SendHeartBeat(ctx context.Context, heartbeatInterval time.Duration, homeAzMonitor *restserver.HomeAzMonitor, channelMode string)

SendHeartBeat emits node metrics periodically

func StartPoolDecreaseTimer

func StartPoolDecreaseTimer(batch int64)

StartPoolDecreaseTimer records the start of an IP deallocation request. If an IP deallocation request is already in flight, this method noops.

func StartPoolIncreaseTimer

func StartPoolIncreaseTimer(batch int64)

StartPoolIncreaseTimer records the start of an IP allocation request. If an IP allocation request is already in flight, this method noops.

Types

This section is empty.

Jump to

Keyboard shortcuts

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