You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
Fix comment in ExampleNewView_attributeFilter (#4529)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user