-
Notifications
You must be signed in to change notification settings - Fork 286
Description
Context
Related to #1142
We're considering adding user.id/user.name under db namespace and not sure which one (neither/both?) to use.
We'd like to stay consistent with root user namespace to leverage embedding mechanism (once it's implemented).
When connecting to the database/messaging system/cloud service/etc it's common to talk about the identity rather than user:
E.g. Azure has several kinds of identities (human, and multiple kinds of machine identities) AWS also has multiple - users, groups, roles.
Problem
The concept of user in the semconv seem to map to the human identity only. It does not seem to apply to a generic 'identity' used to access a resource.
Even within a 'human identity', it's not clear how to use it:
- is name unique within the system?
- if so, why there is an id? How are they different?
- the login terminology does not seem to apply in many cases (authentication could be a broader term). I believe it's related to Add authentication sub-namespace to userย #1146
So, I think we need to decide and document:
- what does the
usernamespace describe? OS user? Human identity? Any identity? - what's the appropriate namespace based on this definition?
- what are the right attributes to describe this thing?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status