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

Make ingestion offset delay metric configurable #14074

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

KKcorps
Copy link
Contributor

@KKcorps KKcorps commented Sep 25, 2024

The ingestion offset lag metric currently makes a request to kafka broker to get the latest offset on every update.

However, this has lead to an increasing amount of load on kafka brokers for multiple users.

The PR adds a way to enable/disable this metric and also configure its interval using the following properties in the server or cluster configs

pinot.server.instance.offset.lag.tracking.enable: true
pinot.server.instance.offset.lag.tracking.update.interval: 60000

@yashmayya yashmayya added Configuration Config changes (addition/deletion/change in behavior) kafka metrics labels Sep 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 50.76923% with 32 lines in your changes missing coverage. Please review.

Project coverage is 63.97%. Comparing base (59551e4) to head (dba2057).
Report is 1094 commits behind head on master.

Files with missing lines Patch % Lines
...e/data/manager/realtime/IngestionDelayTracker.java 50.00% 22 Missing and 10 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14074      +/-   ##
============================================
+ Coverage     61.75%   63.97%   +2.22%     
- Complexity      207     1538    +1331     
============================================
  Files          2436     2596     +160     
  Lines        133233   143346   +10113     
  Branches      20636    21956    +1320     
============================================
+ Hits          82274    91705    +9431     
+ Misses        44911    44890      -21     
- Partials       6048     6751     +703     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 63.95% <50.76%> (+2.24%) ⬆️
java-21 63.86% <43.07%> (+2.24%) ⬆️
skip-bytebuffers-false 63.96% <50.76%> (+2.22%) ⬆️
skip-bytebuffers-true 63.84% <43.07%> (+36.12%) ⬆️
temurin 63.97% <50.76%> (+2.22%) ⬆️
unittests 63.97% <50.76%> (+2.22%) ⬆️
unittests1 55.56% <50.76%> (+8.67%) ⬆️
unittests2 34.45% <0.00%> (+6.72%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KKcorps KKcorps merged commit bba61ee into apache:master Sep 27, 2024
21 checks passed
9aman added a commit to 9aman/pinot that referenced this pull request Sep 30, 2024
KKcorps pushed a commit to KKcorps/incubator-pinot that referenced this pull request Oct 1, 2024
KKcorps added a commit that referenced this pull request Oct 1, 2024
…4127)

This reverts commit bba61ee.

Co-authored-by: Kartik Khare <kharekartik@kartiks-macbook-pro.wyvern-sun.ts.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Configuration Config changes (addition/deletion/change in behavior) documentation kafka metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants