Skip to content

Commit b3c2f4b

Browse files
Apply suggestions from code review
Co-authored-by: Jonas Kunz <[email protected]>
1 parent 8492a44 commit b3c2f4b

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/otel-data/src/main/java/org/elasticsearch/xpack/oteldata/otlp/datapoint

1 file changed

+1
-1
lines changed

x-pack/plugin/otel-data/src/main/java/org/elasticsearch/xpack/oteldata/otlp/datapoint/DataPoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public String getDynamicTemplate() {
173173
@Override
174174
public boolean isValid(Set<String> errors) {
175175
if (metric.getExponentialHistogram()
176-
.getAggregationTemporality() == AggregationTemporality.AGGREGATION_TEMPORALITY_DELTA == false) {
176+
.getAggregationTemporality() != AggregationTemporality.AGGREGATION_TEMPORALITY_DELTA) {
177177
errors.add("cumulative exponential histogram metrics are not supported, ignoring " + metric.getName());
178178
return false;
179179
}

0 commit comments

Comments
 (0)