grafana / sqlds

A package that assists writing SQL-driven datasources
Apache License 2.0
17 stars 12 forks source link

Allow capability for implementing datasources to set query args #95

Closed conor-mcavoy closed 1 year ago

conor-mcavoy commented 1 year ago

Similar to the optional interfaces that allow datasources to mutate queries and responses, this implements the ability for datasources to set query args in the call QueryDB. Right now, this interface's method SetQueryArgs takes the HTTP headers (you could use this to set the username for example), but it could easily be expanded to allow for other parameters.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.