-
Notifications
You must be signed in to change notification settings - Fork 24
Add support for passing header X-Trino-Client-Tags #309
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
base: main
Are you sure you want to change the base?
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
Realy usefull ! is it planned to release this soon ? |
Good job ! |
Add support for X-Trino-Client-Tags header
Description
This PR adds support for the
X-Trino-Client-Tags
header in the Grafana Trino datasource plugin. TheX-Trino-Client-Tags
header is part of the official Trino client protocol and allows sending a comma-separated list of tag strings to identify Trino resource groups, which is useful for resource management and query monitoring.How to Use
grafana,dashboard,analytics
)The tags will be automatically sent with every query to help Trino administrators identify and manage resource usage from different client sources.
Technical Details
X-Trino-Client-Tags
header is only sent when client tags are configured (optional field)Testing
References