Dashhboard Report gives 500 error
search cancel

Dashhboard Report gives 500 error

book

Article ID: 247401

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

DXS Dasboard report failes on preview


error rendering PNGs in parralel for dash {Title:Dashboard name Description: VariableValues: Rows:[] Panels:[{Id:76 Type:text Title: GridPos:{H:8 W:4 X:0 Y:0}} {Id:47 Type:graph Title:Revenue KPI -Broadridge GridPos:{H:8 W:20 X:4 Y:0}} {Id:29 Type:text Title: GridPos:{H:6 W:4 X:0 Y:8}} {Id:77 Type:graph Title:Average Response Time (ms) GridPos:{H:6 W:6 X:4 Y:8}} {Id:48 Type:graph Title:Throuhput GridPos:{H:6 W:7 X:10 Y:8}} {Id:49 Type:graph Title:Errors Per Interval GridPos:{H:6 W:7 X:17 Y:8}} {Id:50 Type:text Title: GridPos:{H:6 W:4 X:0 Y:14}} {Id:86 Type:graph Title:CPU Utilization GridPos:{H:6 W:6 X:4 Y:14}} {Id:88 Type:graph Title:Memory Utilization GridPos:{H:6 W:7 X:10 Y:14}} {Id:90 Type:graph Title:Disk Utilization GridPos:{H:6 W:7 X:17 Y:14}} {Id:30 Type:text Title: GridPos:{H:8 W:4 X:0 Y:20}} {Id:56 Type:grafana-piechart-panel Title:Alarmed Network Entities GridPos:{H:8 W:10 X:4 Y:20}} {Id:58 Type:graph Title:Alarmed Network Entities over time GridPos:{H:8 W:10 X:14 Y:20}}]}: error getting panel {Id:77 Type:graph Title:Average Response Time (ms) GridPos:{H:6 W:6 X:4 Y:8}}: Error obtaining render, response code not 200: 500 Internal Server Error

Environment

Release : 21.3

Component : DX Dashboards

Resolution

Found few discrepancies in JSON.

It seems like UID is wrong, blow is just an example UID. 

"url": "https://grafana-reporter.dxi-na1.saas.broadcom.com/api/v5/report/ABC-1"
needs to be changed to 
"https://grafana-reporter.dxi-na1.saas.broadcom.com/api/v5/report/ABC-2"

For the respective dashboards try to generate the view Report PDF option and see if it works.

Also from the JSON we can see that the queries are very generic and might pull in too much data ,these also needs to be optimized.