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 | 4393 | February 22, 2023 | |
Data source API, getDataSourceSrv() help | 1 | 642 | May 18, 2022 | |
Grafana 7.x Data source Route Problems | 1 | 599 | May 14, 2020 | |
Custom datasource plugin 404's for @grafana/data and @grafana/runtime | 2 | 566 | August 3, 2020 | |
Connection Issues in My Grafana Datasource Plugin | 0 | 19 | February 3, 2025 |