Skip to content

[Beats receivers] Disable otel runtime for inputs using dynamic variable providers #11630

@swiatekm

Description

@swiatekm

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions