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

@@ -180,7 +180,7 @@ func init() {
"containers in state "+key,
[]tag.Key{appKey, pathKey},
measure,
view.CountAggregation{},
view.Count(),
)
if err != nil {
logrus.Fatalf("cannot create view: %v", err)
@@ -203,7 +203,7 @@ func init() {
"time spent in container state "+key,
[]tag.Key{appKey, pathKey},
measure,
view.DistributionAggregation{},
view.Distribution(),
)
if err != nil {
logrus.Fatalf("cannot create view: %v", err)