IzakMarais / reporter

Service that generates a PDF report from a Grafana dashboard
Apache License 2.0
947 stars 307 forks source link

Does not render the full table #285

Open it-native opened 3 years ago

it-native commented 3 years ago

Hi,

if a dashboard contains a long table (about 3 pages) it is cut after the first page. Same result with and without "-grid-layout=1"

Any hint how to solve this?

thx & BR Oliver

AKhares commented 3 years ago

This reporter will only give you screenshot of the data you see on UI. For complete data of a table, I am working on generating a csv out of table and sending it as an attachment along with the pdf in email. Hope this helps.

it-native commented 3 years ago

Thanks for the hint. In my case all the data is seen on the UI, but there is a scrollbar (browser scrollbar, not a panel scrollbar).

gedw99 commented 3 years ago

I am using this to generate SVP and PDF from different data sources.

pure golang, and well used by many projects.

it even supports chart generation and you can then have that in you PDF or SVG.

Am currently using this to monitor nats.

also on a side note: I think you currently curl grafana to get the data ? also i just noticed that they have a decent HTTP Client: https://github.com/grafana/grafana-plugin-sdk-go/pull/328/files has tests