Skip to content

[Metric Framework] Adds support for Histogram metric (#12062)

Codecov / codecov/patch succeeded Feb 5, 2024 in 1s

77.77% of diff hit (target 71.09%)

View this Pull Request on Codecov

77.77% of diff hit (target 71.09%)

Annotations

Check warning on line 25 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java#L25

Added line #L25 was not covered by tests

Check warning on line 32 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java#L32

Added line #L32 was not covered by tests

Check warning on line 37 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopHistogram.java#L37

Added line #L37 was not covered by tests

Check warning on line 44 in libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopMetricsRegistry.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/telemetry/src/main/java/org/opensearch/telemetry/metrics/noop/NoopMetricsRegistry.java#L44

Added line #L44 was not covered by tests

Check warning on line 491 in server/src/main/java/org/opensearch/common/cache/Cache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/cache/Cache.java#L490-L491

Added lines #L490 - L491 were not covered by tests

Check warning on line 494 in server/src/main/java/org/opensearch/common/cache/Cache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/cache/Cache.java#L493-L494

Added lines #L493 - L494 were not covered by tests

Check warning on line 39 in server/src/main/java/org/opensearch/common/cache/store/OpenSearchOnHeapCache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/cache/store/OpenSearchOnHeapCache.java#L39

Added line #L39 was not covered by tests

Check warning on line 48 in server/src/main/java/org/opensearch/common/cache/store/builders/StoreAwareCacheBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/cache/store/builders/StoreAwareCacheBuilder.java#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 158 in server/src/main/java/org/opensearch/common/cache/tier/TieredSpilloverCache.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/cache/tier/TieredSpilloverCache.java#L158

Added line #L158 was not covered by tests

Check warning on line 1851 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1850-L1851

Added lines #L1850 - L1851 were not covered by tests

Check warning on line 1860 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1858-L1860

Added lines #L1858 - L1860 were not covered by tests

Check warning on line 1862 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1862

Added line #L1862 was not covered by tests

Check warning on line 1866 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1866

Added line #L1866 was not covered by tests

Check warning on line 1868 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1868

Added line #L1868 was not covered by tests

Check warning on line 1875 in server/src/main/java/org/opensearch/index/IndexSettings.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/IndexSettings.java#L1875

Added line #L1875 was not covered by tests

Check warning on line 110 in server/src/main/java/org/opensearch/index/codec/fuzzy/BloomFilter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/BloomFilter.java#L110

Added line #L110 was not covered by tests

Check warning on line 137 in server/src/main/java/org/opensearch/index/codec/fuzzy/BloomFilter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/BloomFilter.java#L137

Added line #L137 was not covered by tests

Check warning on line 92 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 148 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L148

Added line #L148 was not covered by tests

Check warning on line 155 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L155

Added line #L155 was not covered by tests

Check warning on line 181 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L181

Added line #L181 was not covered by tests

Check warning on line 268 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L266-L268

Added lines #L266 - L268 were not covered by tests

Check warning on line 294 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L294

Added line #L294 was not covered by tests

Check warning on line 307 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L306-L307

Added lines #L306 - L307 were not covered by tests

Check warning on line 316 in server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/codec/fuzzy/FuzzyFilterPostingsFormat.java#L316

Added line #L316 was not covered by tests