Commit Graph

2633 Commits

Author SHA1 Message Date
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 fb18b559ef
Merge pull request #792 from DataDog/mar-kolya/konvert-to-kotlin
Konvert muzzle plugin definition to Kotlin
2019-04-05 11:12:54 -04:00
Nikolay Martynov c489fb41cb Konvert muzzle plugin definition to Kotlin 2019-04-05 11:03:35 -04:00
Nikolay Martynov b30fcc7cab
Merge pull request #794 from DataDog/mar-kolya/fix-hibernate-latestdep-deps
Specify hibernate latest dep test deps for 4.0 tests
2019-04-05 11:02:29 -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 a608fe4758
Merge pull request #790 from DataDog/mar-kolya/minor-fixes
Mar kolya/minor fixes
2019-04-05 09:24:13 -04:00
Nikolay Martynov 1bba166554 typo fix 2019-04-03 14:50:10 -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 03e614fa4b
Merge pull request #789 from DataDog/mar-kolya/upgrade-gradle
Upgradle gradle
2019-04-03 13:46:06 -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
Luca Abbati 3a4261fcce
Merge pull request #786 from DataDog/labbati/guava-20-and-27
Have cassandra integration to work with recent versions of Guava
2019-03-29 19:34:26 +01:00
Nikolay Martynov 8f811fef85 Reduce gradle heap size on muzzle task
Looks like gradle forks more with new compiler settings and we run out
of memory on muzzle task
2019-03-29 14:34:19 -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
Tyler Benson e4c0175ed0
Merge pull request #785 from DataDog/tyler/pendingtrace-init
Ensure that PendingTrace.SPAN_CLEANER initialized with Tracer
2019-03-29 10:22:07 -07:00
Tyler Benson bc9b96222d Add fixme for future testing task. 2019-03-29 10:03:53 -07:00
Nikolay Martynov 7f2186a369
Merge pull request #788 from DataDog/mar-kolya/pendingtrace-init-suggestion
Make SpanCleaner initialization explicit
2019-03-29 12:45:13 -04:00
Luca Abbati 2c282552dc
Fix comment 2019-03-29 17:26:43 +01:00
Nikolay Martynov 65630a702d Make SpanCleaner initialization explicit 2019-03-29 12:21:17 -04:00
Luca Abbati 64dd67024f
Improve javadoc entry 2019-03-29 17:18:53 +01:00
Luca Abbati ff17ed166b
Fix code style in cassandra integration 2019-03-29 16:38:32 +01:00
Nikolay Martynov 4c8a790c3b DDTracer: minor javadoc fix 2019-03-29 09:42:52 -04:00
Luca Abbati dfecfc8329
Fixed typo in comments (follow-up) 2019-03-29 14:15:25 +01:00
Luca Abbati 1626c5da62
Fixed typo in comments 2019-03-29 14:09:40 +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
Luca Abbati 1a3e5fe69a
Let muzzle plugin test same dependency in different conditions
The muzzle plugin creates a config for each of the dependencies under test with name '...-<group_id>-<artifact_id>-<version>'.
The problem is that if we want to test multiple times the same configuration under different conditions, e.g.
with different extra dependencies, the plugin would throw an error as it would try to create several times the same config.

This commit let directives to define an optional name that defaults to a null. If a name is provided then a slug of it
is used to generate the gradle configuration name.
2019-03-29 13:42:26 +01:00
Tyler Benson a9760f24fc Ensure that PendingTrace.SPAN_CLEANER initialized with Tracer
Otherwise it might get initialized by a different classloader which would prevent that classloader from being unloaded.
2019-03-28 11:26:43 -07:00
Tyler Benson 27489afd5c
Merge pull request #784 from msysyamamoto/fix-message
Fix log message
2019-03-28 10:47:34 -07:00
Tyler Benson b2df8a6467 Begin 0.27.0 2019-03-28 08:46:20 -07:00
Tyler Benson fe91e6214b Version 0.26.2 2019-03-28 08:17:52 -07:00
Masayasu Yamamoto e5c504bceb Fix log message 2019-03-28 22:38:01 +09:00
Tyler Benson 1100461783
Merge pull request #783 from DataDog/tyler/fix-content-length
Fix content length calculation for larger trace counts
2019-03-27 15:19:39 -07:00
Tyler Benson 2052647ec9 Fix content length calculation for larger trace counts
Failure to calculate this correctly causes the agent to drop the request.
2019-03-27 15:06:07 -07:00
Nikolay Martynov 722e6c4f68
Merge pull request #778 from DataDog/mar-kolya/some-java11-prep
Mar kolya/some java11 prep
2019-03-27 12:55:52 -04:00
Tyler Benson e4dcabed67 Begin 0.27.0 2019-03-27 09:29:28 -07:00
Tyler Benson c51ae3a248 Version 0.26.1 2019-03-27 09:06:59 -07:00
Tyler Benson 2065be101a
Merge pull request #782 from DataDog/tyler/status-mapping-config
Correct http status mapping config keys
2019-03-27 09:01:40 -07:00
Tyler Benson 347710a680 Correct http status mapping config keys
Use the properly documented and agreed upon config keys.
2019-03-27 08:43:10 -07:00
Nikolay Martynov 8fa354e198
Merge pull request #781 from DataDog/mar-kolya/fix-helper-injection
Fix helper injection in context provider
2019-03-26 16:16:36 -04: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
Nikolay Martynov 75643fe1e9 Do not generate tests tasks for current Java version 2019-03-26 15:06:55 -04:00
Tyler Benson bd4e05b41a Begin 0.27.0 2019-03-25 15:10:48 -07:00
Nikolay Martynov 510262d826 Force compilation with given scala version 2019-03-25 17:50:40 -04:00