Skip to content

Commit

Permalink
internal: Remove reference to OpenCensus view.
Browse files Browse the repository at this point in the history
OpenCensus gRPC views are being updated to reflect the latest spec.
Remove a reference to an old view that will not longer exist after
the update, and instead subscribe to the default set of client-side
views.

OpenCensus PR: census-instrumentation/opencensus-go#689

Change-Id: I3308ec22b71c8548e3c7fd39cfad597cab65d241
Reviewed-on: https://code-review.googlesource.com/26370
Reviewed-by: Jonathan Amsterdam <[email protected]>
  • Loading branch information
Ramon Nogueira committed Apr 24, 2018
1 parent c718c27 commit 34d27c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testutil/go18.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewTestExporter() *TestExporter {

view.RegisterExporter(te)
view.SetReportingPeriod(time.Millisecond)
if err := view.Register(ocgrpc.ClientRequestCountView); err != nil {
if err := view.Register(ocgrpc.DefaultClientViews...); err != nil {
log.Fatal(err)
}

Expand Down

0 comments on commit 34d27c6

Please sign in to comment.