metrics

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	L4ilbLatencyMetricName   = "l4_ilb_sync_duration_seconds"
	L4ilbErrorMetricName     = "l4_ilb_sync_error_count"
	L4netlbLatencyMetricName = "l4_netlb_sync_duration_seconds"
	L4netlbErrorMetricName   = "l4_netlb_sync_error_count"
)

Variables

This section is empty.

Functions

func PublishILBSyncMetrics

func PublishILBSyncMetrics(success bool, syncType, gceResource, errType string, startTime time.Time)

PublishL4ILBSyncMetrics exports metrics related to the L4 ILB sync.

func PublishNetLBSyncMetrics added in v1.16.0

func PublishNetLBSyncMetrics(success bool, syncType, gceResource, errType string, startTime time.Time)

PublishL4NetLBSyncMetrics exports metrics related to the L4 NetLB sync.

Types

This section is empty.

Jump to

Keyboard shortcuts

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