Commit Graph

4576 Commits

Author SHA1 Message Date
Nikolay Martynov a3a9287ced
Merge pull request #1380 from DataDog/mar-kolya/update-some-dependencies
update some dependencies
2020-04-17 11:45:27 -04:00
Nikolay Martynov 0d11207123 update groovy 2020-04-17 10:38:47 -04:00
Nikolay Martynov 5f9bd1e082 update kotlin 2020-04-17 10:37:00 -04:00
Nikolay Martynov 20bbc6d9da update junit5 2020-04-17 10:36:01 -04:00
Nikolay Martynov 2fc06d9c85 update slf4j 2020-04-17 10:34:34 -04:00
Nikolay Martynov 1ec76d68b7 update okhttp 2020-04-17 10:33:50 -04:00
Nikolay Martynov 00ac902a8f Include specific unixsocket lib version into shared jar 2020-04-17 09:56:26 -04:00
Nikolay Martynov ad0960a922 Use newer version of statsd client 2020-04-17 09:36:22 -04:00
Nikolay Martynov 7c1f166048 Use newer version of jnr-unixsocket 2020-04-17 09:34:54 -04:00
Andrew Hsu cc3f39b6b2
added instructions for getting snapshot builds (#330) 2020-04-16 20:15:16 -07:00
Trask Stalnaker 486d7cce62
Add auto-exporter shadowJars to build (#331) 2020-04-16 16:53:27 -07:00
Trask Stalnaker 16833a8c30
Rename ListWriter to InMemoryExporter (#328) 2020-04-16 13:47:12 -07:00
Lev Priima 07025dd9aa
no dd.* prefix in "env" and "version" tags (#1378) 2020-04-16 12:59:57 -07:00
Trask Stalnaker 7f76929cd5
Rename resource name to span name (#327) 2020-04-16 12:13:42 -07:00
Tyler Benson 61a7285ea6
Merge pull request #1377 from DataDog/tyler/jax-rs-nested-call
Properly handle resource name for nested JAX-RS calls
2020-04-16 14:54:18 -04:00
Tyler Benson ebb9b5da65 Properly handle resource name for nested JAX-RS calls
Previously the last called one was winning.  Now we check if the resource name is already set before applying the new name.
2020-04-16 14:23:16 -04:00
Trask Stalnaker 1f0cd54fd7
Remove copyright year from license header (#322)
* Update template

* Apply template
2020-04-15 11:24:44 -07:00
Trask Stalnaker e8a451cbce
Remove unused service method (#321) 2020-04-15 10:17:04 -07:00
Trask Stalnaker dc90ea7acb
Simplify Spring WebMVC decorator (#324) 2020-04-15 09:44:03 -07:00
Trask Stalnaker 262ab15fa8
Change aws-sdk span kind to INTERNAL (#323) 2020-04-15 09:16:24 -07:00
Brian Devins-Suresh 9e9facfad7
Merge pull request #1374 from DataDog/devinsba/revert-sample-rate-feature
Revert feature to calculate sample rate based on failed reporting
2020-04-15 11:44:57 -04:00
Brian Devins-Suresh 8e111e49ad Revert feature to calculate sample rate based on failed reporting 2020-04-15 11:09:07 -04:00
Tyler Benson d313d710af
Merge pull request #1360 from DataDog/tyler/spring-dispatcher
Add instrumentation to detect the route at the beginning of the spring request
2020-04-14 16:30:49 -04:00
Trask Stalnaker a333cfe536
Remove unused getComponentName (#314) 2020-04-14 13:29:33 -07:00
Trask Stalnaker bf5b009ef8
Remove unused code (#319)
* Remove unused/deprecated code

* Remove unused code

* Remove unused return value

* Remove unnecessary throws clauses

* Remove unused code

* Remove default attribute value

* Remove unused code

* Remove unused code

* Remove unused code

* Remove unused constants

* Remove unused constant

* Remove unused parameter

* Remove unused PostMatchHook

* Remove unused constants
2020-04-14 12:29:24 -07:00
Trask Stalnaker d94bf95bcf
Add db.url for jedis-1.4 and jedis-3.0 (#316)
* Add db.url for jedis-1.4

* Add db.url for jedis-3.0
2020-04-14 12:00:09 -07:00
Tyler Benson ce006e1405 Ensure RequestDispatcher span is part of expected trace 2020-04-14 14:56:16 -04:00
Tyler Benson 64161d93c9 Add instrumentation to detect the route at the beginning of the spring request
Instead of waiting till the handler is called, otherwise if a response is returned by a filter then the proper name wouldn't be set and would fall back to the URL.
2020-04-14 14:19:14 -04:00
Tyler Benson 07f99a98d8
Merge pull request #1221 from DataDog/tyler/trace-processor
Add TraceProcessor and move some existing functionality to rules
2020-04-14 13:33:46 -04:00
Trask Stalnaker b127673610
Reduce unnecessarily verbose debug logging (#318) 2020-04-14 10:30:21 -07:00
Trask Stalnaker aa5bc22bcd
Remove no longer needed exclusion (#315) 2020-04-14 09:32:03 -07:00
Nikolay Martynov c961dac771
Merge pull request #1371 from DataDog/mar-kolya/add-thread-utils-to-bootstrap
Add thread utils to bootstrap so instumentations could use them
2020-04-14 12:24:53 -04:00
Tyler Benson 11c71e1d5d Avoid setting the error tag
and test fixes.
2020-04-14 12:21:51 -04:00
Nikolay Martynov f4c9b73b02 Add thread utils to bootstrap so instumentations could use them 2020-04-14 11:47:40 -04:00
Nikolay Martynov 11035e4c43
Merge pull request #1366 from DataDog/mar-kolya/safe-periodic-tasks
Make `CommonTaskExecutor` periodic tasks safe
2020-04-13 19:22:58 -04:00
Nikolay Martynov bef848ec2d Disable coverage and add TODO 2020-04-13 18:44:18 -04:00
Lev Priima bd637732da
No logging when using default Value when parsing (#1364) 2020-04-13 15:15:24 -07:00
Tyler Benson 3aa803489b Fix tests. 2020-04-13 18:03:53 -04:00
Nikolay Martynov b1589c3819 Fix unit test 2020-04-13 17:51:20 -04:00
Nikolay Martynov 96fcb278b6 Add comment 2020-04-13 17:41:25 -04:00
Nikolay Martynov eee11f5ce0 Remove Cleaner class 2020-04-13 17:34:31 -04:00
Nikolay Martynov 683477bd60 Simplify WeakMapSuppliers
Also move CleanerTest to PeriodicSchedulingTest
2020-04-13 17:30:31 -04:00
Tyler Benson d1dc756b12 Fix issues from code reviews. 2020-04-13 17:06:12 -04:00
Tyler Benson 60226086c3 Catch NumberFormatException 2020-04-13 17:06:12 -04:00
Nikolay Martynov d86093c474 Minor CR fixes and some comments 2020-04-13 17:05:30 -04:00
Nikolay Martynov 1fb844ab5f Make `CommonTaskExecutor` periodic tasks safe
* Verify that we can schedule task and catch exceptions.
This should help to avoid additional exceptions on app crash during
  startup.

* Avoid holding strong references from within executor to make sure
  that things can get GCed.
2020-04-13 16:04:31 -04:00
Tyler Benson df97f90fec Remove OperationDecorator 2020-04-13 15:55:37 -04:00
Tyler Benson 8170f7bc7b Various fixes 2020-04-13 15:55:37 -04:00
Tyler Benson 7614fa42e0 Move DBStatementAsResourceName to DBStatementRule 2020-04-13 15:54:52 -04:00
Tyler Benson 7650efe5ed Move AnalyticsSampleRateDecorator to AnalyticsSampleRateRule 2020-04-13 15:54:51 -04:00