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
Trask Stalnaker
7f44ebf2c3
Fix testLatestDeps ( #4402 )
...
* Fix testLatestDeps
* Fix play-2.6 testLatestDeps too
2021-10-16 13:36:34 -07:00
Mateusz Rzeszutek
ac479d4b34
Migrate Netty 4.x client instrumentations (except CONNECT) to Instrum… ( #4381 )
...
* Migrate Netty 4.x client instrumentations (except CONNECT) to Instrumenter API
* Revert testReadTimeout changes
2021-10-15 17:06:02 -07:00
Trask Stalnaker
0652894a8b
Obfuscate virtual field accessors ( #4385 )
...
* Obfuscate virtual field accessors
* Update internal-reflection instrumentation
* Update test
* Remove outdated comment
2021-10-15 14:36:56 -07:00
jack-berg
5e14a5046b
Convert akka-http-10.0 to instrumenter api ( #4359 )
...
* Convert akka-http-10.0 to instrumenter api
* Add server and client metrics, add client PeerServiceAttributesExtractor
* Dont check for null request, use currentContext() instead of Context.current()
* Revert currentContext() to Context.current()
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Fix import
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-15 14:35:43 -07:00
Lauri Tulmin
745637cadd
AWS 1.11 strict context check ( #4366 )
2021-10-15 12:31:37 -07:00
Nikita Salnikov-Tarnovski
699a5adb00
Convert aws lambda integration to Instrumenter ( #4362 )
...
* Convert AwsLambdaMessageTracer to Instrumenter
* Convert AwsLambdaTracer to Instrumenter
* Rename class
* Polish
* Polish
* Move classes to internal package
2021-10-15 12:31:08 -07:00
Mateusz Rzeszutek
2904578875
Test HTTP headers capturing on Netty-based server frameworks ( #4395 )
...
* Test HTTP headers capturing on Netty-based server frameworks
* fix vertx circuit breaker tests
* fix play async tests
2021-10-15 12:30:24 -07:00
Lauri Tulmin
42dc837eaf
Run selenium tests with chrome ( #4393 )
2021-10-15 12:30:03 -07:00
Lauri Tulmin
0ba49ac850
Hide virtual field accessor interface methods from reflection ( #4390 )
2021-10-15 11:07:26 -07:00
Mateusz Rzeszutek
5e7b5380cd
Remove mentions of http.url attribute in server instrumentations ( #4394 )
2021-10-15 11:00:50 -07:00
Mateusz Rzeszutek
b2bc41453b
Rename some *InstrumenterBuilder classes to *InstrumenterFactory ( #4391 )
2021-10-15 14:47:32 +03:00
Liudmila Molkova
dfb1529b73
Fix reactor context propagation in latest reactor ( #4377 )
...
* Fix build and minor issue
* codenarc
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-14 23:02:23 +03:00
Mateusz Rzeszutek
0825da7ae4
Migrate netty-3.8 server instrumentation to Instrumenter API ( #4368 )
2021-10-14 08:59:04 -07:00
Lauri Tulmin
abe26caeb7
Ratpack strict context check ( #4367 )
...
* Ratpack strict context check
* Add comment, remove logging
2021-10-14 08:58:43 -07:00
Anna Nosek
a5339894bb
Add Spring Extension tests to Restlet instrumentation ( #4344 )
...
* add spring tests
* rename AbstractSpringTest to AbstractSpringServerLibraryTest, remove unnecessary dependencies
2021-10-14 13:31:50 +02:00
Nikita Salnikov-Tarnovski
30ec7b4801
Convert HibernateTracer to Instrumenter ( #4369 )
2021-10-14 09:09:26 +03:00
Nikita Salnikov-Tarnovski
efddb72cef
Convert AttributesExtractor to interface ( #4363 )
2021-10-14 08:36:47 +03:00
Trask Stalnaker
53a639bbba
Fix tomcat async spans ( #4339 )
...
* Add test
* Fix tomcat async spans
* Preserve existing test controller behavior
* Comments
2021-10-13 13:04:23 -07:00
Lauri Tulmin
25491d7d61
Mongo4 strict context check ( #4364 )
...
* Mongo4 strict context check
* Update instrumentation/mongo/mongo-4.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/mongo/v4_0/AsyncWorkManagerInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-13 13:03:59 -07:00
Lauri Tulmin
72d3c337ba
PlayWS strict context check ( #4365 )
...
* PlayWS strict context check
* add comment
2021-10-13 10:26:11 -07:00
Mateusz Rzeszutek
25bfb49b80
Migrate Netty 4.x server instrumentations to Instrumenter API ( #4342 )
...
* Migrate Netty 4.x server instrumentations to Instrumenter API
* fix vertx tests
* codenarc
* code review comments
* fix broken assertion
* Update instrumentation/netty/netty-4-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/common/server/NettyServerInstrumenterFactory.java
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2021-10-13 15:32:24 +02:00
Trask Stalnaker
d781995d0a
Less surprising behavior ( #4349 )
...
* Less surprising behavior
2021-10-13 10:10:03 +03:00
Liudmila Molkova
1dfae9fd02
Allow reactor instrumentation to pick up spans from reactor context ( #4159 )
...
* Allow reactor instrumentation to pick up spans from reactor context in addition to current tracing context
* And fix nested WithSpan with defer
* up
* Review comments
* move ReactorTracing to Operation and rename to ContextPropagationOperator
* fix build
* Add reactor-netty client test nested under WithSpan
* Add link to the issue in comments
* clean up
2021-10-12 11:02:57 -07:00
Lauri Tulmin
b06c1f9018
Collect more attributes from servlet instrumenter ( #4356 )
...
* Collect more attributes from servlet instrumenter
* spotless
2021-10-12 10:58:47 -07:00
Lauri Tulmin
57146b3ba7
Spymemcached: add shouldStart checks ( #4358 )
2021-10-12 10:41:34 -07:00
Nikita Salnikov-Tarnovski
3a90673c99
Convert AwsSdk2 to Instrumenter API ( #4341 )
...
* Convert AwsSdk2 to Instrumenter API
2021-10-12 15:58:00 +03:00
Nikita Salnikov-Tarnovski
55f987613a
Remove deprecated ServerSpanNaming.updateSource method ( #4327 )
...
* Remove deprecated ServerSpanNaming.updateSource method
2021-10-12 13:45:18 +03:00
Mateusz Rzeszutek
4031f9611a
Remove almost all VirtualField#computeIfNull() usages ( #4313 )
2021-10-11 23:16:01 -07:00
Mateusz Rzeszutek
c5182d3f94
Add utility toString() implementations to the opentelemetry-api bridge ( #4343 )
...
* Add utility toString() implementations to the opentelemetry-api bridge
* checkstyle
2021-10-11 10:55:23 -07:00
Anuraag Agrawal
f208ba72b7
Update to OTel 1.7 ( #4340 )
...
* Update to OTel 1.7
* Fix metrics tests
2021-10-11 19:52:50 +09:00
Trask Stalnaker
87038f2899
Fix call depth ( #4338 )
2021-10-11 10:42:20 +03:00
Trask Stalnaker
8f29dfc8f9
Add code attributes to quartz spans ( #4332 )
...
* Add code attributes to quartz spans
* Use constants!
2021-10-09 09:54:38 -07:00
Lauri Tulmin
344c74a02d
Disable strict context check for mongo4 tests ( #4336 )
...
* Disable strict context check for mongo4 tests
* spotless
2021-10-09 09:54:24 -07:00
Mateusz Rzeszutek
354699647a
Test captured HTTP headers - HTTP server tests, part 2 ( #4328 )
...
* Test captured HTTP headers - HTTP server tests, part 2
* Turn off captured HTTP headers testing for grizzly
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-08 13:05:35 -07:00
Lauri Tulmin
b371361bb9
Set server span name only when needed ( #4331 )
2021-10-08 13:05:20 -07:00
Nikita Salnikov-Tarnovski
99f6bcde92
Convert AwsSdk1 to Instrumenter API ( #4315 )
...
* Convert AwsSdk1 to Instrumenter API
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Polish
* Polish and tests
* Polish
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-10-08 10:48:41 -07:00
Lauri Tulmin
478f936d54
Retry strict context check failures ( #4282 )
2021-10-08 10:47:52 -07:00
Jakub Wach
727214e1ab
AWS lambda - improvements in custom type handling in wrappers, SQS ev… ( #4254 )
...
* AWS lambda - improvements in custom type handling in wrappers, SQS even wrapper added
* post-review changes
* Update instrumentation/aws-lambda-1.0/library/src/main/java/io/opentelemetry/instrumentation/awslambda/v1_0/LambdaParameters.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Update instrumentation/aws-lambda-1.0/library/src/main/java/io/opentelemetry/instrumentation/awslambda/v1_0/LambdaParameters.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* post-review changes
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-10-08 10:26:32 -07:00
Trask Stalnaker
63a2383905
Split NetAttributesExtractor into NetClientAttributesExtractor and NetServerAttributesExtractor ( #4287 )
...
* Net Extractors
* Either request or response but not both
* Fix merge conflicts
* Separate by OnStart/OnEnd
* PeerServiceAttributes
* Fix test
* Restructure to client/server
* Fix merge conflict in main
* more
* peer.service
* Feedback
* peer.service is only for clients
* Fix merge conflict
* rename
* Armeria
* peer.service is only for clients
* rename
* WIP
* Sync Dubbo with Armeria
* More Dubbo and Armeria
* gRPC
* Revert some Dubbo changes
* more peer.service
* Fix test
* Fix merge
* Fixes
2021-10-07 15:40:15 -07:00
Mateusz Rzeszutek
581a5e3980
Test captured HTTP headers - HTTP server tests, part 1 ( #4320 )
...
* Test captured HTTP headers - HTTP server tests, part 1
* Upgrade undertow in resteasy tests (Undertow 1.0 had a bug where it thrown NPE on getHeaders())
2021-10-07 13:41:48 -07:00
Nikita Salnikov-Tarnovski
9476f86920
Remove deprecated ServerSpanNaming.updateServerSpanName method ( #4318 )
2021-10-07 10:16:50 -07:00
Nikita Salnikov-Tarnovski
84b5ae6f30
Make all methods on PropagatedContext package protected ( #4316 )
2021-10-07 10:14:50 -07:00
Trask Stalnaker
435793a148
Fix merge conflict ( #4314 )
2021-10-06 15:33:58 -07:00
Nikita Salnikov-Tarnovski
a48bd9de3f
Move PeerServiceAttributesExtractor from javaagent api to instrumentation api ( #4235 )
...
* Move PeerServiceAttributesExtractor from javaagent api to instrumentation api
* spotless
2021-10-06 12:42:55 -07:00
Nikita Salnikov-Tarnovski
0683371110
Add supported way to add additional helper classes to instrumentation without interfering with muzzle ( #4302 )
...
* Add supported way to add additional helper classes to instrumentation without interfering with muzzle
* Better javadoc
2021-10-06 09:52:54 -07:00
Lauri Tulmin
b1493dfe8f
Remove rocketmq latest dep test restriction ( #4312 )
2021-10-06 09:34:00 -07:00
Lauri Tulmin
cc75cd351b
Remove restriction on vaadin latest dep tests ( #4311 )
2021-10-06 09:33:20 -07:00
Mateusz Rzeszutek
f80f4a9f63
Allow configuring captured HTTP headers in library instrumentations ( #4309 )
2021-10-06 13:32:39 +02:00
Mateusz Rzeszutek
d3dbe415a1
Move HttpHeadersConfig methods back to instrumentation-api ( #4298 )
...
* Move HttpHeadersConfig methods back to instrumentation-api
* remove unnecessary method
2021-10-06 10:51:45 +02:00
Mateusz Rzeszutek
b4984657b5
Move BootstrapPackagePrefixesHolder to javaagent-bootstrap ( #4303 )
2021-10-05 11:26:24 -07:00
Mateusz Rzeszutek
7791be24e0
Remove implementations of host() and userAgent() in HTTP extractors ( #4299 )
...
* Remove implementations of host() and userAgent() in HTTP extractors
* fix broken headers copying
2021-10-05 10:25:45 -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
Nikita Salnikov-Tarnovski
9bbd490288
Remove last muzzle generate method from InstrumentationModule ( #4281 )
...
* Remove last muzzle generate method from InstrumentationModule
2021-10-05 14:43:21 +03:00
Mateusz Rzeszutek
7473eff1e6
Extract HTTP request/response headers as span attributes ( #4237 )
...
* Extract HTTP request/response headers as span attributes
* fix muzzle
* code review comments
* fix compilation failure after merge conflict
* avoid using streams API when transforming the headers list
* fix liberty extractor
* fix spring webmvc extractor
2021-10-05 10:20:59 +02:00
Trask Stalnaker
34a631965b
Update spotless version ( #4296 )
...
* Update spotless version
* Apply new spotless version
2021-10-05 15:44:03 +09:00
Trask Stalnaker
dafc97f96e
Simplify gradle files ( #4292 )
2021-10-04 21:53:35 -07:00
Trask Stalnaker
d2b7786027
Fix some tests on windows ( #4288 )
2021-10-04 21:40:24 -07:00
aras112
90c0df9328
Check if span name is null before use ( #4277 )
2021-10-04 14:57:10 -07:00
Mateusz Rzeszutek
300e7dab7e
Move all Kafka library instrumenter parts to internal package ( #4284 )
2021-10-04 19:03:15 +02:00
Lauri Tulmin
f7c4deac16
Jax-rs async cancel handling ( #4279 )
2021-10-04 09:56:39 -07:00
Mateusz Rzeszutek
9d6fb65b41
Remove ContextStore/InstrumentationContext mentions from internal age… ( #4267 )
...
* Remove ContextStore/InstrumentationContext mentions from internal agent classes
* Fix internal-reflection module
2021-10-04 09:24:25 -07:00
Trask Stalnaker
506ae2b894
Flavor extractor ( #4274 )
2021-10-04 09:23:58 -07:00
Nikita Salnikov-Tarnovski
11b2f16820
Convert Spymemcached integration to Instrumenter ( #4273 )
...
* Convert Spymemcached integration to Instrumenter
* Update instrumentation/spymemcached-2.12/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/spymemcached/SpymemcachedAttributeExtractor.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Spotless
* Optimise
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-04 14:10:39 +02:00
Lauri Tulmin
fbb5f8f5c6
Fix vertx-reactive latest dep tests ( #4275 )
2021-10-03 19:48:04 -07:00
Lauri Tulmin
95651a4f1b
Intern db info ( #4263 )
2021-10-03 19:47:40 -07:00
Lauri Tulmin
39a1604dd2
Convert liberty dispatcher instrumentation to instrumenter api ( #4256 )
...
* Convert liberty dispatcher instrumentation to instrumenter api
* nullable
* Add comment
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-03 11:05:26 -07:00
Lauri Tulmin
ce241d2bb3
Fix flaky kafka test ( #4272 )
2021-10-03 10:15:24 -07:00
Trask Stalnaker
92394ad9ae
Remove url from HttpServerAttributesExtractor ( #4209 )
...
* Remove url from HttpServerAttributesExtractor
* Remove UriBuilder
* Tracers too
* apache-camel
* Finatra
* jsp
* Ratpack
* Ratpack library
* Ratpack
* Spark
* Feedback
* Fix Undertow
* Vertx
* vertx-web
* play-2.4
* webflux
* jaxrs
* Spotless
* Update semantic-conventions.md
* Update smoke tests
* More realistic target
* Remove outdated doc
* Wording
2021-10-03 09:17:23 -07:00
Mateusz Rzeszutek
c421b66d56
Remove unnecessary VirtualField#setIfNull() method ( #4262 )
2021-10-02 13:17:48 -07:00
Mateusz Rzeszutek
07ca690f8e
Convert Spring Web MVC library instrumentation to Instrumenter API ( #4258 )
...
* Convert Spring Web MVC library instrumentation to Instrumenter API
* Apply suggestions from code review
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
* improve the README a bit
* StatusCodeExtractor
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
2021-10-02 11:41:27 -07:00
Trask Stalnaker
cfdc4ac7e5
Change the default javaagent artifact to have exporters ( #4106 )
...
* Change default javaagent to all, introduce slim
* Update release builds
* Update examples build
* Update benchmark-overhead
* Update benchmark-e2e
* Update docs where ok pre-release
* Update misc
* Fix references to fullJavaagentJar
* Fix it
* Delete doc for pre-1.0 releases
* Attach backwards compatible "all" artifact to releases
* Comment
* Comment
* guessing
* fix
* Update version
* Add otlp/grpc exporter to slim artifact
* Fix comment
2021-10-02 11:28:11 -07: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
Nikita Salnikov-Tarnovski
bfeb482465
Convert Elasticsearch Transport to Instrumenter API ( #4252 )
...
* Convert Elasticsearch Transport to Instrumenter API
* Don't set duplicate attributes
* Code review comments
2021-10-01 13:45:29 +03: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
Nikita Salnikov-Tarnovski
d55eee2ebf
Convert jsp integration to Instrumenter API ( #4257 )
...
* Convert jsp integration to Instrumenter API
* Code review comments
2021-10-01 10:53:42 +03:00
Lauri Tulmin
1049f0ead1
Convert undertow instrumentation to instrumenter api ( #4239 )
2021-09-30 14:09:57 +03:00
Lauri Tulmin
3f1ec4d034
Delete unused servlet tracer code ( #4243 )
2021-09-30 14:09:44 +03:00
HyunGook-Kim
cf85fbb275
chore typo in gradle implementation package name ( #4250 )
...
change ```opentelemetry-exporters``` to ```opentelemetry-exporter```
2021-09-30 10:34:50 +09:00
Trask Stalnaker
9ea33edf08
Remove attrs from http client attributes extractor ( #4210 )
...
* Remove scheme/host/target from HttpClientAttributesExtractor
* And jaxrs-client
* Remove unused methods
2021-09-28 12:58:42 -07:00
Lauri Tulmin
8e54d540bb
Convert liberty instrumentation to instrumenter api ( #4205 )
...
* Convert liberty instrumentation to instrumenter api
* review comment
2021-09-28 09:22:55 -07:00
Trask Stalnaker
48e42be821
Support suppress-messaging-receive-span in JMS ( #4204 )
...
* Support suppress-messaging-receive-span in JMS
* Spotless
2021-09-28 09:04:30 -07:00
Trask Stalnaker
6aaf5ef9e6
Remove dynamo db.name attribute ( #4208 )
2021-09-27 21:58:26 -07:00
Anna Nosek
8c522a176e
Refine 404 handling in Restlet instrumentation ( #4206 )
...
* introduce 404 handling
* review
2021-09-27 12:28:57 -07:00
Lauri Tulmin
ba3370e054
Build servlet mapping resolver only when needed ( #4197 )
...
* Build servlet mapping resolver only when needed
* move factory interface to boot loader to ensure that everybody has the same class for it
* spotless
* Helper classes should not look up ContextStore on each access
2021-09-27 18:04:22 +03:00
Mateusz Rzeszutek
a277a8b636
Separate HTTP client/server AttributesExtractors ( #4195 )
2021-09-24 10:06:23 -07:00
Lauri Tulmin
559cdcbbee
Transform lambda classes ( #4182 )
...
* Transform lambda classes
* improve comment
2021-09-24 09:52:15 -07:00
Christian Frommeyer
ae7ad4b7e8
Fix spring context reload issue (open-telemetry#3841) ( #4051 )
...
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-24 15:59:48 +03:00
Trask Stalnaker
abfcfb9dc7
Fix JDBC instrumentation deadlock ( #4191 )
2021-09-23 08:52:01 -07:00
Trask Stalnaker
3ce940548c
Experimental option to suppress messaging receive spans ( #4187 )
...
* Experimental option to suppress messaging receive spans
* Kafka streams too
* Better conditionals
* Remove oops
* Extract base class for kafka streams tests
* Spotless
2021-09-22 21:50:05 -07:00
Trask Stalnaker
8066f2787c
Add context customizer hook to Instrumenter API ( #4167 )
...
* Add context customizer hook to Instrumenter API
* Use in tomcat instrumentation
* Some of servlet
* Use in rest of servlet
* Feedback
2021-09-22 14:54:04 -07:00
Mateusz Rzeszutek
085066edb3
Add some testcontainers dependencies to dependencyManagement dep set ( #4185 )
2021-09-22 14:53:45 -07:00
Mateusz Rzeszutek
a66452eb2d
Fix kafka tests failing when consumer is not yet subscribed to topic ( #4189 )
2021-09-22 11:45:32 -07:00
Trask Stalnaker
f24dd6160a
Remove incorrect lettuce db.statement attribute ( #4160 )
2021-09-21 20:02:26 -07:00
Mateusz Rzeszutek
12d60b05d7
Rewrite kafka-clients and kafka-streams tests to use testcontainers ( #4178 )
...
* Rewrite kafka-clients and kafka-streams tests to use testcontainers
* codenarc
2021-09-21 17:47:16 +02:00
Trask Stalnaker
feebef3bd9
Restrict kafka-streams to 2.x versions for now ( #4173 )
2021-09-20 23:09:19 -07:00
Trask Stalnaker
6a91dae5a1
Improve reactor test ( #4168 )
2021-09-20 17:21:55 -07:00
Mateusz Rzeszutek
1a6294e1be
Make CONSUMER receive span a parent of CONSUMER process spans in kafka-streams ( #4151 )
2021-09-17 19:17:00 -07:00
YuDong Tang
3bc0e07c60
#4056 remove oringin handler when removelast in netty ( #4123 )
...
* removelast
* removelast
* addAfter and removeLast
* addAfter and removeLast
* addAfter and removeLast
2021-09-17 13:23:20 -07:00
Mateusz Rzeszutek
dc4ddf7932
Remove ContextStore.Factory interface; use Supplier instead ( #4157 )
2021-09-17 13:00:23 -07:00
Mateusz Rzeszutek
1c3ea2ec56
Convert elasticsearch-rest to Instrumenter API ( #4153 )
...
* Convert elasticsearch-rest to Instrumenter API
* Add net.transport attribute
2021-09-17 11:19:53 -07:00
Mateusz Rzeszutek
88ce6af1d6
Convert Rediscala to Instrumenter API ( #4152 )
2021-09-17 10:22:58 -07:00
Mateusz Rzeszutek
f14eeb0f15
Convert kafka-streams to Instrumenter API ( #4140 )
2021-09-17 09:41:13 +02:00
Lauri Tulmin
59439cb464
Make servlet context path key private ( #4125 )
...
* Make servlet context path key private
* remove accidentally added files
* fix servlet2.2
* use non capturing lambda
* Update instrumentation/servlet/servlet-common/library/src/main/java/io/opentelemetry/instrumentation/servlet/ServletHttpServerTracer.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* use method reference
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-09-16 10:23:29 -07:00
Lauri Tulmin
de6c9087fc
Remove reference to bintray in spring doc ( #4139 )
2021-09-16 10:18:20 -07:00
Lauri Tulmin
53482419c3
Use our version of hasSuperType matcher ( #4141 )
2021-09-16 10:16:34 -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
Trask Stalnaker
d28f0d3d3f
Remove unneeded catch blocks ( #4130 )
...
* Remove unneeded catch blocks
* Update test!
2021-09-15 09:42:18 -07:00
Trask Stalnaker
b8391b1354
Remove the only two author tags ( #4129 )
...
* Remove the only two author tags
* Spotless
2021-09-15 09:42:04 -07:00
Anna Nosek
8f48dfa875
Fix latestDepTests in Restlet instrumentation ( #4121 )
...
* add latestDepTestLibrary
* spotless
2021-09-14 09:52:29 -07:00
Anuraag Agrawal
971ca8b19c
Update to OTel 1.6 ( #4120 )
...
* Update to OTel 1.6
* Example build
* More example
* More example
2021-09-14 20:12:18 +09:00
Anna Nosek
473f16fa68
Restlet instrumentation ( #3946 )
...
* server instrumentation with first tests
* migrate to instrumenter API, move TracingFilter to library, rename module, other review refinements
* change name to 1.0 and rebase
* review, add ServerSpanNaming, create RestletTracing
* codenarc fix
* review
* fix TracingFilter behaviour on exception, inline HeadersAdapter's methods
* move instrumentation to doHandle, add StatusFilter in library test
2021-09-13 22:39:25 -07:00
Trask Stalnaker
9de4041d4c
More grpc events ( #4098 )
...
* More grpc events
* Fix test
* Update new tests
2021-09-13 10:49:04 -07:00
Lauri Tulmin
15277cf8f5
Convert servlet instrumentation to instrumenter api ( #4078 )
...
* Convert servlet to instrumenter api
* make classes final
* Remove some tracer files
* remove xxx
* fix liberty and wildfly exception smoke test
* fix async smoke test on liberty
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* generic TextMapGetter for servlets
* not going to use http.route for servlets
* simplify
* add servlet timeout in attribute extractor
* move classes from library to javaagent
* remove unneeded dependency
* make method private
* move helper class initialization to singleton, remove helpers that don't have any methods, add shouldStart checks
* Update instrumentation/servlet/servlet-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/servlet/ServletRequestContext.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* add import
* rename methods that start and end spans
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-09-13 10:12:34 -07:00
Lauri Tulmin
436184002c
Bridge trace builder ( #4090 )
...
* Bridge tracer builder
* put api 1.4 bridging into separate moulde
* remove duplicate test
* remove testing dependencies
* use static import
* Update instrumentation/opentelemetry-api/opentelemetry-api-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/opentelemetryapi/trace/ApplicationTracerProvider.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* rename make -> create
* replace reflection with methodhandle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-13 09:30:02 -07:00
Trask Stalnaker
098aee06c6
Fix grpc instrumentation of callbacks ( #4097 )
...
* Fix grpc instrumentation of callbacks
* Add ListenableFuture test
* Futures.transform
2021-09-13 08:55:46 -07:00
Trask Stalnaker
b48ced5da0
Fix test on windows ( #4094 )
2021-09-12 15:53:38 +02: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
Trask Stalnaker
34ddc6911d
Suppress strict scope check for reactor-netty ( #4091 )
2021-09-11 11:46:03 -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
Lauri Tulmin
4c64f70f94
JaxRS-client: remove our context when request is done ( #4075 )
...
* JaxRS-client: remove our context when request is done
* add comment
2021-09-09 14:24:18 -07:00
Mateusz Rzeszutek
99fe1c6642
Migrate Dubbo to Instrumenter API ( #4059 )
...
* Migrate Dubbo to Instrumenter API
* Break library dependency on javaagent-api
* Add a standard library instrumentation *Tracing & *TracingBuilder classes
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-09-09 11:31:57 -07:00
Lauri Tulmin
0c2aa5eae1
Remove outdated section from servlet instrumentation readme ( #4074 )
2021-09-09 08:07:33 -07:00
Mateusz Rzeszutek
d6c8e3a1f2
Update supported libs list ( #4077 )
2021-09-09 08:07:04 -07:00
Trask Stalnaker
c13eb7932e
Update collector port ( #4071 )
2021-09-08 18:18:05 -07:00
Lauri Tulmin
a279b7d5be
Fix build ( #4070 )
2021-09-08 16:40:31 -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
jack-berg
28e5cb5dd6
Transition twilio-6.6 module to instrumenter API ( #4045 )
...
* Convert twilio-6.6 module to instrumenter API
* Rename TwilioTracer to TwilioSingletons
2021-09-08 13:10:03 -07:00
Mateusz Rzeszutek
4820ec4855
Add error parameter to EndTimeExtractor and AttributesExtractor#onEnd() ( #3988 )
2021-09-08 07:58:13 -07:00
Trask Stalnaker
2c044253e8
HttpURLConnection response code edge case ( #4062 )
2021-09-08 07:55:21 -07:00
Trask Stalnaker
400d99467a
Follow http.client_ip spec clarification ( #4063 )
2021-09-08 07:54:59 -07:00
jack-berg
1a994b9845
Transition kubernetes client 7.0 module to instrumenter API ( #4036 )
...
* Convert kubernetes-client-7.0 to Instrumenter API
* Respond to PR feedback
2021-09-07 15:17:42 -07:00
jack-berg
4e221d6e4c
Transition spring batch 3.0 module to Instrumenter API ( #4029 )
...
* Convert spring-batch-3.0 step execution instrumentation to Instrumenter API
* Convert spring-batch-3.0 job execution instrumentation to Instrumenter API
* Convert spring-batch-3.0 chunk execution instrumentation to Instrumenter API
* Convert spring-batch-3.0 item instrumentation to Instrumenter API
* Fix rebase issue.
* Respond to PR feedback.
* Respond to PR comments.
2021-09-07 15:13:55 -07:00
Mateusz Rzeszutek
dca77b6ae3
Remove unused method ( #4058 )
2021-09-07 14:56:12 -07:00
jack-berg
f89933b67c
Transition http-url-connection module to instrumenter API ( #4044 )
...
* Convert http-url-connection to instrumenter API
* Replace HttpUrlResponse with response status code Integer
2021-09-07 14:54:16 -07:00
Mateusz Rzeszutek
23fc4ce443
Fix memleak in the Netty ChannelPipeline instrumentation ( #4053 )
2021-09-07 14:16:08 -07:00
Anuraag Agrawal
10bce56cd6
Add instrumentation for Quartz 2.0 ( #4017 )
...
* Add instrumentation for Quartz 2.0
* Fix drift in comment
* Fix fix
* Comment
* Cleanup
2021-08-31 18:05:36 +09:00
Trask Stalnaker
65335962de
Remove capturing lambda (optimization) ( #4014 )
...
* Remove capturing lambda
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/servlet/ServerSpanNameSupplier.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/servlet/ServerSpanNameTwoArgSupplier.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Update instrumentation/jsf/jsf-common/library/src/main/java/io/opentelemetry/instrumentation/jsf/JsfServerSpanNaming.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* checkstyle
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-08-30 20:26:00 -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
Trask Stalnaker
0f9308b4fb
Optimize tomcat uri construction ( #4008 )
...
* Optimize tomcat uri construction
* Add TODO
2021-08-30 13:34:23 -07:00
Lauri Tulmin
9f56888727
Limit lates dep version for rxjava-3.0 ( #4028 )
2021-08-30 11:02:11 -07:00
Lauri Tulmin
7b4d0db19a
Enable concurrency test for resteasy proxy client ( #4018 )
2021-08-30 09:08:43 -07:00
Lauri Tulmin
a438e0d6ae
Enable concurrency test for apache http client 4.0 ( #4020 )
2021-08-30 09:05:51 -07:00
Lauri Tulmin
7fdbd0c55f
Enable concurrency test for apache http client 2.0 ( #4021 )
2021-08-30 09:05:44 -07:00
Lauri Tulmin
c918cdeb76
Enable concurrency test for apache http client 4.3 ( #4019 )
2021-08-30 09:04:09 -07:00
Trask Stalnaker
436aeaf99a
Another ClassValue optimization ( #4013 )
...
* Another ClassValue optimization
* Spotless
2021-08-30 09:02:59 -07:00
Trask Stalnaker
c91eda59b5
Small reduction in context lookups ( #4006 )
2021-08-30 09:02:52 -07:00
Trask Stalnaker
58d640a373
Fix netty strict context checks ( #4002 )
...
* Fix netty strict context leaks
* And netty-4.0
* ClassValue and more
2021-08-30 09:02:16 -07:00
jack-berg
789c92d79e
Transition spring-scheduling-3.1 to instrumenter API ( #3993 )
2021-08-30 09:01:43 -07:00
jack-berg
0c5a67167a
Transition spring-data-1.8 module to instrumenter API ( #3991 )
2021-08-30 09:01:37 -07:00