Commit Graph

3893 Commits

Author SHA1 Message Date
Nikolay Martynov cddd368fc0 Fix integration test 2020-02-20 09:26:33 -05:00
Nikolay Martynov c8bbce0549 Fix more tests 2020-02-20 08:48:48 -05:00
Nikolay Martynov 102c0feb5d Merge branch 'master' into mar-kolya/determine-agent-url-on-first-call 2020-02-20 08:33:55 -05:00
Nikolay Martynov f4d8b6b1f2 Avoid creating context provider for intrumentations that do not need that
This should reduce number of allocations
2020-02-20 08:28:25 -05:00
Nikolay Martynov f0a11d4aff Make sure traceUrl is null before detecting agent url 2020-02-20 08:18:54 -05:00
Nikolay Martynov e044567617 Fix test 2020-02-20 08:06:13 -05:00
Nikolay Martynov 8209a8830c Determine agent URL version on first upload call
This should remove http request from critical path during app load
2020-02-20 07:20:08 -05:00
Laplie Anderson 43487fcfb5 Fix the logic 2020-02-19 21:22:17 -05:00
Laplie Anderson 92b9c07018 Add interfaces only code 2020-02-19 21:22:17 -05:00
Laplie Anderson 147b4a64f1 Add matcher for only concrete classes 2020-02-19 21:22:17 -05:00
Laplie Anderson d45ead1284 split matching into safeExtendsClass and safeHasInterface 2020-02-19 21:22:17 -05:00
Tyler Benson 6e4b55304e Add special handling for ignoring `javax.decorator.Decorator` annotated classes. 2020-02-19 16:24:23 -08:00
Tyler Benson 88aa31b63e Remove costly matchers from ignore list
Removing these matchers caused the time spent matching ignores to go from greater than 1 second to less than 100 ms.
2020-02-19 16:24:23 -08:00
Tyler Benson 40f44c318c
Fix test to match new constructors. (#1234)
Fix test to match new constructors.
2020-02-19 16:22:59 -08:00
Tyler Benson 461270f1c7 Fix test to match new constructors. 2020-02-19 15:47:48 -08:00
Nikolay Martynov d49c08691e
Merge pull request #1229 from DataDog/mar-kolya/fix-jaxrs-matching
Fix JaxRs matching
2020-02-19 07:01:21 -05:00
Anubhaw Arya fc6c327705 formatting 2020-02-18 17:40:06 -08:00
Nikolay Martynov 02fb8d8888 Fix JaxRs matching
Paranthesys was missplaced leading to more complicated matcher than needed
2020-02-18 18:42:36 -05:00
Anubhaw Arya 4ee4688253 java 8 2020-02-18 15:20:53 -08:00
Anubhaw Arya 3c6b840d69 Cache the result of toString in BigInteger 2020-02-18 15:04:50 -08:00
Heather D'Souza a81f4dc223
Merge pull request #1192 from DataDog/heather.dsouza/scheduling_annotation
Add support for Spring Scheduling
2020-02-18 14:07:06 -05:00
Tyler Benson 3fff9f1a7d
Move serviceNameMappings processing to DDSpanContext (#1217)
Move serviceNameMappings processing to DDSpanContext
2020-02-18 10:54:36 -08:00
Jean-Philippe Bempel efe8ee375b
Merge pull request #1226 from jpbempel/jpbempel/reuseKeys
Enable reuseKeys on WeakConcurrentMap
2020-02-18 19:09:05 +01:00
heathkd 917deb19be change imports to use bootstrap api package 2020-02-14 20:48:18 -05:00
heathkd f3537e1665 change module and file names to match version of earliest supported version of spring-context 2020-02-14 20:47:16 -05:00
heathkd 9eb51248cd address PR comments 2020-02-14 20:47:16 -05:00
heathkd b21e361591 add test for interval task and trigger task 2020-02-14 20:46:26 -05:00
heathkd cc1aaf5fc5 replace Trace annotation with regular API interaction 2020-02-14 20:46:26 -05:00
heathkd 68c323ac56 create ScheduledTasks bean and application context config 2020-02-14 20:46:00 -05:00
Nikolay Martynov 820103811e
Merge pull request #1224 from DataDog/mar-kolya/disable-peerhostname-from-http-servers
Disable peer hostname tag for http servers
2020-02-14 13:28:15 -05:00
Nikolay Martynov a04cc15ce8 Fix some tests 2020-02-14 12:59:30 -05:00
Nikolay Martynov fd75575796 Disable peer hostname tag for http servers
Getting peer hostname makes DNS request
2020-02-14 11:25:07 -05:00
jean-philippe bempel 58b1cff62e Enable reuseKeys on WeakConcurrentMap
for each call to get method in WeakConcurrentMap, a LatentKey is
created. Considering the frequency of call it's significant.
Also, the classloader of the tracer can be considered as permanent
through the lifecycle of the JVM which is a prerequisite to be able
to reuse keys (otherwise classloader leak).
2020-02-14 14:52:59 +01:00
Tyler Benson 618780b62f
More general class loading instrumentation (#1218)
More general class loading instrumentation
2020-02-13 11:54:25 -08:00
Trask Stalnaker 94dd781e50 Better naming 2020-02-13 11:31:47 -08:00
Trask Stalnaker 4dfd9534e8 Add optimization for IBM JVM 2020-02-13 11:31:47 -08:00
Trask Stalnaker a0224e2ad7 Fix for test failure on IBM JVM 2020-02-13 11:31:47 -08:00
Trask Stalnaker bfc7a0de55 More general class loading instrumentation 2020-02-13 11:31:45 -08:00
Tyler Benson 684535e14a
Merge pull request #1219 from DataDog/mconstantin/generify-the-tracer
Generify the tracer span build methods
2020-02-13 10:46:05 -08:00
Tyler Benson 462aa4a784
Add profiling team to codeowners (#1220)
Add profiling team to codeowners
2020-02-13 08:54:41 -08:00
Brian Devins-Suresh 3bb9406a4f
Merge pull request #1215 from liborio7/master
Fix NPE on TransportActionListener for elasticsearch 2
2020-02-13 11:23:58 -05:00
Nikolay Martynov 572368f310 Add profiling team to codeowners 2020-02-13 09:59:08 -05:00
Giuseppe Cafarelli f94f76488f Add test for elasticsearch 2 TransportActionListener 2020-02-13 14:34:21 +01:00
Marius Constantin 9ef59098ff Generify the tracer span build methods 2020-02-13 10:21:08 +01:00
Tyler Benson 8cab52015e Move serviceNameMappings processing to DDSpanContext
This allows the service name to be updated immediately instead of when the span is finished.
2020-02-12 17:08:57 -08:00
Nikolay Martynov ef9ebffc54 Simplify unknown compression handling 2020-02-12 15:08:25 -05:00
Nikolay Martynov ca9f623d05 Add profiling lz4 compression support
Gzip is still the default
2020-02-12 15:00:02 -05:00
Giuseppe Cafarelli 8f552993a6 Fix NPE on TransportActionListener for elasticsearch 2 2020-02-12 12:14:57 +01: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