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
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
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
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
Lauri Tulmin
121a9bffb2
Run tests with hibernate 5 and 6 ( #2182 )
2021-02-04 14:25:29 -08: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
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
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
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
汤煜冬
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
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
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
jason plumb
782a646d89
Cache sql sanitized extraction ( #2094 )
2021-01-27 10:04:58 -08:00
Lauri Tulmin
87ddfb8d0e
Add instrumentation for spring-ws ( #2111 )
...
* Add instrumentation for spring-ws
* add spring-ws to supported frameworks
* Add class loader optimization
* Remov unnecessary latestDepTestLibrary
* review fixes
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-27 17:24:59 +09:00
Mateusz Rzeszutek
20dadc1b6d
Replace two JavaCC lexers with a single JFlex one ( #2113 )
2021-01-26 14:03:11 -08:00
Lauri Tulmin
8d6ee17c05
Fix netty 4.1 tests ( #2122 )
2021-01-26 10:11:06 -08:00
John Watson
df801dc2c3
Clean up some spring-boot auto-configuration to get rid of deprecations ( #2115 )
2021-01-25 22:00:54 -08:00
Mateusz Rzeszutek
b78a38f859
Instrument spring-batch: item-level spans ( #2047 )
2021-01-25 21:38:13 -08:00
John Watson
af5719b48c
Consolidate span suppression logic into the BaseTracer ( #2106 )
...
* Hide the context keys in the BaseTracer.
Provide the appropriate methods to get access.
* key needs to be static
* put all the span suppression logic in the BaseTracer
* the formatter is our friend
* rename method and add tests
* tests that work!
2021-01-26 09:21:29 +09:00
Lauri Tulmin
59c1034d34
Fix warning on agent startup ( #2109 )
2021-01-25 17:03:41 +02:00
Sergei Malafeev
bbcbeb51e3
MongoDB 4 driver instrumentation ( #2046 )
...
* MongoDB 4 driver instrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* fix getting constructor
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* fix formatting
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Update instrumentation/mongo/mongo-4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/mongo/v4/MongoClientInstrumentationModule.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update settings.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/mongo/mongo-4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/mongo/v4/MongoClientInstrumentationModule.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* use mongo-4.0
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use public api
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use testImplementation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use declaresField(named("commandListeners")) in typeMatcher
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* migrate to mongo-4.0-testing
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-25 15:55:03 +02:00
John Watson
588f8847ed
Hide the context keys in the BaseTracer. ( #2105 )
...
* Hide the context keys in the BaseTracer.
Provide the appropriate methods to get access.
* key needs to be static
* fix formatting
* more formatting, sigh
* remove an errant semicolon
2021-01-25 09:49:16 +02:00
Anuraag Agrawal
8b470bf378
Add Netty instrumentation handlers after matched handler rather than at end of pipeline. ( #2100 )
...
* Support latest webflux version.
* Add Netty instrumentation handlers after matched handler rather than at end of pipeline.
* Drift
* Fix
* Raise smoke tests timeout
2021-01-25 16:06:57 +09:00
Sergei Malafeev
54d00026be
JMS instrumentation: do not create spans if no messages are received ( #2091 )
...
* #1989 JMS instrumentation: do not create spans if no messages are received
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove the redundant else
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove JmsSessionInstrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-01-25 08:42:32 +02:00
Lauri Tulmin
4652ce183d
Replace remaining usages of deprecated SemanticAttributes class ( #2101 )
2021-01-22 12:05:54 +02:00