Commit Graph

4139 Commits

Author SHA1 Message Date
Tyler Benson 97efa307d3 Stop setting error tag and update tests. 2020-04-13 13:59:11 -04:00
Tyler Benson 73fb7aa2b6 Add TraceProcessor and move some existing functionality to rules
Specifically, the Status5XXRule, URLAsResourceNameRule, and Status404Rule.
2020-04-13 13:59:11 -04:00
Tyler Benson af188c2901
Merge pull request #1361 from DataDog/revert-1336-lpriima/_dd.measured
Revert "add ..."metrics":{"_dd.measured":1}... to every span"
2020-04-10 14:28:51 -04:00
Tyler Benson b85e023fbe Revert "add ..."metrics":{"_dd.measured":1}... to every span (#1336)"
This reverts commit cda39adf50.
2020-04-10 13:56:03 -04:00
Lev Priima 7f146d74dc
DD_SERVICE; DD_ENV; DD_VERSION env vars support (#1341)
DD_SERVICE; DD_ENV; DD_VERSION env vars support

* Config.valueOf("", null, "") with throw NPE

* mark unused public fields @Deprecated in Config.java

* keep unused public fields untouched

* retrun 2arg Config ctor
2020-04-10 10:50:11 -07: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
Kyle Verhoog e7df954c94
Merge pull request #1357 from Kyle-Verhoog/kylev/fix-reliability-re
Fix reliability branch filter regex
2020-04-09 12:44:11 -04:00
Kyle Verhoog a8c14cdcb2
Fix reliability branch filter regex 2020-04-07 20:58:38 -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
Nikolay Martynov feb11a7a8e
Merge pull request #1353 from DataDog/mar-kolya/update-gradle
Update gradle to 6.3
2020-04-06 10:23:50 -04:00
Nikolay Martynov 2870819fa6 Update gradle to 6.3 2020-04-06 08:08:03 -04: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 c758a81bc9
Merge pull request #1348 from DataDog/mar-kolya/add-profiling-site-config
Add option to configure Datadog site used to send profiling information
2020-04-03 12:14:40 -04:00
Nikolay Martynov cda34a6157 Merge branch 'master' into mar-kolya/add-profiling-site-config 2020-04-03 08:03:44 -04:00
Nikolay Martynov b429cf4c52 Add some deprecation notes 2020-04-03 07:52:26 -04:00
Nikolay Martynov 98da6eb156
Merge pull request #1349 from DataDog/jpbempel/PROF-1296
Remove sensitive information from debug log
2020-04-03 07:35:27 -04:00
Nikolay Martynov e812d327fb Rename DD_PROFILING_SITE to DD_SITE 2020-04-03 07:10:42 -04:00
Nikolay Martynov e1f2052e25 Minor clean up and add one more test 2020-04-02 16:07:13 -04:00
Nikolay Martynov d1f1f8d6e9 Add option to configure Datadog site used to send profiling information 2020-04-02 15:56:05 -04:00
jean-philippe bempel 58ea15e590 if not populated returns null for toString 2020-04-02 19:17:26 +02:00
jean-philippe bempel 4d15d5ae96 Sensor information instead of excluding the fields 2020-04-02 18:26:14 +02:00
jean-philippe bempel 96757f0c58 Remove sensitive information from debug log
Config.toString() method is dumped when logging in debug the conf.
It includes in some case the profile api key when used with env vars.
Also proxy password is also dumped.
toString method generated by Lombok now excludes both fields
2020-04-02 17:54:02 +02:00
Brian Devins-Suresh 40cbd19f8e
Merge pull request #1325 from DataDog/devinsba/play-2.3
Play 2.3 support
2020-03-26 14:54:30 -04:00
Brian Devins-Suresh fbb43840d3 Fix new client tests 2020-03-26 14:29:35 -04:00
Amine Mesbahi c6485099b1
Merge pull request #1342 from DataDog/mesbahi/push_artifact_reliability_env
Add copy_artifact script
2020-03-26 17:28:01 +01:00
Brian Devins-Suresh 026072b866 Wrong endpoint 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 08e9f8c6e2 Undo star import 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh acba3626dc Missed a static import 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh d3def8ce2d :( 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 8dd5993a8f Fix codenarc 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 661a8f5a3e Fix the latestdeptests 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 6fa94ed9ac Update to new module name 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 879d84a162 Try to fix client test, not quite 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 7f7b7d41cd Depend on netty 3.9 instrumentation 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 485d9cb6c2 Work so far 2020-03-26 10:10:32 -04:00
Brian Devins-Suresh 89a0761ab4 Add typesafe repo and skip bad builds 2020-03-26 10:10:31 -04:00
Brian Devins-Suresh d1093a79b8 rename package 2020-03-26 10:10:31 -04:00
Brian Devins-Suresh 5cfaf8b2e5 Test servers now both work 2020-03-26 10:10:31 -04:00
Brian Devins-Suresh 73122ea72c Starting to get tests building 2020-03-26 10:10:31 -04:00
Amine.Mesbahi 4083212814 Apply copy artifact to only master and *-reliability 2020-03-26 13:44:57 +01:00
Amine.Mesbahi 4a30faa8ff Add copy_artifact script to config 2020-03-26 11:18:30 +01:00
Amine.Mesbahi b63d0c6826 Add copy_artifact script 2020-03-26 10:58:48 +01:00
Brian Devins-Suresh 8f876c1b7d
Merge pull request #1340 from DataDog/devinsba/netty38-client-tests
Fix netty 3.8 http client tests
2020-03-25 19:40:14 -04:00
Brian Devins-Suresh 4ac364d92a Fix tests 2020-03-25 16:29:01 -04:00
Brian Devins-Suresh de4b6d7733
Merge pull request #1320 from DataDog/tyler/http-client-testing
Add tests for http clients
2020-03-25 16:08:26 -04:00