I am trying to connect my data source plugin to an api. I am using this tutorial https://grafana.com/docs/grafana/latest/developers/plugins/add-authentication-for-data-source-plugins/, but I am not able to import BackendSrv because it says the module ‘@grafana/runtime’ can’t be found. Did this get recently updated?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to use getBackendSrv().fetch()? | 5 | 2681 | February 22, 2023 | |
Data source API, getDataSourceSrv() help | 1 | 407 | May 18, 2022 | |
Grafana 7.x Data source Route Problems | 1 | 545 | May 14, 2020 | |
Custom datasource plugin 404's for @grafana/data and @grafana/runtime | 2 | 484 | August 3, 2020 | |
Trying to add Authentication for data source plugin leads to Bad Gateway Error | 4 | 965 | April 7, 2023 |