package grpctrace
import "go.opentelemetry.io/otel/plugin/grpctrace"
Index ¶
- Constants
- func Extract(ctx context.Context, metadata *metadata.MD) ([]core.KeyValue, core.SpanContext)
- func Inject(ctx context.Context, metadata *metadata.MD)
Constants ¶
const ( // Vendor is the integration provider Vendor = "ot" )
Functions ¶
func Extract ¶
Extract returns the Context Entries and SpanContext that were encoded by Inject.
func Inject ¶
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.