Commit Graph

2299 Commits

Author SHA1 Message Date
Nikolay Martynov b65317ff36 New API: add writer builder 2019-01-14 12:31:20 -05:00
Nikolay Martynov fce1af97b8 New API: Add Datadog Agent writer 2019-01-14 12:31:20 -05:00
Nikolay Martynov a70b698040
Merge pull request #651 from DataDog/mar-kolya/new-api-agent-client
New API: add Datadog agent client
2019-01-14 12:30:21 -05:00
Nikolay Martynov 1b1f620318 Improve Vertx test stability
By actiually waiting for test server to start listening.
2019-01-11 12:14:17 -05:00
Nikolay Martynov c61cd844e3 New API: add Datadog agent client
This implementation is missing a few minorish things, but should be able to
generally talk to Datadog agent 'traces' endpoint.

Note: this also drops support for 0.3 Datadog Agent.
2019-01-11 07:48:40 -05:00
Andrew Kent 5f1de1437f Begin 0.22.0 2019-01-10 17:13:50 -08:00
Andrew Kent f7c55d5f3e Version 0.21.0 2019-01-10 16:07:00 -08:00
Andrew Kent b6d0dacf4b
Merge pull request #654 from DataDog/ark/java9-logmanager-fix
Workaround LogManager startup issue and add springboot test
2019-01-10 21:22:06 +00:00
Andrew Kent 9d1dd4e194 Add smoketest README and move random port to common util 2019-01-10 11:44:33 -08:00
Andrew Kent bfd653549f Change some common settings for smoke-tests
log server output to files. Fix server dependencies. Only run smoke
tests on standard JVMs.
2019-01-10 10:55:23 -08:00
Andrew Kent 6089dc60ba SpringBoot smoke test 2019-01-10 09:06:22 -08:00
Marco Ferrer 63c28cef31 add kotlin test config to java-concurrent project 2019-01-09 19:20:31 -05:00
Marco Ferrer a31abc67e9 add support for instrumenting kotlin coroutine schedulers 2019-01-09 19:04:42 -05:00
Andrew Kent cc8db0b11f Workaround module bug by skipping LogManager$Cleaner instrumentation 2019-01-09 15:03:43 -08:00
Gary Huang 4a6bd7a097
Merge pull request #636 from DataDog/gary/play-ittest
Add Play Smoke Test with Java Agent
2019-01-09 15:36:39 -05:00
Gary Huang 55787b4fb4
Move to dd-smoke-test project 2019-01-08 23:12:28 -05:00
Gary Huang e66f91cb49
Use stage instead of dist to skip unzipping 2019-01-08 23:04:59 -05:00
Gary Huang 071a545403
Add Play Smoke Test with Java Agent
Adding gradle task & test to compile and start a Play server with the agent, hits a welcome endpoint 200 times as a smoke test.
2019-01-08 23:04:43 -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
Tyler Benson f63d40fe55 Use git submodules to load metrics.yaml files 2019-01-08 10:13:18 -08: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
Tyler Benson 249951aa7a Add README 2019-01-08 09:36:08 -08:00
Tyler Benson de166e5ecb First pass at embedding existing jmx integrations
Using copy/paste from integrations-core.  Will depend on a new jmxfetch release with https://github.com/DataDog/jmxfetch/pull/205 before this will work.
2019-01-08 09:36:07 -08: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 bbfcb26cd1 Implement support for setting Event Sample Rate via tags
This only adds the API, no changes to the integrations.
2019-01-04 15:26:12 -08: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