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

Support Metadata Server also in Cloud Run #373

Closed albrechtflo-hg closed 2 years ago

albrechtflo-hg commented 3 years ago

Feature Request

Currently, the Metadata Server based authentication seems only to work with GCE VMs. But e.g. Google Cloud Run also offers a Metadata server with ability to retrieve a token: https://cloud.google.com/run/docs/reference/container-contract#metadata-server

As a Cloud Run instance also has a "Service Account identity", it would be a great way for authentication. Currently, this does not work from within a Cloud Run instance.

The current workaround is to retrieve a JSON token for the Service Account used for the Cloud Run instance and paste it into the Data Source's configuration. This is a (minor) security risk, so it would be really great if the metadata server could be used instead.

ofir5300 commented 2 years ago

We are retiring the DoiT International BigQuery DataSource plugin for Grafana. We recommend that you migrate to the official Google BigQuery data source maintained by Grafana. In August 2022, we will cease all development and archive the GitHub project.

We are sorry for any inconvenience.