Package com.linkedin.venice.stats
Class OpenTelemetryMetricsSetup
java.lang.Object
com.linkedin.venice.stats.OpenTelemetryMetricsSetup
Utility class to set up OpenTelemetry for different stats classes:
This takes in a
MetricsRepository
and optional base dimension values,
and determines if OpenTelemetry metrics should be emitted based on the repository type
and configuration. It also constructs base dimension maps and OpenTelemetry Attributes
that can be reused when recording metrics.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Result object containing the setup OpenTelemetry components -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenTelemetryMetricsSetup
public OpenTelemetryMetricsSetup()
-
-
Method Details
-
builder
public static OpenTelemetryMetricsSetup.Builder builder(io.tehuti.metrics.MetricsRepository metricsRepository)
-