Skip to content

Commit

Permalink
Merge branch 'main' into sanitize-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
punya authored Sep 25, 2023
2 parents 2692399 + ab83f4f commit 6482107
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdk/src/metrics/meter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,9 @@ std::unique_ptr<SyncWritableMetricStorage> Meter::RegisterSyncMetricStorage(
auto ctx = meter_context_.lock();
if (!ctx)
{
OTEL_INTERNAL_LOG_ERROR("[Meter::RegisterMetricStorage] - Error during finding matching views."
<< "The metric context is invalid");
OTEL_INTERNAL_LOG_ERROR(
"[Meter::RegisterSyncMetricStorage] - Error during finding matching views."
<< "The metric context is invalid");
return nullptr;
}
auto view_registry = ctx->GetViewRegistry();
Expand Down Expand Up @@ -335,7 +336,7 @@ std::unique_ptr<SyncWritableMetricStorage> Meter::RegisterSyncMetricStorage(
if (!success)
{
OTEL_INTERNAL_LOG_ERROR(
"[Meter::RegisterMetricStorage] - Error during finding matching views."
"[Meter::RegisterSyncMetricStorage] - Error during finding matching views."
<< "Some of the matching view configurations mayn't be used for metric collection");
}
return storages;
Expand Down

0 comments on commit 6482107

Please sign in to comment.