Skip to content

Commit

Permalink
fix silly typo [affecting otlp exported histogram metrics max<uint>]
Browse files Browse the repository at this point in the history
  • Loading branch information
ays7 committed Dec 1, 2022
1 parent 7e26a7e commit 5935afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/otlp/src/otlp_metric_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void OtlpMetricUtils::ConvertHistogramMetric(
}
if (nostd::holds_alternative<int64_t>(histogram_data.max_))
{
proto_histogram_point_data->set_min(nostd::get<int64_t>(histogram_data.max_));
proto_histogram_point_data->set_max(nostd::get<int64_t>(histogram_data.max_));
}
else
{
Expand Down

0 comments on commit 5935afb

Please sign in to comment.