@AutoService(value=Instrumenter.class) public final class UrlInstrumentation extends Object implements Instrumenter
URL.getContent() in a trace span.
TODO(stschmidt): Replace this preliminary, java.net.URL-specific implementation with a generic, configurable implementation.
| Constructor and Description |
|---|
UrlInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
net.bytebuddy.agent.builder.AgentBuilder |
instrument(net.bytebuddy.agent.builder.AgentBuilder agentBuilder,
Settings settings)
Adds bytecode instrumentation to the given
AgentBuilder. |
public net.bytebuddy.agent.builder.AgentBuilder instrument(net.bytebuddy.agent.builder.AgentBuilder agentBuilder,
Settings settings)
InstrumenterAgentBuilder.instrument in interface InstrumenteragentBuilder - an AgentBuilder object to which the additional instrumentation is
addedsettings - the configuration settingsAgentBuilder object having the additional instrumentation