Skip to content

Commit

Permalink
Update metrics names to zio naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanoosten committed Dec 29, 2023
1 parent 8ea6721 commit 0b220dc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final case class ConsumerMetrics(metricsConsumerId: String) {
private val pendingRequestsHistogram =
Metric
.histogram(
"consumer_pending_requests",
"ziokafka_consumer_pending_requests",
"The number of partition streams that are awaiting new records.",
streamCountBoundaries
)
Expand All @@ -26,7 +26,7 @@ final case class ConsumerMetrics(metricsConsumerId: String) {
private val pendingCommitsHistogram =
Metric
.histogram(
"consumer_pending_commits",
"ziokafka_consumer_pending_commits",
"The number of commits that are awaiting completion.",
streamCountBoundaries
)
Expand All @@ -35,7 +35,7 @@ final case class ConsumerMetrics(metricsConsumerId: String) {
private val queueSizeHistogram =
Metric
.histogram(
"consumer_queue_size",
"ziokafka_consumer_queue_size",
"The number of records queued per partition.",
streamSizeBoundaries
)
Expand All @@ -44,7 +44,7 @@ final case class ConsumerMetrics(metricsConsumerId: String) {
private val allQueueSizeHistogram =
Metric
.histogram(
"consumer_all_queue_size",
"ziokafka_consumer_all_queue_size",
"The number of records queued in the consumer (all partitions).",
streamSizeBoundaries
)
Expand Down

0 comments on commit 0b220dc

Please sign in to comment.