You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should be able to see distinct metrics for something like process-rate for threads and tasks etc. For example:
kafka-streams.thread.process-rate
kafka-streams.task.process-rate
Actual Behaviour
There is only a single metric for process-rate:
kafka-streams.process-rate
It looks like it is being overwritten by the last metric to be registered (or possibly the first).
Steps To Reproduce
All
Kafka Streams metrics enabled
Run application an view Kafka Streams metrics
Only a single metric exists
Specifically it's an issue with this line of code. The name is not unique and needs to include the group in some form. For example: name = kafkaMetric.metricName().group() + "." + kafkaMetric.metricName().name();
This results in these metrics (some further parsing maybe required to normalise):
The text was updated successfully, but these errors were encountered:
davidgammon-mettle
changed the title
Kafka Streams metrics for tasks, threads, consumers etc, are not being exposed corrently
Kafka Streams metrics for tasks nad threads etc, are not being exposed correctly
Nov 1, 2024
davidgammon-mettle
changed the title
Kafka Streams metrics for tasks nad threads etc, are not being exposed correctly
Kafka Streams metrics for tasks and threads etc, are not being exposed correctly
Nov 1, 2024
Expected Behavior
I should be able to see distinct metrics for something like process-rate for threads and tasks etc. For example:
Actual Behaviour
There is only a single metric for process-rate:
It looks like it is being overwritten by the last metric to be registered (or possibly the first).
Steps To Reproduce
Specifically it's an issue with this line of code. The name is not unique and needs to include the group in some form. For example:
name = kafkaMetric.metricName().group() + "." + kafkaMetric.metricName().name();
This results in these metrics (some further parsing maybe required to normalise):
Environment Information
NA
Example Application
No response
Version
5.7.0
The text was updated successfully, but these errors were encountered: