metrics

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeHNSMetrics

func InitializeHNSMetrics()

InitializeHNSMetrics registers the relevant metrics.

func ObserveSNSAllocatedResource

func ObserveSNSAllocatedResource(name, namespace, resource string, quantity float64)

ObserveSNSAllocatedResource sets the allocated metric as per the quantity.

func ObserveSNSFreeResource

func ObserveSNSFreeResource(name, namespace, resource string, quantity float64)

ObserveSNSFreeResource sets the allocatable metric as per the quantity.

func ObserveSNSTotalResource

func ObserveSNSTotalResource(name, namespace, resource string, quantity float64)

ObserveSNSTotalResource sets the total metric as per the quantity.

Types

This section is empty.

Jump to

Keyboard shortcuts

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