public static void registerRocksDBMetrics(
      final Statistics stats, final MetricsSystem metricsSystem, final MetricCategory category) {

    for (final var tickerType : TICKER_TYPES) {
      final String promCounterName = tickerType.name().toLowerCase(Locale.ROOT);
      metricsSystem.createLongGauge(
          category,
          promCounterName,
          "RocksDB reported statistics for " + tickerType.name(),
          () -> stats.getTickerCount(tickerType));
    }

    for (final var histogramType : HISTOGRAM_TYPES) {

      metricsSystem.createSummary(
          KVSTORE_ROCKSDB_STATS,
          KVSTORE_ROCKSDB_STATS.getName() + "_" + histogramType.name().toLowerCase(Locale.ROOT),
          "RocksDB histogram for " + histogramType.name(),
          () -> provideExternalSummary(stats, histogramType));
    }
  }
Register rocks db metrics.

@param stats the stats
@param metricsSystem the metrics system
@param category the category
metrics/rocksdb/src/main/java/org/hyperledger/besu/metrics/rocksdb/RocksDBStats.java