Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr is type of detector.
TypeStr = "docker"
)
Variables ¶
This section is empty.
Functions ¶
func NewDetector ¶
func NewDetector(p processor.CreateSettings, cfg internal.DetectorConfig) (internal.Detector, error)
NewDetector creates a new system metadata detector
Types ¶
type Config ¶ added in v0.81.0
type Config struct {
ResourceAttributes metadata.ResourceAttributesConfig `mapstructure:"resource_attributes"`
}
func CreateDefaultConfig ¶ added in v0.81.0
func CreateDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.