NovatecConsulting / novatec-service-dependency-graph-panel

A Grafana panel for visualizing a Service Dependency Graph.
Apache License 2.0
191 stars 64 forks source link

[BUG] - *Error loading: novatec-sdg-panel * #128

Open pratisha-blk opened 1 year ago

pratisha-blk commented 1 year ago

Describe the bug For Grafana Version Grafana v10.0.1-cloud.2.a7a20fbf (e6fd971a0e) service-dependency-graph-panel is not loading and showing this error Error loading: novatec-sdg-panel

To Reproduce Create a Service Dependency Graph panel on Grafana v10.0.1-cloud.2.a7a20fbf (e6fd971a0e) version

Expected behavior It should load and show the panel

Screenshots SDG

Your Setup: Grafana v10.0.1-cloud.2.a7a20fbf (e6fd971a0e)

zenmetsu commented 1 year ago

The issue appears to be common to grafana 10. I am running Grafana OSS and experience the same issue.

grafana-server -v
Version 10.0.0 (commit: 81d85ce802, branch: HEAD)
pratisha-blk commented 1 year ago

Dev console logs while trying to load the panel :

Error loading panel plugin: novatec-sdg-panel TypeError: Cannot assign to read only property 'add' of object '[object Object]' at Function.assign () at eval (cytoscape.cjs.js:13332:3) at Array.forEach () at Object.eval (cytoscape.cjs.js:13331:162) at Object.eval (module.js:2:377179) at n (bootstrap:19:22) at Module.eval (module.js:2:628027) at n (bootstrap:19:22) at eval (bootstrap:83:10) at eval (module.js:2:1037)

kbitra commented 1 year ago

I see this issue in grafana 10.. any workarounds ?

pratisha-blk commented 11 months ago

Any updates or workarounds for this?

kbitra commented 11 months ago

Just trying to see if any resolutions on this.. this is a blocker for me.. and I really like this panel..

zhaolj214 commented 11 months ago

grafana-10.0.1 has a error log: WARN Skipping plugin loading as it's a duplicate logger=plugin.loader pluginID=novatec-sdg-panel ERROR Dashboard not found logger=context userId=1 orgId=1 uname=admin error="Dashboard not found" remote_addr=[::1] traceID=

kbitra commented 10 months ago

helloooo.. anyone has any idea ?

germankuber commented 10 months ago

Anyone has any idea ?

levinkerschberger commented 4 months ago

Since Version 10.1.0, the SDG-Panel is available again.

Seems like there is some kind of Bug in Cytoscape, the Graph Rendering Library, or Grafana 10.0.x, which prevents the plugin to load properly .

I´d suggest to upgrade Grafana to Version >= 10.1.x and troubles will be gone.