Class MetricsRepositoryUtils
java.lang.Object
com.linkedin.venice.utils.metrics.MetricsRepositoryUtils
Utility functions to help create common metrics repository.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.tehuti.metrics.MetricsRepository
static io.tehuti.metrics.MetricsRepository
static io.tehuti.metrics.MetricsRepository
createSingleThreadedMetricsRepository
(long maxMetricsMeasurementTimeoutMs, long initialMetricsMeasurementTimeoutMs) static io.tehuti.metrics.MetricsRepository
static io.tehuti.metrics.MetricsRepository
createSingleThreadedVeniceMetricsRepository
(boolean isOtelEnabled, VeniceOpenTelemetryMetricNamingFormat otelFormat, Collection<MetricEntity> metricEntities) static io.tehuti.metrics.MetricsRepository
createSingleThreadedVeniceMetricsRepository
(long maxMetricsMeasurementTimeoutMs, long initialMetricsMeasurementTimeoutMs, boolean isOtelEnabled, VeniceOpenTelemetryMetricNamingFormat otelFormat, Collection<MetricEntity> metricEntities) static io.tehuti.metrics.MetricConfig
getMetricConfig
(long maxMetricsMeasurementTimeoutMs, long initialMetricsMeasurementTimeoutMs)
-
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)
-