slok / sloth

🦥 Easy and simple Prometheus SLO (service level objectives) generator
https://sloth.dev
Apache License 2.0
2.09k stars 173 forks source link

grafana dashboard error : "Error updating options: e.replace is not a function" #384

Open yogeek opened 2 years ago

yogeek commented 2 years ago

Importing Sloth dashboard in my grafana instance (on a K8S cluster with prometheus operator and grafana already installed and working) led to this error :

image

Grafana version : v7.5.15 (7dd69b2442)

slok commented 2 years ago

@yogeek Did you manage to import the dashboard correctly? I just tested again reimporting it with Grafana 9.2.2 and works correctly.

r3code commented 1 year ago

It looks like grafana error itself. Try to debug it with Chrome DevTools, may be one of JS is blocked or not loaded correctly.

robermar23 commented 1 year ago

I have run into this myself.

Attempting to import using grafana kubernetes operator, using GrafanaDashboard.

Dashboard is created but panels are empty, variables dropdowns are gone and the same errors appear as described in this ticket.