Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve][broker] PIP-192: Add metrics for unload operation #19749

Conversation

Demogorgon314
Copy link
Member

PIP: #16691

Motivation

Raising a PR to implement #16691.

We need to support metrics for unload/transfer operations in Load Manager Extension.

Modifications

In this PR:

  • Change the findBundlesForUnloading method return type from UnloadDecision to Set<UnloadDecision>.
  • The UnloadDecision no longer contains all unload objects. Each unload object has its own reason.
  • Add units test to verify the unload counter.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@Demogorgon314 Demogorgon314 added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/broker labels Mar 8, 2023
@Demogorgon314 Demogorgon314 self-assigned this Mar 8, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Mar 8, 2023
@Demogorgon314 Demogorgon314 force-pushed the Demogorgon314/PIP-192_Add-metrics-for-unload branch from bbc784b to b704214 Compare March 11, 2023 15:51
@Technoboy-
Copy link
Contributor

/pulsarbot run-failure-checks

@Demogorgon314 Demogorgon314 force-pushed the Demogorgon314/PIP-192_Add-metrics-for-unload branch from 687bd31 to b4efd9e Compare March 14, 2023 08:18
@Demogorgon314 Demogorgon314 force-pushed the Demogorgon314/PIP-192_Add-metrics-for-unload branch from 786b428 to 3f89bc6 Compare March 16, 2023 00:33
@Demogorgon314 Demogorgon314 merged commit 4ab4463 into apache:master Mar 18, 2023
@Demogorgon314 Demogorgon314 deleted the Demogorgon314/PIP-192_Add-metrics-for-unload branch March 18, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-not-needed Your PR changes do not impact docs ready-to-test type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants