Commit Graph

3893 Commits

Author SHA1 Message Date
Marius Constantin a86d229378
Merge pull request #1225 from DataDog/mconstantin/introduce-the-logs-handler
Introduce the LogsHandler
2020-03-02 16:40:27 +01:00
Nikolay Martynov a1f6ca1ee7 Make lz4 default compression
Also do some renaming in compression settings
2020-03-02 10:12:47 -05:00
Nikolay Martynov b3d81281f6 Merge branch 'master' into mar-kolya/profiling-lz4 2020-03-02 10:02:09 -05:00
Trask Stalnaker 0984ac2a61 Fix class loading instrumentation 2020-02-29 15:28:50 -08:00
Nikolay Martynov 2c33f0ace7 Add an option to force profiling right in the beginning of premain
Currently this blows up JVMs before 14
2020-02-29 00:36:50 +01:00
Tyler Benson 80f13bc670 Add proper hashcode/equals methods to our matchers
I copied over the methods that would have been generated had the `HashCodeAndEqualsPlugin` actually been working.

Also updated the matcher tests to use the TypePool for more realistic values.
2020-02-28 14:13:18 -08:00
Tyler Benson 55276148b9
Merge pull request #1251 from DataDog/devinsba/fast-reference-matcher
Fail fast in the matcher, let the debug outputs use the cache
2020-02-28 09:56:45 -08:00
Marius Constantin d36201c9dc Apply code review changes 2020-02-28 18:53:35 +01:00
Marius Constantin b24ae8d638 Add the DefaultLogHandler implementation 2020-02-28 18:53:35 +01:00
Marius Constantin 6cd2d9f79b Introduce the LogsHandler 2020-02-28 18:53:35 +01:00
Nikolay Martynov a26f08957f
Merge pull request #1261 from DataDog/mar-kolya/speedup-context-injection-matchers
speedup context injection matchers
2020-02-28 03:04:05 +01:00
Nikolay Martynov cf5fe9feff Merge branch 'master' into mar-kolya/speedup-context-injection-matchers 2020-02-28 02:07:37 +01:00
Nikolay Martynov 5c4cd95796
Merge pull request #1267 from DataDog/mar-kolya/constantify-decorator-matcher
Constantify non decorator matcher
2020-02-28 02:02:00 +01:00
Nikolay Martynov 3d4ab93888 Merge branch 'master' into mar-kolya/speedup-context-injection-matchers 2020-02-28 02:01:33 +01:00
Nikolay Martynov 0b196ed3ec Merge branch 'master' into mar-kolya/constantify-decorator-matcher 2020-02-28 01:41:02 +01:00
Lev Priima 5317597e4d
Merge pull request #1244 from DataDog/lpriima/ClassLoaderMatcherGuavaCache
ClassLoaderMatcher put to Guava Cache outside critical section
2020-02-27 16:04:55 -08:00
Lev Priima 885212ee36 ClassLoaderHasNoResourceMatcher: put to cache outside critical section 2020-02-27 13:12:23 -08:00
Tyler Benson 68e4bf8375
Merge pull request #1266 from DataDog/tyler/imply-not-interface
Imply not(isInterface()) call for expensive matchers
2020-02-27 12:54:15 -08:00
Tyler Benson 35e00686b3 Imply not(isInterface()) call for expensive matchers
Also remove from simple named("some.name") matchers to avoid metadata lookup.
2020-02-27 12:13:42 -08:00
dougqh 7c68238f6a Merge branch 'master' of github.com:DataDog/dd-trace-java 2020-02-27 14:50:11 -05:00
Tyler Benson ed061b6979
Merge pull request #1268 from DataDog/tyler/aws-uri
Remove conversion from URI to String back to URI
2020-02-27 11:17:00 -08:00
Tyler Benson b3da04ce68
Merge pull request #1270 from DataDog/landerson/contributing-IDEA
Add compiler settings for Intellij
2020-02-27 11:14:06 -08:00
Tyler Benson 4e8e098330
Merge pull request #1257 from DataDog/tyler/caching-typedescription
Return TypePool.Resolution that caches TypeDescription calls.
2020-02-27 11:12:40 -08:00
Laplie Anderson 6ed5f56bb7
Merge pull request #1255 from DataDog/landerson/spring-blacklist
Add list of blacklisted spring classes
2020-02-27 14:07:42 -05:00
Laplie Anderson 52b5f611ea Add compiler settings for Intellij 2020-02-27 14:05:02 -05:00
Tyler Benson 300c795e72 Remove conversion from URI to String back to URI
Apply same change as here: https://github.com/open-telemetry/opentelemetry-auto-instr-java/pull/191
2020-02-27 10:21:06 -08:00
Nikolay Martynov 2f71ad850f Constantify non decorator matcher 2020-02-27 17:52:20 +01:00
Nikolay Martynov bc85e69aad
Merge pull request #1263 from DataDog/mar-kolya/dd-tags
Introduce dd.tags
2020-02-27 17:28:55 +01:00
Nikolay Martynov d53c138016 Make FieldBackedProvider inject fields only once 2020-02-27 16:24:01 +01:00
Nikolay Martynov e8d13aad23
Merge pull request #1262 from DataDog/mar-kolya/upkeep
Upkeep
2020-02-27 15:55:16 +01:00
Nikolay Martynov 6e10eee6ee Use isEmpty 2020-02-27 15:53:48 +01:00
Nikolay Martynov 70bed6f4ac Remove javadoc from some inappropriate places 2020-02-27 15:53:47 +01:00
Nikolay Martynov 5a17e57e99 Provide `toString` for SafeExtendsClassMatcher 2020-02-27 15:53:46 +01:00
Nikolay Martynov 06b052c4d9 Minor cleanup 2020-02-27 15:53:45 +01:00
Nikolay Martynov 0752b07d92 Introduce dd.tags 2020-02-27 12:26:29 +01:00
Laplie Anderson 050298802a Begin 0.45.0 2020-02-26 16:27:50 -05:00
Laplie Anderson 7c11cc2803 Version 0.44.0 2020-02-26 16:05:53 -05:00
dougqh 7511dede5d Merge branch 'master' of github.com:DataDog/dd-trace-java 2020-02-26 15:57:39 -05:00
Tyler Benson f431d5285a Return TypePool.Resolution that caches
Caching focused on the expensive calls primarily used by our instrumentation.
2020-02-26 12:47:48 -08:00
Laplie Anderson 84c7be64b5 Add blacklist directly to global ignores 2020-02-26 11:59:21 -05:00
Tyler Benson 2ec0c1acb7
Merge pull request #1258 from DataDog/tyler/fix-whitelist-logging
Apply matcher if debug logging enabled to avoid confusing log output.
2020-02-26 08:57:17 -08:00
Nikolay Martynov 338f517db2
Merge pull request #1246 from DataDog/mar-kolya/improve-hash-calclulation-cache-pool
improve hash calculation cache pool
2020-02-26 16:22:38 +01:00
Brian Devins-Suresh 30e1d56023 Address comments 2020-02-26 09:14:49 -05:00
Tyler Benson eb8de0d3ab Apply matcher if debug logging enabled to avoid confusing log output.
Otherwise it was "Skipping" every unrelated class.
2020-02-25 18:04:27 -08:00
Laplie Anderson fa3f449ec4 Add list of blacklisted spring classes 2020-02-25 16:33:39 -05:00
Nikolay Martynov 96f74d0fef Compare loader hashes 2020-02-25 21:53:12 +01:00
Nikolay Martynov 82dd2aa1b3 Revert "Make sure that same classloaders get same weak ref"
This reverts commit 50793e5244.
2020-02-25 21:47:42 +01:00
Brian Devins-Suresh 815bd0e9f6 Fix comment 2020-02-25 10:31:52 -05:00
Brian Devins-Suresh 2441ca3332 No more arraylist(0) 2020-02-25 10:02:53 -05:00
dougqh 65c6d17df6 Merge branch 'master' of github.com:DataDog/dd-trace-java 2020-02-25 09:41:40 -05:00