Commit Graph

2313 Commits

Author SHA1 Message Date
Andrew Kent 097c557651 Delay jmxfetch init when custom log manager is used by client's app 2019-01-16 12:18:29 -08:00
Tyler Benson a411f7cc5e Upgrade jackson-dataformat-msgpack to 0.8.16 2019-01-16 13:46:20 -05:00
Tyler Benson fe3ebceba9 Add jackson smile dep for old ES tests. 2019-01-16 13:27:04 -05:00
Andrew Kent 4c4b12e1d6 Expand custom logman tests to handle three different logman cases 2019-01-16 10:06:41 -08:00
Andrew Kent 6ffaa9e04f Remove jre logging integration 2019-01-16 08:59:10 -08:00
Andrew Kent 3295739e28 Fix race conditions in custom log manager test
Fix two race conditions in the custom log manager test.

- Remove possibility of false positives by blocking until jmx thread
  sends statsd metrics
- Disable logging in test to avoid deadlock in jmxfetch which can
  occur when the JVM shuts down too quickly
2019-01-16 08:57:59 -08:00
Andrew Kent 75e0862566 Begin 0.22.0 2019-01-15 15:46:22 -08:00
Andrew Kent 0e71b9d15b Version 0.21.1 2019-01-15 15:36:24 -08:00
Nikolay Martynov 4d7bb59e7e
Merge pull request #660 from DataDog/mar-kolya/fix-JsonSpan-conversion-bug
Fix JsonSpan boolean conversion problem
2019-01-15 16:00:09 -05:00
Andrew Kent 2a17432796
Merge pull request #661 from DataDog/ark/jmx-service-tag
Tag JMX metrics with `service` in addition to `service.name`
2019-01-15 20:43:53 +00:00
Andrew Kent 12a7691f04 Tag JMX metrics with `service` in addition to `service.name` 2019-01-15 12:30:11 -08:00
Nikolay Martynov 95c1c47799 Fix JsonSpan boolean conversion problem
It looks like with newer Jackson we cannot convert number to boolean
anymore. So we have to do this manually.
2019-01-15 15:28:42 -05:00
Tyler Benson a620983fb1 Upgrade jackson to 2.9.8
There is a vulerability in prior versions, per the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-1000873
2019-01-14 14:46:59 -05:00
Nikolay Martynov d4cdcf0fc8
Merge pull request #656 from DataDog/mar-kolya/improve-vertx-test-stability
Improve Vertx test stability
2019-01-14 12:34:04 -05:00
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