Tyler Benson
1a5a70650c
Fix SpringJpaTest
2019-06-10 17:18:58 -07:00
Tyler Benson
4469c7fb11
separate out driver subtype
...
to avoid changing existing service names
2019-06-10 16:17:36 -07:00
Tyler Benson
288add2a60
Fix slickdb test
2019-06-10 15:20:56 -07:00
Tyler Benson
0807598d16
Populate settings from properties and add MariaDB alt styles
2019-06-10 12:02:14 -07:00
Tyler Benson
ec60d679d6
Add Oracle support and fix muzzle.
2019-06-06 18:03:56 -07:00
Tyler Benson
6100443443
Attempt to properly parse out instance name from JDBC url
...
Unfortunately implementations are INCREDIBLY inconsistent on the matter. Oracle implementation is still pending since it’s really complicated.
2019-06-05 18:01:33 -07:00
Tyler Benson
8016e22bc4
Review changes
2019-05-31 09:07:22 -07:00
Tyler Benson
9cdf049ca7
Extract ConfigUtils
2019-05-30 09:09:29 -07:00
Tyler Benson
a7c941c2ea
More fixes.
...
Notably added a transformer to make config easier to test with by making INSTANCE public static volatile.
2019-05-29 22:24:19 -07:00
Tyler Benson
fc9f1d120c
Misc fixes.
2019-05-29 13:54:35 -07:00
Tyler Benson
e260b1d044
Make all http client tests extend HttpClientTest
...
Add flexibility to handle inconsistencies between client integrations.
2019-05-29 13:54:35 -07:00
Tyler Benson
8c860d63a4
Revert Pull Request #854 and #855
...
These are breaking changes that need more vetting.
2019-05-29 12:18:31 -07:00
Luca Abbati
eb032d1c8e
Adding muzzle tests for glassfish 3 and 5
2019-05-29 17:53:42 +02:00
Luca Abbati
19c0b21332
Remove useless tests from Glassfish 4 instrumentation
2019-05-29 17:24:51 +02:00
Luca Abbati
37b734dd50
Some more attempts to UT glassfish classloader
2019-05-28 19:39:11 +02:00
Luca Abbati
f62e1dedeb
Add unit tests for glassfish 4.1 instrumentation
2019-05-28 15:06:43 +02:00
Luca Abbati
470a20dbce
Fix code formatting
2019-05-28 13:56:37 +02:00
Luca Abbati
5292b598d8
Remove log from GlassfishAdvice as log is not available
2019-05-27 16:20:46 +02:00
Luca Abbati
9d2523a58a
Reformat code
2019-05-27 15:50:47 +02:00
Luca Abbati
13cf53827d
Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/jdbc-error-glasshfish
2019-05-27 15:18:18 +02:00
Luca Abbati
0c52ba58c4
Move glassfish 4 compatibility layer to instrumentation module
2019-05-27 15:17:04 +02:00
Nikolay Martynov
70fa97f8c2
Move code to make java7 happy
2019-05-24 16:55:39 -04:00
Nikolay Martynov
ef94e2fb79
Add note about Kafka consumer iterator thread safety
2019-05-24 16:37:27 -04:00
Nikolay Martynov
a3a325868c
Add some rudimetrary tests for CompletableFuture
2019-05-24 16:36:07 -04:00
Nikolay Martynov
0b85f048d1
Handle Scope in Kafka producer properly
...
Holding onto scope in `Callback` is bad because that code may run on
different thread.
2019-05-24 16:27:28 -04:00
Luca Abbati
a3a98ceac8
Merge pull request #856 from DataDog/labbati/set-spring-controller-async
...
Make spring controller spans to handle async
2019-05-24 18:47:35 +02:00
Luca Abbati
25e06b4965
Make spring controller spans to handle async
2019-05-24 17:42:06 +02:00
Nikolay Martynov
82f1a485d5
Merge pull request #855 from DataDog/mar-kolya/rabbitmq-client-service-name
...
Use default service name for RabbitMQ consumer
2019-05-24 10:51:28 -04:00
Nikolay Martynov
a7271ed2b2
Use default service name for RabbitMQ consumer
...
So spans parented by consumer span had reasonable service name
2019-05-24 09:06:22 -04:00
Nikolay Martynov
80a5cc6025
Set kafka client service name to application default service name.
...
So that spans inheriting from that client span have application
service name rather than 'kafka'
2019-05-23 20:21:03 -04:00
Nikolay Martynov
c5dbd7d0d7
Fix ApacheHttpAsync race condition
2019-05-17 13:49:46 -04:00
Nikolay Martynov
47e6216e6b
Merge pull request #842 from DataDog/mar-kolya/limit-couchbase-latest-dep-version
...
Do not try to build against couchbase 2.7.5 since it didn't sync up w…
2019-05-17 13:14:34 -04:00
Nikolay Martynov
48f951cee7
Merge pull request #841 from DataDog/mar-kolya/ignore-flaky-test
...
Wait for span to finish in apache-http-aync test
2019-05-17 13:13:38 -04:00
Tyler Benson
d900289ae0
Try again…
2019-05-17 10:01:37 -07:00
Nikolay Martynov
e52c654fd1
Wait for span to finish instead of ignoring test
2019-05-17 12:55:34 -04:00
Tyler Benson
b6ba1997ae
Add constraint for muzzle too
2019-05-17 09:32:15 -07:00
Nikolay Martynov
6287e552fc
Merge pull request #836 from DataDog/mar-kolya/do-not-send-headers-to-old-kafka
...
Do not send headers to old kafka servers
2019-05-17 11:55:52 -04:00
Nikolay Martynov
d01832a94d
Do not try to build against couchbase 2.7.5 since it didn't sync up with mirrors yet
2019-05-17 11:27:35 -04:00
Nikolay Martynov
c02110a2a1
Add comment explaining Kafka versions limitations check
2019-05-17 11:22:02 -04:00
Nikolay Martynov
387f094617
Ignore flaky apache-http-aync test
2019-05-17 11:19:24 -04:00
Nikolay Martynov
94907270a2
Merge pull request #837 from DataDog/mar-kolya/fix-apache-async-instrumentation-with-null-callback
...
Handle null callback in HttpAsyncApache instrumentation
2019-05-16 17:41:39 -04:00
Nikolay Martynov
b736ca3108
Handle null callback in HttpAsyncApache instrumentation
2019-05-16 17:26:08 -04:00
Nikolay Martynov
55d7c2a6f5
Do not send headers to old kafka servers
...
Kafka message bundles with versions below 2 (e.d. 0.10) do not support
headers so do not inject them. Otherwise client gets really upset.
This is how similar check is being done in Kafka client itself:
05fcfde8f6/clients/src/main/java/org/apache/kafka/common/record/MemoryRecordsBuilder.java (L411-L412)
2019-05-16 15:09:58 -04:00
Tyler Benson
354d17ac7d
Merge pull request #830 from DataDog/tyler/executor-config
...
Add config to enable individual executors
2019-05-16 10:05:29 -07:00
Tyler Benson
3bbf9f27eb
Fix resource name for Ratpack
...
Previous fallback would inadvertently include query parameters in the resource name.
2019-05-15 16:30:51 -07:00
Tyler Benson
cc23fee614
Add config to enable individual executors
...
Or all executors, bypassing the allow list.
`dd.trace.executor=com.MyCustomExecutor,com.OtherExecutor`
`dd.trace.executors.all=true`
Turns out in many cases, executors that we say we’re skipping, are still being traced because they extend from an already instrumented executor.
2019-05-14 10:03:44 -07:00
Nikolay Martynov
2984cc506e
Limit okhttp latest deps test to 3.x.x
2019-05-09 10:17:35 -04:00
Tyler Benson
376451c031
Fix instrumentation names for apache httpasyncclient
2019-05-03 09:58:05 -07:00
Tyler Benson
4b1fcdea04
Remove latest dep test for transport-5
2019-05-02 14:44:31 -07:00
Tyler Benson
0a234872e9
Try limiting latest to 5.1.x
2019-05-02 14:04:07 -07:00