1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-10-31 00:07:40 +02:00

Fix comment in ExampleNewView_attributeFilter (#4529)

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Robert Pająk
2023-09-19 16:38:39 +02:00
committed by GitHub
parent 4738218c03
commit bf54101e32

View File

@@ -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",