Documentation ¶
Overview ¶
Package env provides a detector that loads resource information from the OTEL_RESOURCE environment variable. A list of labels of the form `<key1>=<value1>,<key2>=<value2>,...` is accepted. Domain names and paths are accepted as label keys.
Index ¶
Constants ¶
View Source
const TypeStr = "env"
TypeStr is type of detector.
Variables ¶
This section is empty.
Functions ¶
func NewDetector ¶ added in v0.8.0
func NewDetector(component.ProcessorCreateSettings, internal.DetectorConfig) (internal.Detector, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.