package metrics

import "google.golang.org/grpc/xds/internal/clients/xdsclient/metrics"

Package metrics defines all metrics that can be produced by an xDS client. All calls to the MetricsRecorder by the xDS client will contain a struct from this package passed by pointer.

Index

Types

type ResourceUpdateInvalid

type ResourceUpdateInvalid struct {
	ServerURI    string
	ResourceType string
}

ResourceUpdateInvalid is a metric to report an invalid resource update from the xDS management server for a given resource type.

type ResourceUpdateValid

type ResourceUpdateValid struct {
	ServerURI    string
	ResourceType string
}

ResourceUpdateValid is a metric to report a valid resource update from the xDS management server for a given resource type.

type ServerFailure

type ServerFailure struct {
	ServerURI string
}

ServerFailure is a metric to report a server failure of the xDS management server.

Source Files

metrics.go

Version
v1.74.0-dev
Published
May 15, 2025
Platform
darwin/amd64
Last checked
1 hour ago

Tools for package owners.