otel: trim non-otel configuration from when validating the otel configuration #6235
Labels
good first issue
Good for newcomers
Team:Elastic-Agent-Data-Plane
Label for the Agent Data Plane team
Now with the groundwork for the hybrid agent done in #5796 it is possible to have a yaml config file with both beats and otel configuration, for example:
hybrid-agent-config.yml
When validating this file, we need to remove any top-level Beats-specific configuration to ensure that only the OpenTelemetry-specific components are validated.
The text was updated successfully, but these errors were encountered: