Giter Site home page Giter Site logo

Comments (7)

happy0108 avatar happy0108 commented on September 3, 2024 1

when i update the plugin to version 0.6.1, it's worked now, thanks a lot.

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on September 3, 2024

Could you give me an example of what you'd like it to do? If you're referring to template variables, you can already use them in the JSON path, as well as in the Alias.

Here's an example:

Screen Shot 2020-11-18 at 08 53 55

from grafana-json-datasource.

mbarradas avatar mbarradas commented on September 3, 2024

Great I was able to use it. I needed to remove the cache time since the variable was not updated until I refreshed the dashboard.
It now works as expected on my side.

from grafana-json-datasource.

happy0108 avatar happy0108 commented on September 3, 2024

Like this, thanks.
grafanalink

from grafana-json-datasource.

mbarradas avatar mbarradas commented on September 3, 2024

from grafana-json-datasource.

happy0108 avatar happy0108 commented on September 3, 2024

It cannot work by this way. There's no result showed by "employeeid=$ID".
Capture

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on September 3, 2024

Variable support for custom query parameters was recently fixed in 0.6.1 so make sure you have the latest version. Also, the syntax for template variables is ${variable}. Note that you need to use the name of the variable, not the label (I can't tell from the screenshot whether ID is the name or label).

from grafana-json-datasource.

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.