Skip to content

Commit 916a2fe

Browse files
authored
[chore][internal/filter/filterconfig] Update comment to match functionality (#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.
1 parent bf40162 commit 916a2fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/filter/filterconfig/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ type MatchProperties struct {
105105
MetricNames []string `mapstructure:"metric_names"`
106106

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

0 commit comments

Comments
 (0)