Commit Graph

4135 Commits

Author SHA1 Message Date
Nikolay Martynov 377036efd4
typo fixes
Co-Authored-By: Jaroslav Bachorik <jaroslav.bachorik@datadoghq.com>
2020-04-20 08:35:23 -04:00
Nikolay Martynov 2e48634934 Increase gradle test timeout 2020-04-20 08:29:06 -04:00
Nikolay Martynov 5aeca66dcb
Merge pull request #1379 from DataDog/mar-kolya/upgrade-statsd
Use newer version of statsd client
2020-04-17 13:08:54 -04:00
Jaroslav Bachorik 185ad185de
PROF-1037: Capture thread CPU time elapsed in scope (#1358) 2020-04-17 18:14:54 +02:00
Nikolay Martynov 95810488e4 Merge branch 'master' into mar-kolya/upgrade-statsd 2020-04-17 11:47:17 -04:00
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
Lev Priima 07025dd9aa
no dd.* prefix in "env" and "version" tags (#1378) 2020-04-16 12:59:57 -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
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
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
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
Tyler Benson c288f69e64 Move ResourceNameDecorator to ResourceNameRule 2020-04-13 13:59:11 -04:00
Tyler Benson f0eb73ef12 Use tags instead of meta
which includes baggage.
2020-04-13 13:59:11 -04:00
Tyler Benson 329e79b801 Move SpanTypeDecorator to SpanTypeRule 2020-04-13 13:59:11 -04:00
Tyler Benson 2028b10009 Move ErrorFlag to TraceProcessor 2020-04-13 13:59:11 -04:00
Tyler Benson 97efa307d3 Stop setting error tag and update tests. 2020-04-13 13:59:11 -04:00
Tyler Benson 73fb7aa2b6 Add TraceProcessor and move some existing functionality to rules
Specifically, the Status5XXRule, URLAsResourceNameRule, and Status404Rule.
2020-04-13 13:59:11 -04:00
Tyler Benson af188c2901
Merge pull request #1361 from DataDog/revert-1336-lpriima/_dd.measured
Revert "add ..."metrics":{"_dd.measured":1}... to every span"
2020-04-10 14:28:51 -04:00
Tyler Benson b85e023fbe Revert "add ..."metrics":{"_dd.measured":1}... to every span (#1336)"
This reverts commit cda39adf50.
2020-04-10 13:56:03 -04:00