telemetry

package
v1.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// DataPlaneK8sResourceName is the registered name of resource in kubernetes for dataplanes.
	DataPlaneK8sResourceName = "dataplanes"
	// DataPlaneCountKind is the kind of provider reporting number of dataplanes.
	DataPlaneCountKind = provider.Kind("dataplanes_count")

	// ControlPlaneK8sResourceName is the registered name of resource in kubernetes for controlplanes.
	ControlPlaneK8sResourceName = "controlplanes"
	// ControlPlaneCountKind is the kind of provider reporting number of controlplanes.
	ControlPlaneCountKind = provider.Kind("controlplanes_count")

	// AIGatewayK8sResourceName is the registered name of resource in kubernetes for AIgateways.
	AIGatewayK8sResourceName = "aigatewaies"
	// AIGatewayCountKind is the kind of provider reporting number of AIGateways.
	AIGatewayCountKind = provider.Kind("aigatewaies_count")

	// StandaloneDataPlaneCountProviderName is the name of the standalone dataplane count provider.
	StandaloneDataPlaneCountProviderName = "standalone_dataplanes"

	// StandaloneControlPlaneCountProviderName is the name of the standalone controlplane count provider.
	StandaloneControlPlaneCountProviderName = "standalone_controlplanes"

	// RequestedDataPlaneReplicasCountProviderName is the name of the provider reporting requested replicas count for dataplanes.
	RequestedDataPlaneReplicasCountProviderName = "requested_dataplanes_replicas"

	// RequestedControlPlaneReplicasCountProviderName is the name of the provider reporting requested replicas count for controlplanes.
	RequestedControlPlaneReplicasCountProviderName = "requested_controlplanes_replicas"
)
View Source
const (
	SignalStart = "gateway-operator-start"
	SignalPing  = "gateway-operator-ping"
)

Variables

This section is empty.

Functions

func CreateManager

func CreateManager(signal string, restConfig *rest.Config, log logr.Logger, payload Payload) (telemetry.Manager, error)

CreateManager creates telemetry manager using the provided rest.Config.

func NewAIgatewayCountProvider

func NewAIgatewayCountProvider(dyn dynamic.Interface, restMapper meta.RESTMapper) (provider.Provider, error)

NewControlPlaneCountProvider creates a provider for number of dataplanes in the cluster.

func NewControlPlaneCountProvider

func NewControlPlaneCountProvider(dyn dynamic.Interface, restMapper meta.RESTMapper) (provider.Provider, error)

NewControlPlaneCountProvider creates a provider for number of dataplanes in the cluster.

func NewControlPlaneRequestedReplicasCountProvider

func NewControlPlaneRequestedReplicasCountProvider(cl client.Client) (provider.Provider, error)

func NewDataPlaneCountProvider

func NewDataPlaneCountProvider(dyn dynamic.Interface, restMapper meta.RESTMapper) (provider.Provider, error)

NewDataPlaneCountProvider creates a provider for number of dataplanes in the cluster.

func NewDataPlaneRequestedReplicasCountProvider

func NewDataPlaneRequestedReplicasCountProvider(cl client.Client) (provider.Provider, error)

func NewStandaloneControlPlaneCountProvider

func NewStandaloneControlPlaneCountProvider(cl client.Client) (provider.Provider, error)

func NewStandaloneDataPlaneCountProvider

func NewStandaloneDataPlaneCountProvider(cl client.Client) (provider.Provider, error)

Types

type Payload

type Payload = types.ProviderReport

Jump to

Keyboard shortcuts

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