public abstract byte getCategory();
@Test
    void testDumpedHistogram() {
        QueryScopeInfo info = new QueryScopeInfo.JobManagerQueryScopeInfo();

        MetricDump.HistogramDump hd =
                new MetricDump.HistogramDump(info, "hist", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);

        assertThat(hd.name).isEqualTo("hist");
        assertThat(hd.min).isOne();
        assertThat(hd.max).isEqualTo(2);
        assertThat(hd.mean).isCloseTo(3, within(0.1));
        assertThat(hd.median).isCloseTo(4, within(0.1));
        assertThat(hd.stddev).isCloseTo(5, within(0.1));
        assertThat(hd.p75).isCloseTo(6, within(0.1));
        assertThat(hd.p90).isCloseTo(7, within(0.1));
        assertThat(hd.p95).isCloseTo(8, within(0.1));
        assertThat(hd.p98).isCloseTo(9, within(0.1));
        assertThat(hd.p99).isCloseTo(10, within(0.1));
        assertThat(hd.p999).isCloseTo(11, within(0.1));
        assertThat(hd.scopeInfo).isEqualTo(info);
        assertThat(hd.getCategory()).isEqualTo(METRIC_CATEGORY_HISTOGRAM);
    }