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

Implement metrics for loading state #187

Open
bcarter97 opened this issue Jan 30, 2023 · 0 comments
Open

Implement metrics for loading state #187

bcarter97 opened this issue Jan 30, 2023 · 0 comments

Comments

@bcarter97
Copy link
Member

Description

It would be useful to expose some metrics on the state of the Topic loading. To start with I think we should have the following:

  • Callback for on record received
  • Callback for when loading starts
  • Callback for when loading finishes
  • Callback for when loading errors

For now this will be a noOp metric, but will be exposed on the TopicLoader interface so people can implement their own. Ideally we could have a kafka-topic-loader-kamon module or similar that implements the metric and exposes values to Kamon.

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

No branches or pull requests

1 participant