otel: go.opentelemetry.io/otel/plugin/grpctrace Index | Files

package grpctrace

import "go.opentelemetry.io/otel/plugin/grpctrace"

Index

Package Files

grpctrace.go

func Extract Uses

func Extract(ctx context.Context, metadata *metadata.MD) ([]core.KeyValue, core.SpanContext)

Extract returns the correlation context and span context that another service encoded in the gRPC metadata object with Inject. This function is meant to be used on incoming requests.

func Inject Uses

func Inject(ctx context.Context, metadata *metadata.MD)

Inject injects correlation context and span context into the gRPC metadata object. This function is meant to be used on outgoing requests.

Package grpctrace imports 6 packages (graph) and is imported by 1 packages. Updated 2020-02-22. Refresh now. Tools for package owners.