io.opentelemetry.trace.Tracer
org.apache.http.impl.client.DefaultHttpClient
instrument
or instrumentChecked
org.apache.http.impl.client.HttpClientBuilder
HandlerInstrumentor.instrument(Object, Context, Class, Handler)
except that the handler function returns nothingHandlerInstrumentor.instrumentChecked(Object, Context, Class, CheckedHandler)
except that the handler function returns nothingRequestHandler
to trace your function
Provide implementation of TracedRequestHandler.doHandleRequest(Object, Context)
instead of
RequestHandler.handleRequest(Object, Context)
For example:RequestStreamHandler
to trace your function
Provide implementation of TracedRequestStreamHandler.doHandleRequest(InputStream, OutputStream, Context)
instead of
RequestStreamHandler.handleRequest(InputStream, OutputStream, Context)
For example:Tracer
If using our tracer as default tracer provider, then use artifact `com.appoptics.agent.java:appoptics-aws-lambda-opentelemetry-tracer` and follow OpenTelemetry's practice to obtain the tracerCopyright © 2020. All rights reserved.