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

Triggers Pannel direct link rendered image bug #605

Closed
2 of 3 tasks
dimitribellini opened this issue Jul 28, 2018 · 6 comments
Closed
2 of 3 tasks

Triggers Pannel direct link rendered image bug #605

dimitribellini opened this issue Jul 28, 2018 · 6 comments

Comments

@dimitribellini
Copy link

dimitribellini commented Jul 28, 2018

I'm submitting a ...

  • Bug report
  • Feature requestdd
  • Question / Support request

Software Versions

Grafana Zabbix Grafana-Zabbix Plugin
5.1.4 3.4.9 3.9.1

What did you do?

I'm testing a very cool tool for Grafana, Grafana Reporter (https://github.com/IzakMarais/reporter), this tool is able to create a PDF based on Grafana API and the panels inside a dashboard.
With every Grafana stock panels and Grafana Zabbix plugins i could create the PDF without problems but if i use "Triggers panel" inside my dashboard the PDF is created but on the place of "Triggeers Panel" i can only see a black image.
To create this PDF the Grafana Reporter download every panels using this API: http://xxx.xxx.xxx.xxx:3000/render/d-solo/7dhxGBKik/_?from=now-1h&height=150&panelId=5&theme=light&to=now&var-datasource=default&width=300

For Trigger Panel is the same: http://xxx.xxx.xxx.xxx:3000/render/d-solo/7dhxGBKik/_?from=now-1h&height=500&panelId=9&theme=light&to=now&var-datasource=default&width=1000

But in that case i can only see a blank image with the name of panel and the loading circle but not the line with triggers.
Please check below image:
triggers_panel

For what i could understand seems not a problem of "Grafana Reporter" but something related on how Trigger Panel is made.

Could you check it?
Thanks very much for your great work!

@dimitribellini
Copy link
Author

I have also found a discussion on the "issue" tracker of Grafana Repoter IzakMarais/reporter#29
The last comment ask to open a case in Zabbix Plugin.
Thanks for any help

@alexanderzobnin alexanderzobnin changed the title Triggers Pannel problem with Grafana-Reporter Triggers Pannel direct link rendered image bug Aug 6, 2018
@alexanderzobnin
Copy link
Collaborator

Yes, looks like a bug during panel rendering.

@dimitribellini
Copy link
Author

@alexanderzobnin Did you think you could fix it? :-)
Thanks very much!

@alexanderzobnin alexanderzobnin added this to the 3.9.2 milestone Sep 14, 2018
@alexanderzobnin
Copy link
Collaborator

Yes, sure, I'll try to fix it in next patch release.

@alexanderzobnin
Copy link
Collaborator

That was a trouble with phantomjs again (it renders panel as image on backend side). It doesn't handle display: flex blocks properly, so we have to add special hacks for CSS styles. Now it looks better:

triggers-redesign

@dimitribellini
Copy link
Author

dimitribellini commented Oct 12, 2018 via email

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

No branches or pull requests

2 participants