Skip to content

Commit 24ab035

Browse files
committed
format
1 parent 822861b commit 24ab035

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sdk/src/metrics/state/temporal_metric_storage.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bool TemporalMetricStorage::buildMetrics(CollectorHandle *collector,
5252
collector->GetAggregationTemporality(instrument_descriptor_.type_);
5353

5454
// Fast path for single collector with delta temporality and counter, updown-counter, histogram
55-
// This path doesn't need to aggregated-with/contribute-to the unreported_metric_, as there is
55+
// This path doesn't need to aggregated-with/contribute-to the unreported_metric_, as there is
5656
// no other reader configured to collect those data.
5757
if (collectors.size() == 1 && aggregation_temporarily == AggregationTemporality::kDelta)
5858
{
@@ -80,7 +80,8 @@ bool TemporalMetricStorage::buildMetrics(CollectorHandle *collector,
8080
return callback(metric_data);
8181
}
8282

83-
if (delta_metrics->Size()) {
83+
if (delta_metrics->Size())
84+
{
8485
for (auto &col : collectors)
8586
{
8687
unreported_metrics_[col.get()].push_back(delta_metrics);

0 commit comments

Comments
 (0)