Richard Startin
3f8bc96e8d
get lettuce 4.0 sync and async working
2020-04-27 14:59:11 +01:00
Jean-Philippe Bempel
796a2d3abe
Merge pull request #1395 from jpbempel/jpbempel/JDK7ProfilingMsg
...
Improve message when running with < JDK8
2020-04-24 16:59:05 +02:00
jean-philippe bempel
380b223e71
Improve message when running with < JDK8
2020-04-22 10:24:44 +02:00
Tyler Benson
cd3cbc9c2d
Merge pull request #1385 from DataDog/tyler/extend-jdbc-catch
...
Extend JDBC catch to include Errors
2020-04-21 14:51:35 -04:00
Brian Devins-Suresh
f908859442
Merge pull request #1387 from DataDog/devinsba/dont-change-servletresponse-type
...
Rework servlet 2 to not wrap HttpServletResponse objects
2020-04-21 14:39:48 -04:00
Richard Startin
55030ab74a
Merge pull request #1389 from DataDog/rediscala-instrumentation
...
Rediscala instrumentation
2020-04-21 17:15:14 +01:00
Tyler Benson
a2156fd14b
Update test to throw Throwable.
2020-04-21 12:09:56 -04:00
Tyler Benson
fe0b8f5e50
Extend JDBC catch to include Errors
...
This should help resolve a situation where `getClientInfo` is not implemented and throws an `AbstractMethodError`.
2020-04-21 12:09:56 -04:00
Tyler Benson
f302ac2afe
Add limit for grizzly latestDepTest
...
New `3.0.0-M1` release seems to be breaking the tests.
2020-04-21 11:03:52 -04:00
Richard Startin
dc84659df0
expand scope of etaty rediscala instrumentation
2020-04-21 15:54:31 +01:00
Richard Startin
5bd6500548
muzzle Ma27 fork of rediscala
2020-04-21 15:46:28 +01:00
Richard Startin
16b45b6a93
use etaty/rediscala
2020-04-21 15:46:28 +01:00
Richard Startin
a969c15040
add version to rediscala instrumentation name, update referenced dd class names, use random port for test
2020-04-21 15:46:28 +01:00
Laplie Anderson
f56abf2f04
Requires java 8 to run tests
2020-04-21 15:46:28 +01:00
Ali Yakamercan
99408e6ba4
Add instrumentation for Rediscala library
2020-04-21 15:46:28 +01:00
Brian Devins-Suresh
aec2fad9db
Use the parent interface
2020-04-21 09:59:12 -04:00
Brian Devins-Suresh
dc43f3f54c
We don't depend on a 2.3 type anymore
2020-04-21 09:59:12 -04:00
Brian Devins-Suresh
94750a83c9
Rework servlet 2 to not wrap HttpServletResponse objects
2020-04-21 09:59:12 -04:00
Tyler Benson
2743e64fd3
Exclude more weird versions.
2020-04-20 21:59:24 -04:00
Tyler Benson
70f5ff7244
Add the ability to skip specific versions for muzzle
...
This makes it much easier to bypass bad versions than splitting out the muzzle definition.
2020-04-20 16:36:57 -04:00
Tyler Benson
339a35c6cf
Merge pull request #1381 from DataDog/tyler/singletonMap
...
Use singletonMap for single entry maps
2020-04-20 12:12:53 -04:00
Jaroslav Bachorik
eb272bcc00
Add exception sampling event ( #1297 )
2020-04-20 16:31:54 +02:00
Tyler Benson
be11936ac2
Use singletonMap for single entry maps
2020-04-17 15:44:22 -04:00
Jaroslav Bachorik
185ad185de
PROF-1037: Capture thread CPU time elapsed in scope ( #1358 )
2020-04-17 18:14:54 +02: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
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
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
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
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
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
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
02555e5fcc
Merge pull request #1356 from DataDog/tyler/split-fix
...
Fix Extractor edge case with value of a single comma.
2020-04-09 14:46:33 -04:00
Tyler Benson
e7f0d2db12
Alternate fix for #1319
...
Turns out the issue wasn't with an empty string returning an empty array, but a string with just `,`.
```
jshell> ",".split(",")
$1 ==> String[0] { }
```
A non-intuitive edge case in my opinion.
2020-04-07 12:35:20 -04:00
Nikolay Martynov
71f1611f10
Merge pull request #1355 from DataDog/mar-kolya/new-api-key-option
...
Introduce to API key config option
2020-04-06 14:52:33 -04:00
Nikolay Martynov
309f9e2ddb
Introduce to API key config option
...
To stream line configuration in the future intropduce
`DD_API_KEY`/`DD_API_KEY_FILE` to provide agent with API
key. Currently this is only used for profiling but later may be used
for other parts of the agent too.
2020-04-06 12:02:51 -04:00
Jean-Philippe Bempel
176b9c0121
Merge pull request #1350 from jpbempel/jpbempel/improveJFRMessage
...
Add fix suggestion when JFR API not found
2020-04-06 16:35:38 +02:00
jean-philippe bempel
658544fb38
Fix formatting
2020-04-06 13:26:55 +02:00
jean-philippe bempel
ce26d0532e
Add test for improved messages
2020-04-06 12:19:20 +02:00
jean-philippe bempel
343a77d619
Add fix suggestion when JFR API not found
...
suggests to use zulu 1.8u212 at least which include JFR or OpenJDK11+
2020-04-03 20:00:52 +02:00
Nikolay Martynov
d1f1f8d6e9
Add option to configure Datadog site used to send profiling information
2020-04-02 15:56:05 -04:00