Skip to content

Commit

Permalink
[chore][internal/filter/filterconfig] Update comment to match functio…
Browse files Browse the repository at this point in the history
…nality (#31517)

Context:
#31496 (comment)

I believe strict matching was originally the only supported option for
attributes, and regex was added shortly after. I believe this comment
was missed with the update, so it's out of date. Refer to the referenced
comment above for more context and references.
  • Loading branch information
crobert-1 committed Mar 12, 2024
1 parent bf40162 commit 916a2fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/filter/filterconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ type MatchProperties struct {
MetricNames []string `mapstructure:"metric_names"`

// Attributes specifies the list of attributes to match against.
// All of these attributes must match exactly for a match to occur.
// Only match_type=strict is allowed if "attributes" are specified.
// All of these attributes must match for a match to occur.
// This is an optional field.
Attributes []Attribute `mapstructure:"attributes"`

Expand Down

0 comments on commit 916a2fe

Please sign in to comment.