Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load graph from URL #23

Open
nicola-durante-eng opened this issue Nov 29, 2023 · 0 comments
Open

Load graph from URL #23

nicola-durante-eng opened this issue Nov 29, 2023 · 0 comments

Comments

@nicola-durante-eng
Copy link

Hello esnet dev team,

I've installed your plugin in Grafana using these parameters:

- "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=esnet-networkmap-panel"
- "GF_INSTALL_PLUGINS=https://github.com/esnet/grafana-esnet-networkmap-panel/releases/download/v2.0.1/esnet-networkmap-panel-2.0.1.zip;esnet-networkmap-panel"

The option "Fetch Layer X JSON from URL" seems to be broken.
The same JSON content that works when copying and pasting it in the "Layer X Map data (json) - JSON with edges and nodes of network map" , doesn't work when fetched for a url, i.e. http://host.docker.internal:8000/graph.
I can access the same URL from the datasource section.

I have tried both returning a JSON object and a JSON string (i.e. json.dumps(graph)).

Is the feature not working or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant