Mateusz Rzeszutek
4f29770f73
Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere ( #5160 )
...
* Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere
* Fix HTTP server tests
* Fix compilation failure
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-18 13:42:53 -08:00
Anuraag Agrawal
bdd82a899e
Parameterize VirtualField field type ( #5165 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-01-18 13:42:44 -08:00
Trask Stalnaker
6884d66c09
Reduce top level instrumentation directories ( #4965 )
...
* akka
* dropwizard
* kafka
* reactor
* vertx
2021-12-22 10:16:13 -08:00
Mateusz Rzeszutek
075434c5bc
Move `AppServerBridge` and `MappingResolver` to `servlet-common:bootstrap` ( #4817 )
...
* Move AppServerBridge and MappingResolver to servlet-common:bootstrap
* Introduce additional gradle configuration for bootstrap libs
2021-12-07 10:20:33 +01:00
Trask Stalnaker
31fddb7afd
Propagate Context instead of SpanContext ( #4806 )
...
* Propagate Context instead of SpanContext
* Update spring-kafka
* Fix nesting
* Comment
2021-12-06 09:31:53 -08:00
Trask Stalnaker
ce4cef76f9
Clean up groovy assertions ( #4805 )
2021-12-05 23:23:58 -08:00
Trask Stalnaker
6c98ba6b2b
Fix spring-kafka latest dep tests ( #4676 )
2021-11-19 13:12:18 -08:00
Nikita Salnikov-Tarnovski
e7b8cca107
Convert TextMapSetters and TextMapGetters to enums ( #4522 )
...
* Convert TextMapSetters to enums
* Convert TextMapGetters to enums
2021-11-08 22:01:40 +02:00
Martin
d314d76fce
rename `newBuilder()` to `builder()` ( #4475 )
...
* rename `newBuilder()` to `builder()`
* rename `newBuilder()` to `builder()`
2021-10-22 20:50:43 -07:00
Martin
ac91dc090a
Type annotation placement ( #4406 )
...
* switch annotation `org.checkerframework.checker.nullness.qual.Nullable` to `javax.annotation.Nullable`
* code format
2021-10-17 17:38:43 -07:00
Lauri Tulmin
0cfc71c3c6
Support kafka streams 3 ( #4236 )
...
* Support kafka streams 3
* make thread local wider so it would work on all kafka-streams versions
* Move classes used by multiple instrumentations into bootstrap module to ensure that everybody uses the same copy of them
* spotless
* allow project as muzzle extra dependency
* add comment
* fix merge
2021-10-05 09:43:00 -07:00
Trask Stalnaker
dafc97f96e
Simplify gradle files ( #4292 )
2021-10-04 21:53:35 -07:00
Mateusz Rzeszutek
300e7dab7e
Move all Kafka library instrumenter parts to internal package ( #4284 )
2021-10-04 19:03:15 +02:00
Aleš Justin
ff0bf0a8f3
Add support for Kafka consumer and producer interceptors. ( #4065 )
...
* Add support for Kafka consumer and producer interceptors, move common Kafka code to library module.
* Apply feedback
* Apply feedback, #3 .
* Apply feedback, #4 .
* Add producer / consumer wrappers.
* Move to kafka-clients-2.6.
* Apply feedback #5 .
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-02 11:27:57 -07:00
Mateusz Rzeszutek
c11b96e4d0
Make it possible to use InstrumentationContext (now VirtualField) fro… ( #4218 )
...
* Make it possible to use InstrumentationContext (now VirtualField) from library instrumentation
* fix tests
* fix javadocs
* fix some more tests
* code review comments
* setIfNull, computeIfNull
2021-10-01 11:13:11 +02:00
Mateusz Rzeszutek
085066edb3
Add some testcontainers dependencies to dependencyManagement dep set ( #4185 )
2021-09-22 14:53:45 -07:00
Mateusz Rzeszutek
836491ef5f
Make CONSUMER receive span a parent of CONSUMER process spans in Kafka… ( #4122 )
...
* Make CONSUMER receive span a parent of CONSUMER process spans in Kafka instrumentations
* Fix kafka-streams tests
* fixed imports order
2021-09-15 10:39:56 -07:00
Matthew Ho
6967484a97
Update groovy import order to match default IntelliJ ( #1708 ) ( #4047 )
...
* Update groovy import order to match default IntelliJ (#1708 )
* organized imports for .groovy files to follow default IntelliJ import settings
* updated intellij-setup.md
* Spotless
* drift
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-11 11:53:08 -07:00
Mateusz Rzeszutek
05d1a4a54f
Separate suppression strategies for CONSUMER receive/process spans ( #4076 )
...
* Separate suppression strategies for CONSUMER receive/process spans
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/SpanKeyExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-10 10:55:50 -07:00
Mateusz Rzeszutek
e30b082259
Start a CONSUMER span for Kafka poll(); and refactor spring-kafka... ( #4041 )
...
* Start a separate CONSUMER receive span for each non-empty KafkaConsumer#poll() call
* One batch receive + one batch process span in spring-kafka
* Add CONSUMER receive spans to kafka-streams too
* codenarc
* code review comments
2021-09-08 13:12:58 -07:00
Mateusz Rzeszutek
01ea967d67
Use kafka transactions to make spring-kafka tests more stable ( #4024 )
...
* Use kafka transactions to make spring-kafka tests more stable
* manual acks
* another approach: batch error handler that immediately recovers
* another try
* yet another try
* do nothing error handler
* spotless
2021-08-30 15:04:16 -07:00
Mateusz Rzeszutek
4567bc0c2f
Instrument spring-kafka batch message listeners ( #3922 )
...
* Instrument spring-kafka batch message listeners
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/InstrumenterBuilder.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* fix compilation failure
* Suppress nested CONSUMER spans
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-27 08:02:37 -07:00