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

feat: add query user and query source to "executing query" log lines (backport k222) #14323

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

loki-gh-app[bot]
Copy link
Contributor

@loki-gh-app loki-gh-app bot commented Sep 30, 2024

Backport 4d69929 from #14320


We add a lot of metadata type info. about a query to QueryTags header but don't log much of it the executing 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.

…14320)

Signed-off-by: Callum Styan <callumstyan@gmail.com>
(cherry picked from commit 4d69929)
@loki-gh-app loki-gh-app bot requested a review from a team as a code owner September 30, 2024 20:45
@loki-gh-app loki-gh-app bot added backport size/M type/bug Somehing is not working as expected labels Sep 30, 2024
@loki-gh-app loki-gh-app bot requested a review from cstyan September 30, 2024 20:45
@cstyan cstyan merged commit b9671cb into k222 Sep 30, 2024
67 checks passed
@cstyan cstyan deleted the backport-14320-to-k222 branch September 30, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/M type/bug Somehing is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant