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

Idea: How to speed up proxy mode #126

Closed
cstegm opened this issue Mar 8, 2018 · 3 comments
Closed

Idea: How to speed up proxy mode #126

cstegm opened this issue Mar 8, 2018 · 3 comments
Assignees
Milestone

Comments

@cstegm
Copy link

cstegm commented Mar 8, 2018

Hi Carsten,

thanks for the feature with the custom variable! It is awesome and It works very well!

I was thinking about how to speed up the proxy mode:
Basically the idea is to combine direct access and proxy.

  • Build a new controller action wich only outputs header content-type png and raw image data from curl-request of the visualization from grafana, but no html.
  • So for Example the URL: /icingaweb2/grafana/show/image?host=testhost&service=testservice just shows a png.
  • Just link the images to those URLs. So the website can load without waiting for the curls and icingaweb can show host/service details while loading the images via proxy parallel.
@cstegm
Copy link
Author

cstegm commented Mar 9, 2018

Another advantage could be that one can put a graph on a dashboard using this url

@doctore74
Copy link

doctore74 commented Mar 9, 2018 via email

@Mikesch-mp
Copy link
Owner

Please test by cloning latest master.

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

3 participants