Skip to content
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

Add public API to set user information #238

Closed
SergeyKleyman opened this issue Oct 20, 2020 · 2 comments
Closed

Add public API to set user information #238

SergeyKleyman opened this issue Oct 20, 2020 · 2 comments
Labels
agent-php cross APM agents Part of the alignment with the rest of Elastic APM enhancement New feature or request from a real user This issue is from a real user (i.e., not an issue we found during internal testing) from discuss.elastic.co The issue is from a user at discuss.elastic.co
Milestone

Comments

@SergeyKleyman
Copy link
Contributor

SergeyKleyman commented Oct 20, 2020

Relevant part of APM Server Intake API: https://github.com/elastic/apm-server/blob/7.0/docs/spec/user.json
user.json is referenced in https://github.com/elastic/apm-server/blob/7.0/docs/spec/context.json#L49 which the context kind used transactions and errors but not spans (AKA "transaction" context).

Derived from: https://discuss.elastic.co/t/how-add-user-info-into-transaction/252474

@SergeyKleyman SergeyKleyman added enhancement New feature or request cross APM agents Part of the alignment with the rest of Elastic APM labels Oct 20, 2020
@SergeyKleyman SergeyKleyman added from a real user This issue is from a real user (i.e., not an issue we found during internal testing) from discuss.elastic.co The issue is from a user at discuss.elastic.co labels Nov 12, 2020
@SergeyKleyman SergeyKleyman added this to Planned in APM-Agents (OLD) via automation Aug 26, 2022
@petericebear
Copy link
Contributor

petericebear commented Aug 29, 2022

For Laravel: https://laravel.com/docs/9.x/authentication#retrieving-the-authenticated-user

Maybe there can be a default option for auto instrumentation?

@SergeyKleyman
Copy link
Contributor Author

Implemented in #758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-php cross APM agents Part of the alignment with the rest of Elastic APM enhancement New feature or request from a real user This issue is from a real user (i.e., not an issue we found during internal testing) from discuss.elastic.co The issue is from a user at discuss.elastic.co
Projects
Development

No branches or pull requests

2 participants