-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[ManagedLedger] Make 'StatsPeroidSeconds' configurable #11584
Merged
codelipenghui
merged 2 commits into
apache:master
from
Technoboy-:make-stats-period-seconds-configurable
Aug 9, 2021
Merged
[ManagedLedger] Make 'StatsPeroidSeconds' configurable #11584
codelipenghui
merged 2 commits into
apache:master
from
Technoboy-:make-stats-period-seconds-configurable
Aug 9, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Technoboy-
added a commit
to Technoboy-/pulsar
that referenced
this pull request
Aug 6, 2021
Technoboy-
force-pushed
the
make-stats-period-seconds-configurable
branch
from
August 6, 2021 09:19
1e79cee
to
a6e06c3
Compare
Technoboy-
force-pushed
the
make-stats-period-seconds-configurable
branch
from
August 6, 2021 09:20
a6e06c3
to
f984f2a
Compare
Technoboy-
changed the title
Make 'StatsPeroidSeconds' configurable
[ManagedLedger] Make 'StatsPeroidSeconds' configurable
Aug 6, 2021
codelipenghui
approved these changes
Aug 7, 2021
codelipenghui
added
the
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
label
Aug 7, 2021
hangc0276
approved these changes
Aug 7, 2021
eolivelli
requested changes
Aug 7, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall is good
I left one comment PTAL
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerFactoryImpl.java
Outdated
Show resolved
Hide resolved
In which case, we should change the metric stats refresh frequency? |
eolivelli
approved these changes
Aug 8, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
/pulsarbot run-failure-checks |
LeBW
pushed a commit
to LeBW/pulsar
that referenced
this pull request
Aug 9, 2021
### Motivation Make `StatsPeroidSeconds` configurable. ### Modifications - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`.
bharanic-dev
pushed a commit
to bharanic-dev/pulsar
that referenced
this pull request
Mar 18, 2022
### Motivation Make `StatsPeroidSeconds` configurable. ### Modifications - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`.
dlg99
pushed a commit
to dlg99/pulsar
that referenced
this pull request
May 11, 2022
Make `StatsPeroidSeconds` configurable. - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`. (cherry picked from commit ddeae65)
dlg99
pushed a commit
to dlg99/pulsar
that referenced
this pull request
May 11, 2022
Make `StatsPeroidSeconds` configurable. - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`.
dlg99
pushed a commit
to dlg99/pulsar
that referenced
this pull request
May 12, 2022
Make `StatsPeroidSeconds` configurable. - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`. (cherry picked from commit ddeae65)
dlg99
pushed a commit
to dlg99/pulsar
that referenced
this pull request
May 12, 2022
Make `StatsPeroidSeconds` configurable. - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`.
nicoloboschi
pushed a commit
to datastax/pulsar
that referenced
this pull request
May 12, 2022
* [ManagedLedger] Make 'StatsPeroidSeconds' configurable (apache#11584) Make `StatsPeroidSeconds` configurable. - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`. * Offloader metrics (apache#13833) Currently, there is no offload metrics for tiered storage, so it is very hard for us to debug the performance issues. For example , we can not find why offload is slow or why read offload is slow. For above reasons. we need to add some offload metrics for monitoring. Add metrics during offload procedure and read offload data procedure. Including offloadTime, offloadError, offloadRate, readLedgerLatency, writeStoreLatency, writeStoreError, readOffloadIndexLatency, readOffloadDataLatency, readOffloadRate, readOffloadError. (cherry picked from commit 732049f) Co-authored-by: GuoJiwei <technoboy@apache.org> Co-authored-by: Tao Jiuming <95597048+tjiuming@users.noreply.github.com>
nicoloboschi
pushed a commit
to datastax/pulsar
that referenced
this pull request
May 12, 2022
* [ManagedLedger] Make 'StatsPeroidSeconds' configurable (apache#11584) Make `StatsPeroidSeconds` configurable. - Move ‘StatsPeriodSeconds’ from ManagedLedgerFactoryImpl to ManagedLedgerFactoryConfig. - Add config `managedLedgerStatsPeriodSeconds`. (cherry picked from commit ddeae65) * Offloader metrics (apache#13833) Currently, there is no offload metrics for tiered storage, so it is very hard for us to debug the performance issues. For example , we can not find why offload is slow or why read offload is slow. For above reasons. we need to add some offload metrics for monitoring. Add metrics during offload procedure and read offload data procedure. Including offloadTime, offloadError, offloadRate, readLedgerLatency, writeStoreLatency, writeStoreError, readOffloadIndexLatency, readOffloadDataLatency, readOffloadRate, readOffloadError. (cherry picked from commit 732049f) Co-authored-by: GuoJiwei <technoboy@apache.org> Co-authored-by: Tao Jiuming <95597048+tjiuming@users.noreply.github.com>
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
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Make
StatsPeroidSeconds
configurable.Modifications
managedLedgerStatsPeriodSeconds
.###Documentation
I think it's no need to update doc.