update thrift, opencensus, others (#893)

* update thrift, opencensus, others

* stats: update to opencensus 0.6.0 view api
This commit is contained in:
Reed Allman
2018-03-26 15:43:49 -07:00
committed by GitHub
parent 0ce5c4500b
commit 8af605cf3d
1266 changed files with 122191 additions and 28775 deletions

View File

@@ -127,7 +127,7 @@ func init() {
"number of times we've retried docker API upon failure",
[]tag.Key{appKey, pathKey},
dockerRetriesMeasure,
view.SumAggregation{},
view.Sum(),
)
if err != nil {
logrus.Fatalf("cannot create view: %v", err)
@@ -147,7 +147,7 @@ func init() {
"number of times we've timed out calling docker API",
[]tag.Key{appKey, pathKey},
dockerTimeoutMeasure,
view.CountAggregation{},
view.Count(),
)
if err != nil {
logrus.Fatalf("cannot create view: %v", err)
@@ -167,7 +167,7 @@ func init() {
"number of unrecoverable errors from docker API",
[]tag.Key{appKey, pathKey},
dockerErrorMeasure,
view.CountAggregation{},
view.Count(),
)
if err != nil {
logrus.Fatalf("cannot create view: %v", err)
@@ -187,7 +187,7 @@ func init() {
"number of docker container oom",
[]tag.Key{appKey, pathKey},
dockerOOMMeasure,
view.CountAggregation{},
view.Count(),
)
if err != nil {
logrus.Fatalf("cannot create view: %v", err)