grafana-diagram icon indicating copy to clipboard operation
grafana-diagram copied to clipboard

Unable to use dynamic graph definition

Open maloy-ghosh opened this issue 2 years ago • 1 comments

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

maloy-ghosh avatar Nov 09 '22 14:11 maloy-ghosh

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

Hatry1337 avatar Mar 20 '24 10:03 Hatry1337