-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New
partition_offsets
module metrics (#93)
* 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.
- Loading branch information
Showing
9 changed files
with
193 additions
and
84 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.