Skip to content

Commit 875a300

Browse files
jeanbisuttitrask
andauthored
Update articles/azure-monitor/app/java-standalone-telemetry-processors-examples.md
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent 7080974 commit 875a300

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

articles/azure-monitor/app/java-standalone-telemetry-processors-examples.md

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -200,46 +200,6 @@ These spans don't match the include properties, and processor actions aren't app
200200
}
201201
```
202202

203-
The following sample shows how to process spans that have a span name that matches regex patterns.
204-
This processor removes the `token` attribute. It obfuscates the `password` attribute in spans where the span name matches `auth.*`
205-
and where the span name doesn't match `login.*`.
206-
207-
```json
208-
{
209-
"connectionString": "InstrumentationKey=00000000-0000-0000-0000-000000000000",
210-
"preview": {
211-
"processors": [
212-
{
213-
"type": "attribute",
214-
"include": {
215-
"matchType": "regexp",
216-
"spanNames": [
217-
"auth.*"
218-
]
219-
},
220-
"exclude": {
221-
"matchType": "regexp",
222-
"spanNames": [
223-
"login.*"
224-
]
225-
},
226-
"actions": [
227-
{
228-
"key": "password",
229-
"value": "obfuscated",
230-
"action": "update"
231-
},
232-
{
233-
"key": "token",
234-
"action": "delete"
235-
}
236-
]
237-
}
238-
]
239-
}
240-
}
241-
```
242-
243203
## Attribute processor samples
244204

245205
### Insert

0 commit comments

Comments
 (0)