forked from open-telemetry/semantic-conventions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] Add ECS user namespace (open-telemetry#731)
Co-authored-by: Liudmila Molkova <[email protected]>
- Loading branch information
Showing
12 changed files
with
132 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
# | ||
# If your change doesn't affect end users you should instead start | ||
# your pull request title with [chore] or use the "Skip Changelog" label. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: new_component | ||
|
||
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) | ||
component: user | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: BREAKING - deprecate `enduser` in favor of a new `user` namespace. Add more `user` attributes. | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
# The values here must be integers. | ||
issues: [731] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!--- Hugo front matter used to generate the website version of this page: | ||
---> | ||
|
||
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. --> | ||
<!-- see templates/registry/markdown/attribute_namespace.md.j2 --> | ||
|
||
# User | ||
|
||
## User Attributes | ||
|
||
Describes information about the user. | ||
|
||
| Attribute | Type | Description | Examples | Stability | | ||
| ---------------- | -------- | ---------------------------------------------------------------------------- | -------------------------------------------------- | ---------------------------------------------------------------- | | ||
| `user.email` | string | User email address. | `[email protected]` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `user.full_name` | string | User's full name | `Albert Einstein` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `user.hash` | string | Unique user hash to correlate information for a user in anonymized form. [1] | `364fc68eaf4c8acec74a4e52d7d1feaa` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `user.id` | string | Unique identifier of the user. | `S-1-5-21-202424912787-2692429404-2351956786-1000` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `user.name` | string | Short name or login/username of the user. | `a.einstein` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `user.roles` | string[] | Array of user roles at the time of the event. | `admin`; `reporting_user` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
|
||
**[1]:** Useful if `user.id` or `user.name` contain confidential information and cannot be used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
groups: | ||
- id: registry.enduser.deprecated | ||
prefix: enduser | ||
type: attribute_group | ||
brief: Describes deprecated enduser attributes. Complete enduser namespace has been deprecated | ||
attributes: | ||
- id: id | ||
type: string | ||
stability: experimental | ||
deprecated: Replaced by `user.id` attribute. | ||
brief: "Deprecated, use `user.id` instead." | ||
examples: 'username' | ||
- id: role | ||
type: string | ||
stability: experimental | ||
deprecated: Replaced by `user.roles` attribute. | ||
brief: "Deprecated, use `user.roles` instead." | ||
examples: 'admin' | ||
- id: scope | ||
type: string | ||
stability: experimental | ||
deprecated: Removed. | ||
brief: "Deprecated, no replacement at this time." | ||
examples: 'read:message, write:files' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
groups: | ||
- id: registry.user | ||
prefix: user | ||
type: attribute_group | ||
brief: "Describes information about the user." | ||
attributes: | ||
- id: email | ||
type: string | ||
stability: experimental | ||
brief: > | ||
User email address. | ||
examples: ['[email protected]'] | ||
- id: full_name | ||
type: string | ||
stability: experimental | ||
brief: > | ||
User's full name | ||
examples: ['Albert Einstein'] | ||
- id: hash | ||
type: string | ||
stability: experimental | ||
brief: > | ||
Unique user hash to correlate information for a user in anonymized form. | ||
note: > | ||
Useful if `user.id` or `user.name` contain confidential information and cannot be used. | ||
examples: ['364fc68eaf4c8acec74a4e52d7d1feaa'] | ||
- id: id | ||
type: string | ||
stability: experimental | ||
brief: > | ||
Unique identifier of the user. | ||
examples: ['S-1-5-21-202424912787-2692429404-2351956786-1000'] | ||
- id: name | ||
type: string | ||
stability: experimental | ||
brief: > | ||
Short name or login/username of the user. | ||
examples: ['a.einstein'] | ||
- id: roles | ||
type: string[] | ||
stability: experimental | ||
brief: > | ||
Array of user roles at the time of the event. | ||
examples: ["admin", "reporting_user"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters