Enum Class FastClientMetricEntity

java.lang.Object
java.lang.Enum<FastClientMetricEntity>
com.linkedin.venice.fastclient.stats.FastClientMetricEntity
All Implemented Interfaces:
ModuleMetricEntityInterface, Serializable, Comparable<FastClientMetricEntity>, Constable

public enum FastClientMetricEntity extends Enum<FastClientMetricEntity> implements ModuleMetricEntityInterface
  • Enum Constant Details

    • RETRY_REQUEST_WIN_COUNT

      public static final FastClientMetricEntity RETRY_REQUEST_WIN_COUNT
      Count of retry requests where the retry "won" (outperformed the original).
    • METADATA_STALENESS_DURATION

      public static final FastClientMetricEntity METADATA_STALENESS_DURATION
      Metadata staleness watermark reported asynchronously in milliseconds.
    • REQUEST_FANOUT_COUNT

      public static final FastClientMetricEntity REQUEST_FANOUT_COUNT
      Fanout size distribution for requests, with fanout type as a dimension.
    • REQUEST_REJECTION_COUNT

      public static final FastClientMetricEntity REQUEST_REJECTION_COUNT
      Count of requests rejected by the client.
    • REQUEST_REJECTION_RATIO

      public static final FastClientMetricEntity REQUEST_REJECTION_RATIO
      Ratio of requests rejected by the client to total requests. TODO: Evaluate if this metric can be implemented as a derived OTel metric and if so, migrate to that.
  • Method Details

    • values

      public static FastClientMetricEntity[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FastClientMetricEntity valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMetricEntity

      public MetricEntity getMetricEntity()
      Specified by:
      getMetricEntity in interface ModuleMetricEntityInterface