You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Grafana core this is usually implemented by importing app/core/config and prepending config.appSubUrl to the URLs. I'm not sure if that's a working / acceptable solution also for a plugin.
The text was updated successfully, but these errors were encountered:
The datasource doesn't show any values if Grafana is configured to run on a different root_url.
The error log shows that the directory from the root_url setting is not passed to the request:
While the correct URL would be:
The issue seems to be in this function: https://github.com/raintank/snap-app/blob/master/src/datasource/stream_handler.js#L31 (
this.ds.url
does not contain the configured subdirectory).In Grafana core this is usually implemented by importing
app/core/config
and prependingconfig.appSubUrl
to the URLs. I'm not sure if that's a working / acceptable solution also for a plugin.The text was updated successfully, but these errors were encountered: