Comments (9)
We also ran into this, there's a Grafana deployment with 2 pods in k8s for us, and Grafana renderer as separate deployment. And GF_RENDERING_CALLBACK_URL is using a k8s Service, so might hit one of the 2 Grafana pods, sometimes failing sometimes succeeding. Would be nice to have support for this setup too.
from grafana-image-renderer.
I may be missing some details above. It looks like this problem exists if I run more than 1 grafana container. When grafana calls the renderer, it passes the renderKey and it looks like the renderer needs to callback to the original grafana within the cluster. Am I correct?
from grafana-image-renderer.
@weedmaps-andychan that's correct.
from grafana-image-renderer.
The documentation is not too clear about that. May be adding a few lines in README.
from grafana-image-renderer.
When deploying multiple grafana webheads in a cluster you'll want to use a shared database. If each one has a separate database you will have all sorts of problems.
from grafana-image-renderer.
The main issue right now is that Grafana stores the render key in memory and not in shared database and that is the reason renderer must callback to original Grafana.
from grafana-image-renderer.
Aha, that is a problem then. Would this be an application for the remote cache?
from grafana-image-renderer.
Yes, I definitely think so and should be quite straightforward to implement. Just need to create issue and prioritize it.
from grafana-image-renderer.
Closed by grafana/grafana#22031 and will be included in Grafana v6.7.0. You'll need to configure rendering callback url in Grafana to be able for renderer to callback into public/load balancer url.
from grafana-image-renderer.
Related Issues (20)
- version 3.9.1 shows artifacts in icingaweb2 preview HOT 2
- Spike: Filter out some network error logs
- Error Loading plugin in Gafana 10.4.0 HOT 15
- Plugin links to static images do not include configured subpaths
- ARM64 for Linux Plugin support HOT 2
- Build: replace vercel/pkg HOT 1
- Fails to find chromium binary HOT 1
- Error "Error: Failed to launch the browser process" on the Raspberry PI 5, architecture issue? HOT 1
- Pixel comparing to dynamically reduce screenshot resolution HOT 4
- No env overrides for https config
- Cannot GET /d-solo/.... HOT 1
- full page rendering fails, using the latest Grafana and grafana image renderer HOT 4
- Grafana-Image-Renderer and DashboardScene : Panel with id Nan not found HOT 1
- Grafana image renderer use the same image attachment when alert are Resolved HOT 1
- TimeoutError: Waiting failed: 60000ms exceeded HOT 1
- [3.11.1+] rendering failed: Error: Failed to launch the browser process HOT 15
- [3.11.1] Error rendering template: error. You may need to build frontend assets HOT 2
- Update to Node v18.19.1 HOT 1
- Timeout when Grafana option "autoMigrateOldPanels" is enabled
- Browser page crashed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-image-renderer.