mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
update thrift, opencensus, others (#893)
* update thrift, opencensus, others * stats: update to opencensus 0.6.0 view api
This commit is contained in:
22
vendor/go.opencensus.io/plugin/ocgrpc/server_metrics.go
generated
vendored
22
vendor/go.opencensus.io/plugin/ocgrpc/server_metrics.go
generated
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user