Google Cloud Monitoring-ISSUE

Hi Team,
after upgrading from 7.3.3 to v10.1.10, " Google Cloud Monitoring" is not working and i am unable to add any data source/configuring it. Please let me know how to fix this


Thanks,
Vadiraj

Hi - anything in the logs?

Hi @davidharris , thanks for your quick response and helping us :).
unfortunately, I am unable to notice anything related to this in the log. Can you please let me know how to install this manually. Thanks

did you upgrade straight from 7 to 10? and why not to 11?

Add new datasource (not connection):

No , i upgrade each major version separately and after v10.1.10 version all dashboard went under the loop and unable to open any of it. Last version worked without problem for upgrade was v10.1.10 and somehow " Google Cloud Monitoring" data source is not working in v10.1.10. What to do next to fix this? Thanks


add data source not showing “Google Cloud Monitoring”. please find the snapshot above. Thanks

Enable debug logging and check logs for any errors related to that plugin.

To enable debug logging edit the configuration file grafana.ini:

[log]
# Either "console", "file", "syslog". Default is console and file
# Use space to separate multiple modes, e.g. "console file"
mode = console file

# Either "debug", "info", "warn", "error", "critical", default is "info"
level = debug

Then restart grafana for the setting to go into effect.

Hi @jangaraj , when i am not able to find “Google Cloud Monitoring” in the data source, how can we get to see logs if i can’t add it. I updated to get debug, but i didn’t find anything in the logs. Thanks

how can i reinstall “Google Cloud Monitoring” data source, so that it may work by adding new connection. Thanks

Are you using on prem grafana install or cloud?

what backend are you using for grafana? mysql or sqlite?

the ini file should tell you if not sure

#################################### Database ############################
[database]
# You can configure the database connection by specifying type, host, name, user and password
# as separate properties or as on string using the url property.

# Either "mysql", "postgres" or "sqlite3", it's your choice
type = sqlite3
host = 127.0.0.1:3306
name = 
user = 

Hi @yosiasz , it is an on-prem grafana and using SQLite backed db. Thanks

spin up a brand new, separate v11 grafana just for testing out your issues and see if you can create that datasource

how can i reinstall “Google Cloud Monitoring” data source

You can’t. It’s a core plugin which is built into Grafana itself.

Logs could tell important information when Grafana starts up in regards to loading of plugins. You’re sure you didn’t see any errors? Any logs mentioning stackdriver/cloud monitoring? How do you run Grafana?

Maybe somewhat related to Plugin with ID \"stackdriver\" already exists error log during Grafana upgrade from 6.6.2 to 7.1.3 version · Issue #27209 · grafana/grafana · GitHub, do you still have the old stackdriver directory on disk perhaps?

I just started v10.1.0 in docker and was able to add a google cloud monitoring datasource. Same for v11.1.0.