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 authored Dec 2, 2022
1 parent f23c4a2 commit 02bca21
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 02bca21

Please sign in to comment.