Giter VIP home page Giter VIP logo

Comments (4)

ftasso avatar ftasso commented on June 1, 2024 1

Hello,

"Have you tried using the previous version 9.1.X?" Done, problem still remains.

I made a simple dashboard for debug this problem, it use a Mysql database but no tables are needed.
Dashboard have 2 queries, the first is used to populate an option select (tags) and the second is used to retrieve a new value according to the option selected.
Changing "tags" option value (then apply button) starts a Grafana variable change, this variable is used in the second query.
Init (custom code) is correctly called but the dataSeries I have is everything the same, no fresh data are loaded.
Please take a look,

grafana2.txt

Bye

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on June 1, 2024

@ftasso Thank you for opening the issue.

That's an interesting question and I will need to reproduce it. I don't quite get "query execution without synchronization with the termination" what it means and need to look at it.

Grafana should take care of refreshing panel when query changes. Panel subscribed to Refresh events.
Have you tried using the previous version 9.1.X?

from volkovlabs-form-panel.

ftasso avatar ftasso commented on June 1, 2024

I will try to explain better this "query execution without synchronization with the termination".
After changing a Grafana variable used in the query of the plugin, the query execution starts and starts also the init custom code execution BUT the init custom code should be executed at the end of query termination.
Result: the data.series is not updated with the fresh resultset of the query and it remain with the old values.

"Have you tried using the previous version 9.1.X?" Not yet, I will try.

Bye

from volkovlabs-form-panel.

ftasso avatar ftasso commented on June 1, 2024

Morning,
news about this issue? Did you look my test dashboard?

Thank you for you support.

Fabrizio

from volkovlabs-form-panel.

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.