Brian Devins-Suresh
fbb43840d3
Fix new client tests
2020-03-26 14:29:35 -04:00
Brian Devins-Suresh
026072b866
Wrong endpoint
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
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
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
e1566889a4
Switch startup and shutdown impl
2020-03-24 14:12:47 -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
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
Brian Devins-Suresh
d4a4c5619c
Less class loads
2020-03-23 14:03:00 -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
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
6574c6f8b6
Run profiling tests on zulu8
2020-03-23 08:04:15 -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
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
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
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
9868c230cf
Fix JMS test library for Java 7
2020-03-13 13:10:47 -04:00
Laplie Anderson
7805f844f4
Merge pull request #1315 from DataDog/landerson/threadpoolexecutor-helper
...
Move ThreadPoolExecutor helper to bootstrap
2020-03-13 12:10:58 -04:00
Laplie Anderson
4975e336dd
Merge pull request #1313 from DataDog/landerson/decorate-ot-removal
...
Replace OT tags with api tags in decorators
2020-03-13 11:08:56 -04:00
Laplie Anderson
7cd76ed68b
Move ThreadPoolExecutor helper to bootstrap
2020-03-12 18:20:03 -04:00
Laplie Anderson
994dc89672
Fix jms tests with JDK11+
2020-03-12 17:59:57 -04:00
Laplie Anderson
68f279f8fd
Replace OT tags with api tags
2020-03-12 16:49:03 -04:00
Brian Devins-Suresh
a3fbcd6192
They need to fix the suggestions workflow...
2020-03-12 14:47:47 -04:00
Brian Devins-Suresh
9fe9be3f7c
Apply suggestions from code review
...
Co-Authored-By: Laplie Anderson <randomanderson@users.noreply.github.com>
2020-03-12 14:43:13 -04:00
Brian Devins-Suresh
98f58dbea9
Rework test logic for ignores. Add spring proxy to global ignore list
2020-03-12 14:33:02 -04:00
Laplie Anderson
7df5cfe3e3
Merge pull request #1311 from DataDog/landerson/helpers-to-bootstrap
...
Move common helper classes to bootstrap
2020-03-12 13:50:57 -04:00
Tyler Benson
060c05671e
Merge pull request #1160 from DataDog/tyler/stacktrace
...
Add config to capture stacktrace when a span duration exceeds threshold
2020-03-12 10:45:20 -07:00
Laplie Anderson
6411ee358f
Remove Http*Decorators from method signatures in tests
2020-03-12 13:13:17 -04:00
Laplie Anderson
8332e177c2
Move decorator tests to bootstrap
2020-03-11 18:41:29 -04:00
Laplie Anderson
6cd530a541
Move decorators to bootstrap
2020-03-11 18:41:29 -04:00
Laplie Anderson
97b0e7a21f
Move concurrent helpers to bootstrap
2020-03-11 18:37:03 -04:00
Laplie Anderson
0d6328a76e
Add toString() for bootstrap placeholder
2020-03-11 18:37:03 -04:00
Tyler Benson
e4ca33d487
Merge pull request #1307 from DataDog/tyler/onmethodexit
...
Improve consistency of `@Advice.OnMethodExit` params
2020-03-11 15:29:58 -07:00
Brian Devins-Suresh
db074b199a
Make regular test less flaky too
2020-03-11 15:57:15 -04:00
Brian Devins-Suresh
00e331814d
Use a different queue per test
2020-03-11 15:38:13 -04:00
Tyler Benson
2b74487ed6
Add config to capture stacktrace when a span duration exceeds threshold
...
(But only when span is not errored or finished on a different thread.)
Use the following config:
```
-Ddd.trace.span.duration.stacktrace.millis=1000
```
(One second is the default, 0 disables.)
2020-03-10 13:18:22 -07:00
Tyler Benson
e0b46da375
Improve consistency of `@Advice.OnMethodExit` params
...
And ordering of some `helperClassNames`
2020-03-10 13:11:22 -07:00
Tyler Benson
36c063c4b3
Merge pull request #1303 from trask/fix-for-spring-jms-listeners
...
Fix for Spring JMS listeners
2020-03-10 09:54:54 -07:00
Laplie Anderson
ad818a1da4
Merge pull request #1305 from DataDog/landerson/fix-ignores-for-google
...
Fix ignores for com.google.inject
2020-03-10 11:54:48 -04:00
Laplie Anderson
7b5ebe3204
Merge pull request #1304 from DataDog/landerson/httprequest-attributes
...
Add traceId and spanId as request attributes
2020-03-09 17:43:59 -04:00
Laplie Anderson
645c4de2c9
Fix ignores for com.google.inject
2020-03-09 17:41:15 -04:00
Laplie Anderson
1a35ced75e
Tomcat access log tests
2020-03-09 16:15:57 -04:00
Laplie Anderson
4dce8776e1
Add traceId/spanId as request attributes
2020-03-09 16:15:40 -04:00
Trask Stalnaker
279af696f4
Improve test reliability
2020-03-09 09:30:31 -07:00
Trask Stalnaker
7761094280
Fix for Spring JMS listeners
2020-03-08 22:41:58 -07:00
Trask Stalnaker
5834b2cab1
Add comment explaining why keeping delegate check
2020-03-06 13:37:01 -08:00
Trask Stalnaker
0ca384d24c
Revert "Remove non-delegating class loader check"
...
This reverts commit c63c981221
.
2020-03-06 13:21:02 -08:00
Trask Stalnaker
7ede895b53
Revert "Cache is not needed anymore"
...
This reverts commit 166d951a10
.
2020-03-06 13:18:08 -08:00
Douglas Q Hawkins
3ff5b99cd6
Merge pull request #1285 from DataDog/dougqh/jar-file-collisions
...
Avoid temporary Jar file collisions
2020-03-06 15:14:25 -05:00
Tyler Benson
aca4b9ece9
Merge pull request #1300 from DataDog/tyler/servlet-forward
...
Stop creating a "top level" servlet span when in a forward/include situation
2020-03-06 11:46:27 -08:00
Nikolay Martynov
46b776f76a
Include classloading instrumentation into all tests
...
Classloading instrument core JDK classes so we should make sure this
doesn't have bad effects on other instrumentations.
2020-03-06 13:50:56 -05:00
Nikolay Martynov
517ecca4c1
Remove explicit concurrent instrumentation dependencies
...
Since we include concurrent instrumentation for all instrumentatin
projects now there is no point in including it in every instrumentation.
2020-03-06 13:50:51 -05:00
Nikolay Martynov
2917034d29
Increase hystrix test timeout
2020-03-06 13:49:55 -05:00
Nikolay Martynov
51630ada62
Unignore `org.h2.util.Task`
2020-03-06 13:49:55 -05:00
Nikolay Martynov
4aac30826d
Split Runnable and Callable instrumentations
...
Otherwise `Runnable` may define `call` method leading to
instrumentation exception.
See `org.h2.util.Task` as an example.
2020-03-06 13:49:55 -05:00
Nikolay Martynov
18f9c653b9
Exceptions for hppc
2020-03-06 13:49:55 -05:00
Nikolay Martynov
a261fb4760
More spring exceptions
2020-03-06 13:49:55 -05:00
Nikolay Martynov
930c1fb4e9
One more exception for h2
2020-03-06 13:49:55 -05:00
Nikolay Martynov
fd4257627d
Do not ignore org.springframework.util.concurrent.
2020-03-06 13:49:55 -05:00
Nikolay Martynov
74161a5872
Add missng dots
2020-03-06 13:49:55 -05:00
Nikolay Martynov
ab8b246553
Remove asm matchers - asm is already matched elsewhere
2020-03-06 13:49:55 -05:00
Nikolay Martynov
a8c625b8f0
Fix google http client ignore matchers
2020-03-06 13:49:55 -05:00
Nikolay Martynov
e301761dc2
Stop ignoring org.springframework.scheduling.annotation
...
It has some runnables and it is not very big
2020-03-06 13:49:55 -05:00
Nikolay Martynov
0d34aa2e96
Stop skipping cassandra core instrumentation
...
Looks like it has lots of runnables sprinkled all over the place
2020-03-06 13:49:55 -05:00
Nikolay Martynov
c1c9ffa571
Fix couchbase ignores
2020-03-06 13:49:55 -05:00
Nikolay Martynov
839deb779d
Add java-concurrent as a dependency to all instrumentations
2020-03-06 13:49:55 -05:00
Tyler Benson
caabb55ed2
Merge pull request #1301 from DataDog/tyler/grpc
...
Fix grpc tests with java-concurrent.
2020-03-06 10:48:03 -08:00
Tyler Benson
7c73546ba1
One more change.
...
This should fix the issues in latestDepTest.
2020-03-06 09:56:19 -08:00
Tyler Benson
206fbb944c
Fix comments
...
[skip ci]
2020-03-06 09:24:50 -08:00
Tyler Benson
2e86ca2141
disable async propagation for InProcess communication.
2020-03-06 09:20:00 -08:00