Tyler Benson
97efa307d3
Stop setting error tag and update tests.
2020-04-13 13:59:11 -04: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
Anubhaw Arya
0344cff386
Remove hostname and port from HttpClientDecorator
2020-03-13 10:47:10 -07:00
Laplie Anderson
6411ee358f
Remove Http*Decorators from method signatures in tests
2020-03-12 13:13:17 -04:00
Laplie Anderson
6cd530a541
Move decorators to bootstrap
2020-03-11 18:41:29 -04: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
ee5cf2cf24
Attempt to improve test reliability
...
Add timeouts (to avoid a gradle level timeout) and retries (since we're doing it manually anyway).
I realize this is a band aid...
2020-03-04 19:02:41 -08:00
Nikolay Martynov
89be6b5c06
Ignore majority of google api
...
And several other google libraries
2020-03-03 11:45:22 -05:00
Tyler Benson
51bffa2e8a
Move agent api classes to bootstrap package so they're not analyzed by muzzle
...
Also move jdbc classes to bootstrap to reduce size and complexity of those reference checkers.
These changes reduce the total file size of these instrumentation classes by 635k, which should also result in decent memory savings.
2020-02-10 15:09:15 -08:00
Tyler Benson
31b77cbd7b
Capture error message even if no exception object provided.
...
This is currently only used by the GoogleHttpClient instrumentation, but may be used by customers too.
2019-12-18 13:49:24 -08:00
Trask Stalnaker
847a76cb04
Add missing tag verification
2019-11-22 10:59:47 -08:00
dougqh
6b096c2240
Replacing Advice.class references
...
Replacing Advice.class references with string construction.
This stops the JVM from loading the Advice classes which are used as templates for byte buddy and doesn't ever need to be run directly.
This eliminates ~130 class loads at start-up -- and saves 0.5MiB in metaspace
2019-11-18 16:09:30 -05:00
Laplie Anderson
8a2594eeab
Add "testCircularRedirects" option to HttpClientTest
2019-10-30 18:17:49 -04:00
Trask Stalnaker
8c558fa00e
Format
2019-10-24 21:05:01 -07:00
Trask Stalnaker
120937d175
Update google-http-client to new agent api
2019-10-19 16:52:40 -07:00
Tyler Benson
95a294a560
Remove common (redundant) dependencies
2019-08-06 14:51:04 -07:00
Laplie Anderson
0eab4688cd
Remove unnecessary semicolons
2019-07-12 16:36:02 -04:00
Laplie Anderson
8a7336a017
Use 1.19.0 as first supported version
2019-07-12 16:06:19 -04:00
Laplie Anderson
82ee01cadf
Implement instrumentation for async requests
2019-07-12 15:41:14 -04:00
Laplie Anderson
caa7e4426a
Passing tests. Modify escaping of spaces in urls
2019-07-09 17:17:41 -04:00
Laplie Anderson
d97b1c2d53
Fix package
2019-07-09 17:17:41 -04:00
Laplie Anderson
30916ac5d7
Implementation
2019-07-09 17:17:41 -04:00
Laplie Anderson
f53b14bd0f
Stub google http client integration
2019-07-09 17:17:41 -04:00