Commit Graph

3696 Commits

Author SHA1 Message Date
Nikolay Martynov ca9f623d05 Add profiling lz4 compression support
Gzip is still the default
2020-02-12 15:00:02 -05:00
Nikolay Martynov 23d3b75555
Merge pull request #1211 from DataDog/profiling-release
Support JFR profiling
2020-02-11 22:51:19 -05:00
Nikolay Martynov 2647bf05a9
Merge pull request #1213 from DataDog/mar-kolya/upgrade-gradle
update gradle to 6.1.1
2020-02-11 15:31:18 -05:00
Nikolay Martynov e266c1357d update gradle to 6.1.1 2020-02-11 15:09:09 -05:00
Nikolay Martynov fd58187994 Support JFR profiling 2020-02-11 14:55:19 -05:00
Tyler Benson 81ac8ab4b4 Begin 0.44.0 2020-02-11 11:41:43 -08:00
Tyler Benson 437ff986e9 Version 0.43.0 2020-02-11 11:33:13 -08:00
Laplie Anderson c28bf2180e
Merge pull request #1199 from DataDog/landerson/shared-classloader
Shared classloader for agent and jmx-fetch
2020-02-11 13:48:01 -05:00
Nikolay Martynov 25534b2641
Merge pull request #1209 from DataDog/mar-kolya/fix-jacoco-settings
Fix the way jacoco defaults are set
2020-02-11 13:03:33 -05:00
Nikolay Martynov 05c2d6e947 Fix the way jacoco defaults are set 2020-02-11 12:05:06 -05:00
Laplie Anderson 9023c6e1c7 Fix a couple tests using the wrong arguments 2020-02-11 11:44:46 -05:00
Laplie Anderson 01b0bebc93 minor formatting 2020-02-11 11:44:46 -05:00
Laplie Anderson 0cb0ae0a48 Less repetition in gradle files 2020-02-11 11:44:46 -05:00
Laplie Anderson c79fe3a459 Create shared internal jar 2020-02-11 11:44:46 -05:00
Laplie Anderson 3c0877e38a Create a shared parent classloader 2020-02-11 11:42:39 -05:00
Tyler Benson 032f22f5a6
Reduce tracer thread count by combining scheduled executors int… (#1200)
Reduce tracer thread count by combining scheduled executors into a single executor.
2020-02-11 08:18:59 -08:00
Tyler Benson 829e8f6442
Move agent api classes to bootstrap package so they're not anal… (#1208)
Move agent api classes to bootstrap package so they're not analyzed by muzzle
2020-02-11 07:36:45 -08:00
Tyler Benson 51bffa2e8a Move agent api classes to bootstrap package so they're not analyzed by muzzle
Also move jdbc classes to bootstrap to reduce size and complexity of those reference checkers.

These changes reduce the total file size of these instrumentation classes by 635k, which should also result in decent memory savings.
2020-02-10 15:09:15 -08:00
Tyler Benson 486d98135e Code review changes 2020-02-10 11:37:36 -08:00
Tyler Benson 9c6cfbe359 Fix shutdown hook. 2020-02-10 10:45:58 -08:00
Tyler Benson e5980d4812 Fix muzzle 2020-02-10 10:45:58 -08:00
Tyler Benson 75c7769192 Reduce tracer thread count by combining scheduled executors into a single executor.
Pulls out utility classes for reuse by other projects.

This also meant the dependency had to be bundled with dd-trace-ot since it isn't published as a separate dependency.
2020-02-10 10:45:58 -08:00
Tyler Benson f2d8c8e6b9
Fix NPE on serialization with no span type (#1207)
Fix NPE on serialization with no span type
2020-02-10 09:10:02 -08:00
Tyler Benson f5bef0d239
Limit Hibernate latest dependency test to 5.x (#1206)
Limit Hibernate latest dependency test to 5.x
2020-02-07 17:44:59 -08:00
Tyler Benson 66400c9b37 Fix NPE on serialization with no span type
Add tests.
2020-02-07 15:58:49 -08:00
heathkd 7e62bca7fe limit hibernate latest dependency test to 5.x 2020-02-07 17:57:34 -05:00
Lev Priima 0acd087f4e
Merge pull request #1204 from DataDog/lpriima/reduce_use_of_Thread#setContextClassLoader
Reduce use of Thread::setContextClassLoader number of hard references to DatadogClassLoader
2020-02-07 14:02:47 -05:00
Lev Priima 5265a43c6d Reduce use of Thread::setContextClassLoader 2020-02-06 22:53:04 -05:00
Cecile terpin 0e86cf6312
Merge pull request #1202 from DataDog/cecile/setError
Cecile/set error
2020-02-06 17:47:21 +01:00
Cécile Terpin 25ddcd434b Merge branch 'master' into cecile/setError 2020-02-06 17:03:33 +01:00
Cécile Terpin d095978223 Fix setError 2020-02-06 17:02:17 +01:00
Tyler Benson 14b5576cd8
Merge pull request #1201 from DataDog/tyler/upgrade-okhttp
Upgrade OkHttp client to 3.12.8
2020-02-04 15:55:36 -08:00
Tyler Benson cab139e905 Upgrade OkHttp client to 3.12.8 2020-02-04 15:06:44 -08:00
Laplie Anderson a811c027ce
Merge pull request #1188 from DataDog/landerson/finatra
Finatra Instrumentation
2020-02-04 17:36:47 -05:00
Tyler Benson 0eac80baa0
Remove Jackson from dd-trace-ot (#1185)
Remove Jackson from dd-trace-ot
2020-02-03 15:10:16 -05:00
Tyler Benson 697d4972a8 Remove Jackson from dd-trace-ot
Reduced the size of dd-java-agent jar by about 2 MB. Jackson is not removed completely though as it is still a dependency of jmxfetch.

Trace serialization is primarily done directly with msgpack.
Response deserialization and LoggingWriter serialization is done with mochi.

Msgpack Serialization buffer still not being reused though.
2020-01-31 15:59:43 -05:00
Tyler Benson 406b324a82
Split TraceConsumer into two different disruptors (#1161)
Split TraceConsumer into two different disruptors
2020-01-31 15:41:14 -05:00
Brian Devins-Suresh 6ae4ab3880 Begin 0.43.0 2020-01-31 15:19:38 -05:00
Brian Devins-Suresh f78b34fd9d Version 0.42.0 2020-01-31 14:33:50 -05:00
Brian Devins-Suresh 848476316d
Merge pull request #1196 from DataDog/tyler/fix-span-attribute
Set dispatcher span on request instead of clear
2020-01-31 13:26:33 -05:00
Tyler Benson daae198b08 Set dispatcher span on request instead of clear
Clearing the span caused traces to be broken up and reported independently when calling forward/include.
2020-01-30 21:55:16 -05:00
Douglas Q Hawkins 53d32b4324
Merge pull request #1189 from DataDog/dougqh/type-caching2
Revised type cache
2020-01-30 18:47:02 -05:00
Laplie Anderson ed12af6994 Assume parent span is netty 2020-01-30 18:21:49 -05:00
dougqh faeb069424 Adjusting capacity check again 2020-01-30 18:08:49 -05:00
dougqh 235a6470fb googleJavaFormat 2020-01-30 17:45:40 -05:00
dougqh 0f095f0adb Final clean-up
- Removed unused method from earlier version
- Corrected previously overlooked comments that were remnant of prior version
2020-01-30 17:44:24 -05:00
Laplie Anderson 37a279069b Add server tests 2020-01-30 15:23:26 -05:00
Tyler Benson 8757ba0a81
Fix potential StackOverFlowError on regexp (#1193)
Fix potential StackOverFlowError on regexp
2020-01-29 13:19:40 -05:00
Blinkingor 8d83172128 clazz -> segment rename 2020-01-29 18:41:29 +01:00
Blinkingor db485d10da final configString 2020-01-28 16:20:02 +01:00