pgollangi / firestore-grafana-datasource

Google Firestore data source plugin for Grafana
https://grafana.com/grafana/plugins/pgollangi-firestore-datasource/
MIT License
11 stars 3 forks source link

Add option to connect to named firestore database #25

Open mdjarv opened 9 months ago

mdjarv commented 9 months ago

Is your feature request related to a problem? Please describe. I'm running multiple managed Firestore databases in GCP, so I can not use the default

Describe the solution you'd like When creating the datasource, an optional input field for database id

Describe alternatives you've considered Right now looking into writing a separate service to subscribe to a collection and write it to an InfluxDB instead

Additional context The go firestore library has support for selecting database by using firestore.NewClientWithDatabase(ctx, project, db)

AssenDimitrov commented 1 month ago

I was very shocked when found this is not supported ....

AssenDimitrov commented 1 month ago

Seems like FireQL would need an update too... https://github.com/pgollangi/FireQL/issues/23