1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-29 23:07:45 +02:00

remove rSSP and rBSP code, use NewProvider instead. (#271)

This commit is contained in:
Liz Fong-Jones
2019-11-02 00:35:18 +01:00
committed by rghetia
parent 8b061a2102
commit 440b6653c9
6 changed files with 10 additions and 85 deletions

View File

@@ -41,7 +41,6 @@ func initTracer() {
if err != nil {
log.Fatal(err)
}
exporter.RegisterSimpleSpanProcessor()
// For the demonstration, use sdktrace.AlwaysSample sampler to sample all traces.
// In a production application, use sdktrace.ProbabilitySampler with a desired probability.