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

Update metric exporter to report lag as unit of time #2

Merged
merged 3 commits into from
Dec 11, 2020

Conversation

davidmparrott
Copy link
Owner

Exporter will now, additionally, report a metric for kafka consumer lag as a unit of time.

  • Created additional function in collect to perform lag estimation
  • Information about current produced offsets is added during consumer group metric collection
  • Interpolation table is now separate file containing relevant struct and methods
  • Prune added, which can be called at any time to iterate of the interpolation table and remove stale and overly large data
  • Added ticker to perform pruning at a configurable interval

@davidmparrott davidmparrott merged commit 674a5c9 into master Dec 11, 2020
@davidmparrott davidmparrott deleted the metric_testing branch January 29, 2021 00:12
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.

1 participant