Skip to content

Commit

Permalink
Fix comment in ExampleNewView_attributeFilter (#4529)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
pellared and MrAlias authored Sep 19, 2023
1 parent 4738218 commit bf54101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/metric/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ func ExampleNewView_drop() {
}

func ExampleNewView_attributeFilter() {
// Create a view removes the "http.request.method" attribute recorded by
// the "latency" instrument from the "http" instrumentation library.
// Create a view that removes the "http.request.method" attribute recorded
// by the "latency" instrument from the "http" instrumentation library.
view := metric.NewView(
metric.Instrument{
Name: "latency",
Expand Down

0 comments on commit bf54101

Please sign in to comment.