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

Unable to use dynamic graph definition #236

Open
maloy-ghosh opened this issue Nov 9, 2022 · 1 comment
Open

Unable to use dynamic graph definition #236

maloy-ghosh opened this issue Nov 9, 2022 · 1 comment

Comments

@maloy-ghosh
Copy link

maloy-ghosh commented Nov 9, 2022

I hosted an example mermaid diagram in http://192.168.3.177:9001/example-mermaid.txt

With

$ cat /tmp/example-mermaid.txt 
graph LR
      A --> B
      B --> C

Next I try to use the url for dynamic definition as
Capture

I can see the client browser doing GET requests however nothing gets displayed?

Does the dynamic plugin expects data in some other format?

Grafana version: grafana/grafana:8.0.2
Plugin installed via grafana-cli plugins install jdbranham-diagram-panel within docker

@Hatry1337
Copy link

Check the network request in browser dev tools. I had this issue and my problem was incorrect CORS header from my API server.

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

2 participants