Trask Stalnaker
221deb1f98
Fix test logging ( #1194 )
2020-09-13 21:13:11 -07:00
Anuraag Agrawal
01ec2ad6a7
Add initial baseline instrumentation for AWS lambda runtime. ( #1192 )
...
* Add initial baseline instrumentation for AWS lambda runtime.
* narc
* Cleanup
* docs
* Remove sentence which is redundant with every manual instrumentation we provide.
2020-09-14 12:57:51 +09:00
Mateusz Rzeszutek
70a5a3eb6e
Implement some support for JAX-RS 2.1 additions ( #1184 )
...
* HTTP method `PATCH`
* Async resource methods returning a `CompletionStage`
2020-09-11 14:13:00 +03:00
Trask Stalnaker
7cf42b1377
Remove old kotlin coroutine instrumentation ( #1185 )
2020-09-11 11:38:50 +03:00
Rashmi
d2d19ef486
Lettuce 5.1 - Remove redis args from span attributes for command such as AUTH ( #1190 )
...
* Obfuscate args in db.statement for AUTH command in redis
* 💄 Changes
* Moved auth tests to separate class
* Reverted unnecessary changes
2020-09-11 17:20:34 +09:00
Mateusz Rzeszutek
9566315914
Support RESTeasy 4.0 version in unit tests ( #1082 )
...
* Support RESTeasy 4.0 version in unit tests
* Split jaxrs-2.0 into jaxrs-2.0-common and jaxrs-2.0-testing (similar to e.g. play)
* Support newest RESTEasy version in unit tests
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Support RESTeasy 4.0 version in unit tests - code review follow-up
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-11 07:21:16 +03:00
Anuraag Agrawal
266b8b927d
Split out artifact for javaagent SPI. ( #1187 )
...
* Split out artifact for javaagent SPI.
* Fix test - exporters are loaded by test and should not be on the classpath
* Fix
2020-09-11 07:09:04 +03:00
Anuraag Agrawal
a1802946fb
Update README for new release ( #1188 )
2020-09-10 18:56:54 +03:00
Sergei Malafeev
f0eaa5f0fa
JDK 11 HttpClient instrumentation ( #1121 )
...
* JDK 11 HttpClient instrumentation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of semicolon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* trace sync request
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of unnecessary gradle options
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* wip
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* end span when future completed
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove unneeded check
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of repeated test code
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of unneeded code
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove semicolon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* implement review comments
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Update instrumentation/httpclient/src/main/java/io/opentelemetry/instrumentation/auto/httpclient/HttpClientInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/httpclient/src/main/java/io/opentelemetry/instrumentation/auto/httpclient/HttpClientInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation/httpclient/src/test/groovy/JdkHttpClientTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* rename to java-httpclient
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove unused
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* follow redirects
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* remove semicolon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-10 16:04:52 +09:00
Anuraag Agrawal
16b7f5b345
Move AgentClassLoader out of public API. ( #1182 )
...
* Move AgentClassLoader out of public API.
* Move tests too
* Keep auto-api on bootstrap classpath.
2020-09-10 14:56:20 +09:00
dengliming
4959aa735f
Rename spring instrumentation modules ( #1125 )
2020-09-10 08:41:25 +09:00
Mateusz Rzeszutek
79b2ce3a90
Fix Servlet instrumentation for servlet-api 3.1+ - remove output stream wrapper ( #1167 )
2020-09-09 15:31:05 +03:00
Anuraag Agrawal
c1556fa359
Use platformClassLoader as muzzle parent instead of bootstrap. ( #1183 )
2020-09-09 17:57:03 +09:00
Jakub Wach
7080bdb9a4
spring mvc3 - proper span name in case of sec fail ( #718 ) ( #1122 )
2020-09-09 10:08:28 +03:00
Anuraag Agrawal
5289520203
Fix groups / base name for javaagent artifacts ( #1173 )
2020-09-09 09:38:29 +03:00
John Bley
030e9fe107
Properly track causality of kotlin suspend functions ( #1168 )
...
* Initial work on kotlin suspend functions.
Introduce new instrumentation to capture kotlin suspended coroutines
and track/update Context appropriately. Add high-concurrency test
showing the issue and that it is solved.
* spotlessApply
* Fix spelling of continuation.
* Fix kotlin style
* Add kotlin dependencies to muzzle
* Fix muzzle in another package that pulls in java-concurrent.
* Use runBlocking instead of a sleep to finish test
* Clarify and improve comments on how/why
* Move kotlin coroutines instrumentation to top-level instrumentation module
* Properly build muzzle check for kotlin-coroutines
* Merge kotlin-testing into regular src/test rather than separate module
* Clean up attach/detach logic
* Tighten bounds and skipVersions on kotlin muzzle
* Rename fields and clean up attach logic
* Clean up types/side-effect code
* spotlessApply
* Enhance muzzle testing to properly test latest kotlin.
Required updating a few kotlin-y things to latest version to properly resolve the jvm
variant of their new multiplatform stuff.
2020-09-09 14:11:00 +09:00
Mateusz Rzeszutek
70a06ef086
Fix a bug when FieldBackedProvider uses a map and value is set to null ( #1177 )
2020-09-09 14:10:17 +09:00
Anuraag Agrawal
7202d105ba
Auto instrumentation for logback event wrapping. ( #1180 )
2020-09-09 14:10:02 +09:00
Sergei Malafeev
8b62c173ba
add operation name to jms span name ( #1179 )
...
* #983 add operation name to jms span name
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of redundant method
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-09-09 10:25:37 +09:00
Anuraag Agrawal
8433ff9f5c
Restrict logback latest dep to non-alpha versions. ( #1176 )
2020-09-05 12:38:29 +03:00
Anuraag Agrawal
1217882a30
Move archivesBaseName into instrumentation gradle in a way that supports both old and new folder scheme. ( #1169 )
2020-09-04 12:38:58 +03:00
Anuraag Agrawal
fa3ae0921f
Use ClassValue and full name cache in AWS SDK 1.1 ( #1153 )
...
* Use ClassValue and full name cache in AWS SDK 1.1
* Mysterious class
* Muzzle
2020-09-04 14:59:02 +09:00
Anuraag Agrawal
d21db7b0a6
Add a logback appender that can be added to a config to export context IDs ( #1165 )
...
* Add a logback appender that exports IDs.
* Progress
* Finish
* NOTICE
2020-09-04 14:41:41 +09:00
Anuraag Agrawal
5c86bcc20d
Update SDK dependency to released 0.8.0 ( #1162 )
...
* Update SDK dependency to released 0.8.0
* Update exporter
* Fix fake-backend proto reference
2020-09-03 17:09:51 +09:00
Nikita Salnikov-Tarnovski
ec9c20b490
Don't wrap request/response in Jetty ( #1156 )
...
* Don't wrap request/response in Jetty
* Polish
* Add test
2020-09-03 16:18:28 +09:00
Anuraag Agrawal
6f783bc576
Make sure finatra is included on normal test classpath even when runn… ( #1163 )
...
* Make sure finatra is included on normal test classpath even when running latest dep tests.
* Move comment
2020-09-03 16:00:19 +09:00
Nikita Salnikov-Tarnovski
2b83c310da
More decorators translated to tracers ( #1148 )
2020-09-03 07:53:14 +03:00
Nikita Salnikov-Tarnovski
84da1b1897
Remove charged language ( #1159 )
2020-09-03 07:32:36 +03:00
Nikita Salnikov-Tarnovski
3eca8a4d47
Validate gradle wrapper only when changed ( #1157 )
...
* Validate gradle wrapper only when changed
* Validate gradle wrapper only when changed
2020-09-03 07:31:44 +03:00
Jakub Wach
f033fd451a
mapping redis (jedis) connection net.peer properties ( #1158 )
2020-09-03 12:55:23 +09:00
dengliming
256865146c
Fix redisson Nightly build ( #1150 )
...
* Fix redisson Nightly build
* Set a property affecting the URL when testing latest deps
* Add comments
* Fix review
2020-09-02 19:18:09 +09:00
Anuraag Agrawal
7ec06e2d26
Add missing constraint on opentelemetry-proto ( #1154 )
2020-09-02 14:29:48 +09:00
Tyler Benson
bae8d8d56d
Merge pull request #1107 from trask/dd-merge-part-1
2020-09-01 14:57:14 -04:00
Richard Startin
43d53c9c06
allow context propagation for kafka tombstones ( DataDog/dd-trace-java#1754 )
2020-09-01 10:31:24 -07:00
Richard Startin
278672595b
disable hystrix tags by default, enabled by system property ( DataDog/dd-trace-java#1743 )
2020-09-01 10:31:24 -07:00
Richard Startin
80ee4f1d7c
verify spring-scheduling supports lambdas ( DataDog/dd-trace-java#1750 )
2020-09-01 10:31:24 -07:00
Richard Startin
a012143ac0
don't cache classloaders which can be skipped by name ( DataDog/dd-trace-java#1732 )
2020-09-01 10:31:24 -07:00
Tyler Benson
f7b32e4fd5
Enable Async Propagation of trace in Kafka producer callback ( DataDog/dd-trace-java#1727 )
2020-09-01 10:31:24 -07:00
Tyler Benson
0cc35d36e5
Move Spring Scheduling RunnableWrapper to separate class ( DataDog/dd-trace-java#1717 )
2020-09-01 10:31:24 -07:00
Richard Startin
0d4fe92296
use spring-webflux-5.1+ ClientResponse.rawStatusCode when available ( DataDog/dd-trace-java#1711 )
2020-09-01 10:31:24 -07:00
Tyler Benson
e2aca0f378
Add muzzle reference detection for invokedynamic calls. ( DataDog/dd-trace-java#1712 )
2020-09-01 10:31:24 -07:00
Laplie Anderson
32fb96318b
Fix finatra tests for latest dependencies ( DataDog/dd-trace-java#1706 )
2020-09-01 10:31:24 -07:00
Laplie Anderson
4f7e97c0d6
Fix Spring filter instrumentation edge case ( DataDog/dd-trace-java#1700 )
2020-09-01 10:31:23 -07:00
Tyler Benson
9f4c1ae578
Separate out Scala ForkJoinPool instrumentation from java_concurrent ( DataDog/dd-trace-java#1687 )
2020-09-01 10:31:23 -07:00
Tyler Benson
9e20571dab
Separate out Akka ForkJoinPool instrumentation from java_concurrent ( DataDog/dd-trace-java#1685 )
2020-09-01 10:31:23 -07:00
Tyler Benson
d7d46b2ef9
Add instrumentation for Guava ListenableFutures context propagation ( DataDog/dd-trace-java#1665 )
2020-09-01 10:31:23 -07:00
Tyler Benson
e6be98f0e0
Add classloader matcher to validate scala/akka presence ( DataDog/dd-trace-java#1669 )
2020-09-01 10:24:52 -07:00
Nikita Salnikov-Tarnovski
ef39cdbf53
Remove unused GHAs ( #1147 )
2020-09-01 10:20:36 -07:00
Anuraag Agrawal
4c3e99fec8
Set instrumentation groups to unique values when using auto/library/testing pattern. ( #1145 )
2020-09-01 20:04:32 +09:00
Anuraag Agrawal
ecef123305
Bump burrunan/gradle-cache-action from v1 to v1.4 ( #1144 )
...
* Revert "Bump burrunan/gradle-cache-action from v1 to v1.3 (#1140 )"
This reverts commit 5bda9cd9fb
.
* 1.4
2020-09-01 17:24:27 +09:00