Package org.opensearch.telemetry.metrics
Interface Counter
- All Known Implementing Classes:
NoopCounter
@ExperimentalApi
public interface Counter
Counter adds the value to the existing metric.
-
Method Summary
-
Method Details
-
add
void add(double value) add value.- Parameters:
value- value to be added.
-
add
add value along with the attributes.- Parameters:
value- value to be added.tags- attributes/dimensions of the metric.
-