Skip to content

[9.1](backport #45967) [filebeat] update changelog: add fix panic when registering metrics#46321

Merged
AndersonQ merged 2 commits into9.1from
mergify/bp/9.1/pr-45967
Sep 2, 2025
Merged

[9.1](backport #45967) [filebeat] update changelog: add fix panic when registering metrics#46321
AndersonQ merged 2 commits into9.1from
mergify/bp/9.1/pr-45967

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Aug 29, 2025

Proposed commit message

update elastic-agent-libs to fix panic when registering metrics

A race condition on elastic-agent-libs (https://github.com/elastic/elastic-agent-libs/issues/319)
could cause filestream to panic when registering its metrics (https://github.com/elastic/beats/issues/45822).
elastic-agent-libs was updated to v0.23.0 by commit https://github.com/elastic/beats/commit/a601b44f74cfdae6f0d63e05dc3b2f4c478206b0, which has the issue fixed.
This commit updates the chancgelog

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
  • [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

  • N/A

How to test this PR locally

Follow the steps on #45822 to ensure the panic does not happen

Related issues

…trics (#45967)

* update elastic-agent-libs to fix panic when registering metrics

A race condition on elastic-agent-libs (elastic/elastic-agent-libs#319)
could cause filestream to panic when registering its metrics (#45822).
elastic-agent-libs was updated to v0.23.0 by commit a601b44, which has the issue fixed.
This commit updates the chancgelog

* fix changelog and PR number

(cherry picked from commit 1e1dbba)
@mergify mergify bot added the backport label Aug 29, 2025
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 29, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

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

@github-actions github-actions bot added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Aug 29, 2025
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 29, 2025
@mergify
Copy link
Contributor Author

mergify bot commented Sep 1, 2025

This pull request has not been merged yet. Could you please review and merge it @AndersonQ? 🙏

@AndersonQ AndersonQ changed the title [9.1](backport #45967) [filebeat] update elastic-agent-libs to fix panic when registering metrics [9.1](backport #45967) [filebeat] update changelog: fix panic when registering metrics Sep 1, 2025
@AndersonQ AndersonQ changed the title [9.1](backport #45967) [filebeat] update changelog: fix panic when registering metrics [9.1](backport #45967) [filebeat] update changelog: add fix panic when registering metrics Sep 1, 2025
@AndersonQ AndersonQ merged commit 7c561f6 into 9.1 Sep 2, 2025
14 checks passed
@AndersonQ AndersonQ deleted the mergify/bp/9.1/pr-45967 branch September 2, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants