Class InstrumentProvider

java.lang.Object
org.apache.pulsar.client.impl.metrics.InstrumentProvider

public class InstrumentProvider extends Object
  • Field Details

  • Constructor Details

    • InstrumentProvider

      public InstrumentProvider(io.opentelemetry.api.OpenTelemetry otel)
  • Method Details

    • newCounter

      public Counter newCounter(String name, Unit unit, String description, String topic, io.opentelemetry.api.common.Attributes attributes)
    • newUpDownCounter

      public UpDownCounter newUpDownCounter(String name, Unit unit, String description, String topic, io.opentelemetry.api.common.Attributes attributes)
    • newLatencyHistogram

      public LatencyHistogram newLatencyHistogram(String name, String description, String topic, io.opentelemetry.api.common.Attributes attributes)