influxdata / chronograf

Open source monitoring and visualization UI for the TICK stack
https://www.influxdata.com/time-series-platform/chronograf/
Other
1.52k stars 258 forks source link

fix: set active database from query #6103

Closed alespour closed 3 months ago

alespour commented 3 months ago

Fixes https://github.com/influxdata/EAR/issues/5278

For InfluxQL metaqueries to work with Cloud Serverless, active database needs to be set (via db HTTP query parameter). Current version only supports settings active via USE clause.

This PR adds sets active database using value of ON clause if present in the query and no db was set with USE.