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

Add ListOffsets flag for more control on metrics #280

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yalindogusahin
Copy link

[Feature] Add Offset Flag to Disable Offset Collection

Add configuration options to activate/deactivate ListOffsets metrics.

Added Features:

New Configuration Flag:
Topics.ListOffsets: A boolean flag to enable or disable offset collection.
When set to false, the collection of low watermark and high watermark metrics is skipped. Therefore you can scrape topic configurations only.

Testing:
Verified that offset metrics are collected when Topics.ListOffsets=true.
Verified that no offset metrics are collected when Topics.ListOffsets=false.
Verified that offsets metrics are collected when default variable which is true

@CLAassistant
Copy link

CLAassistant commented Jan 20, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants