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
Tyler Benson
8d96729ae8
Fix instrumentation and add tests to verify.
2019-03-21 18:08:35 -07:00
Nikolay Martynov
3a3705f708
AWS v0: Close span non AWS SDK errors
...
Looks like AWS SDK doesn't call interceptor when non-sdk exception
occurs. This leads to leaking open spans. Fix that by instrumenting
http client.
Note: currently has no tests.
2019-03-21 18:08:35 -07:00
Tyler Benson
e0d95ceb19
Fix cassandra supported version
...
and limit range check to <4.
The latest release (4.0) is not compatible with our instrumentation.
2019-03-21 17:57:08 -07:00
Will Gittoes
af0f37861b
Support Hibernate 3.3
2019-03-21 13:38:16 +11:00
Will Gittoes
c369fafe8c
Support muzzle testInverse = true
2019-03-21 12:17:24 +11:00
Will Gittoes
f94f22bcba
Dont load hibernate instrumentation unless correct version of hibernate is on the classpath
2019-03-20 15:52:49 +11:00
Will Gittoes
8c5158f8e9
Restructure hibernate integration
2019-03-20 11:00:42 +11:00
Will Gittoes
4825a113f8
Add a couple of comments about the code structure
2019-03-19 16:28:27 +11:00
Will Gittoes
b60c3bcc0a
Decouple common utils used in hibernate tracing from any specific version of hibernate
2019-03-19 14:40:16 +11:00
Will Gittoes
86d14280d2
Exclude hibernate-annotations from 3.5 latestDepTest
2019-03-19 09:56:39 +11:00
Will Gittoes
3b6c688ce8
Support Hibernate 3.5
2019-03-19 09:56:39 +11:00
Will Gittoes
5a04c58c55
Merge pull request #765 from DataDog/willgittoes-dd/hibernate-5
...
Add support for Hibernate 4.3+ ProcedureCall
2019-03-19 09:56:03 +11:00
Nikolay Martynov
63e0c0f032
Support Unix Domain Socket proxy to send traces
2019-03-15 11:36:44 -07:00
Will Gittoes
30401bfed8
Fix test
2019-03-13 14:20:58 +11:00
Will Gittoes
54401083ce
Fix version of hsqldb
2019-03-13 14:09:49 +11:00
Will Gittoes
474f196c2f
fix style
2019-03-13 13:57:05 +11:00
Will Gittoes
2ceeb4dc14
Additional instrumentation for hibernate 4.3 and 5.x onwards
2019-03-13 13:52:33 +11:00
Tyler Benson
ca708db5da
Remove trace injection into AWS requests
...
I don’t think these are helping us and we may still risk messing up the signed request if this happens too late.
2019-03-12 14:08:27 -07:00
Tyler Benson
bb7923571e
Merge pull request #764 from DataDog/tyler/memcache-decorator
...
Migrate Memcache instrumentation to Decorator
2019-03-12 14:01:47 -07:00
Tyler Benson
bca5614508
Migrate Memcache instrumentation to Decorator
2019-03-12 11:47:25 -07:00
Tyler Benson
d30d715dc8
Migrate Spring Web{flux} instrumentation to Decorator
2019-03-12 09:38:53 -07:00
Tyler Benson
d31965ff5a
Merge pull request #761 from DataDog/tyler/rabbit-decorator
...
Migrate RabbitMQ instrumentation to Decorator
2019-03-12 08:08:22 -07:00
Will Gittoes
736f1787cc
Merge pull request #703 from DataDog/willgittoes-dd/hibernate-integration
...
Hibernate integration
2019-03-12 15:00:04 +11:00
Will Gittoes
a3925b556c
Get rid of unneeded try/catch block
2019-03-12 14:07:37 +11:00
Tyler Benson
817f5e3f8e
Merge pull request #762 from DataDog/tyler/play-decorator
...
Migrate Play instrumentation to Decorators
2019-03-11 19:27:03 -07:00
Tyler Benson
69d31cc03a
Restrict derby version
...
Lastest version requires Java 9+, so we can’t test against it for now.
2019-03-12 11:52:39 +11:00
Will Gittoes
e1915c35bf
Merge fixes for Hibernate
2019-03-12 10:46:30 +11:00
Will Gittoes
bf110640e8
Merge branch 'master' into willgittoes-dd/hibernate-integration
2019-03-12 09:39:58 +11:00
Tyler Benson
ee1d385c7b
Restrict derby version
...
Lastest version requires Java 9+, so we can’t test against it for now.
2019-03-11 14:27:10 -07:00
Tyler Benson
d90a3c47ae
Restrict derby version
...
Lastest version requires Java 9+, so we can’t test against it for now.
2019-03-11 14:26:58 -07:00
Tyler Benson
2146678d0a
Migrate RabbitMQ instrumentation to Decorator
2019-03-11 14:09:06 -07:00
Tyler Benson
b8affc472d
Migrate Play instrumentation to Decorators
2019-03-11 11:54:28 -07:00
Will Gittoes
81f78db0ff
Support hibernate 4.0
2019-03-11 17:22:05 +11:00
Will Gittoes
600f2e267f
Enable integration for hibernate 4.3
2019-03-11 16:20:27 +11:00