-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat: add query user and query source to "executing query" log lines #14320
Conversation
Signed-off-by: Callum Styan <[email protected]>
04888bf
to
72a2a19
Compare
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.
lgtm
Signed-off-by: Callum Styan <[email protected]>
Signed-off-by: Callum Styan <[email protected]>
Hello @cstyan!
Please, if the current pull request addresses a bug fix, label it with the |
…14320) Signed-off-by: Callum Styan <[email protected]> (cherry picked from commit 4d69929)
…rafana#14320) Signed-off-by: Callum Styan <[email protected]>
@cstyan @trevorwhitney Is there something that needs to be done to enable the user information from Grafana to show up in these logs? |
We add a lot of metadata type info. about a query to
QueryTags
header but don't log much of it theexecuting query
logs. At the very least, pulling out the Grafana username and query source (alert, explore app, etc.) would be useful to determine the source of increased incoming query requests.