Skip to content

Commit

Permalink
Update GettingStarted.rst (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamedprog authored Feb 2, 2022
1 parent 033b16f commit a320739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/public/sdk/GettingStarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ There are two different mechanisms to create TraceProvider instance
sdktrace::TracerProvider(std::move(simple_processor), resource, std::move(always_on_sampler));
// set the global tracer TraceProvider
opentelemetry::trace::Provider::SetTracerProvider(provider);
opentelemetry::trace::Provider::SetTracerProvider(tracer_provider);
Logging and Error Handling
Expand Down Expand Up @@ -220,4 +220,4 @@ The custom log handler can be defined by inheriting from `opentelemetry::sdk::co
}
};
opentelemetry::sdk::common::internal_log::GlobalLogHandler::SetLogHandler(CustomLogHandler());
opentelemetry::sdk::common::internal_log::GlobalLogHandler::SetLogLevel(opentelemetry::sdk::common::internal_log::LogLevel::Debug);
opentelemetry::sdk::common::internal_log::GlobalLogHandler::SetLogLevel(opentelemetry::sdk::common::internal_log::LogLevel::Debug);

1 comment on commit a320739

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'OpenTelemetry-cpp sdk Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: a320739 Previous: 033b16f Ratio
BM_BaselineBuffer/1 1155283.9279174805 ns/iter 521171.80824279785 ns/iter 2.22
BM_LockFreeBuffer/1 2985191.942370872 ns/iter 488634.07350936026 ns/iter 6.11
BM_LockFreeBuffer/2 3106907.844543457 ns/iter 1352503.776550293 ns/iter 2.30

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.