Tyler Benson
25d109753d
Merge pull request #809 from DataDog/tyler/httpasyncclient
...
Add instrumentation for Apache HttpAsyncClient
2019-04-29 08:14:11 -07:00
Tyler Benson
68a68f1057
Ensure that http.url tag doesn’t have query params set
...
Make handling of it more consistent in decorator.
2019-04-26 09:48:34 -07:00
Tyler Benson
20df3aa18e
Add HttpAsyncClient to Elasticsearch for verification.
2019-04-25 17:27:06 -07:00
Tyler Benson
179b9b69cb
Upgrade Byte Buddy to 1.9.12
...
and a few other minor code changes.
2019-04-25 10:36:35 -07:00
Tyler Benson
9ad06a6791
Add instrumentation for Apache HttpAsyncClient
...
Extract http client tests to shared class.
2019-04-23 17:10:40 -07:00
Tyler Benson
4c79f38a4d
A couple other minor changes…
2019-04-19 10:41:13 -07:00
Tyler Benson
746c423199
Merge pull request #775 from darylrobbins/twilio
...
Twilio SDK Instrumentation
2019-04-19 09:18:40 -07:00
Tyler Benson
e74941a4d5
Merge branch 'master' into twilio
2019-04-16 17:44:36 -07:00
Tyler Benson
b9207133d6
Split async and sync advice and misc cleanup.
2019-04-16 13:56:44 -07:00
Daryl Robbins
315ae67fd2
Merge branch 'twilio' of github.com:darylrobbins/dd-trace-java into twilio
...
* 'twilio' of github.com:darylrobbins/dd-trace-java:
Updates to handle async calls, which have broken all tests
Missed Gradle file
WIP Twilio SDK Instrumentation
# Conflicts:
# dd-java-agent/instrumentation/twilio/src/main/java/datadog/trace/instrumentation/twilio/TwilioClientDecorator.java
# dd-java-agent/instrumentation/twilio/src/main/java/datadog/trace/instrumentation/twilio/TwilioInstrumentation.java
# dd-java-agent/instrumentation/twilio/src/test/groovy/test/TwilioClientTest.groovy
Merge branch 'twilio' of github.com:darylrobbins/dd-trace-java into twilio
Improved unit testing
* 'twilio' of github.com:darylrobbins/dd-trace-java:
Updates to handle async calls, which have broken all tests
Missed Gradle file
WIP Twilio SDK Instrumentation
# Conflicts:
# dd-java-agent/instrumentation/twilio/src/main/java/datadog/trace/instrumentation/twilio/TwilioClientDecorator.java
# dd-java-agent/instrumentation/twilio/src/main/java/datadog/trace/instrumentation/twilio/TwilioInstrumentation.java
# dd-java-agent/instrumentation/twilio/src/test/groovy/test/TwilioClientTest.groovy
Fix sleep times and choose Java7-friendly test dependencies
Corrected test assertion
2019-04-16 13:56:44 -07:00
Daryl Robbins
13aa267d84
WIP Twilio SDK Instrumentation
...
Missed Gradle file
Updates to handle async calls, which have broken all tests
2019-04-16 13:56:44 -07:00
Daryl Robbins
e3d97b0984
WIP Twilio SDK Instrumentation
...
Missed Gradle file
Updates to handle async calls, which have broken all tests
Fixed instrumentation and augmented tests
2019-04-16 13:46:43 -07:00
Tyler Benson
0315c976af
Fixes for ratpack.
2019-04-16 13:29:26 -07:00
Tyler Benson
b343fe4551
Split peer connection details different generic argument
2019-04-16 08:34:43 -07:00
Tyler Benson
bf05984208
Server tags should report peer, not self hostname/port
...
Previously this was not obvious and incorrect.
2019-04-16 08:21:01 -07:00
Tyler Benson
dc2e435de9
Merge pull request #797 from DataDog/tyler/ratpack
...
Update ratpack instrumentation and remove default disabled.
2019-04-16 08:14:10 -07:00
Tyler Benson
c4ac5b94ec
Fix span relationships and other review issues.
2019-04-10 17:31:22 -07:00
Nikolay Martynov
e41769232e
Fix AWS instrumentation warning in Idea
...
Idea complains about duplicates root because we run latest dep tests
and 'later version' tests from the same dir. This is ultimately
TestSetd plugin bug by the looks of it, but we can work around it by
swapping old and new version tests.
Also run both old and new version tests under 'test' task.
2019-04-09 10:50:07 -04:00
Tyler Benson
a11b888d7a
Update ratpack instrumentation and remove default disabled.
2019-04-08 18:26:08 -07:00
Nikolay Martynov
6fd630831f
Stop using `scopeManager().activate(span, true)`
2019-04-08 11:54:47 -04:00
Nikolay Martynov
f4791a17df
Use decorators in Netty's ChannelFutureListenerInstrumentation
2019-04-08 11:35:13 -04:00
Nikolay Martynov
7b53cebd3d
Fix some compiler warnings
2019-04-05 12:58:54 -04:00
Nikolay Martynov
a5b5d236e1
Use Scope when opening span in netty instrumentation
2019-04-05 11:13:53 -04:00
Nikolay Martynov
e678a62e5b
Use scope when opening JMS span
2019-04-05 11:13:53 -04:00
Nikolay Martynov
4119059e70
Jaxrs: use scope when span is opened
2019-04-05 11:13:53 -04:00
Nikolay Martynov
0e7418fde6
AWS v2: use scope when span is created
2019-04-05 11:13:53 -04:00
Nikolay Martynov
480a14b170
OkHttp: rearrange scope code a bit
2019-04-05 11:13:53 -04:00
Nikolay Martynov
1af7487201
Wrap Rabbitmq channel span into scope
2019-04-05 11:13:53 -04:00
Nikolay Martynov
743ab327b0
Wrap GRPC span start into scope
2019-04-05 11:13:53 -04:00
Nikolay Martynov
a1e23dfb86
Make sure span is opened and closed with scope in Cassandra
2019-04-05 11:13:53 -04:00
Nikolay Martynov
bddee3d6e2
Make sure span is opened and closed with scope in Mongo
2019-04-05 11:13:53 -04:00
Nikolay Martynov
f3e1eb4f5d
Make sure span is opened and closed with scope in Couchbase
2019-04-05 11:13:53 -04:00
Nikolay Martynov
2bba4c5591
Make sure span is opened and closed with scope in spymemcached
2019-04-05 11:13:53 -04:00
Nikolay Martynov
bfb48f31c1
Make sure span is opened and closed with scope in http_url_connection
2019-04-05 11:13:53 -04:00
Nikolay Martynov
997832ba4e
Limit hibernate integration tests to 5.x.x since we do not support 6+
2019-04-05 10:43:16 -04:00
Nikolay Martynov
93621fac17
Specify hibernate latest dep test deps for 4.0 tests
2019-04-05 09:26:14 -04:00
Nikolay Martynov
c104be1fa7
Add compile dep on scala to make Idea happy
2019-04-03 13:59:25 -04:00
Nikolay Martynov
e3488d23a2
Netty: do not use deprecated constants
2019-04-03 13:58:54 -04:00
Nikolay Martynov
a245ec4949
Upgradle gradle
2019-04-03 12:56:15 -04:00
Nikolay Martynov
de980c2d52
Merge pull request #787 from DataDog/mar-kolya/compiler-config-fix
...
Mar kolya/compiler config fix
2019-04-01 09:15:39 -04:00
Nikolay Martynov
212d4d3c71
Provide Java compiler with bootstrap classes for Java7
...
when compiling Java7-compatible sources.
2019-03-29 13:53:53 -04:00
Luca Abbati
2c282552dc
Fix comment
2019-03-29 17:26:43 +01:00
Luca Abbati
ff17ed166b
Fix code style in cassandra integration
2019-03-29 16:38:32 +01:00
Luca Abbati
dfecfc8329
Fixed typo in comments (follow-up)
2019-03-29 14:15:25 +01:00
Luca Abbati
1e69fb7234
Have cassandra integration to work with recent versions of Guava.
...
Recent versions of Guava removed method 'Futures::transform(input, function)' in favor of 'Futures::transform(input, function, executor)'.
This commit manually retrieve the executor as it was done in Guava 20 in the overloaded method.
See: 65f6b4f4b1/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java (L58)
2019-03-29 13:42:46 +01:00
Nikolay Martynov
3b0e769e88
Fix helper injection in context provider
...
Currently helpers will not be injected if instrumentation doesn't
apply. Unfortunately it is possible for some classes to have context
fields added even if instrumentation is not allied (i.g. instrumented
classes are not used). Fix this by always injecting all helpers if we
inject context fields.
2019-03-26 15:53:34 -04:00
Tyler Benson
004c44d70c
Add tests confirming that Spring Data Repos aren’t working
...
The hibernate instrumentation doesn’t seem to work with Spring Data JPA.
2019-03-25 11:58:16 -07:00
Tyler Benson
a73b8c36f0
Review changes.
2019-03-25 09:56:05 -07:00
Tyler Benson
63b5c094e7
Fix NPE in hibernate instrumentation
...
Also add each hibernate instrumentation project as a test dependency to the others. This demonstrates a problem with muzzle and instrumentation context which currently causes the tests to fail.
2019-03-22 17:06:19 -07:00
Tyler Benson
b22b11b9b0
Add timeout test for V2
...
Also make sure span is closed on error.
2019-03-21 18:08:35 -07:00