Package io.smallrye.graphql.cdi.tracing
Class TracingService
java.lang.Object
io.smallrye.graphql.cdi.tracing.TracingService
- All Implemented Interfaces:
io.smallrye.graphql.spi.EventingService
@Priority(0)
public class TracingService
extends Object
implements io.smallrye.graphql.spi.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 -
Method Summary
Modifier and TypeMethodDescriptionvoidafterExecute(io.smallrye.graphql.api.Context context) voidbeforeExecute(io.smallrye.graphql.api.Context context) voiderrorExecute(io.smallrye.graphql.api.Context context, Throwable t) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.graphql.spi.EventingService
afterDataFetch, beforeDataFetch, beforeGraphQLBuild, beforeInvoke, beforeSchemaBuild, createOperation, errorDataFetch, errorDataFetch, errorExecute, overrideJsonbConfig
-
Constructor Details
-
TracingService
public TracingService()
-
-
Method Details
-
beforeExecute
public void beforeExecute(io.smallrye.graphql.api.Context context) - Specified by:
beforeExecutein interfaceio.smallrye.graphql.spi.EventingService
-
afterExecute
public void afterExecute(io.smallrye.graphql.api.Context context) - Specified by:
afterExecutein interfaceio.smallrye.graphql.spi.EventingService
-
errorExecute
- Specified by:
errorExecutein interfaceio.smallrye.graphql.spi.EventingService
-
getConfigKey
- Specified by:
getConfigKeyin interfaceio.smallrye.graphql.spi.EventingService
-