From 3f5c7180c51ed67a6f54158ede5e523822e9659e Mon Sep 17 00:00:00 2001 From: Shibo Wang <33282704+Saber-W@users.noreply.github.com> Date: Thu, 17 Jun 2021 07:56:33 -0700 Subject: [PATCH] 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 --- processor/attributesprocessor/testdata/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/attributesprocessor/testdata/config.yaml b/processor/attributesprocessor/testdata/config.yaml index 3565ee53ac6..d31c585aa8c 100644 --- a/processor/attributesprocessor/testdata/config.yaml +++ b/processor/attributesprocessor/testdata/config.yaml @@ -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