Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 19, 2025

Release notes

Cleanup batch statistic metric when a pipeline is shutdown.

What does this PR do?

Adds a test to verify that pipeline's shutdown (used during pipeline reload) clear the batch metrics, this is done in JavaPipeline#clear_pipeline_metrics method.

Why is it important/What is the impact to the user?

As a user I want that batch metrics doesn't get polluted during pipeline restarts.

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 (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Follow the steps documented in the originating #18512

Related issues


This is an automatic backport of pull request #18515 done by [Mergify](https://mergify.com).

Cleanup batch statistic metric when a pipeline is shutdown.

Adds a test to verify that pipeline's shutdown (used during pipeline reload) clear the batch metrics, this is done in JavaPipeline#clear_pipeline_metrics method.

(cherry picked from commit 1be3a35)
@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /run exhaustive tests : Run the exhaustive tests Buildkite pipeline.

@elasticmachine
Copy link

💚 Build Succeeded

cc @andsel

@mergify
Copy link
Contributor Author

mergify bot commented Dec 22, 2025

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

1 similar comment
@mergify
Copy link
Contributor Author

mergify bot commented Dec 29, 2025

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

@andsel andsel merged commit b3b3f02 into 9.3 Dec 29, 2025
14 checks passed
@andsel andsel deleted the mergify/bp/9.3/pr-18515 branch December 29, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants