MCPcopy Create free account
hub / github.com/coder/coder / envCarrier

Struct envCarrier

provisioner/terraform/otelenv.go:20–22  ·  view source on GitHub ↗

TODO: replace this with the upstream OTEL env propagation when it is released. envCarrier is a propagation.TextMapCarrier that is used to extract or inject tracing environment variables. This is used with a propagation.TextMapPropagator

Source from the content-addressed store, hash-verified

18// inject tracing environment variables. This is used with a
19// propagation.TextMapPropagator
20type envCarrier struct {
21 Env []string
22}
23
24var _ propagation.TextMapCarrier = (*envCarrier)(nil)
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected