Skip to content

Commit

Permalink
Missed setting the default value in PR opensearch-project#4190
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Kondaka <[email protected]>
  • Loading branch information
Krishna Kondaka committed Feb 27, 2024
1 parent 9cea816 commit e86188f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void processRequest(final ExportMetricsServiceRequest request, final Str
Collection<Record<? extends Metric>> metrics;

AtomicInteger droppedCounter = new AtomicInteger(0);
metrics = oTelProtoDecoder.parseExportMetricsServiceRequest(request, droppedCounter, DEFAULT_EXPONENTIAL_HISTOGRAM_MAX_ALLOWED_SCALE, true, true, false);
metrics = oTelProtoDecoder.parseExportMetricsServiceRequest(request, droppedCounter, DEFAULT_EXPONENTIAL_HISTOGRAM_MAX_ALLOWED_SCALE, true, true, true);
recordsDroppedCounter.increment(droppedCounter.get());
recordsCreatedCounter.increment(metrics.size());
buffer.writeAll(metrics, bufferWriteTimeoutInMillis);
Expand Down

0 comments on commit e86188f

Please sign in to comment.