Interface MetricsService


public interface MetricsService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end(Long measurementId)
     
    void
    start(Long measurementId, Context context)
     
    void
    Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a connection has been terminated
    void
    Tracks the number of active connections to GraphQL Subscriptions Indicates to backing Metrics Service that a new connection has been established.
  • Method Details

    • 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