diff --git a/processor/k8sattributesprocessor/config.go b/processor/k8sattributesprocessor/config.go index 109e3eeaed6b1..b4c3ba57ee0fe 100644 --- a/processor/k8sattributesprocessor/config.go +++ b/processor/k8sattributesprocessor/config.go @@ -103,69 +103,59 @@ type ExtractConfig struct { Labels []FieldExtractConfig `mapstructure:"labels"` } -// FieldExtractConfig allows specifying an extraction rule to extract a value from exactly one field. -// -// The field accepts a list FilterExtractConfig map. The map accepts several keys -// -// from, tag_name, key, key_regex and regex -// -// - tag_name represents the name of the tag that will be added to the span. -// When not specified a default tag name will be used of the format: -// k8s.pod.annotations. -// k8s.pod.labels.