package x
Import Path
go.opentelemetry.io/otel/sdk/trace/internal/x (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
Package x documents experimental features for [go.opentelemetry.io/otel/sdk/trace].
Package-Level Type Names (only one)
Type Parameters:
T: any
Feature is an experimental feature control flag. It provides a uniform way
to interact with these feature flags and parse their values.
Enabled reports whether the feature is enabled.
Key returns the environment variable key that needs to be set to enable the
feature.
Lookup returns the user configured value for the feature and true if the
user has enabled the feature. Otherwise, if the feature is not enabled, a
zero-value and false are returned.
Package-Level Variables (only one)
SelfObservability is an experimental feature flag that determines if SDK
self-observability metrics are enabled.
To enable this feature set the OTEL_GO_X_SELF_OBSERVABILITY environment variable
to the case-insensitive string value of "true" (i.e. "True" and "TRUE"
will also enable this).
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |