Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update enduser domain and add
enduser.authentication.id
#1456base: main
Are you sure you want to change the base?
Update enduser domain and add
enduser.authentication.id
#1456Changes from 6 commits
3e1655f
6f858a2
07cb1eb
ee0970f
38d8687
b1cdc13
068a822
e05d7a3
c17bec6
0fa3ffc
d0e26d5
614a52e
a499237
5bfbfe2
5f883d0
13919ed
272ded3
5c0d6d3
ff85999
d626e6c
cb32498
1c53711
51d0c99
5d10c08
949bae8
9778890
23bb6fe
f0623df
435fc1b
ca87ccc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the other part is correct:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems confusing to set
enduser.id = "QdH5CAWJgqVT4rOr0qtumf"
andenduser.authentication.id = "lmolkova"
, based on thehttps://github.com/open-telemetry/semantic-conventions/pull/1146/files#r1712997369 and https://github.com/open-telemetry/semantic-conventions/pull/1146/files#r1710187141
It'd be more clear if we called this one
enduser.tracking.id
orenduser.anonymous.id
so that people would not put PII there.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
per earlier discussion, it seemed that
anonymous
was confusing to some.i'm good with
enduser.anonymous_id
orenduser.tracking_id
. neithertracking
noranonymous
a namespace, nesting here doesn't seem to follow the naming convention?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean that
enduser.tracking.id
would not follow the naming convention? Why?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like
enduser.tracking.id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some examples
semantic-conventions/schemas/1.19.0
Line 32 in d5d2b9d
nesting is used for
.
if not, use
_
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lmolkova @trisch-me Please review and fill in anything that i may have missed.:
enduser.pseudo.id
- pros: it's clear to know this id is not authenticated
- cons: it might lead to misinterpretation of this id, like it's not a real id, a testing id, a temporary id?
enduser.tracking.id' - pros: it's clear that this id is used to track a particular user. - cons:
tracking` may raise privacy concerns, as it implies monitoring user behavior, which could lead to user distrust. it also lacks context of what exactly is being tracked (e.g. user actions, sessions, locations, etc)enduser.unauth.id
- pros:
unauth
is short- cons:
unauth
is ambiguous, as it can beunauthenticated
orunauthorized
. additionally, acronym is not a good naming practice and leads to more confusion.enduser.temp.id
orenduser.transient.id
- pros: it suggests that this id is temporary and associated with user who has not been authenticated.
- cons: it lacks context about the id is temporary for what context (e.g. session, authentication)
enduser.unauthenticated.id
- pro: it's clear to indicate an authenticated user.
- cons: it collides with
enduser.authentication.id
, which can be renamed toenduser.authenticated.id
, then it would have been fine?enduser.anonymous.id
- pros: it's clear that this id is anonymous.
- cons: it can be confusing and lacks context. as long we have a clear documentation, this should be ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kind of like these three:
enduser.pseudo.id
enduser.transient.id
enduser.ephemeral.id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I attended Client SIG this morning,
they also preferred
enduser.pseudo.id
after going through this list.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what were the cons for
enduser.unauthenticated.id
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have already discussed and agreed to have
enduser.authentication.id
.authentication
as a sub-namespace under enduser. anything that is not underauthentication
is either unauthenticated or unauthorized or anonymous or some random id.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use development now, let's change it here and in other non-deprecated attributes