Movatterモバイル変換


[0]ホーム

URL:


internal

package
v1.77.0Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License:Apache-2.0Imports:1Imported by:0

Details

Repository

github.com/grpc/grpc-go

Links

Documentation

Overview

Package internal defines the PluginOption interface.

Index

Constants

This section is empty.

Variables

View Source
var SetPluginOptionany// func(*Options, PluginOption)

SetPluginOption sets the plugin option on Options.

Functions

This section is empty.

Types

typePluginOption

type PluginOption interface {// GetMetadata creates a MD with metadata exchange labels.GetMetadata()metadata.MD// GetLabels emits labels to be attached to metrics for the RPC that// contains the provided incomingMetadata.GetLabels(incomingMetadatametadata.MD) map[string]string}

PluginOption is the interface which represents a plugin option for theOpenTelemetry instrumentation component. This plugin option emits labels frommetadata and also creates metadata containing labels. These labels areintended to be added to applicable OpenTelemetry metrics recorded in theOpenTelemetry instrumentation component.

In the future, we hope to stabilize and expose this API to allow plugins toinject labels of their choosing into metrics recorded.

Source Files

View all Source files

Directories

PathSynopsis
Package testutils contains helpers for OpenTelemetry tests.
Package testutils contains helpers for OpenTelemetry tests.
Package tracing implements the OpenTelemetry carrier for context propagation in gRPC tracing.
Package tracing implements the OpenTelemetry carrier for context propagation in gRPC tracing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp