Skip to content

Commit

Permalink
fix silly typo [affecting otlp exported histogram metrics max<uint>] (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
ays7 authored and yxue committed Dec 5, 2022
1 parent 2305b7a commit a4c5e0b
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 a4c5e0b

Please sign in to comment.