Commit Graph

5500 Commits

Author SHA1 Message Date
Nikita Salnikov-Tarnovski 6cc408f1a1
Add @mateuszrzeszutek as maintainer (#2246)
Mateusz is a very active both contributing improvements to this repo and review submissions from other people.
2021-02-10 19:58:48 +02:00
Lauri Tulmin 845f758f8e
Close response to avoid warning about leaked response (#2240) 2021-02-10 15:01:54 +02:00
Jakub Wach 8592d79362
aws lambda instrumentation - http headers propagation fix (#2222)
* aws lambda instrumentation - http headers propagation fix

* documented lambda propagation behaviour

* spotless apply
2021-02-10 12:45:38 +01:00
Mateusz Rzeszutek ecf64c25f3
Remove BaseTracer#startScope() method (#2224)
* Remove BaseTracer#startScope() method

* fix compilation failure
2021-02-10 11:39:38 +01:00
Trask Stalnaker 7d373c7141
Remove kotlin core libs from javaagent distro (#2238) 2021-02-10 18:42:08 +09:00
Trask Stalnaker c91bff41cb
Add comment about extension shading (#2235) 2021-02-10 09:39:33 +02:00
Anuraag Agrawal a8676e2bc8
Create draft release with uploaded agent in github workflow. (#2237) 2021-02-10 14:44:56 +09:00
Trask Stalnaker 3f8cacfcb4
Fix build deadlock (#2234)
* Fix build deadlock

* spotless
2021-02-10 13:09:14 +09:00
ET 42850e3ac2
Add OpenTelemetry parameter constructors to all api Tracer classes (#2233) 2021-02-09 13:35:41 -08:00
jason plumb ca21955bd9
README and docs reorg (#2226) 2021-02-09 11:01:35 -08:00
Mateusz Rzeszutek 49206212cf
Refactor AgentTestRunner: extract a common interface, convert to Java class (#2223) 2021-02-09 09:21:05 -08:00
Anuraag Agrawal fc410706d0
Update to Sdk 0.16.0 (#2221)
* Update to 0.16.0-SNAPSHOT

* Finish

* Finish

* Update to 0.16.0

* Finish
2021-02-09 18:00:54 +09:00
Anuraag Agrawal b0a7aa1ae8
Update smoke tests to released 0.16.0 (#2228) 2021-02-09 15:07:10 +09:00
Mark Fink ca5cd7f42c
Update README.md (#2217) 2021-02-08 21:47:17 +02:00
YuDong Tang a72866c940
update readme 4 apache-dubbo (#2220) 2021-02-08 10:02:54 -08:00
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