Class OpenTelemetryMetricsSetup

java.lang.Object
com.linkedin.venice.stats.OpenTelemetryMetricsSetup

public class OpenTelemetryMetricsSetup extends Object
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.
  • Constructor Details

    • OpenTelemetryMetricsSetup

      public OpenTelemetryMetricsSetup()
  • Method Details