doitintl / bigquery-grafana

Google BigQuery Datasource Plugin for Grafana. (NO LONGER MAINTAINED)
https://www.doit-intl.com/labs/
MIT License
242 stars 76 forks source link

Provisioning datasource do not work. Is the yml format wrong? #204

Closed chenmeng111 closed 4 years ago

chenmeng111 commented 4 years ago

image

avivl commented 4 years ago

@chenmeng111 please take a look at the yaml code at master branch

chenmeng111 commented 4 years ago

image

chenmeng111 commented 4 years ago

It is running on K8S. grafana:5.4.3

chenmeng111 commented 4 years ago

I am sorry. What do you mean "the yaml code at master branch"? My yaml code looks like the picture above.

avivl commented 4 years ago

image

chenmeng111 commented 4 years ago

I follow the example given above. But it do not work. If I manually configure the datasource in grafana, it will work.

avivl commented 4 years ago

What is the error that you are getting?

chenmeng111 commented 4 years ago

I can see the datasource in grafana, but I can not connect to bigquery

chenmeng111 commented 4 years ago

image

chenmeng111 commented 4 years ago

image

chenmeng111 commented 4 years ago

Datasource settings of grafana in the container is also same with the demo.

chenmeng111 commented 4 years ago

Sorry to bother you. The reason for the problem is the existence of \n in my private key.

avivl commented 4 years ago

Thanks