Skip to content

Commit

Permalink
sdk/metric: Refine NewView wildcard comment (#4530)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Sep 19, 2023
1 parent be43b92 commit 4738218
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/metric/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ type View func(Instrument) (Stream, bool)
// view that matches no instruments is returned. If you need to match a
// zero-value field, create a View directly.
//
// The Name field of criteria supports wildcard pattern matching. The wildcard
// "*" is recognized as matching zero or more characters, and "?" is recognized
// as matching exactly one character. For example, a pattern of "*" will match
// all instrument names.
// The Name field of criteria supports wildcard pattern matching. The "*"
// wildcard is recognized as matching zero or more characters, and "?" is
// recognized as matching exactly one character. For example, a pattern of "*"
// matches all instrument names.
//
// The Stream mask only applies updates for non-zero-value fields. By default,
// the Instrument the View matches against will be use for the Name,
Expand Down

0 comments on commit 4738218

Please sign in to comment.