payment & productcatalog: sample rate 1.0

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-12 10:22:36 -07:00
parent 1799f36dc6
commit 89618dbeb6
2 changed files with 2 additions and 0 deletions

View file

@ -94,6 +94,7 @@ func main() {
log.Println("skipping uploading traces to stackdriver")
} else {
trace.RegisterExporter(exporter)
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
log.Println("registered stackdriver")
}

View file

@ -75,6 +75,7 @@ func main() {
log.Println("skipping uploading traces to stackdriver")
} else {
trace.RegisterExporter(exporter)
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
log.Println("registered stackdriver tracing")
}