src/main/java/io/vertx/ext/prometheus/metrics/factories/CounterFactory.java
public @NotNull Counter bytes(@NotNull String name) {
    return counters.computeIfAbsent("vertx_" + name + "_bytes", key -> register(Counter.build(key, "Read/written bytes")
        .labelNames("local_address", "type").create()));
  }
public @NotNull Counter bytes(@NotNull String name) {
    return counters.computeIfAbsent("vertx_" + name + "_bytes", key -> register(Counter.build(key, "Read/written bytes")
        .labelNames("local_address", "type").create()));
  }
public @ NotNull Counter bytes ( @ NotNull String name ) { return counters . computeIfAbsent ( "vertx_" + name + "_bytes" , key -> register ( Counter . build ( key , "Read/written bytes" ) . labelNames ( "local_address" , "type" ) . create ( ) ) ) ; }
Bytes counter.

@param name The name of the counter, without prefix and suffix.
@return A counter of bytes for the given name. Counters with the same name are shared.
Bytes counter .