You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/metric_exporter/__init__.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -296,10 +296,10 @@ def export(
296
296
)
297
297
298
298
ifbatch_result==MetricExportResult.FAILURE:
299
-
export_result=MetricExportResult.FAILURE
300
-
# Don't retry; move on to next batch
299
+
# If any batch fails, return failure immediately
300
+
returnMetricExportResult.FAILURE
301
301
302
-
# Return last result after all batches are attempted
0 commit comments