Support hints Autodiscovery for input configs per container #3161
Labels
enhancement
New feature or request
Team:Cloudnative-Monitoring
Label for the Cloud Native Monitoring team
Describe the enhancement:
Currently, Elastic Agent Autodiscovery with Hints supports a specific list of annotations.
The full list of both required and optional annotations supported can be found in
elastic.co/guide/en/fleet/current/hints-annotations-autodiscovery.html#_required_hints
This feature will introduce an additional annotation
co.elastic.hints.<container>/<configs>
Describe a specific use case for the enhancement or feature:
A user provides the manifest. Optionally the pod might have more than a single container
Elastic-agent should generate an input definition similar to the following only for the container
nginx
. If there were more than a single container in the previous manifest, the input generated shouldn't contain the container-specific conditionexclude_lines: '^DBG'
Similar work for supporting processors was done at this PR
What is the definition of done?
Tasks
The text was updated successfully, but these errors were encountered: