Class MetricsRepositoryUtils

java.lang.Object
com.linkedin.venice.utils.metrics.MetricsRepositoryUtils

public class MetricsRepositoryUtils extends Object
Utility functions to help create common metrics repository.
  • Constructor Details

    • MetricsRepositoryUtils

      public MetricsRepositoryUtils()
  • Method Details

    • createMultiThreadedMetricsRepository

      public static io.tehuti.metrics.MetricsRepository createMultiThreadedMetricsRepository()
    • createSingleThreadedMetricsRepository

      public static io.tehuti.metrics.MetricsRepository createSingleThreadedMetricsRepository()
    • createSingleThreadedMetricsRepository

      public static io.tehuti.metrics.MetricsRepository createSingleThreadedMetricsRepository(long maxMetricsMeasurementTimeoutMs, long initialMetricsMeasurementTimeoutMs)
    • createSingleThreadedVeniceMetricsRepository

      public static io.tehuti.metrics.MetricsRepository createSingleThreadedVeniceMetricsRepository()
    • createSingleThreadedVeniceMetricsRepository

      public static io.tehuti.metrics.MetricsRepository createSingleThreadedVeniceMetricsRepository(boolean isOtelEnabled, VeniceOpenTelemetryMetricNamingFormat otelFormat, Collection<MetricEntity> metricEntities)
    • createSingleThreadedVeniceMetricsRepository

      public static io.tehuti.metrics.MetricsRepository createSingleThreadedVeniceMetricsRepository(long maxMetricsMeasurementTimeoutMs, long initialMetricsMeasurementTimeoutMs, boolean isOtelEnabled, VeniceOpenTelemetryMetricNamingFormat otelFormat, Collection<MetricEntity> metricEntities)
    • getMetricConfig

      public static io.tehuti.metrics.MetricConfig getMetricConfig(long maxMetricsMeasurementTimeoutMs, long initialMetricsMeasurementTimeoutMs)