payment & productcatalog: sample rate 1.0
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
1799f36dc6
commit
89618dbeb6
2 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue