Class OTelUpDownCounter

java.lang.Object
org.opensearch.telemetry.metrics.OTelUpDownCounter
All Implemented Interfaces:
Counter

public class OTelUpDownCounter extends Object implements Counter
OTel Counter
  • Constructor Summary

    Constructors
    Constructor
    Description
    OTelUpDownCounter(io.opentelemetry.api.metrics.DoubleUpDownCounter doubleUpDownCounter)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(double value)
     
    void
    add(double value, org.opensearch.telemetry.metrics.tags.Tags tags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OTelUpDownCounter

      public OTelUpDownCounter(io.opentelemetry.api.metrics.DoubleUpDownCounter doubleUpDownCounter)
      Constructor
      Parameters:
      doubleUpDownCounter - delegate counter.
  • Method Details

    • add

      public void add(double value)
      Specified by:
      add in interface Counter
    • add

      public void add(double value, org.opensearch.telemetry.metrics.tags.Tags tags)
      Specified by:
      add in interface Counter