Git Product home page Git Product logo

Comments (9)

erkiesken avatar erkiesken commented on August 14, 2024 1

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.

 avatar commented on August 14, 2024

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.

marefr avatar marefr commented on August 14, 2024

@weedmaps-andychan that's correct.

from grafana-image-renderer.

 avatar commented on August 14, 2024

The documentation is not too clear about that. May be adding a few lines in README.

from grafana-image-renderer.

DanCech avatar DanCech commented on August 14, 2024

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.

marefr avatar marefr commented on August 14, 2024

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.

DanCech avatar DanCech commented on August 14, 2024

Aha, that is a problem then. Would this be an application for the remote cache?

from grafana-image-renderer.

marefr avatar marefr commented on August 14, 2024

Yes, I definitely think so and should be quite straightforward to implement. Just need to create issue and prioritize it.

from grafana-image-renderer.

marefr avatar marefr commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.