Interface MetricsService


  • public interface MetricsService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void end​(Long measurementId)  
      void start​(Long measurementId, Context context)  
      void subscriptionEnd​(Context context)
      Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a connection has been terminated
      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.
    • Method Detail

      • start

        void start​(Long measurementId,
                   Context context)
      • 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