Package io.smallrye.graphql.spi
Interface MetricsService
-
public interface MetricsService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidend(Long measurementId)voidstart(Long measurementId, Context context)voidsubscriptionEnd(Context context)Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a connection has been terminatedvoidsubscriptionStart(Context context)Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a new connection has been established.
-
-
-
Method Detail
-
end
void end(Long measurementId)
-
subscriptionStart
void subscriptionStart(Context context)
Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a new connection has been established.- Parameters:
context- GraphQL Subscription Context
-
subscriptionEnd
void subscriptionEnd(Context context)
Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a connection has been terminated- Parameters:
context- GraphQL Subscription Context
-
-