| `instrumentation/vendors/datadog/custom_listener_with_overridden_methods_spec.rb` | This test verifies that statistics.emitted events are properly propagated to custom listeners that inherit from the DataDog MetricsListener and override some (but not all) event handlers. This is a regression test for a user-reported issue where a custom listener that overrode methods like on_connection_listener_fetch_loop_received, on_consumer_revoked, etc. appeared to not receive statistics.emitted events. The test mimics the user's setup: - Custom listener inheriting from Karafka::Instrumentation::Vendors::Datadog::MetricsListener - Overrides several methods with no-op implementations to suppress unwanted metrics - Does NOT override on_statistics_emitted, relying on parent implementation |
0 commit comments