package grpctrace

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

Index

Constants

const (
	// Vendor is the integration provider
	Vendor = "ot"
)

Functions

func Extract

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

Extract returns the Context Entries and SpanContext that were encoded by Inject.

func Inject

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

Inject injects the gRPC call metadata into the Span

Source Files

grpctrace.go

Version
v0.2.0
Published
Dec 3, 2019
Platform
linux/amd64
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.