fix typo in Stackdriver init method name. (#130)
This commit is contained in:
parent
2ef073f600
commit
3812cf741d
1 changed files with 2 additions and 2 deletions
|
@ -181,7 +181,7 @@ func initStats(log logrus.FieldLogger, exporter *stackdriver.Exporter) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func initStackDriverTracing(log logrus.FieldLogger) {
|
func initStackdriverTracing(log logrus.FieldLogger) {
|
||||||
// TODO(ahmetb) this method is duplicated in other microservices using Go
|
// TODO(ahmetb) this method is duplicated in other microservices using Go
|
||||||
// since they are not sharing packages.
|
// since they are not sharing packages.
|
||||||
for i := 1; i <= 3; i++ {
|
for i := 1; i <= 3; i++ {
|
||||||
|
@ -215,7 +215,7 @@ func initTracing(log logrus.FieldLogger) {
|
||||||
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
|
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
|
||||||
|
|
||||||
initJaegerTracing(log)
|
initJaegerTracing(log)
|
||||||
initStackDriverTracing(log)
|
initStackdriverTracing(log)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue