Skip to content

Commit

Permalink
Update the example of attributes processor to be consistent with the …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Saber-W authored Jun 17, 2021
1 parent d04d45f commit 3f5c718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/attributesprocessor/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ processors:
match_type: regexp
attributes:
# This attribute ('db.statement') must exist in the span and match the regex ('SELECT \* FROM USERS.*') for a match.
- {key: env, value: "'SELECT * FROM USERS WHERE ID=1'"}
- {key: env, value: 'SELECT \* FROM USERS.*'}
actions:
- key: db.statement
action: update
Expand Down

0 comments on commit 3f5c718

Please sign in to comment.