Laplie Anderson
5ff2fcaa63
Fix tests, increase code coverage, codenarc
2019-11-18 23:39:03 -05:00
Laplie Anderson
9d850b8ef5
Default sampler priority is null
2019-11-18 17:21:17 -05:00
Douglas Q Hawkins
aed2b5de28
Merge pull request #1096 from DataDog/dougqh/eliminate-advice-class-refs
...
Replacing Advice.class references
2019-11-18 17:04:23 -05:00
Laplie Anderson
3144d02615
Tests around PrioritySampling
2019-11-18 16:44:48 -05:00
dougqh
6b096c2240
Replacing Advice.class references
...
Replacing Advice.class references with string construction.
This stops the JVM from loading the Advice classes which are used as templates for byte buddy and doesn't ever need to be run directly.
This eliminates ~130 class loads at start-up -- and saves 0.5MiB in metaspace
2019-11-18 16:09:30 -05:00
Laplie Anderson
bd11d7222e
Remove reliance on toString() in tests
2019-11-18 14:59:38 -05:00
Laplie Anderson
a0d5238214
Add tests for rules
2019-11-18 14:58:55 -05:00
Douglas Q Hawkins
28776d9d1c
Merge pull request #1101 from DataDog/resource-leak
...
Fixing resource leak
2019-11-18 14:25:06 -05:00
Laplie Anderson
0c22e27f66
Config and builder
2019-11-18 12:04:22 -05:00
Laplie Anderson
d8afd8b2a4
Rule based sampling and delaying sampling until necessary
2019-11-18 12:04:14 -05:00
Laplie Anderson
56e4fdebb2
Change sampling to use knuth algorithm
2019-11-18 12:03:46 -05:00
dougqh
022257ee55
Fixing resource leak
...
To check for existence, switching from getResourceAsStream to getResource
2019-11-18 10:52:23 -05:00
ZStriker19
caaff02c87
Needed to run Java google format.
2019-11-15 15:30:39 -05:00
Tyler Benson
393a88585a
First pass at supporting annotations inheritance for JAX-RS
...
[skip ci]
2019-11-15 11:53:16 -08:00
Douglas Q Hawkins
42a3e01086
Merge pull request #1099 from DataDog/dougqh/close-buffered-reader
...
Closing Readers
2019-11-15 14:33:39 -05:00
ZStriker19
c0ba1d3446
Changed test file permissions to match master.
2019-11-15 13:42:28 -05:00
ZStriker19
348cbc74c2
Changed okhttp file permissions back to original settings.
2019-11-15 13:29:51 -05:00
dougqh
c2d969fc0e
Closing Reader-s
2019-11-15 09:37:45 -05:00
Tyler Benson
a77045b9dc
Add more complexity to jersey resource test
...
This demonstrates a matching failure in our current instrumentation.
2019-11-14 16:01:16 -08:00
ZStriker19
8fb32b5730
Remove duplicate Okhttp span and stop separate service creation of okhttp. Instead okhttp will now appear as part of the service that is using okhttp to make the call.
2019-11-14 17:29:28 -05:00
Laplie Anderson
718a9dab64
Merge pull request #1095 from DataDog/landerson/fix-playws
...
Move play-ws-1 and play-ws-2 into separate packages
2019-11-14 10:50:05 -05:00
Laplie Anderson
509e655518
Move play-ws-1 and play-ws-2 into separate packages
2019-11-13 16:41:12 -05:00
Laplie Anderson
03b3fa6651
Merge pull request #1092 from DataDog/landerson/debug-instrumentation-names
...
Print all instrumentation names when muzzled
2019-11-13 16:36:40 -05:00
Nikolay Martynov
dafdec5a98
Merge pull request #1093 from DataDog/mar-kolya/upgrade-gradle
...
Revert artifactory plugin update
2019-11-13 16:30:12 -05:00
Nikolay Martynov
9732ed8806
Revert artifactory plugin update
2019-11-13 16:11:18 -05:00
Nikolay Martynov
57e5b3899f
Merge pull request #1091 from DataDog/mar-kolya/upgrade-gradle
...
Upgradle to gradle 6.0
2019-11-13 15:14:41 -05:00
Laplie Anderson
251ceeb978
Print all instrumentation names when muzzled
2019-11-13 14:12:26 -05:00
Tyler Benson
53b4e5db19
fix test
2019-11-12 15:17:35 -08:00
Nikolay Martynov
2c4422aa04
Upgradle to gradle 6.0
2019-11-12 16:26:46 -05:00
Tyler Benson
bff8303e18
Remove duplicate onRequest call.
...
This info should already be populated by the servlet framework.
2019-11-11 15:58:31 -08:00
Tyler Benson
fdf2241e5f
Add servlet.path tag
2019-11-11 15:54:21 -08:00
Nikolay Martynov
fecaa8d084
Merge pull request #1088 from DataDog/mar-kolya/update-some-deps
...
Update some dependencies
2019-11-11 12:17:06 -05:00
Nikolay Martynov
7b43aa12d0
Update some dependencies
2019-11-11 08:14:52 -05:00
Tyler Benson
e20f7924b4
Merge pull request #1086 from DataDog/tyler/bb-upgrade
...
Update byte-buddy to 1.10.2
2019-11-08 13:11:44 -08:00
Laplie Anderson
88902046ce
simple load generator tool
2019-11-07 16:50:23 -05:00
Nikolay Martynov
2789324cd5
Merge pull request #1084 from DataDog/mar-kolya/fix-agent-for-zulu8
...
fix agent for zulu8
2019-11-07 14:39:03 -05:00
Nikolay Martynov
8f80a42c4d
Do not delay tracer on OpenJDK8 with JBOSS
2019-11-07 13:45:56 -05:00
Nikolay Martynov
f371e391a8
Fix typo
2019-11-07 06:55:31 -05:00
Tyler Benson
d30ada42e9
Update byte-buddy to 1.10.2
2019-11-06 15:53:10 -08:00
Tyler Benson
b93e14291d
Begin 0.38.0
2019-11-06 14:36:04 -08:00
Tyler Benson
5dc0088de6
Version 0.37.0
2019-11-06 14:34:40 -08:00
Tyler Benson
b002f0c190
Merge pull request #1085 from DataDog/tyler/remove-beta-integrations
...
Remove experimental jdbc and servlet integrations until further evaluation
2019-11-06 14:31:08 -08:00
Nikolay Martynov
df6cb663d4
Fix test for case when tracer install is not delayed
2019-11-06 15:35:01 -05:00
Nikolay Martynov
fdfe4b1dc3
More renames due to shadow clashes
2019-11-06 15:12:07 -05:00
Tyler Benson
2432a92230
Remove experimental jdbc and servlet integrations until further evaluation
2019-11-06 11:45:00 -08:00
Douglas Q Hawkins
599d1e0fab
Merge pull request #1082 from DataDog/dougqh/sisu-exclusion
...
Excluded classes generated by Eclipse Sisu
2019-11-06 14:41:36 -05:00
Nikolay Martynov
42cece67c2
Fix namespace clashes
...
Using `datadog.trace.agent` to hold agent class causes problems due to
shadowing into this package of other classes.
2019-11-06 13:58:20 -05:00
Nikolay Martynov
17155f7d57
Fix scala warning
2019-11-06 13:58:20 -05:00
Nikolay Martynov
06a895672a
Revert "Disable zulu8 test for time being due to test incompatibility"
...
This reverts commit 0b4b07b3f8 .
2019-11-06 10:12:42 -05:00
Nikolay Martynov
15c1e67334
Fix agent on latest zulu8
...
The problem was that on zulu8 loading OkHttp touches JFR which in turn
touches log manager - which would break things like JBOSS.
The fix is to delay installing agent (and writer) until log manager
things have settled down - in way similar to jmxfetch.
Unfortunately for 'main' agent this turns out to be more involved
because of classloader shenanigans.
2019-11-06 10:09:50 -05:00