Commit Graph

4139 Commits

Author SHA1 Message Date
Lev Priima cda39adf50
add ..."metrics":{"_dd.measured":1}... to every span (#1336)
* add ..."metrics":{"_dd.measured":1}... to every span

* update tests to always have "metrics":{"_dd.measured":1} in every span

Authored-by: Lev Priima <lev.priima@data.dog>
2020-03-25 11:17:47 -07:00
Nikolay Martynov ca48af1239
Merge pull request #1339 from DataDog/mar-kolya/add-logging
Add logging to netty tests
2020-03-24 16:25:00 -04:00
Nikolay Martynov e5caa48364 Add netty server logging in tests 2020-03-24 15:16:09 -04:00
Nikolay Martynov fee6d942e8 Add okhttp request logging in tests 2020-03-24 14:52:07 -04:00
Brian Devins-Suresh b3545c76f5
Merge pull request #1338 from DataDog/devinsba/netty-server-test-failure
Switch netty 3.8 startup and shutdown implementation
2020-03-24 14:28:05 -04:00
Brian Devins-Suresh e1566889a4 Switch startup and shutdown impl 2020-03-24 14:12:47 -04:00
Nikolay Martynov 01136120fd
Merge pull request #1337 from DataDog/mar-kolya/fix-netty-exception-in-tests
Make sure that netty exception message is not null
2020-03-24 12:01:44 -04:00
Nikolay Martynov cf079a73ba Make sure that netty exception message is not null
Otherwise netty gets really upset in an odd way
2020-03-24 11:37:19 -04:00
Laplie Anderson d4ce0ad558
Merge pull request #1335 from DataDog/revert-1160-tyler/stacktrace
Revert "Add config to capture stacktrace when a span duration exceeds threshold"
2020-03-24 10:20:32 -04:00
Laplie Anderson cef6da61dc
Revert "Add config to capture stacktrace when a span duration exceeds threshold" 2020-03-23 19:13:29 -04:00
Brian Devins-Suresh 2b5037e2f7
Merge pull request #1327 netty-3.8
Netty 3.8-3.10 instrumentation
2020-03-23 15:12:20 -04:00
Brian Devins-Suresh 5aa1800bec Get rid of half baked map methods. Close parentScope in a finally block (+forward port) 2020-03-23 14:44:11 -04:00
Nikolay Martynov 021d3c9d1d
Merge pull request #1330 from DataDog/mar-kolya/update-gradle
Update gradle to 6.2.2
2020-03-23 14:23:30 -04:00
Brian Devins-Suresh d4a4c5619c Less class loads 2020-03-23 14:03:00 -04:00
Nikolay Martynov 385687c117
Merge pull request #1332 from DataDog/mar-kolya/test-with-jdk14
Test with jdk14 on CI
2020-03-23 13:33:44 -04:00
Nikolay Martynov d2b73c7fd5 Update spring data version for tests
We seem to be declaring support for 1.8 only - and 1,7 doesn't seem to
play nice with java14
2020-03-23 13:15:26 -04:00
Nikolay Martynov eadba156d5 Update groovy vertion
Old one doesn't seem to work with java14
2020-03-23 12:54:51 -04:00
Nikolay Martynov eeac035164 Test with jdk14 on CI 2020-03-23 12:38:21 -04:00
Brian Devins-Suresh 5ac54ce10d Update to support 3.10 also and make muzzle check less brittle 2020-03-23 10:30:37 -04:00
Brian Devins-Suresh 17f73b6896 Fix small things from review 2020-03-23 10:01:58 -04:00
Nikolay Martynov 461f226a0c
Merge pull request #1331 from DataDog/mar-kolya/run-profiling-tests-on-zulu8
Run profiling tests on zulu8
2020-03-23 08:54:21 -04:00
Nikolay Martynov 6574c6f8b6 Run profiling tests on zulu8 2020-03-23 08:04:15 -04:00
Nikolay Martynov 8c7e3dd4b6 Update gradle to 6.2.2 2020-03-23 08:02:51 -04:00
Brian Devins-Suresh b4be2b18e4 Clarify muzzle specific checks 2020-03-20 14:57:08 -04:00
Brian Devins-Suresh 59dffa3d5d Minimal change to make muzzle pass 2020-03-20 14:27:47 -04:00
Brian Devins-Suresh c8fc300df0 Not used by aws sdk 2020-03-20 14:14:41 -04:00
Brian Devins-Suresh 4ae71c8087 Works with 3.8 also, still need to fix muzzle again 2020-03-20 14:12:39 -04:00
Brian Devins-Suresh 9297ff39f4 Less ambiguous name, also doesn't collide with netty class 2020-03-20 08:00:34 -04:00
Brian Devins-Suresh eb99b410c5 gross hack for muzzle 2020-03-20 06:25:26 -04:00
Brian Devins-Suresh 8e4f9c4dc6 refine gradle config 2020-03-20 05:52:16 -04:00
Brian Devins-Suresh 2d84dd7eec Add a comment for a special case to this netty version 2020-03-20 05:45:09 -04:00
Brian Devins-Suresh baf02ff526 Remove unneccesary checks 2020-03-20 05:41:35 -04:00
Brian Devins-Suresh 7e45aa731f Add module 2020-03-20 05:36:52 -04:00
Brian Devins-Suresh 44905cb2d6 Implement netty 3.9 instrumentation 2020-03-20 05:32:10 -04:00
Lev Priima a5a5743f7c
WeakCache instead of WeakMap (#1256)
WeakCache abstraction in addition to WeakMap
2020-03-20 00:23:07 -07:00
Laplie Anderson 8e6f342e55
Merge pull request #1326 from DataDog/landerson/assets-github-action
Automatically add assets to release
2020-03-19 18:53:32 -04:00
Laplie Anderson 0678396999 Automatically add assets to release 2020-03-18 17:36:14 -04:00
Tyler Benson 42e3086190
Merge pull request #1319 from DataDog/tyler/fix-array-out-of-bounds
Add check to ensure value isn't empty
2020-03-18 09:52:11 -07:00
Tyler Benson 10355d1054
Merge pull request #1322 from DataDog/tyler/ci-pipelines
Change circleci config to version 2.1
2020-03-17 16:23:41 -07:00
Tyler Benson d45682427b Change circleci config to version 2.1 2020-03-16 12:29:49 -07:00
Tyler Benson 7e6cb44ec6 More fixes 2020-03-16 12:26:36 -07:00
Tyler Benson d86cb51aaa Fix more tests and extract timeout values to constant 2020-03-16 09:10:06 -07:00
Tyler Benson 25464456d3 Add tests for http clients
- dropped request
- non-routable request
- https request

Unfortunately I wasn't able to figure out a clean way to test some of these scenarios without making a remote request.
I was also not able to configure everything consistently, so I had to disable that test for several integrations.
2020-03-13 15:05:16 -07:00
Tyler Benson a7b327e72e Add check to ensure value isn't empty
Otherwise split on an empty string will return an empty array.
2020-03-13 14:56:45 -07:00
Tyler Benson a1fdfa51a6
Merge pull request #1316 from aarya123/hostAndPort
Remove hostname and port from HttpClientDecorator
2020-03-13 11:27:25 -07:00
Tyler Benson 17d2fb287d
Merge pull request #1318 from DataDog/landerson/jms-lib-java7
Fix JMS test library for Java 7
2020-03-13 11:20:04 -07:00
Anubhaw Arya 0069c101b3 oops 2020-03-13 11:06:00 -07:00
Anubhaw Arya 0344cff386 Remove hostname and port from HttpClientDecorator 2020-03-13 10:47:10 -07:00
Laplie Anderson 5ba4a947e5
Merge pull request #1317 from DataDog/landerson/release-plugin-update
Fix release plugin auth with new version
2020-03-13 13:12:55 -04:00
Laplie Anderson 9868c230cf Fix JMS test library for Java 7 2020-03-13 13:10:47 -04:00