Skip to content

Commit 3f5c718

Browse files
authored
Update the example of attributes processor to be consistent with the comment (#3334)
Update attributes in the `config.yaml` of attributes processor. So the regex value is consistent with the comment above it, as suggested in the issue. **Link to tracking Issue:** #2843
1 parent d04d45f commit 3f5c718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processor/attributesprocessor/testdata/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ processors:
294294
match_type: regexp
295295
attributes:
296296
# This attribute ('db.statement') must exist in the span and match the regex ('SELECT \* FROM USERS.*') for a match.
297-
- {key: env, value: "'SELECT * FROM USERS WHERE ID=1'"}
297+
- {key: env, value: 'SELECT \* FROM USERS.*'}
298298
actions:
299299
- key: db.statement
300300
action: update

0 commit comments

Comments
 (0)