Adds a value for a long valued counter metric instrument. @param metricInstrument The counter metric instrument to add the value against. @param value The value to add. MUST be non-negative. @param requiredLabelValues A list of required label values for the metric. @param optionalLabelValues A list
(LongCounterMetricInstrument metricInstrument, long value,
List<String> requiredLabelValues, List<String> optionalLabelValues)
| 55 | * @param optionalLabelValues A list of additional, optional label values for the metric. |
| 56 | */ |
| 57 | default void addLongCounter(LongCounterMetricInstrument metricInstrument, long value, |
| 58 | List<String> requiredLabelValues, List<String> optionalLabelValues) { |
| 59 | checkArgument(requiredLabelValues != null |
| 60 | && requiredLabelValues.size() == metricInstrument.getRequiredLabelKeys().size(), |
no outgoing calls
no test coverage detected