Ioannis Mavroukakis
f2de47a150
SpanAssert method names should reflect underlying Span method names ( #1307 )
2020-10-05 16:04:08 +09:00
Anuraag Agrawal
dadaac9a8c
Use 2-line license header to match SDK repo ( #1321 )
...
* Use 2-line license header to match SDK repo
* Apply change
2020-10-05 14:29:56 +09:00
Anuraag Agrawal
f2194a928c
Update to latest snapshot. ( #1304 )
2020-10-04 19:41:10 -07:00
Pavol Loffay
57ead9532a
Fix typos in servlet docs ( #1302 )
...
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-10-02 17:31:15 +03:00
Nikita Salnikov-Tarnovski
a654262f33
Exclude just released and supported Lettuce 6 ( #1308 )
2020-10-02 16:17:16 +03:00
Nikita Salnikov-Tarnovski
88707c3bb0
Review DB semantic conventions ( #1284 )
2020-10-01 11:17:09 -07:00
Mateusz Rzeszutek
c7fc26188d
Remove instrumentation (and tooling) specific properties from Config ( #1286 )
2020-09-30 11:27:06 -07:00
Anuraag Agrawal
210c669643
Remove AgentSpecification ( #1291 )
2020-09-30 17:34:29 +09:00
Nikita Salnikov-Tarnovski
7b1b399a29
Convert more decorators to tracers ( #1275 )
...
* More decorators to tracers
* Convert more decorators to tracers
* Fixes
2020-09-29 09:41:09 +03:00
Mateusz Rzeszutek
9e591bb01a
Refactoring Config into @AutoValue POJO ( #1254 )
2020-09-28 22:08:45 -07:00
Trask Stalnaker
378843f673
Limit twilio muzzle range ( #1280 )
2020-09-28 21:41:27 -07:00
Trask Stalnaker
8954f222c0
Update to the latest opentelemetry-java 0.9.0-SNAPSHOT ( #1266 )
2020-09-26 20:44:28 -07:00
Pavol Loffay
91b177165c
Bump Java from 14 to 15 in CI ( #1252 )
...
* Bump Java from 14 to 15 in CI
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Review comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* adjust comment
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Bump jacoco to 0.8.6
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* maxJavaVersionForTests
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Anuraag Agrawal
fc47fd56e5
Add instrumentation of SQS. ( #1210 )
...
* Add instrumentation of SQS.
* More play
* Finish
* process instead of weird
* Cleanups
* Update instrumentation/aws-lambda-1.0/auto/src/main/java/io/opentelemetry/instrumentation/auto/awslambda/v1_0/AbstractAwsLambdaInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-24 11:53:46 +09:00
Nikita Salnikov-Tarnovski
85e2db8d35
Convert all remaining database client decorators to tracers ( #1236 )
...
* Geode tracer
* Memcache tracer
* Jedis tracer
* Rediscala tracer
* ElasticsearchTransport tracer
* ElasticsearchRest tracer
* Clean up HibernateDecorator
* Couchbase tracer
* Polish
2020-09-23 20:11:30 +03:00
Nikita Salnikov-Tarnovski
be293419cd
Fix depenency declaration ( #1248 )
2020-09-23 09:31:41 -07:00
Nikita Salnikov-Tarnovski
e74ffe2e52
Remove support for java7 from buildscripts ( #1229 )
...
* Remove support for java7 from buildscripts
* Remove support for java7 from buildscripts
2020-09-23 15:40:21 +03:00
Nikita Salnikov-Tarnovski
f76473de92
Fix nightly build failure ( #1234 )
2020-09-22 11:57:19 +03:00
Nikita Salnikov-Tarnovski
b240cf95e7
Review semantic convention for RPC spans ( #1219 )
...
* Review gRPC semantic conventions
* Review RMI semantic conventions
* Muzzle fix
* Update compliance table
* Update compliance table
2020-09-20 12:13:47 +03:00
Mateusz Rzeszutek
d89ce818ef
Implement MDC auto-instrumentation for log4j2 ( #1200 )
...
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j2 2.7
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j2
* Implement MDC auto-instrumentation for log4j1
* Implement MDC auto-instrumentation for log4j2
2020-09-18 17:53:43 +03:00
Nikita Salnikov-Tarnovski
beb1901f5f
Review semantic convention for Http Client spans ( #1214 )
...
* Review semantic convention for Http Client spans
* Polish
* Update instrumentation/google-http-client-1.19/src/test/groovy/AbstractGoogleHttpClientTest.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-18 17:52:08 +03:00
Jakub Wach
e8b54885c4
Enhance AWS DynamoDB instrumentation ( #1191 )
2020-09-18 10:48:56 +03:00
Mateusz Rzeszutek
bc8224f88f
Implement MDC auto-instrumentation for log4j1 ( #1211 )
2020-09-17 12:07:12 +03:00
Anuraag Agrawal
9635a5e84f
Force flush after finishing lambda function. ( #1204 )
...
* Force span flush after lambda invocation.
* Force flush after finishing lambda function.
* bleh
* Better revert
* Accessor
* OpenTelemetrySdkAccess
2020-09-17 14:26:24 +09:00
Mateusz Rzeszutek
d95235476e
Logback MDC auto-instrumentation gets muzzled and does not work ( #1208 )
...
* Logback MDC auto-instrumentation gets muzzled and does not work
* Update instrumentation/logback/logback-1.0.0/auto/src/main/java/io/opentelemetry/instrumentation/auto/logback/v1_0_0/LoggingEventInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Logback MDC auto-instrumentation gets muzzled and does not work
Moved UnionMap to internal package
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-16 14:31:47 +03:00
Nikita Salnikov-Tarnovski
7e41b516ee
Review semantic convention for Http Server spans ( #1207 )
...
* Review semantic convention for Http Server spans
* Polish
2020-09-16 09:52:11 +03:00
Anuraag Agrawal
4c54656f1e
Add configuration for error prone / nullaway to allow opting in packa… ( #1203 )
...
* Add configuration for error prone / nullaway to allow opting in package by package.
* Guava annotated too
2020-09-15 18:59:50 +09:00
Anuraag Agrawal
912a159c19
Update to latest SDK snapshot. ( #1202 )
2020-09-15 17:49:10 +09:00
Anuraag Agrawal
a9f0e21bfe
Support injecting resources into classloader and use it in aws-sdk-2.… ( #1172 )
...
* Support injecting resources into classloader and use it in aws-sdk-2.2 instrumentation.
* Use URL for duplication check instead of reading content and inject URLs directly instead of reading to byte array first.
* Remove getResource
2020-09-15 17:38:20 +09:00
Nikita Salnikov-Tarnovski
fd07525744
Reactor bugs ( #1189 )
...
* Demonstrating bugs with Project Reactor and Reactor Netty support
* Intermediate kinda working state
* Seems to work
* Format
* Always use context active during subscription
* Fix muzzle
* Format
* Test fix
* Ignore failing test for now
* Add attribution and links to borrowed code
* Fix hook reset
* Polish
* Revert "Ignore failing test for now"
This reverts commit 1867995a
* Polish
* Fixes #1103
2020-09-15 09:57:03 +09:00
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
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
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
Jakub Wach
7080bdb9a4
spring mvc3 - proper span name in case of sec fail ( #718 ) ( #1122 )
2020-09-09 10:08:28 +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
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
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
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
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
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
dengliming
8415a908b5
Add support for redisson instrumentation ( #1132 )
2020-08-31 18:05:50 -07:00
Trask Stalnaker
7022f10b81
Remove unused code ( #1128 )
2020-08-29 22:06:13 -07:00
Munir Abdinur
f4a178613a
Add a tutorial for the OpenTelemetry Spring Starters ( #1110 )
2020-08-29 22:05:53 -07:00
Renan Rodrigues Ramos
c38db413a7
Adding constant type in spring instrumentation README.md ( #1116 )
2020-08-27 10:39:56 -07:00
Nikita Salnikov-Tarnovski
c0cd7ca23b
Removing some gralde warnings ( #1094 )
2020-08-26 19:58:55 -07:00
Trask Stalnaker
90efdf2cd0
Remove executor queue offer check ( #1090 )
2020-08-26 12:49:12 -07:00
Nikita Salnikov-Tarnovski
bc98955176
Update to latest otel-java snapshot ( #1057 )
...
* Update to latest otel-java snapshot
* Upgrade to working otel-java snapshot
* Update to latest otel-java snapshot
* Update to latest otel-java snapshot
2020-08-26 22:03:28 +03:00
Munir Abdinur
d58eca23f8
move instrumentation-core:spring project to instrumentation ( #1092 )
2020-08-25 15:32:01 +09:00
dengliming
7dd4a6082d
Fix hsqldb jdbc urls parsing ( #1087 )
...
* Fix hsqldb jdbc urls parsing
* Fix VertxReactive testcase
* Fix review and remove the useless param declaration.
2020-08-23 18:36:54 +03:00
Mateusz Rzeszutek
5fbc316cfc
Add missing RESTEasy (and Jersey) unit tests ( #1058 )
...
* Add missing RESTEasy (and Jersey) unit tests
* Standard HTTP server test (extending HttpServerTest)
* AsyncResponse tests
* Error handling in JAX-RS HTTP client
* HTTP client JDK proxies (this one is RESTEasy only)
2020-08-21 10:17:49 -07:00
Nikita Salnikov-Tarnovski
2cdd3e3b95
Gradle cache will ignore bootstrap class path for tests ( #1080 )
...
* More attempts to fix cache misses
* Pressing Alt-Enter
2020-08-21 17:02:27 +03:00
Anuraag Agrawal
c7267fff76
Revert "Implement Armeria instrumentation context propagation. ( #979 )" ( #1078 )
...
This reverts commit 56360a8137
.
2020-08-21 11:23:27 +03:00
Anuraag Agrawal
56360a8137
Implement Armeria instrumentation context propagation. ( #979 )
...
* Implement Armeria instrumentation context propagation.
* Doc and cleanup
* Update
* Clean
2020-08-21 11:22:14 +09:00
dengliming
41bf322c6c
Remove UrlInstrumentation. ( #1059 )
2020-08-19 21:54:44 -07:00
Trask Stalnaker
282859c963
Remove some unnecessary dependencies ( #1052 )
2020-08-19 21:51:59 -07:00
Trask Stalnaker
e9b5bd48f7
Fix running single tests ( #1066 )
2020-08-19 21:17:30 -07:00
Trask Stalnaker
269b3575ef
Format gradle files ( #1070 )
2020-08-19 19:05:45 -07:00
Trask Stalnaker
5dbb16d71a
Drop lagom test ( #1069 )
2020-08-19 19:01:47 -07:00
Helen Y
c4c4558b09
More refactoring ( #1040 )
2020-08-19 15:43:48 -07:00
dengliming
9aa64abf63
Add version suffix for akka-context-propagation module. ( #1055 )
2020-08-19 16:35:19 +03:00
Trask Stalnaker
0fb7614103
Use Futures.addCallback() and other cleanup ( #1050 )
...
* Use Futures.addCallback() and other cleanup
* muzzle
* Remove suppression
2020-08-19 15:20:35 +09:00
Anuraag Agrawal
fbd4018e4b
Don't run latest deps test for servlet-common ( #1051 )
2020-08-19 14:55:09 +09:00
Trask Stalnaker
5d2ae07797
Use startScope() on all HttpClientTracers ( #971 )
2020-08-18 16:59:30 -07:00
Anuraag Agrawal
bbfdbb39c0
Create abstraction for library dependencies for instrumentation. ( #977 )
...
* Create abstraction for library dependencies for instrumentation.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-19 08:57:31 +09:00
Anuraag Agrawal
1b9b8b49b6
Separate out testing module for mongo. ( #1041 )
...
* Separate out testing module for mongo.
* Newline
2020-08-18 14:55:56 +09:00
Anuraag Agrawal
b507a2b803
Separate out shared test sources for couchbase/play-ws to another pro… ( #1029 )
...
* Separate out shared test sources for couchbase/play-ws to another project.
* git add missing files.
* Rename
2020-08-18 13:25:29 +09:00
Anuraag Agrawal
201324d799
Use fixed versions for external-annotation tests. ( #1027 )
2020-08-18 13:05:39 +09:00
Anuraag Agrawal
d636364d39
Remove elasticsearch-transport-2.0 ( #1024 )
2020-08-17 10:51:28 -07:00
Anuraag Agrawal
0afb55ab40
Remove latestDepTest from rxjava-1.0 which doesn't have any test sources. ( #1028 )
2020-08-17 16:36:31 +03:00
Trask Stalnaker
14ff14f2b1
Remove thread utils module ( #1017 )
...
* Remove thread-utils module
* No need for extra thread pool
2020-08-17 11:10:48 +03:00
Trask Stalnaker
2b898dd490
Remove Java 8 test restriction ( #1019 )
2020-08-16 21:18:52 -07:00
Trask Stalnaker
d9dca25402
Remove unused javaSubPackage config ( #1020 )
2020-08-16 21:18:10 -07:00
Trask Stalnaker
5bce79df36
Remove unnecessary getVersion overrides ( #1004 )
2020-08-16 10:13:35 -07:00
Anuraag Agrawal
5b43e328f5
Fix jms2 tests and use a separate source set for them instead of latestDepTest ( #1015 )
...
* Update JMS2 tests
* Finish
2020-08-16 18:00:41 +09:00
Trask Stalnaker
7159d04b8d
Change groovy import order ( #1013 )
...
* Update docs
* Format all groovy code
* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker
414213f2d1
Remove final from parameters ( #1003 )
2020-08-15 22:35:51 -07:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Trask Stalnaker
4062d1c9b4
Remove maxJavaVersionForTests from netty-4.0 ( #1006 )
2020-08-15 21:28:25 -07:00
Trask Stalnaker
4169a76fda
Remove unused / uncompilable slf4j-mdc module ( #1008 )
2020-08-15 21:28:07 -07:00
Trask Stalnaker
a297175edd
Propagate context not span in grpc instrumentation ( #987 )
2020-08-15 11:13:30 -07:00
Helen Y
bb235a0aa3
Update package name for tracers ( #991 )
2020-08-14 21:07:18 -07:00
Helen Y
888ebe17a2
Delete HttpClientDecorator ( #967 )
2020-08-14 13:10:56 -07:00
Sergei Malafeev
43e0141056
add some JMS attributes ( #963 )
2020-08-14 09:42:06 -07:00
Anuraag Agrawal
458b7d42b2
Stub out CorrelationsContextUtils for now to allow OT shim to work. ( #974 )
2020-08-14 18:00:05 +09:00
Trask Stalnaker
f46ba88c29
Rename library-api artifact to instrumentation-api ( #969 )
2020-08-13 22:43:39 -07:00
Trask Stalnaker
f940b2d2de
Use OpenTelemetry.getTracer() shortcut ( #965 )
2020-08-14 07:11:06 +03:00
Trask Stalnaker
7818e33178
Package renaming ( #970 )
2020-08-13 20:14:46 -07:00
Helen Y
09c597e8e0
Change the rest of decorators to tracers ( #922 )
2020-08-13 11:55:08 -07:00
Trask Stalnaker
622ab27ae8
Better naming around around shaded/unshaded ( #953 )
2020-08-12 22:51:04 -07:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Trask Stalnaker
1816eb9cbe
Rename annotations module to external-annotations ( #951 )
2020-08-12 22:49:50 -07:00
Anuraag Agrawal
e9d456d616
Instrument DefaultSpan.create to return a bridged span. ( #947 )
2020-08-12 10:39:47 -07:00
Nikita Salnikov-Tarnovski
e26801482c
Add document describing current problem with context propagation ( #910 )
...
* Add document describing current problem with context propagation
* Update docs/contributing/inter-thread-context-propagation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update docs/contributing/inter-thread-context-propagation.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* More clarifications
* More clarifications
* Better example
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 20:33:07 +03:00
Anuraag Agrawal
c4a494cd68
Add instrumentation for Armeria WebClient. ( #920 )
...
* Add instrumentation for Armeria WebClient.
* Format:
* httpurlconnection
* Docs and consistency:
2020-08-12 17:33:36 +09:00
Anuraag Agrawal
0eafc28608
Run tests using JUnit5 platform and remove SpockRunner ( #770 )
...
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
2020-08-12 11:05:26 +09:00
Munir Abdinur
56e1549378
Add spring webflux documentation ( #916 )
...
* add readme and rename springwebflux package
* add readme and rename springwebflux package
* fix bean type
* fix readme
* format
* fix gradle
* fix gradle
* fix gradle
* updated package name
* clean up readme
* Update README.md
* Update instrumentation-core/spring/spring-webflux-5.0/README.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update instrumentation-core/spring/spring-webflux-5.0/README.md
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* format, clean up comments
* clean ups
* Update README.md
* fix conflict
* fix helper class names
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 09:27:17 +09:00
Helen Y
5b114d0ac8
Change aws-sdk client decorators to tracers ( #918 )
2020-08-11 17:10:02 -07:00
Trask Stalnaker
275fab6ea5
Retry all tests ( #941 )
2020-08-11 00:20:47 -07:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
2c786ab1a1
Fix WithSpan annotation instrumentation ( #929 )
2020-08-09 21:46:50 -07:00
Trask Stalnaker
51717d1e2f
Better info message ( #937 )
2020-08-10 07:31:58 +03:00
Trask Stalnaker
f9f6d1f6b3
Change library shading approach ( #930 )
2020-08-09 11:16:34 -07:00
Trask Stalnaker
0eda3dbd01
Avoid ClassCastException on direct SDK access ( #931 )
2020-08-09 11:16:04 -07:00
Anuraag Agrawal
e991cae7f0
Don't use non-fixed test name for akka executor ( #933 )
2020-08-09 11:00:10 -07:00
Trask Stalnaker
d85cce0f62
Remove annotation instrumentation vertx dependency ( #917 )
...
* Remove annotation instrumentation vertx dependency
* Remove annotation testing dependency
2020-08-08 20:36:27 -07:00
Nikita Salnikov-Tarnovski
3b68c82f90
Extract Akka context propagation into separate module ( #911 )
2020-08-07 20:24:26 -07:00
Helen Y
1fcb807590
Refactor HttpClient typed Decorators to Tracers ( #893 )
...
* initial work
* Change OkHttp decorators to tracers
* Change AkkaHttpClient decorator to tracer
* Change ClientDecorator to GrizzlyClientTracer
* Change NettyClientDecorator to Tracer
* Change netty3.8 client decorator to tracer
* Update netty4.1 client decorator to tracer
* Override startScope in child tracers when applicable
* Change KHttpDecorator to tracer
* Change HttpUrlConnectionDecorator to tracer
* Fix muzzle validation failure for grizzly client
* Fix a ratpack client test failure
* Address feedback
* Update delegate for setPeer
* Remove nested try
* Remove unnecessary null check
* Remove asserts
* Add a comment for overriding startSpan(String spanName)
* Remove an irrelevant comment
* Throw an exception when getSetter is null
* Change onPeerConnection to static
* Change getSetter() to be abstract
2020-08-06 17:14:19 -07:00
Nikita Salnikov-Tarnovski
46dfa263af
Remove HttpServerTestAdvice ( #897 )
...
* Remove HttpServerTestAdvice
* Trying to fix
2020-08-06 13:05:55 +03:00
Anuraag Agrawal
2ac65a67d5
Replace Spock retry with Gradle retry. ( #908 )
...
* Replace Spock retry with Gradle retry.
* Retry akka for real
* Warning
2020-08-06 17:59:40 +09:00
Trask Stalnaker
2b8cc4a5ae
Fix grizzly instrumentation ( #887 )
2020-08-03 22:57:51 -07:00
Trask Stalnaker
dce9d6db47
Remove ExceptionLogger refs from instrumentation ( #883 )
2020-08-03 19:04:27 -07:00
Trask Stalnaker
303d8f427f
Add response generic parameter to HttpServerTracer ( #870 )
2020-08-03 12:52:55 -07:00
Anuraag Agrawal
ad3963303d
Merge integration tests back into test. ( #871 )
2020-08-02 15:41:47 +09:00
Anuraag Agrawal
87bf97da70
Generate bootstrap jar with gradle instead of when running tests. ( #840 )
...
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-02 10:17:52 +09:00
Trask Stalnaker
2af43dbf26
Rename trace.methods.exclude config ( #842 )
2020-07-31 12:30:08 -07:00
Trask Stalnaker
5dc2ca350a
Update config property prefix from ota to otel ( #841 )
...
* Update config property prefix from ota to otel
* more
* format
* more
2020-07-31 08:29:29 +03:00
Frank Spitulski
adab0efcd6
feat(tags): http ( #827 )
...
flavour, user agent, client ip
2020-07-29 23:57:12 -07:00
Trask Stalnaker
1c43615de7
Fix tests on newly released grpc version 1.31.0 ( #839 )
2020-07-29 23:22:04 -07:00
Helen Y
b659ee8223
Apply new database semantic attributes ( #823 )
2020-07-28 17:31:33 -07:00
Helen Y
44fcf8115b
Update database semantic conventions ( #785 )
2020-07-28 11:55:55 -07:00
Trask Stalnaker
d63db19167
Remove ratpack duplicate error capture ( #820 )
...
* Remove ratpack duplicate error capture
* Test exceptions again
2020-07-28 10:00:40 +03:00
Anuraag Agrawal
f6594e1a67
Use Span.recordException for logging throwable ( #813 )
...
* Use Span.recordException
* Fix tests
* Cleanup
* Update instrumentation/jsp-2.3/src/test/groovy/JSPInstrumentationBasicTests.groovy
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Spotless (IntelliJ acts weird with groovy files for me :()
* Update for merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-28 14:44:42 +09:00
Nikita Salnikov-Tarnovski
e9215c739f
Temporary workaround for https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/787 ( #814 )
2020-07-27 20:41:58 +03:00
Trask Stalnaker
6508ffc889
Remove logging instrumentation ( #803 )
2020-07-27 18:56:25 +03:00
Trask Stalnaker
3a24611d4a
Rename kubernetes module ( #804 )
2020-07-27 10:46:17 +03:00
Anuraag Agrawal
c3299fac30
Add instrumentation for Armeria (server) ( #756 )
...
* Add instrumentation for Armeria (server)
* Spotless
* Use end timestamp too and fix auto test by not using ClassRule
* Reduce number of less useful lambdas and add reference to useful lambda.
* Cleanup
* README
* Move package to v1_0
* No storage
2020-07-27 15:54:07 +09:00
Anuraag Agrawal
688733ad43
Update OTel snapshot to 723 for recordException ( #786 )
...
* Update OTel snapshot to 723 for recordException
* Fix various servlet issues
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 14:32:05 +09:00
Trask Stalnaker
d1015a41af
Simplify javaconcurrent instrumentation ( #792 )
...
* Remove unnecessary SpanWithScope
* Inline method
2020-07-26 11:30:14 +03:00
Nikita Salnikov-Tarnovski
62e68689f0
Use testcontainers in CI as well ( #780 )
...
* Use testcontainers in CI as well
* Use testcontainers in CI as well
2020-07-24 12:29:18 +03:00
Nikita Salnikov-Tarnovski
91fde9a915
Update server span ( #774 )
...
* Change name on SERVER spans
* Change name on SERVER spans
* Fixes
* Fixes
* Update instrumentation/spring-webmvc-3.1/src/main/java/io/opentelemetry/auto/instrumentation/springwebmvc/DispatcherServletInstrumentation.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-24 07:46:50 +03:00
Richard Startin
95492b7392
Handle null header values ( DataDog/dd-trace-java#1650 )
2020-07-23 13:34:12 -07:00
Lev Priima
ad1941528c
MDC ThreadLocal initValue should be modifiable for SLF4j's copy-on-write thread context map ( DataDog/dd-trace-java#1645 )
2020-07-23 13:34:12 -07:00
Helen Y
509a234ee3
Refactor net.peer.name and net.peer.ip ( #742 )
2020-07-22 20:29:12 -07:00
Anuraag Agrawal
5fa1efd38c
Target OTel SDK snapshot ( #746 )
2020-07-22 10:37:56 -07:00
Nikita Salnikov-Tarnovski
fcf4319aac
Faster tests ( #725 )
...
🎉
2020-07-22 10:10:34 -07:00
Frank Spitulski
d6e39f89e6
feat(servlet): content length ( #726 )
2020-07-21 20:24:32 -07:00
Trask Stalnaker
3cc735742f
Temporary fix for finatra latestDepTest failure ( #747 )
2020-07-22 11:14:08 +09:00
Anuraag Agrawal
f2f3624d17
Inject span context into log4j2 2.13.2+ context. ( #735 )
2020-07-21 18:49:13 -07:00
Helen Y
86c438b154
Remove final from local variables ( #732 )
...
* Remove final from local variables
2020-07-20 13:53:34 +09:00
Anuraag Agrawal
d8355c672d
Docs for writing new instrumentation... ( #652 )
...
* Docs for writing new instrumentation
2020-07-19 14:21:19 +09:00
Alexey Zhokhov
f3421e91a0
Remove Lombok ( #672 )
...
* Gradle 6.5.1.
* Skip download javadoc and sources automatically in IntelliJ IDEA.
* Added mavenLocal to repositories.
* Removed Lombok usage.
* Removed duplicated idea config.
* Code format.
* Removed useless usage of Objects.requireNonNull.
* Use instanceof to comparing objects.
* Code format.
* Code format.
* Fixes after merge.
* Fixed sneakyThrow exception.
* Code format.
2020-07-18 15:52:55 +03:00
Nikita Salnikov-Tarnovski
9b6b5e621f
Remove http server decorator ( #701 )
...
* Ratpack migrated from ServerDecorator
* Finatra migrated from ServerDecorator
* Play 2.3 migrated from ServerDecorator
* Play 2.4 migrated from ServerDecorator
* Play 2.6 migrated from ServerDecorator
* Polish
* Polish
* Organize imports
* Relax muzzle checks
* Ratpack version 1.4 is now supported
* Fix muzzle failures on Play
2020-07-17 20:14:19 +03:00
Anuraag Agrawal
2dfb355332
Support user agent in khttp ( #719 )
2020-07-17 09:47:32 -07:00
Munir Abdinur
3662cee7ec
Create instrumentation-core apache-httpclient-4.0 ( #694 )
2020-07-16 20:00:26 -07:00
Nikita Salnikov-Tarnovski
9f1ffbe38c
Remove attribute `span.origin.type` ( #712 )
2020-07-16 10:00:45 -07:00
Nikita Salnikov-Tarnovski
0e2a85c6dd
Add support for WithSpan.kind() ( #711 )
2020-07-16 17:14:12 +03:00
Trask Stalnaker
f2022556a7
Make sure that filter chain always runs ( #705 )
2020-07-16 07:22:38 +03:00
Nikita Salnikov-Tarnovski
23ae6980d5
Lettuce and Cassandra migrated from deprecated Decarator to new Tracer ( #681 )
...
* Lettuce and Cassandra migrated from deprecated Decarator to new Tracer
* Polish
* Polish
* Split a connection specific handling out of Lettuce database client tracers.
This eliminates the need of awkward method override in the common DatabaseClientTracer.
* Muzzle fix
* Format
2020-07-15 13:37:22 +03:00
Trask Stalnaker
043d8ab836
Fix muzzle failure ( #696 )
...
* Fix muzzle failure
* comment
2020-07-15 06:30:59 +03:00
Munir Abdinur
53eca7bccc
[2] Create instrumentation-core:spring:spring-webflux-5.0-core ( #639 )
2020-07-13 09:44:41 -07:00
Nikita Salnikov-Tarnovski
d96a771dd0
Update to otel-java 0.6.0 ( #662 )
...
* Working against otel-java 0.6.0-SNAPSHOT
* Muzzle fix
* Better comment
* Now works with otel-java 0.6.0
* Fix muzzle
2020-07-11 09:10:28 +03:00
Nikita Salnikov-Tarnovski
8fa37618a0
Kafka context propagation is configurable for consumer as well. ( #656 )
...
* Kafka context propagation is configurable for consumer as well.
`ota.kafka.client.propagation.enabled` configuration property now governs both injecting context on the producer side and reading context on the consumer side.
* Rename config property
* Revert "Rename config property"
This reverts commit 450ea8ffc7
.
2020-07-10 21:46:55 +03:00
Min Kim
ce14b394f7
Kubernetes java client instrumenting ( #651 )
...
* kubernetes java client support
* addressing review comments
2020-07-10 21:24:39 +03:00
Nikita Salnikov-Tarnovski
b77fb267f3
Gradle warnings ( #659 )
...
* More gradle warnings fixes
* Disable javadoc where it is definitely not needed
* Polish
2020-07-10 07:57:54 +03:00
Anuraag Agrawal
2ef6aac61c
Separate out core reactor instrumentation ( #650 )
...
* Separate out core reactor instrumentation
2020-07-09 14:48:15 +09:00
Nikita Salnikov-Tarnovski
763779e08a
Move servlet instrumentations around ( #601 )
2020-07-08 16:43:36 -07:00
Trask Stalnaker
fedd805a44
Fix response header capture ( #649 )
2020-07-08 08:29:02 +03:00
Sergei Malafeev
b78abac82c
#598 Rename "tags" to "attributes" ( #645 )
2020-07-07 21:03:41 -07:00
Anuraag Agrawal
8f3b7565b0
Shade AWS instrumentation library when using in agent ( #644 )
...
* Shade AWS instrumentation library when using in agent
* Cleanup and doc
* spotless
2020-07-08 12:36:55 +09:00
Nikita Salnikov-Tarnovski
a62801649f
More fixes for Gradle warnings ( #643 )
...
* More gradle deprecation warnings fixed
* More gradle deprecation warnings fixed
* More fixes
* More fixes
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-07-07 15:02:07 +03:00
Nikita Salnikov-Tarnovski
3a4470f800
Server spans ( #634 )
...
* Milestone 1
* Netty 4.1 done
* Netty 4.0 done
* Netty 3.8 done
* All tests pass
* Test fix
* Last proper server tracers done
* Format fix
* Tests fixed
* Polish
* Polish
2020-07-07 13:48:51 +03:00
Sergei Malafeev
9a5954a8ff
#593 Remove HttpClientTest.READ_TIMEOUT_MS ( #635 )
...
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-07-07 08:24:42 +03:00
Nikita Salnikov-Tarnovski
d09fa8a943
propagate context across thread pools ( #638 )
...
* propagate context across thread pools
* Revert spotbugs plugin version bump
2020-07-07 07:23:45 +03:00
Anuraag Agrawal
924a8fd9b0
Remove unused classes from reactor instrumentation ( #641 )
2020-07-07 13:04:24 +09:00
Trask Stalnaker
4f48cf6565
Remove response -> request context store ( #630 )
...
* Simplify response to request context store
* Remove response to request context store
* Fix test
2020-07-05 14:39:38 +03:00
Trask Stalnaker
10e917bfa9
Better JMS span names ( #626 )
2020-07-02 10:31:31 -07:00
Anuraag Agrawal
1aae2bd7f0
Add extension point for HTTP client decorators to return headers gene… ( #623 )
...
* Add extension point for HTTP client decorators to return headers generically instead of only user agent.
2020-07-02 14:29:21 +09:00
Anuraag Agrawal
be7841ca33
Use gRPC Status for thrown exceptions too and remove redundant legacy… ( #615 )
...
* Use gRPC Status for thrown exceptions too and remove redundant legacy status attributes.
2020-07-01 12:22:09 +09:00
Trask Stalnaker
b3dd5a020b
Simplify grizzly instrumentation, Part 2 ( #618 )
2020-06-30 20:02:19 -07:00
Trask Stalnaker
e2a0504bb2
Simplify grizzly instrumentation, Part 1 ( #604 )
2020-06-30 17:44:11 -07:00
Richard Startin
9e28828cb5
Handle kafka tombstones ( DataDog/dd-trace-java#1622 )
2020-06-30 11:15:50 -07:00
Tyler Benson
4a943c8411
Use Spotless for formatting ( DataDog/dd-trace-java#1619 )
2020-06-30 11:15:48 -07:00
Richard Startin
b558c50229
Add missing classloader matchers for expensive matchers ( DataDog/dd-trace-java#1617 )
2020-06-30 11:13:22 -07:00
Richard Startin
cab03e0580
Remove anonymous class from spring webmvc-3.1 ( DataDog/dd-trace-java#1611 )
2020-06-30 11:13:21 -07:00
Laplie Anderson
45dc02d964
Fix Spring handler mapping affecting character encoding ( DataDog/dd-trace-java#1595 )
2020-06-30 11:13:20 -07:00
Sergei Malafeev
5f70b521b7
#560 Consolidate src/main/java8 and src/main/java9 into src/main/java ( #617 )
...
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-06-30 16:34:59 +03:00
Anuraag Agrawal
77654a44bc
Always translate HTTP status code to Status ( #606 )
...
* Translate HTTP status code to Status
2020-06-30 08:27:52 +09:00
Anuraag Agrawal
be0c966854
Map gRPC status to OTel status. ( #609 )
2020-06-29 13:32:06 -07:00
Nikita Salnikov-Tarnovski
3418ebf6f7
More module renames ( #610 )
2020-06-29 13:28:39 -07:00
Trask Stalnaker
f37c1abe11
Fix JerseyClient sporadic test failure ( #603 )
2020-06-29 08:07:29 +03:00
Trask Stalnaker
1411c38ba4
Fix khttp sporadic test failure ( #591 )
2020-06-28 12:08:06 -07:00
Nikita Salnikov-Tarnovski
de1fb295cb
Now publish all instrumentations as well. ( #565 )
...
* Now publish all instrumentations as well.
Changed groupId to `io.opentelemetry.instrumentation`.
Removed `opentelemetry` from auto-exporters' artifactIds.
Some instrumentations will need moving around to have better names, e.g. servlets. Should I do it right away?
* Polish
* Unify names of published artifacts
* Renamed some modules
* Fix CI config
* Rename project-reactor back to reactor
2020-06-27 08:57:24 +03:00
Nikita Salnikov-Tarnovski
bfd7f4428d
Propagate full Context while processing http server requests ( #573 )
...
* Propagate full Context while processing http server requests
2020-06-26 20:13:12 +03:00
Nikita Salnikov-Tarnovski
fc2d679259
Propagate context ( #572 )
...
* First cut on propagating full Context instead of just Span
* First cut on propagating full Context instead of just Span
* Polish
* Polish
* Format
2020-06-26 08:18:14 +03:00
Anuraag Agrawal
874b157fe5
Newline between license and package. ( #581 )
2020-06-25 13:31:16 -07:00
Nikita Salnikov-Tarnovski
9a52f6708e
Gradle dependencies cleanup ( #556 )
...
* Bootstrap fixed
* Tooling fixed
* Testing fixed
* All instrumentation tests pass
* All tests pass
* Fix test
* Muzzle workaround
* Muzzle fix
* Update instrumentation/trace-annotation/trace-annotation.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-24 12:01:14 +03:00
Nikolay Martynov
84d4e24989
Upgradle gradle to 6.5 ( DataDog/dd-trace-java#1589 )
2020-06-23 14:08:46 -07:00
Richard Startin
4e836f1c72
Replace remaining named disjunctions with namedOneOf or namedNoneOf ( DataDog/dd-trace-java#1584 )
2020-06-23 14:08:45 -07:00
Richard Startin
0fad251165
Introduce matcher for membership of a set of names ( DataDog/dd-trace-java#1583 )
2020-06-23 14:08:45 -07:00
Laplie Anderson
f628f02de6
Do not attempt to instrument websocket upgrade handlers ( DataDog/dd-trace-java#1567 )
2020-06-23 14:08:45 -07:00
Richard Startin
a252985562
Cache span names derived from class and method names ( DataDog/dd-trace-java#1562 )
2020-06-23 14:08:44 -07:00
Brian Devins-Suresh
07c64f15e1
Update play-2.6 instrumentation to support Play version 2.8.x ( DataDog/dd-trace-java#1521 )
2020-06-23 14:08:44 -07:00
Lev Priima
da15d0de64
ApacheHttpClientRedirectInstrumentation copy headers from original request to redirect if original redirect headers were empty ( DataDog/dd-trace-java#1539 )
2020-06-23 14:08:44 -07:00
Tyler Benson
88c14dcab2
Add some tests for Java CompletableFuture ( DataDog/dd-trace-java#1546 )
2020-06-23 14:08:44 -07:00
Anuraag Agrawal
918d3913e3
Populate user-agent in HTTP clients. ( #540 )
2020-06-22 21:13:12 -07:00
Trask Stalnaker
126c972864
Optimization for expensive type matcher ( #558 )
2020-06-22 19:17:34 -07:00
Trask Stalnaker
82a1b35828
Update otel api instrumentation module name ( #551 )
...
* Update otel api instrumentation module name
* Remove vbeta subpackage
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-22 16:42:55 +03:00
Trask Stalnaker
9dcb079aa6
Fix duplicate log capture, part 2 ( #554 )
2020-06-22 11:13:36 +03:00
Trask Stalnaker
f61b316b67
Make Cassandra instrumentation Java 7 compatible ( #543 )
2020-06-20 16:52:02 -07:00
Trask Stalnaker
9cf0cb6b1e
Fix duplicate log capture ( #544 )
2020-06-19 08:45:34 +03:00
Anuraag Agrawal
9a2a0b5de9
Add lettuce 5.2 instrumentation that uses lettuce's native tracing functionality. ( #535 )
...
* Copy Lettuce 5.0 to start 5.1 instrumentation
* Begin tracing adapter implementation
Co-authored-by: Dustin Neray <dustin.neray@gmail.com>
* Set floor to 5.2 instead
* Move around
* Finish
* Cleanups
* Instrument 5.1+ instead
* Cleanup
* 5.1
* Remove latestDepTest from lettuce-5.0 since we have a newer lettuce-5.1.
* Remove
* Remove package check
* Spotless
Co-authored-by: Dustin Neray <dustin.neray@gmail.com>
2020-06-18 18:22:45 +03:00
Nikita Salnikov-Tarnovski
c1c02ac949
Next attempt to extract common logic from instrumentations. ( #523 )
...
* Next attempt to extract common logic from instrumentations.
I tried to reduce code repetition in DB client instrumentations, jdbc and mongo ones. This time I experimented with another approach, different from HttpServerTracer. Namely, I have extracted that common `startSpan` method into `DatabaseClientDecorator` itself. The idea is still the same as before, but I wanted to see if we can migrate by smaller steps, reusing much of the existing code and just incrementally reducing public API.
* Extracted separate Tracer after all
* More explicit call depth handling
* Fix format
* More reusable method overloads
2020-06-17 12:08:52 -07:00
Trask Stalnaker
1c2f74d8db
Possible fix for a sporadically failing test ( #522 )
...
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-15 07:55:51 +03:00
Nikita Salnikov-Tarnovski
c11835963f
Vert.x instrumentation improvements ( #503 )
...
* Support for Vert.x rx-java async tasks
* Use Vert.x route for server span name
* Move reactive Vert.x instrumentation into separate module
* Test fixes
* Format fixes
* Polish
* Fix license header
* Add Vert.x to README
2020-06-13 23:18:30 +03:00
Trask Stalnaker
4a26bd3ce7
Simplify setting of user.principal attribute ( #509 )
2020-06-13 12:11:03 +03:00
Trask Stalnaker
4b665dcbe2
Changed instrumentation tracer" TRACER.startSpan() to never return `null` ( #499 )
2020-06-12 16:15:38 -07:00
Richard Startin
57c0aed1fa
Use ClassValue to store ThreadLocal call depth ( DataDog/dd-trace-java#1528 )
2020-06-11 10:14:07 -07:00
Richard Startin
13264b3560
Add record.queue_time_ms to rabbitmq consumer span tags ( DataDog/dd-trace-java#1522 )
2020-06-11 10:14:07 -07:00
Richard Startin
c61034c945
Fix elasticsearch test flakiness ( DataDog/dd-trace-java#1513 )
2020-06-11 10:14:07 -07:00
Tyler Benson
1b29184e7c
Make rootDir usage consistent ( DataDog/dd-trace-java#1518 )
2020-06-11 10:14:02 -07:00
Tyler Benson
f2bf50684a
Use Retry.Mode.SETUP_FEATURE_CLEANUP to improve Elasticsearch test flakiness ( DataDog/dd-trace-java#1494 )
2020-06-11 10:12:11 -07:00
Trask Stalnaker
a5128fcd53
Support non-monotonic metrics ( #494 )
...
* Support non-monotonic metrics
* Fix check build
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-11 09:40:25 +03:00
Anuraag Agrawal
2600cb2056
Add missing AWS SDK helper. ( #483 )
2020-06-09 20:04:22 -07:00
Anuraag Agrawal
f13a9c4932
Move client span creation to decorator and automatically suppress creation of neste… ( #460 )
...
* Move client span creation to decorator and suppress creation of nested client spans.
* Store subtree client span in context.
* Apply new pattern to AWS V1 SDK instrumentation too, cleanup, and javadoc
2020-06-08 12:01:43 -07:00
Nikita Salnikov-Tarnovski
8ee54389da
Try to fix flaky test by replacing list comparison with set comparison ( #480 )
2020-06-08 20:00:38 +03:00
Nikita Salnikov-Tarnovski
357fb6e989
Deduplicate servlets ( #469 )
...
* Servlet instrumentations unified
* Grizzly migrated
* Fix tests after merge
* Polish and fix tests
* Polish and fix tests
* Muzzle fixes
* Muzzle fixes
* Muzzle fixes
* Test fixes
* One more check fixed
* Stop using SpanWithScope
* Test fix
* Compilation fix
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Update agent-bootstrap/src/main/java/io/opentelemetry/auto/bootstrap/instrumentation/decorator/HttpServerTracer.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Polish
* Tracer does not manage scope anymore
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-08 10:49:58 +03:00
Nikita Salnikov-Tarnovski
1c59062aae
0.5.0 ( #476 )
...
* Update to otel-java 0.5.0-SNAPSHOT (#462 )
* Update to otel-java 0.5.0-SNAPSHOT
* Tests pass
* Check fix
* Switch to otel-java 0.5.0
* Add TODOs
2020-06-05 20:11:49 +03:00
Rashmi
cfade733b8
Fixed Mongo client double tracing bug ( #471 )
...
* Fixes #457
* Addressing review comments
1. Added comments in test
2. Fixed latestDepTest failures in MongoAsyncClient by adding `declaresField`
3. Made TracingCommandListener inline in MongoClientAdvice
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2020-06-04 19:48:05 +03:00
Trask Stalnaker
96fa7b8c31
Merge changes from dd-trace-java 0.53.0 ( #456 )
...
* Add time in queue (DataDog/dd-trace-java#1481 )
* Minor upgrades (DataDog/dd-trace-java#1495 )
* Allow user to disable kafka time in queue tag (DataDog/dd-trace-java#1487 )
* Replace Set<Integer> with BitSet for HTTP statuses (DataDog/dd-trace-java#1496 )
* Register WeakMapProvider earlier in AgentInstaller (DataDog/dd-trace-java#1480 )
* Update codenarc (DataDog/dd-trace-java#1500 )
Co-authored-by: Tyler Benson <tyler.benson@datadoghq.com>
Co-authored-by: Nikolay Martynov <mar.kolya@gmail.com>
Co-authored-by: Richard Startin <richard.startin@datadoghq.com>
2020-06-02 18:20:54 +03:00
Anuraag Agrawal
9c63890d29
Intercept calls to ClientOverrideConfiguration to apply our instrumen… ( #453 )
2020-05-31 09:25:39 -07:00
Trask Stalnaker
35d4f61854
Remove printlns that were accidentally committed ( #459 )
2020-05-31 06:30:38 +03:00
Trask Stalnaker
359eb07445
Updates to reflect new repo name ( #454 )
2020-05-30 11:56:12 -07:00
Nikita Salnikov-Tarnovski
6aee3837d6
Fixes integration with latest version of Finatra ( #450 )
2020-05-28 11:53:41 -07:00
Trask Stalnaker
5c7e321521
Fix sporadic Elasticsearch test failures ( #444 )
2020-05-27 12:20:51 -07:00