From 5935afb13ed1dcfd82b42bcd7176a145e69d7b08 Mon Sep 17 00:00:00 2001 From: Alexey Shakula Date: Thu, 1 Dec 2022 12:01:18 -0500 Subject: [PATCH] fix silly typo [affecting otlp exported histogram metrics max] --- exporters/otlp/src/otlp_metric_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporters/otlp/src/otlp_metric_utils.cc b/exporters/otlp/src/otlp_metric_utils.cc index 9cf34dc550..f3ee79e283 100644 --- a/exporters/otlp/src/otlp_metric_utils.cc +++ b/exporters/otlp/src/otlp_metric_utils.cc @@ -116,7 +116,7 @@ void OtlpMetricUtils::ConvertHistogramMetric( } if (nostd::holds_alternative(histogram_data.max_)) { - proto_histogram_point_data->set_min(nostd::get(histogram_data.max_)); + proto_histogram_point_data->set_max(nostd::get(histogram_data.max_)); } else {