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
| <aid="enduser-id"href="#enduser-id">`enduser.id`</a> | string | Unique identifier of an end user in the system. It maybe a username, email address, or other identifier. [1]|`username`||
16
+
| <aid="enduser-pseudo-id"href="#enduser-pseudo-id">`enduser.pseudo.id`</a> | string | Pseudonymous identifier of an end user. This identifier should be a random value that is not directly linked or associated with the end user's actual identity. [2]|`QdH5CAWJgqVT4rOr0qtumf`||
17
+
18
+
**[1]`enduser.id`:** Unique identifier of an end user in the system.
19
+
20
+
> [!Warning]
21
+
> This field contains sensitive (PII) information.
22
+
23
+
**[2]`enduser.pseudo.id`:** Pseudonymous identifier of an end user.
24
+
25
+
> [!Warning]
26
+
> This field contains sensitive (linkable PII) information.
27
+
6
28
## Deprecated End User Attributes
7
29
8
-
Describes deprecated enduser attributes. Complete enduser namespace has been deprecated
| <aid="enduser-id"href="#enduser-id">`enduser.id`</a> | string | Deprecated, use `user.id` instead. |`username`|<br>Replaced by `user.id` attribute. |
13
34
| <aid="enduser-role"href="#enduser-role">`enduser.role`</a> | string | Deprecated, use `user.roles` instead. |`admin`|<br>Replaced by `user.roles` attribute. |
14
35
| <aid="enduser-scope"href="#enduser-scope">`enduser.scope`</a> | string | Deprecated, no replacement at this time. |`read:message, write:files`|<br>Removed. |
@@ -381,62 +380,6 @@ Examples of `peer.service` that users may specify:
381
380
- A Redis cache of auth tokens as `peer.service="AuthTokenCache"`.
382
381
- A gRPC service `rpc.service="io.opentelemetry.AuthService"` may be hosted in both a gateway, `peer.service="ExternalApiService"` and a backend, `peer.service="AuthService"`.
383
382
384
-
## General identity attributes
385
-
386
-
These attributes may be used for any operation with an authenticated and/or authorized enduser.
387
-
388
-
<!-- semconv identity -->
389
-
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
390
-
<!-- see templates/registry/markdown/snippet.md.j2 -->
|[`enduser.id`](/docs/attributes-registry/enduser.md)| string | Deprecated, use `user.id` instead. |`username`|`Recommended`|<br>Replaced by `user.id` attribute. |
398
-
|[`enduser.role`](/docs/attributes-registry/enduser.md)| string | Deprecated, use `user.roles` instead. |`admin`|`Recommended`|<br>Replaced by `user.roles` attribute. |
399
-
|[`enduser.scope`](/docs/attributes-registry/enduser.md)| string | Deprecated, no replacement at this time. |`read:message, write:files`|`Recommended`|<br>Removed. |
400
-
401
-
<!-- markdownlint-restore -->
402
-
<!-- prettier-ignore-end -->
403
-
<!-- END AUTOGENERATED TEXT -->
404
-
<!-- endsemconv -->
405
-
406
-
These attributes describe the authenticated user driving the user agent making requests to the instrumented
407
-
system. It is expected this information would be propagated unchanged from node-to-node within the system
408
-
using the Baggage mechanism. These attributes should not be used to record system-to-system
409
-
authentication attributes.
410
-
411
-
Examples of where the `enduser.id` value is extracted from:
412
-
413
-
| Authentication protocol | Field or description |
|[OAuth 2.0 Bearer Token]|[OAuth 2.0 Client Identifier] value from `client_id` for the [OAuth 2.0 Client Credentials Grant] flow and `subject` or `username` from get token info response for other flows using opaque tokens. |
brief: "Unique identifier of an end user in the system. It maybe a username, email address, or other identifier."
11
+
note: |
12
+
Unique identifier of an end user in the system.
13
+
14
+
> [!Warning]
15
+
> This field contains sensitive (PII) information.
16
+
examples: [ 'username' ]
17
+
stability: development
18
+
- id: enduser.pseudo.id
19
+
type: string
20
+
stability: development
21
+
brief: >
22
+
Pseudonymous identifier of an end user. This identifier should be a random value that is not directly linked or associated with the end user's actual identity.
23
+
note: |
24
+
Pseudonymous identifier of an end user.
25
+
26
+
> [!Warning]
27
+
> This field contains sensitive (linkable PII) information.
0 commit comments