elastic / elastic/apm-server

Add user.roles to the intake

Open
#7,514 3 comments 0 reactions 0 assignees View on GitHub
8.7-candidate enhancement good first issue
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

Currently, if I call this:

set_context({"username": "my_username"}, "user")

it does nothing. I'm told that it does nothing because the APM Server intake isn't looking for this field. Maybe add all of the fields listed on this page https://www.elastic.co/guide/en/apm/server/current/exported-fields-ecs.html#_user

I'm using v 6.2.3. This thread has some more information https://discuss.elastic.co/t/in-the-python-elastic-apm-v-6-2-3-library-how-do-i-set-the-user-roles-field/298982

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.