Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Can only select bigquery datasource if it is the default #382

Closed
erin-noe-payne opened this issue Oct 13, 2021 · 0 comments · Fixed by #383
Closed

Can only select bigquery datasource if it is the default #382

erin-noe-payne opened this issue Oct 13, 2021 · 0 comments · Fixed by #383
Milestone

Comments

@erin-noe-payne
Copy link
Contributor

Bug Report

From the explore tab, I cannot select the bigquery datasource unless it is configured to be the default datasource.

Expected Behavior

I should be able to query against bigquery even if it is not the default datasource

Actual Behavior

  • Have at least two datasources configured, where bigquery is NOT the default data source
  • From the explore tab, select the bigquery datasource
  • The bigquery datasource is NOT selected, and instead the default datasource gets selected.
  • If you reconfigure the bigquery datasource to be the default, now it can be selected.
13-23-1s7ew-kbhwj.mp4

Steps to Reproduce the Problem

  1. Configure grafana with at least two datasources.
  2. Configure the bigquery datasource so that it is NOT the default
  3. From the explore tab, try to select the bigquery datasource.
  4. Selection fails, instead the default datasource is selected

I've created a simple dockerized reproduction repo here: https://github.com/autoric/bigquery-datasource-repro.

Specifications

  • Version: 2.0.2
  • Platform: Running locally on mac os x
  • Grafana Version: 8.2.1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants