public static void addCompactionPendingMetric(final StreamsMetricsImpl streamsMetrics,
                                                  final RocksDBMetricContext metricContext,
                                                  final Gauge<BigInteger> valueProvider) {
        addMutableMetric(
            streamsMetrics,
            metricContext,
            valueProvider,
            COMPACTION_PENDING,
            COMPACTION_PENDING_DESCRIPTION
        );
    }
@Test
    public void shouldAddCompactionPendingMetric() {
        final String name = "compaction-pending";
        final String description = "Reports 1 if at least one compaction is pending, otherwise it reports 0";
        runAndVerifyMutableMetric(
            name,
            description,
            () -> RocksDBMetrics.addCompactionPendingMetric(streamsMetrics, ROCKSDB_METRIC_CONTEXT, VALUE_PROVIDER)
        );
    }