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

Adding metrics to the consumer_groups module #91

Merged
merged 6 commits into from
Nov 4, 2023

Conversation

detro
Copy link
Contributor

@detro detro commented Nov 4, 2023

Closes #55
Closes #53

@detro detro added this to the vNEXT milestone Nov 4, 2023
@detro detro merged commit c571e94 into main Nov 4, 2023
1 check passed
@detro detro deleted the detro/consumer_groups_metrics branch November 4, 2023 22:47
detro added a commit that referenced this pull request Nov 8, 2023
…ups` module

These were added in #91. Nothing changes: just the code to wire it up is a bit simpler/cleaner now.
detro added a commit that referenced this pull request Nov 8, 2023
* Using utility macros to create and register metrics for `consumer_groups` module

These were added in #91. Nothing changes: just the code to wire it up is a bit simpler/cleaner now.

* Adding metrics to `partition_offsets` emtitter, and documenting them
  * `kmtd_partition_offsets_emitter_fetch_time_milliseconds`
  * `kmtd__partition_offsets_emitter_channel_capacity`

* Deps upgrade

* Cleaning up const and var names used to create the new metrics

Nothing major: some just renaming that I couldn't leave inconsistent.

* New metric `kmtd_partition_offsets_register_usage` to track how many offsets we are tracking internally for each topic-partition

* Documenting the new metric `kmtd_partition_offsets_register_usage`

* No need to prefix each metric handled by the `prometheus` package with `{NAMESPACE}`

This is set already on the registry, so it gets added automatically.
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.

Add consumer_groups emitter metrics Add Consumer Group(s) total-count metrics
1 participant