You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -358,7 +358,7 @@ For example, given `http.url = http://example.com/path?queryParam1=value1,queryP
358
358
359
359
### Mask
360
360
361
-
For example, given `http.url = https://example.com/user/12345622` is updated to `http.url = https://example.com/user/****` using either of the below configurations.
361
+
For example, given `url.path = https://example.com/user/12345622` is updated to `url.path = https://example.com/user/****` using either of the below configurations.
362
362
363
363
364
364
First configuration example:
@@ -372,7 +372,7 @@ First configuration example:
372
372
"type": "attribute",
373
373
"actions": [
374
374
{
375
-
"key": "http.url",
375
+
"key": "url.path",
376
376
"pattern": "user\\/\\d+",
377
377
"replace": "user\\/****",
378
378
"action": "mask"
@@ -396,7 +396,7 @@ Second configuration example with regular expression group name:
396
396
"type": "attribute",
397
397
"actions": [
398
398
{
399
-
"key": "http.url",
399
+
"key": "url.path",
400
400
"pattern": "^(?<userGroupName>[a-zA-Z.:\/]+)\d+",
401
401
"replace": "${userGroupName}**",
402
402
"action": "mask"
@@ -407,9 +407,9 @@ Second configuration example with regular expression group name:
407
407
}
408
408
}
409
409
```
410
-
### Non-string typed attributes samples
410
+
### Nonstring typed attributes samples
411
411
412
-
Starting 3.4.19 GA, telemetry processors support non-string typed attributes:
412
+
Starting 3.4.19 GA, telemetry processors support nonstring typed attributes:
413
413
`boolean`, `double`, `long`, `boolean-array`, `double-array`, `long-array`, and `string-array`.
414
414
415
415
When `attributes.type` is not provided in the json, it's default to `string`.
@@ -461,7 +461,7 @@ The following sample inserts the new attribute `{"newAttributeKeyStrict": "newAt
461
461
462
462
```
463
463
464
-
Additionally, non-string typed attributes support `regexp`.
464
+
Additionally, nonstring typed attributes support `regexp`.
465
465
466
466
The following sample inserts the new attribute `{"newAttributeKeyRegexp": "newAttributeValueRegexp"}` into spans and logs where the attribute `longRegexpAttributeKey` matches the value from `400` to `499`.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/java-standalone-telemetry-processors.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -397,11 +397,11 @@ This section lists some common span attributes that telemetry processors can use
397
397
398
398
| Attribute | Type | Description |
399
399
|---|---|---|
400
-
|`http.method`| string | HTTP request method.|
401
-
|`http.url`| string | Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. The fragment isn't usually transmitted over HTTP. But if the fragment is known, it should be included.|
402
-
|`http.status_code`| number |[HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6).|
403
-
|`http.flavor`| string | Type of HTTP protocol. |
404
-
|`http.user_agent`| string | Value of the [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3) header sent by the client. |
400
+
|`http.request.method` (used to be `http.method`)| string | HTTP request method.|
401
+
|`url.full` (client span) or `url.path` (server span) (used to be `http.url`)| string | Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. The fragment isn't usually transmitted over HTTP. But if the fragment is known, it should be included.|
402
+
|`http.response.status_code` (used to be `http.status_code`)| number |[HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6).|
403
+
|`network.protocol.version` (used to be `http.flavor`)| string | Type of HTTP protocol. |
404
+
|`user_agent.original` (used to be `http.user_agent`)| string | Value of the [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3) header sent by the client. |
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/opentelemetry-enable.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ Download the [applicationinsights-agent-3.5.0.jar](https://github.com/microsoft/
83
83
> [!WARNING]
84
84
>
85
85
> If you are upgrading from an earlier 3.x version, you may be impacted by changing defaults or slight differences in the data we collect. For more information, see the migration section in the release notes.
0 commit comments