test_class.declarator: sut
test_class.modifier: private
test_class.original_string: private Histogram sut;
test_class.type: Histogram
test_class.var_name: sut
test_class.file: services/utils/metrics/src/test/java/org/eclipse/ditto/services/utils/metrics/instruments/histogram/KamonHistogramTest.java
test_class.identifier: KamonHistogramTest
test_case.body: @Test
      public void record() {
          sut.record(4711L);
          final Long[] recordedValues = sut.getRecordedValues();
          assertThat(recordedValues.length).isEqualTo(1);
          assertThat(recordedValues[0]).isCloseTo(4711L, Percentage.withPercentage(1));
      }
test_case.class_method_signature: KamonHistogramTest.record()
test_case.full_signature: @Test public void record()
test_case.identifier: record
test_case.invocations: record getRecordedValues isEqualTo assertThat isCloseTo assertThat withPercentage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void record()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(KamonHistogram.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(KamonHistogram.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: tags
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> tags;
focal_class.type: Map<String, String>
focal_class.var_name: tags
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.file: services/utils/metrics/src/main/java/org/eclipse/ditto/services/utils/metrics/instruments/histogram/KamonHistogram.java
focal_class.identifier: KamonHistogram
focal_class.interfaces: implements Histogram
focal_class.class_method_signature: KamonHistogram.KamonHistogram(final String name, final Map<String, String> tags)
focal_class.full_signature: private  KamonHistogram(final String name, final Map<String, String> tags)
focal_class.identifier: KamonHistogram
focal_class.modifiers: private
focal_class.parameters: (final String name, final Map<String, String> tags)
focal_class.signature:  KamonHistogram(final String name, final Map<String, String> tags)
focal_class.class_method_signature: KamonHistogram.newHistogram(final String name)
focal_class.full_signature: public static Histogram newHistogram(final String name)
focal_class.identifier: newHistogram
focal_class.modifiers: public static
focal_class.parameters: (final String name)
focal_class.return: Histogram
focal_class.signature: Histogram newHistogram(final String name)
focal_class.class_method_signature: KamonHistogram.tag(final String key, final String value)
focal_class.full_signature: @Override public Histogram tag(final String key, final String value)
focal_class.identifier: tag
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final String value)
focal_class.return: Histogram
focal_class.signature: Histogram tag(final String key, final String value)
focal_class.class_method_signature: KamonHistogram.tags(final Map<String, String> tags)
focal_class.full_signature: @Override public Histogram tags(final Map<String, String> tags)
focal_class.identifier: tags
focal_class.modifiers: @Override public
focal_class.parameters: (final Map<String, String> tags)
focal_class.return: Histogram
focal_class.signature: Histogram tags(final Map<String, String> tags)
focal_class.class_method_signature: KamonHistogram.getTag(final String key)
focal_class.full_signature: @Nullable @Override public String getTag(final String key)
focal_class.identifier: getTag
focal_class.modifiers: @Nullable @Override public
focal_class.parameters: (final String key)
focal_class.return: String
focal_class.signature: String getTag(final String key)
focal_class.class_method_signature: KamonHistogram.getTags()
focal_class.full_signature: @Override public Map<String, String> getTags()
focal_class.identifier: getTags
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getTags()
focal_class.class_method_signature: KamonHistogram.reset()
focal_class.full_signature: @Override public boolean reset()
focal_class.identifier: reset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean reset()
focal_class.class_method_signature: KamonHistogram.record(final Long value)
focal_class.full_signature: @Override public Histogram record(final Long value)
focal_class.identifier: record
focal_class.modifiers: @Override public
focal_class.parameters: (final Long value)
focal_class.return: Histogram
focal_class.signature: Histogram record(final Long value)
focal_class.class_method_signature: KamonHistogram.getRecordedValues()
focal_class.full_signature: @Override public Long[] getRecordedValues()
focal_class.identifier: getRecordedValues
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Long[]
focal_class.signature: Long[] getRecordedValues()
focal_class.class_method_signature: KamonHistogram.addBucketValuesToList(Distribution.Bucket bucket, List<Long> values)
focal_class.full_signature: private List<Long> addBucketValuesToList(Distribution.Bucket bucket, List<Long> values)
focal_class.identifier: addBucketValuesToList
focal_class.modifiers: private
focal_class.parameters: (Distribution.Bucket bucket, List<Long> values)
focal_class.return: List<Long>
focal_class.signature: List<Long> addBucketValuesToList(Distribution.Bucket bucket, List<Long> values)
focal_class.class_method_signature: KamonHistogram.getSnapshot(final boolean reset)
focal_class.full_signature: private Distribution getSnapshot(final boolean reset)
focal_class.identifier: getSnapshot
focal_class.modifiers: private
focal_class.parameters: (final boolean reset)
focal_class.return: Distribution
focal_class.signature: Distribution getSnapshot(final boolean reset)
focal_class.class_method_signature: KamonHistogram.getKamonInternalHistogram()
focal_class.full_signature: private kamon.metric.Histogram getKamonInternalHistogram()
focal_class.identifier: getKamonInternalHistogram
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: kamon.metric.Histogram
focal_class.signature: kamon.metric.Histogram getKamonInternalHistogram()
focal_class.class_method_signature: KamonHistogram.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public Histogram record(final Long value) {
          getKamonInternalHistogram().record(value);
          return this;
      }
focal_method.class_method_signature: KamonHistogram.record(final Long value)
focal_method.full_signature: @Override public Histogram record(final Long value)
focal_method.identifier: record
focal_method.invocations: record getKamonInternalHistogram
focal_method.modifiers: @Override public
focal_method.parameters: (final Long value)
focal_method.return: Histogram
focal_method.signature: Histogram record(final Long value)