Skip to content

[processor/k8sattributes] Deprecate and remove FieldExtractConfig.Regex config option #25128

@dmitryax

Description

@dmitryax

The configuration interface of the k8sattributes receiver is over-complicated. This is an attempt to simplify it a bit.

FieldExtractConfig have KeyRegex and Regex options, which is pretty confusing. The Regex config option doesn't seem to be very important. I can be easily replaced with a transform processor with replace_pattern and replace_match functions. Therefore, I suggest:

  1. Deprecate FieldExtractConfig.Regex option with instructions on how to replace it with the transform processor
  2. Delete the option after 5 releases.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood first issueGood for newcomersnever staleIssues marked with this label will be never staled and automatically removedpriority:p2Mediumprocessor/k8sattributesk8s Attributes processor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions