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

[fix] [broker] fix unload bundle count metric. #22895

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

thetumbled
Copy link
Member

@thetumbled thetumbled commented Jun 12, 2024

Motivation

Those bundles that are filtered when try to unload them should not be included in the indicator.

Modifications

Increment the metric only when the bundle are unloaded.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

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

Matching PR in forked repository

PR in forked repository: thetumbled#58

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 12, 2024
@thetumbled
Copy link
Member Author

PTAL, thanks. @heesung-sn @Demogorgon314

@heesung-sn
Copy link
Contributor

Good catch! can you also add a unit test too? thanks.

@thetumbled
Copy link
Member Author

Good catch! can you also add a unit test too? thanks.

I add an unit test, PTAL, thanks.

@thetumbled
Copy link
Member Author

/pulsarbot rerun-failure-checks

@Demogorgon314 Demogorgon314 merged commit dfbf05a into apache:master Jun 17, 2024
48 of 51 checks passed
@Technoboy- Technoboy- added this to the 3.3.0 milestone Jul 10, 2024
@lhotari lhotari modified the milestones: 3.3.0, 4.0.0 Oct 14, 2024
hanmz pushed a commit to hanmz/pulsar that referenced this pull request Feb 12, 2025
### Motivation

Those bundles that are filtered when try to unload them should not be included in the indicator.

### Modifications

Increment the metric only when the bundle are unloaded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants