-
Notifications
You must be signed in to change notification settings - Fork 204
Description
The Otel Collector isn't great at handling frequent configuration reloads at the moment. This is a serious issue for migrating some use cases to it - see #10316 for more details. In particular, it prevents us from switching filestream to run in a filebeat receiver by default.
However, we have a way of detecting these situations in our configuration. The highly dynamic configurations generating frequent changes involve dynamic variable providers. Therefore, we can simply set any input types for which the configuration uses variables from dynamic providers to run in the process runtime.
This effect should have priority over configuration, similar to how falling back to the process runtime for unsupported outputs works. See the implementation of that change for reference: #11300.