G-Core / cdn-stats-datasource-plugin

G-Core Labs CDN Statistics Grafana Data Source
https://gcorelabs.com/cdn/
Apache License 2.0
5 stars 2 forks source link

Grafana v11.2.0 #8

Open AndrewOga opened 2 months ago

AndrewOga commented 2 months ago

hello help me install the plugin on Grafana v11.2.0 the plugin has been installed

In the plugin, I click "Add new data source", An empty data source page is created. if I click "Explore data", an error comes out: "gcorelabs-cdn-stats-datasource-3 plugin failed Error: Error loading http://gra-grf1-lp1.hq.bc/core:plugin/gcorelabs-cdn-stats-datasource.js?_cache=1.0.14 (SystemJS Error#3 https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3)"

andreas-kokkalis commented 1 week ago

@AndrewOga Just installed on Grafana 11.3.0

Set the following environment variables:

    GF_ALLOW_LOADING_UNSIGNED_PLUGINS = "gcorelabs-cdn-stats-datasource"
    GF_DEFAULT_APP_MODE               = "development"

Ensure plugin is on path /var/lib/grafana/plugins/

This worked for me.

Gcore should probably sign the plugin. People using grafana cloud or grafana in non-development mode will have issues with the manual installation.