Modifier and Type | Field and Description |
---|---|
static String |
REST_CLEAR_TRACER
Web service endpoint for the clearTracer call.
|
static String |
REST_GET_TRACER
Web service endpoint for the getTracer call.
|
static String |
REST_TRACER_SERVICE_PATH
Web service exposing tracer related endpoints.
|
Constructor and Description |
---|
TracerWebService() |
Modifier and Type | Method and Description |
---|---|
void |
clearTracer()
Clear accumulated spans in the Tracer.
|
io.opentracing.Tracer |
getTracer()
Get details about completed spans.
|
public static final String REST_TRACER_SERVICE_PATH
public static final String REST_GET_TRACER
public static final String REST_CLEAR_TRACER
@GET @Path(value="getTracer") @Produces(value="application/json") public io.opentracing.Tracer getTracer() throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
TestTracer
which has information on the spans.SecurityException
- Reflection issuesNoSuchMethodException
- Reflection issuesInvocationTargetException
- Reflection issuesIllegalArgumentException
- Reflection issuesIllegalAccessException
- Reflection issues@DELETE @Path(value="clearTracer") public void clearTracer() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
IllegalAccessException
- Reflection issuesIllegalArgumentException
- Reflection issuesInvocationTargetException
- Reflection issuesNoSuchMethodException
- Reflection issuesSecurityException
- Reflection issuesCopyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.