-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Kafka instrumentation part 1 - Sample application (#123) * Kafka instrumentation part 2 - Integration test (#125) * Add basic Produce and Consume instrumentation (#127) * Refactor kafka sample app * Add kafka produce method instrumentation * Move kafka produce instrumentation to new kafka directory * Move constants to separate class * Add Kafka integration for Consume method * Refactor property retrieving in Produce integration * Refactor Kafka integration * Move tag names to Tags class * Remove unnecessary file; change sample to match already covered methods * Fix versions; generate integrations.json * Add log on entering the intercepting methods * Fix type names * Fix tags names * Remove caller assembly restriction * Fix Kafka interfaces (#3) * Signature fixes: use interface instead of concrete type * Fix Consume method signature * Fix header passing and property retrieval * Add header creation if null * Fix context propagation on consumer side * Add commit to already read messages in sample app * Move scope creation to helper class * Add integration of Produce overload with string topic * Refactor Produce instrumentation * Add integrations.json for new Produce methdo integration * Add integration for Consume with CancellationToken parameter * Add integrations.json * Refactor Consume instrumentation * Add instrumentation to ProduceAsync methods * Kafka instrumentation part 1 - Sample application (#123) * Kafka instrumentation part 2 - Integration test (#125) * Refactor kafka sample app * Add kafka produce method instrumentation * Move kafka produce instrumentation to new kafka directory * Move constants to separate class * Add Kafka integration for Consume method * Refactor property retrieving in Produce integration * Refactor Kafka integration * Move tag names to Tags class * Remove unnecessary file; change sample to match already covered methods * Fix versions; generate integrations.json * Add log on entering the intercepting methods * Fix type names * Fix tags names * Remove caller assembly restriction * Fix Kafka interfaces (#3) * Signature fixes: use interface instead of concrete type * Fix Consume method signature * Fix header passing and property retrieval * Add header creation if null * Fix context propagation on consumer side * Add commit to already read messages in sample app * Move scope creation to helper class * Add integration of Produce overload with string topic * Refactor Produce instrumentation * Add integrations.json for new Produce methdo integration * Add integration for Consume with CancellationToken parameter * Add integrations.json * Refactor Consume instrumentation * Add instrumentation to ProduceAsync methods * Refactor Consume integration * Refactor ProducKafkaIntegrationHelper * Fix Consume(TimeSpan) * Add await on the async Produce original call * Fix signature for Produce * Fix typo in class name * Fix typo in class name * Add await to ProduceAsync in sample app * Add partition to Producer tags * Improve sample and docker-compose.yml * Kafka Sample on Fx and increase delaty to consume * Fix ProduceAsync return and changes to Produce(Async) path * Add offset to tags * Fix Kafka sample app * Add exception handling in kafka headers adapter * Add client name and group id as tags * Fix sample app not to display the error when the status is not in the error state * Add exception logging in kafka headers adapter * Initial changes to Confluent.Kafka Consumer * Check if already instrumented plus small cleanup * Smal opt.: avoid get method info for every header wrapper * Fix if to avoid null reference exception * Apply minor refactoring to sample app * Add group id and client name tags * Fix incorrect if causing context not to be passed * Move produce and consume specific methods out of generic KafkaHelper * PR feedback * Avoid creating tags for empty strings Co-authored-by: Paulo Janotti <[email protected]> Co-authored-by: Robert Pająk <[email protected]> Co-authored-by: Robert Pająk <[email protected]> Co-authored-by: Dawid Szmigielski <[email protected]>
- Loading branch information
1 parent
24fd7b6
commit f557b12
Showing
31 changed files
with
1,815 additions
and
54 deletions.
There are no files selected for viewing
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
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.