Commit Graph

2781 Commits

Author SHA1 Message Date
Luca Abbati ac7abcdfa8
Fix expression to include tracing of log4j1 MDC in agent installer 2019-06-21 15:52:20 -04:00
Luca Abbati d0f17e4b9d
Rename log context injection test base 2019-06-21 08:54:13 -04:00
Luca Abbati 0916a00a5e
Fixed unnecessary semi-colon in groovy class 2019-06-20 21:42:50 -04:00
Luca Abbati 27b4db8861
Remove legacy transitive dependencies no longer bundled with the JVM from muzzle tests 2019-06-20 21:29:46 -04:00
Luca Abbati cba8ba1221
Refactor classes of log injection services to improve readability 2019-06-20 18:38:00 -04:00
Luca Abbati b7393df473
Remove jms functionality brought in by log4j1.X dependency 2019-06-20 18:23:40 -04:00
Luca Abbati 4d1d5d1012
Introduce the mandatory test suite that a supported logging library MUST satisfy for log injection 2019-06-20 18:15:19 -04:00
Luca Abbati c2bd5eefa0
Remove method that was copied and pasted from slf4j instrumentation but seems not to be relevant here 2019-06-20 17:55:43 -04:00
Luca Abbati ecdf6664ef
Refactor log4jX instrumentations 2019-06-20 17:36:10 -04:00
Luca Abbati 34d589e536
Create a reusable log context listener to be used for slf4j, log4j1 and log4j2 2019-06-20 17:07:28 -04:00
Luca Abbati dcf0f57030
Add support for log4j 1.x 2019-06-20 16:08:49 -04:00
Luca Abbati 8d562f91fd
Rename log4j package removing the left-over from sl4j original class 2019-06-19 12:35:22 -04:00
Luca Abbati d9eb480f3c
Rename log4j2 module to reflect library name 2019-06-19 12:35:22 -04:00
Luca Abbati 22477efb7a
Add basic support for log4j ThreadContext for log injection. 2019-06-19 12:34:39 -04:00
Nikolay Martynov d3266e9215
Merge pull request #889 from DataDog/mar-kolya/log-time-stamp
Configure system logger to log timestamp
2019-06-18 12:35:33 -04:00
Nikolay Martynov 736cb9c317
Merge pull request #888 from DataDog/mar-kolya/make-test-setup-more-flexible
Make test setup more flexible
2019-06-17 18:01:24 -04:00
Luca Abbati 896d485f94 Begin 0.31.0 2019-06-17 23:27:30 +02:00
Luca Abbati b43f6e97ac Version 0.30.0 2019-06-17 20:58:26 +02:00
Nikolay Martynov a9a623d1dc Configure system logger to log timestamp
Also add an 'identifying marker' to tracing log lines so we could
potentially automatically parse them.
2019-06-17 12:56:19 -04:00
Luca Abbati 72cad287ff
Merge pull request #862 from DataDog/labbati/config-file
Provide a way to configure the tracer using properties file
2019-06-17 17:28:07 +02:00
Nikolay Martynov 808e965c9b Add Zulu to circleci build 2019-06-17 11:26:47 -04:00
Nikolay Martynov 7fc5132ea6 Add support for forcing JDK to run tests on 2019-06-17 11:25:13 -04:00
Luca Abbati d865a1a249
Format code 2019-06-17 08:22:44 -04:00
Luca Abbati a3be0cbf9f
Merge branch 'master' of github.com:DataDog/dd-trace-java into labbati/config-file 2019-06-17 08:11:50 -04:00
Luca Abbati d0b32147a8
Be more friendly for config file to unix users using tilde for home 2019-06-17 08:10:50 -04:00
Tyler Benson e8246f6b97
Merge pull request #881 from DataDog/tyler/instance-name
Add `dd.trace.db.client.split-by-instance` Config
2019-06-14 08:40:52 -07:00
Nikolay Martynov 350ff9bb1d
Merge pull request #884 from DataDog/mar-kolya/do-not-collect-cores
Revert "Collect more debugging info"
2019-06-14 11:37:10 -04:00
Nikolay Martynov f37e4a2ec2 Revert "Collect more debugging info"
This reverts commit a0fc54936a.
2019-06-14 11:18:17 -04:00
Tyler Benson 3ce3c7c8c5
Merge pull request #882 from DataDog/tyler/cassandra-testing
Update Cassandra Tests and more instance name cleanup
2019-06-14 08:02:21 -07:00
Luca Abbati f578c9ccf2
Remove system properties and envs left-over in Config tests 2019-06-14 11:50:11 +02:00
Tyler Benson a4d53b0dcd Update Cassandra Tests and more instance name cleanup 2019-06-13 15:55:40 -07:00
Tyler Benson 68567cdc9d
Merge pull request #880 from DataDog/tyler/mongo-instance
Update Mongo instance name and remove memcache instance name
2019-06-13 15:53:59 -07:00
Tyler Benson 4c5793bddf Add `dd.trace.db.client.split-by-instance` Config 2019-06-13 15:52:37 -07:00
Tyler Benson 7e2f85d674 Fix latest test 2019-06-13 14:54:41 -07:00
Tyler Benson 51d552aec8
Merge pull request #871 from DataDog/tyler/update-mongo-tests
Replace Mongo tests with updated tests.
2019-06-13 14:33:36 -07:00
Nikolay Martynov 5e81ca7913
Merge pull request #879 from DataDog/mar-kolya/preserver-dot-gradle-in-workspace
Preserve .gradle in workspace
2019-06-13 15:39:42 -04:00
Nikolay Martynov 709a548925
Merge pull request #877 from DataDog/mar-kolya/collect-jvm-cores
Collect more debugging info
2019-06-13 15:38:28 -04:00
Tyler Benson 3be6868981 Update Mongo instance name and remove memcache instance name
For mongo, use description if set, fallback to db name.

Memcache doesn’t have a good “instance name” that would work as service name, so clear it out for now.
2019-06-13 12:35:16 -07:00
Tyler Benson 66126bbb70
Merge pull request #873 from DataDog/tyler/separate-latest-tests
Run latestDepTests in a separate job
2019-06-13 12:00:14 -07:00
Tyler Benson 75b626a84d fix tests 2019-06-13 10:59:36 -07:00
Tyler Benson 25305444d4 Set minimum version and fix var name. 2019-06-13 10:44:42 -07:00
Tyler Benson d26edd6c17 Ensure gradle runs base mongo test first
Otherwise there is a race condition between the projects initializing the mongo instance.
2019-06-13 10:44:42 -07:00
Tyler Benson d6719ed5cd Replace Mongo tests with updated tests. 2019-06-13 10:44:42 -07:00
Tyler Benson ca57aade8c Run latestDepTests in a separate job 2019-06-13 10:44:19 -07:00
Nikolay Martynov 16709c0954 Preserve .gradle in workspace 2019-06-13 13:25:09 -04:00
Nikolay Martynov b112043ea3
Merge pull request #876 from DataDog/mar-kolya/make-akka-test-more-stable
Make Akka client test more stable
2019-06-13 13:23:59 -04:00
Luca Abbati 075b30053d
Merge pull request #863 from DataDog/labbati/non-static-config
Avoid usage of static getters when accessing configuration parameters
2019-06-13 18:06:15 +02:00
Nikolay Martynov a0fc54936a Collect more debugging info 2019-06-13 11:59:37 -04:00
Nikolay Martynov f5f3386f79 Make Akka client test more stable
We already have a hack to wait for client span to close after the
request because it is closed on separate thread. This patch extends
that hack to handle cases when original request throws an exception.
2019-06-13 11:51:10 -04:00
Nikolay Martynov fc30badbee
Merge pull request #875 from DataDog/mar-kolya/fix-artifacts-collection
Enable '**' support in logs collection scripts
2019-06-13 11:18:58 -04:00