Laplie Anderson
717a27080b
Remove dd-trace and dd-trace-ext
2019-09-12 10:40:11 -04:00
Tyler Benson
e895d7c3a7
Merge pull request #983 from DataDog/tyler/cache-soft-refs
...
Optimize DDCachingPoolStrategy
2019-09-11 09:41:48 -07:00
Laplie Anderson
07b58e1cf4
Merge pull request #957 from DataDog/landerson/instrumentation-module-check
...
Java 9 Modules Smoketest
2019-09-10 19:56:12 -04:00
Laplie Anderson
df18c7c0a8
Added some more comments
2019-09-10 19:43:23 -04:00
Tyler Benson
988b03b2f3
Optimize DDCachingPoolStrategy
...
Reduce default cache size in EvictingCacheProvider, and return a NoOp CacheProvider when classloader is going to be skipped.
2019-09-10 15:52:37 -07:00
Tyler Benson
d10b99a5db
Merge pull request #986 from DataDog/tyler/sampler-locking
...
Remove synchronization from RateByServiceSampler
2019-09-10 15:43:27 -07:00
Tyler Benson
3d1f2b9d01
Ensure default sampler is available
...
This avoids the possible null pointer reference.
2019-09-10 15:29:13 -07:00
Tyler Benson
310ec93135
Minor test fix.
2019-09-10 15:08:55 -07:00
Tyler Benson
a010d4e095
Remove race condition.
2019-09-10 14:56:03 -07:00
Tyler Benson
8cd294dba0
Use ThreadLocalRandom for improved concurrency.
2019-09-10 14:04:37 -07:00
Tyler Benson
a88182ab3b
fix test
2019-09-10 12:56:42 -07:00
Tyler Benson
42545a0906
Remove synchronization from RateByServiceSampler
...
This change avoids lock contention in a hot code path.
I also added double check locking in ClassLoaderMatcher to reduce the need of locking there.
2019-09-10 12:44:13 -07:00
Laplie Anderson
8915281de2
Java 9 (and only Java9) requires jmods on the module path
2019-09-10 13:20:19 -04:00
Nikolay Martynov
fe7c8a22d4
Merge pull request #985 from DataDog/mar-kolya/rename-service-tag
...
Rename SERVICE -> SERVICE_TAG constant
2019-09-10 13:16:20 -04:00
Nikolay Martynov
b50ab7e0dd
Add back deprecated field
2019-09-10 12:57:50 -04:00
Nikolay Martynov
b4ceedf1db
Merge pull request #984 from DataDog/mar0kolya/gradle-upgrade
...
Update gradle to 5.6.2
2019-09-10 12:21:03 -04:00
Nikolay Martynov
3b34970d52
Rename SERVICE -> SERVICE_TAG constant
...
To make meaning more clear
2019-09-10 11:41:44 -04:00
Laplie Anderson
3a7dcf3dcd
Build java9-modules project with a jdk >= 9
2019-09-10 10:45:34 -04:00
Nikolay Martynov
d9656bd96e
Update gradle to 5.6.2
2019-09-10 10:34:33 -04:00
Tyler Benson
0681739ceb
Merge pull request #980 from marcoferrer/grpc-interceptor-error-tag
...
Fix span error tagging in grpc server interceptor
2019-09-09 15:58:47 -07:00
Marco Ferrer
bcfb2ac3e7
run formatter
2019-09-06 19:58:57 -04:00
Marco Ferrer
8ee5d8ddc0
assert status code tag in streaming tests
2019-09-06 19:17:36 -04:00
Marco Ferrer
f587011238
add TracingServerCall to helper class names
2019-09-06 18:48:44 -04:00
Marco Ferrer
57e03cc9ea
update tests for new tags
2019-09-06 18:42:40 -04:00
Marco Ferrer
61d85d997a
add comments for tracing call forwarder
2019-09-06 18:42:11 -04:00
Marco Ferrer
b0074495f9
update tests for server error tag
2019-09-06 16:35:19 -04:00
Tyler Benson
c1167af3cb
Merge pull request #979 from DataDog/tyler/trace-annotation-operation
...
Apply fixed default operation name for @Trace generated spans
2019-09-06 13:31:42 -07:00
Marco Ferrer
b547886a0d
introduce tracing call forwarder
2019-09-06 14:58:58 -04:00
Marco Ferrer
6ac07abe2b
fix span error tagging in grpc server interceptor
2019-09-06 12:25:31 -04:00
Tyler Benson
cd6dcf393b
Apply fixed default operation name for @Trace generated spans
...
This should help reduce issues with multiple top level spans.
2019-09-05 16:21:27 -07:00
Tyler Benson
df017e044a
Merge pull request #975 from DataDog/tyler/split-by-tag
...
Add new setting to allow renaming service by tag
2019-09-05 14:24:20 -07:00
Douglas Q Hawkins
2e5766ece9
Merge pull request #974 from DataDog/dougqh/no-lang-client-spans
...
Ensure "client" spans do not set the language tag
2019-09-05 13:38:25 -04:00
dougqh
46a36569e6
Adding FIXME for possible test clean-up
2019-09-05 13:23:51 -04:00
Tyler Benson
0c23cf94a9
Merge pull request #976 from DataDog/tyler/more-aws-tags
...
Add additional tags for aws-sdk spans
2019-09-04 13:35:41 -07:00
Tyler Benson
c410f5b78b
Add additional tags for aws-sdk spans
...
s3 -> bucket name
dynamodb -> table name
sqs -> queue name/url
kinesis -> stream name
2019-09-04 12:41:45 -07:00
Tyler Benson
b20a32b44d
Merge pull request #895 from aantono/haystack
...
Added support for Haystack trace propagation
2019-09-04 11:09:08 -07:00
Laplie Anderson
be60d362ae
Manually call jlink because plugin won't work with our build
2019-09-04 13:11:03 -04:00
Laplie Anderson
a3d792b4b9
ImageDir as a property is unneeded and can be derived
2019-09-04 13:11:03 -04:00
Laplie Anderson
9087c2e7e7
Pass the image dir directly instead of getting it from jlink
2019-09-04 13:11:03 -04:00
Laplie Anderson
8ba79db208
Disable task if version is too low. Include all sourcesets in jars
2019-09-04 13:11:03 -04:00
Laplie Anderson
6c5af673cd
Minor issues
2019-09-04 13:11:03 -04:00
Laplie Anderson
3323bbc5b1
java.sql classes are not always present
2019-09-04 13:11:03 -04:00
Laplie Anderson
fa378e16d3
Simply since the agent code doesn't run without java.instrument
2019-09-04 13:11:03 -04:00
Laplie Anderson
7a0ba452b8
Module smoke test framework
2019-09-04 13:11:03 -04:00
Laplie Anderson
983b4e2e6c
Merge pull request #973 from DataDog/landerson/all-tests-on-all-jvms
...
Run all tests on all java versions
2019-09-04 12:28:26 -04:00
Tyler Benson
8177b95164
Make config modifiable and still allow tag to be set.
2019-09-03 18:51:39 -07:00
Tyler Benson
82f5076716
Add new setting to allow renaming service by tag
...
This is a more generic form of the previous `split-by-domain` and `split-by-instance`.
(Note: evaluation is done when a tag is set, so If multiple tags are configured, the last tag set will take precidence.)
For example, this setting can be used to rename `aws-sdk` spans to be identified with the corresponding `aws.service` tag:
```
-Ddd.trace.split-by-tags=aws.service
```
There are some slight differences with this setting compared with`dd.trace.http.client.split-by-domain` and `dd.trace.db.client.split-by-instance`. `split-by-tags` applies to every span, where `split-by-domain` and `split-by-instance` only apply to http and db client spans respectively.
2019-09-03 16:55:47 -07:00
Laplie Anderson
619ecb8170
Fix a couple tests failing with IBM 8
2019-09-03 17:19:46 -04:00
dougqh
1d087574fd
Removing unused imports
...
Removing unused imports caught by codeNarc
2019-09-03 16:49:20 -04:00
dougqh
4851cc9069
Re-running format through gradle
...
Need to figure out why IntelliJ and gradle are behaving differently for import order
2019-09-03 16:16:13 -04:00