GoogleCloudPlatform / cloud-logging-data-source-plugin

https://grafana.com/grafana/plugins/googlecloud-logging-datasource/
Apache License 2.0
17 stars 12 forks source link

Plugin ID When installing through Grafana provisioning #56

Closed laetho closed 11 months ago

laetho commented 11 months ago

I'm trying to install the Google Cloud Logging plugin through the provisioning mechanisms in Grafana. But the plugin id (used in type:) does not resolve or is not what the documentation tells me it is (googlecloud-logging-datasource).

Below is my configuration and it works for monitoring and trace, but logging gives me an error indicating it cannot find the plugin id corresponding to the 'type: googlecloud-logging-datasource'

apiVersion: 1

deleteDatasources:
  - name: Google Cloud Monitoring
  - name: Google Cloud Trace
  - name: Google Cloud Logging

datasources:
  - name: Google Cloud Monitoring
    type: stackdriver
    access: proxy
    jsonData:
      authenticationType: gce
  - name: Google Cloud Trace
    type: googlecloud-trace-datasource
    access: proxy
    jsonData:
      authenticationType: gce
  - name: Google Cloud Logging
    type: googlecloud-logging-datasource
    access: proxy
    jsonData:
      authenticationType: gce

Is the plugin id just wrong here or do I need to look elsewhere?

laetho commented 11 months ago

My bad i forgot that my GF_INSTALL_PLUGINS environment variable should look like this:

GF_INSTALL_PLUGINS = "googlecloud-trace-datasource, googlecloud-logging-datasource"