Commit Graph

5839 Commits

Author SHA1 Message Date
Anuraag Agrawal b416ece9c3
Extract Mongo library instrumentation (#2789)
* Extract mongo library instrumentation

* Finish

* Drift

* Cleanup

* build twice

* Spot
2021-04-14 13:51:21 +09:00
Anuraag Agrawal e87564ef12
Add gRPC context bridge (#2634)
* Add gRPC context bridge

* Finish

* Drift

* dependency hell

* Override

* current
2021-04-14 13:50:43 +09:00
Mateusz Rzeszutek 078603caf5
Generate InstrumentationModule#contextStore() with muzzle (#2775) 2021-04-13 20:05:01 -07:00
Trask Stalnaker 06832d84fc
Rename (and split up) classloaders module (#2787)
* Rename classloaders module

* Move under common internal dir

* Add all internal modules to testing agent
2021-04-13 19:58:50 -07:00
Trask Stalnaker cad3c761a6
Bump smoke test timeout (#2798) 2021-04-13 19:56:45 -07:00
Mateusz Rzeszutek 3faf693631
Fix tests on the main branch (#2795)
* Fix tests on the main branch

* And fix muzzle by the way
2021-04-13 19:30:13 +02:00
Mateusz Rzeszutek 113ef24bef
Use Instrumenter in JDBC instrumentation (#2739)
* Use Instrumenter in JDBC instrumentation

Except jdbc-datasource, that one is going to be in a separate PR

* Use Instrumenter in JDBC instrumentation - code review comments
2021-04-13 16:19:13 +02:00
Trask Stalnaker d741dc48b9
Minor rename of javaagent unit test modules (#2784) 2021-04-13 12:36:30 +03:00
Trask Stalnaker eb81e8958c
Remove play-2.3 instrumentation and remove typesafe repo (#2783)
* Remove typesafe repo

* Use play 2.3.9 instead of 2.3.0

* Exclude missing optional dependency

* Remove play-2.3 module

* Update supported libraries doc
2021-04-13 11:50:29 +03:00
Lauri Tulmin c49dfd57de
Fix mongo latest test (#2790) 2021-04-13 11:49:27 +03:00
Lauri Tulmin c5701bcdd2
Akka: clean up state on exception (#2782) 2021-04-12 16:03:05 -07:00
Lauri Tulmin 718a5a17a3
Mongo reactive context propagation (#2758) 2021-04-12 15:58:25 -07:00
Lauri Tulmin 819efb573f
Run glassfish tests with headless (#2781) 2021-04-12 15:54:54 -07:00
Trask Stalnaker 117d38a01b
Support URLClassLoader addURL (#2772) 2021-04-12 15:53:44 -07:00
Trask Stalnaker 0f60b44b7c
Avoid proxy IllegalArgumentException: repeated interface (#2773) 2021-04-12 13:59:40 -07:00
Trask Stalnaker b922b3ece9
Remove the netty connection interference test (#2765) 2021-04-12 13:55:00 -07:00
Trask Stalnaker 5719bc30a6
Sync spring-boot-autoconfigure property names with SDK property names (#2770)
* Sync spring-boot-autoconfigure property names

* Change from otel.instrumentation to otel.springboot

* Remove duplicate/outdated doc
2021-04-12 13:21:40 +03:00
Trask Stalnaker 3bc058b10b
Don't create duplicate headers (#2727)
* Test infra

* Update examples

* Update instrumentation

* Update tests

* jaxrs-client fixes

* Remove doRequest/doReusedRequest

* Fix muzzle

* some fixes

* fix test

* doc

* not private

* Apply to doRequestWithCallback also

* Update doc

* groovy

* better

* Don't hardcode traceparent

* Reuse request in SpringRestTemplateTest
2021-04-12 12:21:16 +03:00
Trask Stalnaker 5be065cd31
Switch to grpc-netty-shaded (#2769) 2021-04-11 13:27:37 -07:00
Trask Stalnaker 3dcb29d1ea
Update supported library versions (#2766)
* Update supported library versions

* Lettuce too
2021-04-11 13:04:03 +03:00
Trask Stalnaker b8f50fe922
Add parent dirs for common instrumentations (#2767) 2021-04-10 10:53:56 -07:00
Mateusz Rzeszutek 5c280d4c43
Fix JDBC instrumentation: recursive statements inside Connection#getMetaData (#2756) 2021-04-09 10:46:12 -07:00
Mateusz Rzeszutek b204fcc56e
Bring back Guava to javaagent-tooling (it's actually used here) (#2764) 2021-04-09 16:54:06 +03:00
Lauri Tulmin 773ca35e6a
RocketMQ: wait for message to be consumed (#2759) 2021-04-09 08:30:43 +09:00
Anuraag Agrawal fbba3001ee
Test callbacks for okhttp library instrumentation (#2752) 2021-04-08 14:20:32 -07:00
Lauri Tulmin 75f2e9a4a5
Make dubbo and camel use loopback address (#2753) 2021-04-08 13:16:25 -07:00
Mateusz Rzeszutek 42cf3bc077
Record internal metric for SQL cache misses (#2747)
* Record internal metric for SQL cache misses

And use `SupportabilityMetrics` in `Instrumenter`

* Fix broken shouldStart() logic

* Code review comments
2021-04-08 17:50:48 +02:00
Lauri Tulmin c943c5da93
Sort traces to reduce flakiness (#2754) 2021-04-08 17:49:35 +02:00
Mateusz Rzeszutek c872513896
Remove unused class (#2757) 2021-04-08 17:49:19 +02:00
Anuraag Agrawal a4ea1c9db2
Update to OTel 1.1.0 (#2744)
* Update to OTel 1.1.0

* Use transform safe logger

* Finish

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-04-08 16:01:16 +09:00
Nikita Salnikov-Tarnovski 38e98ebdad
Implement concurrent test for Vert.x http server (#2749)
* Implement concurrent test for Vert.x http server

* Format
2021-04-08 09:27:11 +03:00
Nikita Salnikov-Tarnovski 692bb72f22
Implement concurrent test for Netty http server (#2750) 2021-04-08 08:36:42 +03:00
Lauri Tulmin 443f97486f
Improve akka instrumentation (#2737) 2021-04-07 10:35:41 -07:00
Trask Stalnaker 410957f206
More consistent custom trace sorting in tests (#2728) 2021-04-07 10:29:41 -07:00
Trask Stalnaker 9926288342
Clarify empty type instrumentations (#2740)
* Add comment for EmptyTypeInstrumentation

* Clarify use of empty type instrumentations
2021-04-07 10:03:24 +03:00
Nikita Salnikov-Tarnovski b517c97547
Don't run smoke test during latestDeps (#2743) 2021-04-07 09:35:07 +03:00
Anuraag Agrawal 826d8ac781
Cleanup mongodb tests (#2732)
* Cleanup mongodb tests

* Drift

* Cleanup

* Timeout

* Cleanup
2021-04-07 14:02:56 +09:00
Anuraag Agrawal d8f6018ba6
Split HttpClientTest execution methods for sync and callback (#2675) 2021-04-06 15:26:01 -07:00
Lauri Tulmin d0d4168d62
Exclude our Runnables (#2736) 2021-04-06 14:20:31 -07:00
Trask Stalnaker 3bd46091bc
Clean up request dispatcher instrumentation (#2724) 2021-04-06 13:36:38 -07:00
Trask Stalnaker 5e914c954b
Consolidate duplicate play-ws tests (#2726) 2021-04-06 13:21:21 -07:00
Lauri Tulmin 1486d73dda
Use loopback address for rmi tests (#2738) 2021-04-06 13:21:00 -07:00
Lauri Tulmin a8a443e39d
Increase dubbo timeout (#2735) 2021-04-06 08:46:23 -07:00
Mateusz Rzeszutek 5760cd7313
Fix JMS context propagation problems (#2702) 2021-04-06 08:45:17 -07:00
Trask Stalnaker 53ffe9fbef
Reduce smoke test timeout after split out (#2720) 2021-04-06 16:37:59 +09:00
Trask Stalnaker 6ea316e22e
Remove timeout annotations (#2725) 2021-04-06 16:36:18 +09:00
Trask Stalnaker b39348d640
Add -Werror flag to the build (#2712)
* Add -Werror to the build

* Add to javadoc also

* Run javadoc

* Change from "check javadoc" to "build"

* Fix javadoc warnings
2021-04-06 10:01:10 +03:00
Anuraag Agrawal 0bd7b4fd65
Update setup-java to v2 (#2733) 2021-04-06 10:00:21 +03:00
Trask Stalnaker b062e38117
Pass OpenTelemetry instance to WebFlux lib tracer (#2730) 2021-04-06 08:52:27 +03:00
Ago Allikmaa 314794eaae
Tomcat 10 and Jetty 11 smoke tests (#2723) 2021-04-06 08:23:48 +03:00