Package io.smallrye.graphql.cdi.tracing
Class TracingService
- java.lang.Object
-
- io.smallrye.graphql.cdi.tracing.TracingService
-
- All Implemented Interfaces:
EventingService
@Priority(0) public class TracingService extends Object implements EventingService
Listening for operation start/end event and create traces from it- Author:
- Jan Martiska (jmartisk@redhat.com), Phillip Kruger (phillip.kruger@redhat.com)
-
-
Constructor Summary
Constructors Constructor Description TracingService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterExecute(io.smallrye.graphql.api.Context context)voidbeforeExecute(io.smallrye.graphql.api.Context context)voiderrorExecute(io.smallrye.graphql.api.Context context, Throwable t)StringgetConfigKey()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.graphql.spi.EventingService
afterDataFetch, beforeDataFetch, beforeGraphQLBuild, beforeInvoke, beforeSchemaBuild, createOperation, errorDataFetch, errorDataFetch, errorExecute, overrideJsonbConfig
-
-
-
-
Method Detail
-
beforeExecute
public void beforeExecute(io.smallrye.graphql.api.Context context)
- Specified by:
beforeExecutein interfaceEventingService
-
afterExecute
public void afterExecute(io.smallrye.graphql.api.Context context)
- Specified by:
afterExecutein interfaceEventingService
-
errorExecute
public void errorExecute(io.smallrye.graphql.api.Context context, Throwable t)- Specified by:
errorExecutein interfaceEventingService
-
getConfigKey
public String getConfigKey()
- Specified by:
getConfigKeyin interfaceEventingService
-
-