Giter Club home page Giter Club logo

Comments (7)

anilsagar avatar anilsagar commented on August 26, 2024 1

Pls create an example for this. In your Custom Code in the update statement, it is not very clear where are the postgres database name and the table names. A video tutorial would be a great help as well.

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on August 26, 2024

Hello @sanchomuzax, you will need an API server, which will implement an interface to a MariaDB or any other database.

Please check out the YouTube video https://www.youtube.com/watch?v=DXALVG8GijM&t=486s and our blog post https://volkovlabs.com/how-to-connect-the-data-manipulation-plugin-for-grafana-to-api-server-1abe5f60c904

The API Server should be similar to our Postgres example: https://github.com/VolkovLabs/volkovlabs-form-panel/blob/main/server-pg/server.ts

Let me know if there is anything else.

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on August 26, 2024

@sanchomuzax Please let me know if it works.

from volkovlabs-form-panel.

sanchomuzax avatar sanchomuzax commented on August 26, 2024

Thank you for your help.

Unfortunately, I'm not a developer, although I can create scripts at a basic level, and I know how to manage sql databases. However, the operation of web interfaces is a level of knowledge that I don't understand.
The documents described in the linked descriptions aren't detailed enough and don't contain enough concrete steps for me to prepare the server side settings of the plugin. 😞

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on August 26, 2024

@sanchomuzax It's an interesting idea. Using Custom Code in the update statement we can create an INSERT statement based on the form elements. Then query the data source performing update.

This is what you are looking for? I can create an example and it's a great topic for the video tutorial.

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on August 26, 2024

@anilsagar Thank you for your interest. We are working on it.

from volkovlabs-form-panel.

mikhail-vl avatar mikhail-vl commented on August 26, 2024

Selecting data sources for the initial and update requests implemented in v3.1.0.

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.