trinodb / trino-go-client

Go client for Trino
Apache License 2.0
135 stars 63 forks source link

Add option to configure X-Trino-Client-Tags http header based on a setting in the conenction URL #121

Open DavidC-TRT opened 4 months ago

DavidC-TRT commented 4 months ago

Please can we have a way to set the X-Trino-Client-Tags http header based on a setting in the conenction URL. Perhas a query parameter "client_tags" in the connection url.

I think it will be very similar to this MR: https://github.com/trinodb/trino-go-client/pull/23/files