Provide support for default log collection in receivercreator's discovery #37436
Labels
enhancement
New feature or request
never stale
Issues marked with this label will be never staled and automatically removed
priority:p2
Medium
receiver/receivercreator
Component(s)
receiver/receivercreator
Is your feature request related to a problem? Please describe.
ref: #36581 (comment)
It would be nice to provide support for users to configure default log collection for the
discovery
feature.At the moment users that want to rely on
discovery
feature of the receiver creator will need to ensure that all of their pods are annotated properly and there is no staticfilelog
receiver configuration enabled (to avoid log duplication).Describe the solution you'd like
If there is the option to rely only on the
discovery
feature users could just enable log collection by default for every pod that is discovered unless the pod's annotations instruct otherwise.This would allow the
discovery
feature can play well as drop-in replacement of the "static" filelog receiver.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: