@Override
  public Counter labels(final String... labelValues) {
    final AttributesBuilder builder = Attributes.builder();
    for (int i = 0; i < labelNames.length; i++) {
      builder.put(labelNames[i], labelValues[i]);
    }
    final Attributes labels = builder.build();
    return new BoundLongCounter(counter, labels);
  }
Instantiates a new Open telemetry counter.

@param counter the counter
@param labelNames the label names
metrics/core/src/main/java/org/hyperledger/besu/metrics/opentelemetry/OpenTelemetryCounter.java