You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very useful to have more information of the Grafana client requests in the ClickHouse query log. This will help pinpoint those panels and users which are hitting ClickHouse backends particularly heavily.
Primarily:
Grafana user
Panel or template variable definition which initiated the query
Grafana query ID
Seems like the log_comment column in system.query_log could be used for storing this in JSON, although the http_referer might be more appropriate for the panel.
The text was updated successfully, but these errors were encountered:
oplehto
changed the title
Add identifying information on requests
Add identifying metadata on requests to the ClickHouse query log
Jul 18, 2022
better will implement option in QueryEditor
like
"send metadata" which will add comment in request with /* $__dashboard $__user */
and turn on it by default
It would be very useful to have more information of the Grafana client requests in the ClickHouse query log. This will help pinpoint those panels and users which are hitting ClickHouse backends particularly heavily.
Primarily:
Seems like the
log_comment
column insystem.query_log
could be used for storing this in JSON, although thehttp_referer
might be more appropriate for the panel.The text was updated successfully, but these errors were encountered: