beats icon indicating copy to clipboard operation
beats copied to clipboard

Docs: Fix incorrect Docker autodiscover and add_docker_metadata default config value in documentation

Open zhanqian-zhang opened this issue 2 weeks ago β€’ 5 comments

Docs

Proposed commit message

Fix documentation to reflect the actual config field value used by the Docker autodiscover provider and add_docker_metadata processor. https://github.com/elastic/beats/blob/5d9efc36dfe314b6e3e56704b816681278841922/libbeat/autodiscover/providers/docker/config.go#L53 https://github.com/elastic/beats/blob/5d9efc36dfe314b6e3e56704b816681278841922/libbeat/processors/add_docker_metadata/config.go#L51

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • [ ] I have added an entry in ./changelog/fragments using the changelog tool.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

zhanqian-zhang avatar Dec 10 '25 02:12 zhanqian-zhang

:robot: GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

github-actions[bot] avatar Dec 10 '25 02:12 github-actions[bot]

This pull request does not have a backport label. If this is a bug or security fix, could you label this PR @zhanqian-zhang? πŸ™. For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

mergify[bot] avatar Dec 10 '25 02:12 mergify[bot]

I don’t have permission to add labels. Could you please help add "backport-active-all" labels? πŸ™

zhanqian-zhang avatar Dec 10 '25 03:12 zhanqian-zhang

Thank you! And thanks for linking to the code.

bmorelli25 avatar Dec 16 '25 23:12 bmorelli25

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

elasticmachine avatar Dec 16 '25 23:12 elasticmachine

/test

pierrehilbert avatar Dec 18 '25 07:12 pierrehilbert