Commit Graph

5485 Commits

Author SHA1 Message Date
YuDong Tang f738a158c2
fix the branch master to main (#2225) 2021-02-08 18:52:25 +02:00
Anuraag Agrawal ef1c250deb
Update spring boot smoke test code too (#2219) 2021-02-08 15:57:47 +09:00
Anuraag Agrawal 29dd296d7a
Update smoke tests to 0.16.0-SNAPSHOT (#2218) 2021-02-08 15:44:28 +09:00
YuDong Tang a6527c2fa0
add support 4 Apache Dubbo (#2108) 2021-02-06 21:56:24 -08:00
Trask Stalnaker 201691b8a1
Fix merge conflict (#2213) 2021-02-06 21:12:17 -08:00
Lauri Tulmin 7538a66d4c
JAX-RS with Apache CXF (#2192) 2021-02-06 12:15:05 -08:00
Mateusz Rzeszutek a230258e91
Refactor AWS lambda tracers so that they use Context (#2194)
... and do not use BaseTracer#startScope(). This PR eliminates all overrides of startScope(), in the next one I'll remove it.
2021-02-06 12:14:02 -08:00
Trask Stalnaker 79dfe10ab3
Remove kotlin core libs from javaagent distro (#2206) 2021-02-06 16:44:18 +09:00
Mateusz Rzeszutek e51692b3fd
Move setting test properties to instrumentation.gradle (from AgentTestRunner) (#2205)
I think that they might have been not noticed by the javaagent when set in the AgentTestRunner
2021-02-06 13:17:00 +09:00
Lauri Tulmin 22109b2719
Fix flaky spring jms test (#2202) 2021-02-05 16:06:09 -08:00
Mateusz Rzeszutek facaf8e46f
Remove all remaining direct AgentTestRunner usages (#2196)
* Remove all remaining direct AgentTestRunner usages

* Fix jaxws compilation failure
2021-02-05 16:14:26 +01:00
John Watson 644ee18666
Add constructors/methods to the base tracers to enable injecting an OpenTelemetry instance (#2197)
* Add constructors/methods to the base tracers to enable injecting propagators.

* formatting

* deprecate old things. convert to non-deprecated where easily possible.

* formatting, always more formatting
2021-02-05 15:50:47 +02:00
Nikita Salnikov-Tarnovski e9a4b952dd
Add causality test with multiple concurrent requests (#2156)
* Add causality test with multiple concurrent requests

* Include support for Reactor Netty 1.0 into README.md

* Fix muzzle conf

* Fix muzzle and version constraints

* More strict causality check

* Better muzzle config

* Fixing muzzle

* Fixing deps

* Better library

* Better naming
2021-02-05 12:39:42 +02:00
Mateusz Rzeszutek 6c80ce217f
Rename master -> main in patch release workflow (#2199) 2021-02-05 11:25:25 +01:00
Lauri Tulmin 121a9bffb2
Run tests with hibernate 5 and 6 (#2182) 2021-02-04 14:25:29 -08:00
Mateusz Rzeszutek 27d5786d65
Allow getting current call depth (#2184)
* Allow getting current call depth

* Add comment
2021-02-04 12:41:33 +01:00
Vladimir Šor 3764f63935
Update Readme for JaxWS (#2190)
* Update Readme for JaxWS, add a test case for proxy invocation.

* Added copyright notice, removed test-main.

* Added copyright notice, removed test-main.

* codenarc
2021-02-04 12:59:47 +02:00
Anuraag Agrawal e2d0dd7d4c
Filter out library jar from tests since it's shadowed into the agent … (#2179)
* Filter out library jar from tests since it's shadowed into the agent / agent-testing jar.

* More precision
2021-02-04 15:23:35 +09:00
Vladimir Šor a0d66784d1
Auto-instrumentation for JaxWS (#2176)
* Initial JaxWS support with only manual tests and no async support.

* Add support for soap provider and tests.

* Initial JaxWS support with only manual tests and no async support.

* Add support for soap provider and tests.

* Rename jws 1.0 to 1.1 everywhere.

* Rename jws 1.0 to 1.1 everywhere.
2021-02-04 14:49:58 +09:00
Lauri Tulmin 77522355a2
Elasticsearch: fix unexpected spans for java.net.ConnectException: Connection refused (#2181) 2021-02-04 14:45:03 +09:00
Lauri Tulmin c65fb3ede4
Add tomee to supported servers (#2180)
* Add tomee to supported servers

* move tomee after tomcat

* correct tomee image tag
2021-02-04 14:44:21 +09:00
Mateusz Rzeszutek c5456d559d
Fix JSP 2.3 muzzle (#2185)
* Fix JSP 2.3 muzzle

Tomcat 10.0.2 was released just today; version 10.0.x is supposed to use JSP 3.0 (and servlet 5.0) so this broke the muzzle task.

* skipVersions
2021-02-04 14:42:16 +09:00
Lauri Tulmin 02ca471577
Wicket instrumentation (#2139)
* Wicket instrumentation

* Change supported version to 8.0, turns out earlier versions didn't work
2021-02-03 17:20:49 +02:00
Frank Spitulski 71ceb7486c
cassandra table name should split out keyspace (#2177) 2021-02-03 17:20:19 +02:00
Jakub Wach 1f22fcaab0
Apache camel enable sqs propagation (#2102)
* adding AWS SQS tests to Apache Camel instrumentation

* code review changes

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* SQS context propagation for Apache Camel instrumentation

* code review - removed not needed dep

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-02-03 10:34:05 +02:00
Gábor Lipták 5bf9f34caa
Bring org.testcontainers to 1.15.1 (#2178)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-02-03 08:01:04 +02:00
Lauri Tulmin 8f8b7f75ca
Add docker images for tomee (#2175) 2021-02-02 20:13:07 +02:00
Lauri Tulmin 4d59fc0c81
Improve stability of jms-1.1 tests (#2169) 2021-02-02 15:48:02 +02:00
Lauri Tulmin 89fd887c74
Imporve stability of elasticsearch tests (#2170) 2021-02-02 15:46:49 +02:00
Lauri Tulmin 575a71f316
Correct hibernate dtd address (#2171) 2021-02-02 15:41:12 +02:00
Jakub Wach f766151c22
fixing nightly fail - elasticmq version fix (#2174) 2021-02-02 15:20:12 +02:00
Lauri Tulmin 32c34de593
Disable retry on connection failure for okhttp tests (#2154) 2021-02-02 19:34:49 +09:00
Frank Spitulski 9ded7188b8
feat(cassandra4): more attributes (#1314)
* feat(cassandra4): more attributes

fixes #1298

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Update instrumentation/cassandra/cassandra-4.0/javaagent/src/test/groovy/CassandraClientTest.groovy

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* add error handling

* default idempotence

* embed session into onResponse to prevent need to overwrite default tags

* change javadoc according to spotless

* use shared table name extractor

* fix tests to account for SqlStatementSanitizer

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-02 18:12:55 +09:00
Mateusz Rzeszutek 7a3f345c18
Clean up BaseTracer, part 1 (#2159)
* Move context leak debugging to ContextPropagationDebug
* Remove getCurrentSpan()
* Add end(Context, ...) & endExceptionally(Context, ...) methods - they're supposed to replace the ones that accept Spans in the future
2021-02-02 10:12:46 +02:00
Anuraag Agrawal b7ad3d2307
Update README for 0.15.0 release. (#2166)
* Update README for 0.15.0 release.

* Fix

* Update README.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-02 15:46:05 +09:00
Mateusz Rzeszutek 61f86a78b8
Improve muzzle docs: assertInverse, extraDependency (#2158) 2021-02-02 11:53:10 +09:00
jason plumb 66dc6c934f
Document the static imports (style guidelines) (#2161)
* document the static imports that we like

* spotless

* Update docs/contributing/style-guideline.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-02-02 11:04:56 +09:00
Brian Ashby 48a0772f3a
add websphere liberty profile, fix weblogic JVM (#2140) 2021-02-01 17:03:40 -08:00
汤煜冬 c523fa2eae
add abstract method getRpcSystem() (#2149) 2021-02-01 13:47:27 +02:00
Mateusz Rzeszutek 93b3a3b289
testing-common refactoring: replace direct AgentTestRunner usage with… (#2134)
* testing-common refactoring: replace direct AgentTestRunner usage with spock spec

* Updated instrumentation docs

* Fix reactor-core library tests

ReactorCoreTest was getting a tracer from GlobalOpenTelemetry before LibraryTestTrait had a change to initialize the SDK
2021-02-01 11:32:25 +01:00
Anuraag Agrawal 94fd21e2ae
Disable agent-for-testing default JAR which we don't publish. (#2151) 2021-02-01 16:52:41 +09:00
Anuraag Agrawal 49194ff444
Don't hardcode agent-for-testing archive filename so it can be publis… (#2146)
* Don't hardcode agent-for-testing archive filename so it can be published.

* Fix accidental

* afterEvaluate
2021-02-01 14:33:27 +09:00
Trask Stalnaker 23945d97e9
Publish lettuce and mongo common (#2148) 2021-02-01 13:26:08 +09:00
Anuraag Agrawal 1ebb58a596
Update to SDK 0.15.0 (#2137)
* Update to SDK 0.15.0

* Fix lightstep test
2021-01-29 21:30:22 +09:00
Jakub Wach 77922d4834
SQS propagation for AWS SDK 1.1 (#2114) 2021-01-29 10:21:12 +02:00
Anuraag Agrawal 0a74799419
Update smoke tests to SDK 0.15.0 (#2136) 2021-01-29 16:59:13 +09:00
Mateusz Rzeszutek 328c6832a2
Publish agent-for-testing and testing-common (#2133) 2021-01-29 08:39:30 +01:00
Mateusz Rzeszutek c61f3f2949
Use a single configuration property for db.statement sanitization (#2125)
* Use a single configuration property for db.statement sanitization

* spotless
2021-01-29 16:02:15 +09:00
Mateusz Rzeszutek b13ef2d809
Instrument spring-batch: tests for parallel steps (#2121) 2021-01-28 16:09:42 +09:00
Anuraag Agrawal 6b13bcca63
Use X-Ray propagator for aws sdk 1.1 instrumentation (#2117)
* Use X-Ray propagator for aws sdk 1.1 instrumentation

* Cleaner

* Fix

* Copy over doc
2021-01-28 16:01:07 +09:00