Class InstrumentProvider

java.lang.Object
io.streamnative.oxia.client.metrics.InstrumentProvider

public class InstrumentProvider extends Object
  • Field Details

  • Constructor Details

    • InstrumentProvider

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

    • newCounter

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

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

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