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
  • Loading branch information
Shibo Wang committed May 27, 2021
1 parent a817b0f commit b8441d7
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 b8441d7

Please sign in to comment.