Package io.smallrye.graphql.spi
Interface MetricsService
public interface MetricsService
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsubscriptionEnd(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 Details
-
start
-
end
-
subscriptionStart
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
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
-