@@ -22,9 +22,9 @@ This section shows how to include spans for an attribute processor. The processo
22
22
A match requires the span name to be equal to ` spanA ` or ` spanB ` .
23
23
24
24
These spans match the include properties, and the processor actions are applied:
25
- * Span1 Name: 'spanA' Attributes: {env: dev, test_request: 123, credit_card: 1234}
26
- * Span2 Name: 'spanB' Attributes: {env: dev, test_request: false}
27
- * Span3 Name: 'spanA' Attributes: {env: 1, test_request: dev, credit_card: 1234}
25
+ * ` Span1 ` Name: 'spanA' Attributes: {env: dev, test_request: 123, credit_card: 1234}
26
+ * ` Span2 ` Name: 'spanB' Attributes: {env: dev, test_request: false}
27
+ * ` Span3 ` Name: 'spanA' Attributes: {env: 1, test_request: dev, credit_card: 1234}
28
28
29
29
This span doesn't match the include properties, and the processor actions aren't applied:
30
30
* Span4 Name: 'spanC' Attributes: {env: dev, test_request: false}
@@ -62,9 +62,9 @@ This section demonstrates how to exclude spans for an attribute processor. This
62
62
A match requires the span name to be equal to ` spanA ` or ` spanB ` .
63
63
64
64
The following spans match the exclude properties, and the processor actions aren't applied:
65
- * Span1 Name: 'spanA' Attributes: {env: dev, test_request: 123, credit_card: 1234}
66
- * Span2 Name: 'spanB' Attributes: {env: dev, test_request: false}
67
- * Span3 Name: 'spanA' Attributes: {env: 1, test_request: dev, credit_card: 1234}
65
+ * ` Span1 ` Name: 'spanA' Attributes: {env: dev, test_request: 123, credit_card: 1234}
66
+ * ` Span2 ` Name: 'spanB' Attributes: {env: dev, test_request: false}
67
+ * ` Span3 ` Name: 'spanA' Attributes: {env: 1, test_request: dev, credit_card: 1234}
68
68
69
69
This span doesn't match the exclude properties, and the processor actions are applied:
70
70
* Span4 Name: 'spanC' Attributes: {env: dev, test_request: false}
@@ -104,11 +104,11 @@ A match requires the following conditions to be met:
104
104
* The span must have an attribute that has key ` test_request ` .
105
105
106
106
The following spans match the exclude properties, and the processor actions aren't applied.
107
- * Span1 Name: 'spanB' Attributes: {env: dev, test_request: 123, credit_card: 1234}
108
- * Span2 Name: 'spanA' Attributes: {env: dev, test_request: false}
107
+ * ` Span1 ` Name: 'spanB' Attributes: {env: dev, test_request: 123, credit_card: 1234}
108
+ * ` Span2 ` Name: 'spanA' Attributes: {env: dev, test_request: false}
109
109
110
110
The following span doesn't match the exclude properties, and the processor actions are applied:
111
- * Span3 Name: 'spanB' Attributes: {env: 1, test_request: dev, credit_card: 1234}
111
+ * ` Span3 ` Name: 'spanB' Attributes: {env: 1, test_request: dev, credit_card: 1234}
112
112
* Span4 Name: 'spanC' Attributes: {env: dev, dev_request: false}
113
113
114
114
@@ -155,11 +155,11 @@ properties indicate which spans should be processed. The exclude properties filt
155
155
156
156
In the following configuration, these spans match the properties, and processor actions are applied:
157
157
158
- * Span1 Name: 'spanB' Attributes: {env: production, test_request: 123, credit_card: 1234, redact_trace: "false"}
159
- * Span2 Name: 'spanA' Attributes: {env: staging, test_request: false, redact_trace: true}
158
+ * ` Span1 ` Name: 'spanB' Attributes: {env: production, test_request: 123, credit_card: 1234, redact_trace: "false"}
159
+ * ` Span2 ` Name: 'spanA' Attributes: {env: staging, test_request: false, redact_trace: true}
160
160
161
161
These spans don't match the include properties, and processor actions aren't applied:
162
- * Span3 Name: 'spanB' Attributes: {env: production, test_request: true, credit_card: 1234, redact_trace: false}
162
+ * ` Span3 ` Name: 'spanB' Attributes: {env: production, test_request: true, credit_card: 1234, redact_trace: false}
163
163
* Span4 Name: 'spanC' Attributes: {env: dev, test_request: false}
164
164
165
165
``` json
0 commit comments