package x

Import Path
	go.opentelemetry.io/otel/sdk/internal/x (on go.dev)

Dependency Relation
	imports 2 packages, and imported by one package

Involved Source Files Package x contains support for OTel SDK experimental features. This package should only be used for features defined in the specification. It should not be used for experiments or new project ideas.
Package-Level Type Names (only one)
/* sort by: | */
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)
Resource is an experimental feature flag that defines if resource detectors should be included experimental semantic conventions. To enable this feature set the OTEL_GO_X_RESOURCE environment variable to the case-insensitive string value of "true" (i.e. "True" and "TRUE" will also enable this).