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
{{ message }}
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
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 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.urldoes not contain the configured subdirectory).In Grafana core this is usually implemented by importing
app/core/configand prependingconfig.appSubUrlto the URLs. I'm not sure if that's a working / acceptable solution also for a plugin.