We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc3dfe commit d33bf03Copy full SHA for d33bf03
sdk/include/opentelemetry/sdk/metrics/exemplar/reservoir_utils.h
@@ -39,7 +39,8 @@ static inline size_t GetSimpleFixedReservoirDefaultSize(const AggregationType ag
39
{
40
const auto *histogram_agg_config =
41
static_cast<const Base2ExponentialHistogramAggregationConfig *>(agg_config);
42
- return std::min(kMaxBase2ExponentialHistogramReservoirSize, histogram_agg_config->max_buckets_);
+ return (std::min)(kMaxBase2ExponentialHistogramReservoirSize,
43
+ histogram_agg_config->max_buckets_);
44
}
45
46
return SimpleFixedSizeExemplarReservoir::kDefaultSimpleReservoirSize;
0 commit comments