metrics

package
v0.0.0-...-9f9bb61 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Cancel = "cancelled"
	Error  = "error"
)

Variables

View Source
var (

	// IstiodConnectionFailures records total number of connection failures to Istiod.
	IstiodConnectionFailures = monitoring.NewSum(
		"istiod_connection_failures",
		"The total number of connection failures to Istiod",
	)

	// XdsProxyRequests records total number of downstream requests.
	XdsProxyRequests = monitoring.NewSum(
		"xds_proxy_requests",
		"The total number of Xds Proxy Requests",
	)

	// XdsProxyResponses records total number of upstream responses.
	XdsProxyResponses = monitoring.NewSum(
		"xds_proxy_responses",
		"The total number of Xds Proxy Responses",
	)

	IstiodConnectionCancellations = istiodDisconnections.With(disconnectionTypeTag.Value(Cancel))
	IstiodConnectionErrors        = istiodDisconnections.With(disconnectionTypeTag.Value(Error))
	EnvoyConnectionCancellations  = envoyDisconnections.With(disconnectionTypeTag.Value(Cancel))
	EnvoyConnectionErrors         = envoyDisconnections.With(disconnectionTypeTag.Value(Error))
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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