csm

package
v1.67.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 4

Documentation

Overview

Package csm contains utilities for Google Cloud Service Mesh observability.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableObservability

func EnableObservability(ctx context.Context, options opentelemetry.Options) func()

EnableObservability sets up CSM Observability for the binary globally.

The CSM Stats Plugin is instantiated with local labels and metadata exchange labels pulled from the environment, and emits metadata exchange labels from the peer and local labels. Context timeouts do not trigger an error, but set certain labels to "unknown".

This function is not thread safe, and should only be invoked once in main before any channels or servers are created. Returns a cleanup function to be deferred in main.

Types

This section is empty.

Jump to

Keyboard shortcuts

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