-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Adjust usage attribution to prompt users when attribution is ambiguous #11579
Labels
team: webapp
Issue belongs to the WebApp team
Comments
@gtsiolis You've found this before I finished writing the description :) It's related to the same problem. This focuses more on the backend logic but I think we can merge, tho the backend is likely needed a lot sooner than we can realistically do the UI changes. |
Note: Also need to update the WebApp docs! |
jankeromnes
changed the title
Usage attribution
Adjust usage attribution to prompt users when attribution is ambiguous
Aug 1, 2022
This was referenced Aug 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to correctly attribute usage to either user or a team, we need to update our Workspace Instance attribution logic.
An
usageAttributionid
should always be set on aWorkspaceInstance
, irrespective if the installation is SaaS or Self-hosted.The logic to determine the
usageAttributionId
is as follows (in order of priority):User.usageAttributionId
.usageAttributionId
as part of the WorkspaceInstance create request.The text was updated successfully, but these errors were encountered: