Skip to content

Commit

Permalink
compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Sep 29, 2023
1 parent c511147 commit b9f538b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/metrics/sync_instruments.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void LongCounter::Add(uint64_t value) noexcept
<< instrument_descriptor_.name_);
return;
}
return storage_->RecordDouble(value, context);
return storage_->RecordLong(value, context);
}

void LongCounter::Add(uint64_t value, const opentelemetry::context::Context &context) noexcept
Expand Down

0 comments on commit b9f538b

Please sign in to comment.