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

@@ -47,7 +47,7 @@ var (
Description: "RPC Errors",
TagKeys: []tag.Key{KeyMethod, KeyStatus},
Measure: ServerErrorCount,
Aggregation: view.CountAggregation{},
Aggregation: view.Count(),
}
ServerServerElapsedTimeView = &view.View{
@@ -91,16 +91,14 @@ var (
}
)
// All default server views provided by this package:
var (
DefaultServerViews = []*view.View{
ServerErrorCountView,
ServerServerElapsedTimeView,
ServerRequestBytesView,
ServerResponseBytesView,
ServerRequestCountView,
ServerResponseCountView,
}
)
// DefaultServerViews are the default server views provided by this package.
var DefaultServerViews = []*view.View{
ServerErrorCountView,
ServerServerElapsedTimeView,
ServerRequestBytesView,
ServerResponseBytesView,
ServerRequestCountView,
ServerResponseCountView,
}
// TODO(jbd): Add roundtrip_latency, uncompressed_request_bytes, uncompressed_response_bytes, request_count, response_count.