Versions in this module Expand all Collapse all v0 v0.24.2 Aug 29, 2023 v0.24.1 Dec 14, 2022 Changes in this version + const EnvVarLabels + const EnvVarType + func DecodeLabels(s string) (map[string]string, error) + func EncodeLabels(labels map[string]string) string + type Detector func(context.Context) (*Resource, error) + func MultiDetector(detectors ...Detector) Detector + type Resource struct + Labels map[string]string + Type string + func FromEnv(context.Context) (*Resource, error)