-
Notifications
You must be signed in to change notification settings - Fork 217
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
Collect Apache Kafka consumer metrics #1226
Collect Apache Kafka consumer metrics #1226
Commits on Nov 4, 2021
-
Add KafkaConsumerMetricRegistry for collecting kafka consumer metrics
Implements KafkaConsumerMetricsRegistry as singleton for collecting the Apache Kafka consumer metrics. Some minor code styling refactorings. Adjust ClientActorPropsFactory to be a singleton, since it doesn't have any state. Signed-off-by: David Schwilk <david.schwilk@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 717d0fb - Browse repository at this point
Copy the full SHA 717d0fbView commit details
Commits on Nov 8, 2021
-
Add Kamon orchestration for Kafka consumer metrics.
Adds Kamon gauges for kafka consumer metrics. The kamon gauges report the metric values as double. Thus also added double gauge API to Gauge. Remembers new consumers for metric reporting init, since the consumerControl is not ready from the get-go and produces NullPointerException if the metrics are accessed directly after instantiation. Signed-off-by: David Schwilk <david.schwilk@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 20c4f7c - Browse repository at this point
Copy the full SHA 20c4f7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c915b9d - Browse repository at this point
Copy the full SHA c915b9dView commit details
Commits on Nov 9, 2021
-
Adjust kafka consumer metric naming
Signed-off-by: David Schwilk <david.schwilk@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for a97a0d0 - Browse repository at this point
Copy the full SHA a97a0d0View commit details -
Fix concurrency issues in KafkaConsumerMetricsRegistry
Signed-off-by: David Schwilk <david.schwilk@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 2986ac9 - Browse repository at this point
Copy the full SHA 2986ac9View commit details -
Correct dependency mgmt. for kamon akka
Signed-off-by: David Schwilk <david.schwilk@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 56a34ef - Browse repository at this point
Copy the full SHA 56a34efView commit details
Commits on Nov 11, 2021
-
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 2939d4d - Browse repository at this point
Copy the full SHA 2939d4dView commit details -
* Passing the KafkaConsumerMetricsRegistry to the KafkaConsumerStreamFactory since it is used for all kinds of streams. * Using a unique identifier per stream to make sure that each stream has its own metrics available. Before we only could distinguish between qos 0 and qos 1 per connection. * Remove concept of Remember registration and just register immediately * Handle NullpointerException which seems to be a bug in kafka streams Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 18f4ee6 - Browse repository at this point
Copy the full SHA 18f4ee6View commit details -
Use consumerId also for deregistering from kafka consumer metrics
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 3aa2869 - Browse repository at this point
Copy the full SHA 3aa2869View commit details -
De-Register automatically after the consumerControl has completed eit…
…her successfully or execptionally * This makes the registration more stable/consistent because it's less likely that a developer forgets to de-register or makes de-register wrong (see previous commit) Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 362399b - Browse repository at this point
Copy the full SHA 362399bView commit details
Commits on Nov 12, 2021
-
Move KafkaConsumerMetricsRegistry registering to extra method
In effort to fix immutability test failures: "The 'this' reference is passed outwith the constructor." Signed-off-by: David Schwilk <david.schwilk@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 71516e2 - Browse repository at this point
Copy the full SHA 71516e2View commit details -
enforce connectionId type for parameters
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for cbda604 - Browse repository at this point
Copy the full SHA cbda604View commit details -
Remove ConsumerMetricsRegistry and schedule reporting in consumer act…
…or instead * This avoids manual thread handling Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for ef6eb9e - Browse repository at this point
Copy the full SHA ef6eb9eView commit details -
Enforce stronger type for source suppliers in consumer streams
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for f88ca53 - Browse repository at this point
Copy the full SHA f88ca53View commit details -
remove unnecessary blank lines
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 6d1188f - Browse repository at this point
Copy the full SHA 6d1188fView commit details -
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 0552838 - Browse repository at this point
Copy the full SHA 0552838View commit details -
Enforce stronger type for sinks in ConsumerStream constructors
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 1bdae37 - Browse repository at this point
Copy the full SHA 1bdae37View commit details
Commits on Nov 15, 2021
-
Merge branch 'master' into feature/kafka-metrics
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for 584b7d8 - Browse repository at this point
Copy the full SHA 584b7d8View commit details -
Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
Configuration menu - View commit details
-
Copy full SHA for a2114a5 - Browse repository at this point
Copy the full SHA a2114a5View commit details