metrics

package
v2.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	METER_NAME         = "github.com/kubescape/kubescape/v2"
	METRIC_NAME_PREFIX = "kubescape"
)

Variables

This section is empty.

Functions

func Init

func Init()

Init initializes the metrics

func UpdateKubernetesResourcesCount

func UpdateKubernetesResourcesCount(ctx context.Context, value int64)

UpdateKubernetesResourcesCount updates the kubernetes resources count metric

func UpdateWorkerNodesCount

func UpdateWorkerNodesCount(ctx context.Context, value int64)

UpdateWorkerNodesCount updates the worker nodes count metric

Types

This section is empty.

Jump to

Keyboard shortcuts

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