This PR resolves #7629 This adds javaagent instrumentation for the [jodd-http](https://http.jodd.org/) `HttpRequest`. It creates `Http Client Spans` and `Http Client Metrics`, the lowest supported version is `org.jodd:jodd-http:4.2.0` (most recent: `6.3.0`), since this is the first version of the library supporting java 8, having follow-redirect capability and `HttpRequest#overwriteHeader()` method. The instrumented method's signature and return type `HttpRequest#send()` has not been modified since, and therefore the instrumentation works for all `jodd-http` versions above `4.2.0`. Since this is my first contribution/instrumentation, I orientated myself on the `apache-httpclient-5.0` instrumentation, but obviously I would be glad to get some feedback on this --------- Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com> |
||
---|---|---|
.. | ||
apidiffs | ||
contributing | ||
misc | ||
advanced-configuration-options.md | ||
agent-features.md | ||
java-7-rationale.md | ||
logger-mdc-instrumentation.md | ||
safety-mechanisms.md | ||
scope.md | ||
supported-libraries.md |