Commit Graph

2078 Commits

Author SHA1 Message Date
Marco Ferrer a31abc67e9 add support for instrumenting kotlin coroutine schedulers 2019-01-09 19:04:42 -05:00
Gary Huang c1ae0a8629
Merge pull request #635 from DataDog/gary/wildfly-ittest
Add Wildfly Smoke Test with Java Agent
2019-01-08 21:57:43 -05:00
Gary Huang e1922ed8ba
Move to top level subproject 2019-01-08 20:11:11 -05:00
Nikolay Martynov 35de4eebac
Merge pull request #650 from DataDog/mar-kolya/use-unused-port-in-akka-tests
Use port 61 for unused port in akka tests
2019-01-08 12:48:11 -05:00
Nikolay Martynov 354cbfcb2d Concurent instrumentation tests: block thread before starting tracing
Otherwise blocking thread is pretty much useless since we may still
get spans if threads are executed quickly enough.
2019-01-08 12:30:18 -05:00
Nikolay Martynov 06bd670f0a Remove unused class 2019-01-08 12:30:10 -05:00
Nikolay Martynov 93b018b4cc Use port 61 for unused port in akka tests
This port is in low range and is not assigned so nothing should really
be listening on it on any host.
2019-01-08 12:04:50 -05:00
Nikolay Martynov db425bb7b1
Merge pull request #648 from DataDog/mar-kolya/add-log-ratelimiter
Add log ratelimiter
2019-01-07 19:40:37 -05:00
Nikolay Martynov 2bf359d2dc Add LogRateLimiter
Some helper code to limit log entiries in client logs
2019-01-07 19:16:51 -05:00
Nikolay Martynov 850fd9b4e4
Merge pull request #642 from DataDog/mar-kolya/new-api-json-render
Initial support for JSON rendering in new API
2019-01-07 19:15:00 -05:00
Tyler Benson 7da0cc7f50
Merge pull request #645 from DataDog/tyler/instrumenter-signature
Apply proper generic signature for Instrumenter.Default transformers()
2019-01-07 14:18:52 -08:00
Tyler Benson 589556ca79
Merge pull request #643 from DataDog/tyler/move-ittests
Moves all ittests to be tests under dd-java-agent.
2019-01-07 11:43:47 -08:00
Nikolay Martynov dcb2713f72 New api: Make Clock class package-private since it is an implementation detail 2019-01-07 13:52:16 -05:00
Nikolay Martynov eaafb5fa5d New API: remove `reportWarning` from tracer and use logger instead 2019-01-07 13:52:16 -05:00
Nikolay Martynov ed29969cb8 Initial support for JSON rendering in new API 2019-01-07 13:52:16 -05:00
Tyler Benson c18b299606 Also exclude test coverage from instrumentation 2019-01-04 15:25:36 -08:00
Tyler Benson 6d7415fed2 Don’t run coverage on projects that use shadow
It was breaking on dd-java-agent where it has duplicate classes across different jars.  These projects are excluding everything anyway.
2019-01-04 15:25:36 -08:00
Tyler Benson 6a09f6e2b9 Moves all ittests to be tests under dd-java-agent.
This was weird having it as a separate project.  Reduces the number of top level directories.

There weren’t any existing tests in dd-java-agent’s test directory, so this seemed like a good place to put them.
2019-01-04 15:25:36 -08:00
Tyler Benson fe52180bfc Apply proper generic signature for Instrumenter.Default transformers()
Previously it was missing the MethodDescription portion.
2019-01-04 15:25:12 -08:00
Tyler Benson 20b134e356
Merge pull request #647 from DataDog/tyler/aws-metaspace
Reduce AWS deps and Increase Max Metaspace Size
2019-01-04 15:07:27 -08:00
Tyler Benson e6404b5f23 Try doubling the metaspace size to fix check task. 2019-01-04 13:43:40 -08:00
Tyler Benson 93116e4e12 Avoid downloading so many AWS dependencies for the entire SDK
Only specify the deps we need for the tests.
2019-01-04 13:42:51 -08:00
Nikolay Martynov 7b720e2f1e
Merge pull request #646 from DataDog/mar-kolya/new-api-full-id-range
New API: use full 64bit random ID range
2019-01-04 12:28:26 -05:00
Nikolay Martynov 8f79538067 New API: use full 64bit random ID range 2019-01-03 20:56:52 -05:00
Tyler Benson bb442846bb
Merge pull request #644 from DataDog/mar-kolya/fix-akka-latest-dep
Fix akka latest dep test failure
2019-01-03 16:25:18 -08:00
Nikolay Martynov d02e0d8e47 Fix akka latest dep test failure 2019-01-03 19:13:48 -05:00
Nikolay Martynov ad2d5d6cb7
Merge pull request #638 from DataDog/mar-kolya/fix-akka-101
Fix Akka 10.1 support
2018-12-28 13:30:42 -05:00
Nikolay Martynov be919a0145 Fix Akka 10.1 support 2018-12-28 13:12:33 -05:00
Tyler Benson 82dcc3ce6c
Merge pull request #629 from DataDog/ark/jmx-tagging
Add languages tag to jmx/runtime tags
2018-12-28 09:34:20 -08:00
Tyler Benson 761ea7042a Fix size calculations and improve DDTracerTest 2018-12-27 17:08:46 -08:00
Tyler Benson 8b910b46d1 Update tests for `language` tag in root span 2018-12-27 16:00:47 -08:00
Tyler Benson e7cc493038
Merge pull request #634 from DataDog/tyler/callable-statement
Properly capture callable statement queries
2018-12-27 10:50:44 -08:00
Tyler Benson 3ef347f00f Use safeHasSuperType instead of isSubTypeOf 2018-12-27 10:33:43 -08:00
Tyler Benson 471d8c4410 Properly capture callable statement queries
CallableStatement is a sub type of PreparedStatement.  Previously we were only matching methods that returned exactly PreparedStatement.
2018-12-21 14:03:33 -08:00
Nikolay Martynov 32d8313237
Merge pull request #631 from DataDog/mar-kolya/new-api-work
Start implementation of new tracer API
2018-12-21 11:46:43 -05:00
Nikolay Martynov 3fb98ea51a Wrap finalizers into try/catch 2018-12-21 10:15:19 -05:00
Nikolay Martynov 9674e9f61a Start implementation of the new tracer API
This mainly implements Span, Trace and Continuation logic.
2018-12-21 10:15:15 -05:00
Andrew Kent f6818fae84
Merge pull request #630 from DataDog/ark/mdc-auto-injection
mdc auto injection integration
2018-12-20 01:42:22 +00:00
Andrew Kent e9f1436522 Additional continuable-scope tests 2018-12-19 17:12:58 -08:00
Andrew Kent 2861d87071 slf4j MDC autoinjection integration 2018-12-19 17:09:00 -08:00
Andrew Kent 4dc3528097 Add post-match hook to default instrumenter api 2018-12-19 17:07:43 -08:00
Andrew Kent 1ed64da10e Add internal scope listener api 2018-12-19 13:21:07 -08:00
Andrew Kent 571d9cf077
Merge pull request #632 from DataDog/ark/remove-errorprone
remove errorprone
2018-12-19 20:58:26 +00:00
Andrew Kent 13fdb08a51 Remove errorprone 2018-12-19 12:39:36 -08:00
Andrew Kent 34e866ef2b make error-prone opt-in 2018-12-19 12:37:47 -08:00
Andrew Kent d0f3cfa3d6 Use asm bundled by bytebuddy in field-backed provider
JVM's ASM is not bundled with the agent and may not be present at runtime.
2018-12-19 12:37:47 -08:00
Andrew Kent 5132f0da4b wip: Add languages tag to jmx/runtime tags 2018-12-17 13:32:50 -08:00
Gary Huang e1fd7387ad
Merge pull request #624 from DataDog/gary/play-perf-test
Play Performance Test
2018-12-14 13:11:04 -05:00
Gary Huang 513cccd698
Change shell script to work with play
- Added an argument to the script to take [play-zip|jar] to distinguish between the frameworks to test
- Updated README
- Cleanup
2018-12-14 11:19:17 -05:00
Gary Huang d3b7910950
Add work logic to play server 2018-12-14 11:19:15 -05:00