Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error fetching CSV #137

Open
mahendrapaipuri opened this issue Oct 17, 2024 · 9 comments
Open

Error fetching CSV #137

mahendrapaipuri opened this issue Oct 17, 2024 · 9 comments

Comments

@mahendrapaipuri
Copy link
Owner

mahendrapaipuri commented Oct 17, 2024

I tried the updated version. i am getting the following error:


logger=plugin.mahendrapaipuri-dashboardreporter-app t=2024-10-08T11:32:27.5646438+05:30 level=error msg="error generating report" pluginID=mahendrapaipuri-dashboardreporter-app endpoint=callResource err="error rendering CSVs in parallel for dashboard LL_EM1: error rendering CSV: error getting CSV for panel $Gateway: error waiting for download CSV button: context deadline exceeded"


I also found another problem when using variables in Grafana. The report prints only the first value of the variable. In both Grid and Simple mode. This was not happenning earlier. Earlier, when i chose multiple variable values, it would print all the panels with different values, adjacent to each other.

Best regards
Vikas

Moved from here

@mahendrapaipuri
Copy link
Owner Author

Thanks @vkhemani for testing it out.

I will take a look at it issue of variables, probably it is a regression.

Regarding the CSV, seems like plugin app is not able to download CSV data. Which version of Grafana are you using? Would it be possible to share your dashboard model? I would suggest you to try with a simple dashboard and see if it works.

@vkhemani
Copy link

vkhemani commented Oct 17, 2024 via email

@mahendrapaipuri
Copy link
Owner Author

Cheers for the test. What is the version of chromium and which distro you are using? I will try to reproduce it in a containerized environment. Seems like this is an issue from the chromium.

@vkhemani
Copy link

vkhemani commented Oct 17, 2024 via email

@mahendrapaipuri
Copy link
Owner Author

Hey @vkhemani, I made few tests and I cannot reproduce the issue. Both repeated panels and panel CSV data rendering is working as expected. I tried with the chromium 129.

I guess the issue must be due to Windows 11. Both issues you are facing involve chromium so maybe there is some incompatbility with Windows. Unfortunately I do not have access to a Windows machine to try to reproduce the issue.

If your environment allows running containers, maybe you can try running a headless chromium in a container and use remoteChromeUrl. I hope that will work.

@mahendrapaipuri
Copy link
Owner Author

@vkhemani Could you try the latest 1.7.0 version? I fixed few bugs related to table generation as well.

Cheers!!

@vkhemani
Copy link

vkhemani commented Nov 8, 2024 via email

@primozpit
Copy link

Hi,

any update on the issue? I am seeing the same error message in the log "unhandled page event %T" when I include includePanelDataID parameter to have table data in the report and not all records are displayed in the report but only a subset (5 out of 8).

My Grafana setup is running on Rocky Linux release 9.4 here are my installed versions of software:
Grafana: 11.2.3
Grafana Image Renderer: 3.11.6
chrome-headless-shell(included with image renderer): 132.0.6781.0
Grafana Dashboard Reporter: 1.7.0

@mahendrapaipuri
Copy link
Owner Author

Hey @primozpit, The error you mentioned is non fatal. Could you please post the logs in debug mode? If it fails, it should fail for all panels. If it fails only for few panels, I assume we might be hitting timeouts. Logs will help me to figure out what is happening!

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants