Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch Dashboard v2.13.0
Edge 123.0
Runs on Microk8s 1.29.4 rev 6809
Describe the issue:
After adding my prometheus server as data source, I can see the list of metrics but when I click on one of them, the page becomes blank (except the menu) and I cannot visualize or select anything.
When I check in the browser logs via the inspector, I can see the following error in the console:
Detected an unhandled Promise rejection.
SyntaxError: "[object Object]" is not valid JSON
observability-metrics#/:1 Uncaught (in promise) SyntaxError: "[object Object]" is not valid JSON
at JSON.parse (<anonymous>)
at displayVisualization (observabilityDashboards.plugin.js:1633:114610)
at observabilityDashboards.chunk.4.js:1:419615
at Object.fa [as useMemo] (osd-ui-shared-deps.js:435:61568)
at t.useMemo (osd-ui-shared-deps.js:419:5984)
at VisualizationContainer (observabilityDashboards.chunk.4.js:1:418325)
at $i (osd-ui-shared-deps.js:435:57931)
at Na (osd-ui-shared-deps.js:435:66792)
at gs (osd-ui-shared-deps.js:435:105389)
at uc (osd-ui-shared-deps.js:435:96718)
What can I do to solve this issue?
Thanks in advance for your help!