Questions tagged [grafana-plugin]
23 questions
2
votes
2 answers
How to solve jsdoc PluginConflictError in Grafana panel plugin?
I've made a Grafana panel plugin that has worked fine in the past, but now I'm getting this error when I run yarn dev (i.e. grafana-toolkit plugin:dev) to build the plugin:
Plugin "jsdoc" was conflicted between "--config » @grafana/eslint-config"…

computerman
- 135
- 6
2
votes
0 answers
Prometheus query for dependency mapping, ideally that shows "source" or similar?
I am trying to determine if a Prometheus data source can be used to visualize dependencies.
I've looked through the Prometheus documentation but I haven't been able to determine which query would be useful for mapping out the dependencies.
Can…

fuzzi
- 1,967
- 9
- 46
- 90
2
votes
1 answer
How to Install specific version of a plugin with Grafana-cli?
I came across an issue where I need to install a specific version of a plugin in Grafana, I tried command grafana-cli plugins install jdbranham-diagram-panel --version=1.6.1 which didn't work. I am trying to install jdbranham-diagram-panel …

RavinderSingh13
- 130,504
- 14
- 57
- 93
1
vote
1 answer
Grafana Panel Plugin cannot find .gltf object using ThreeJS
I am trying to use the ThreeJS Library to load a .gltf object and display on to a grafana panel. I have put the .gltf object in my src folder and referenced it in src/components/SimplePanel.tsx.
I've taken a number of routes to try to fix the isse…

zebedee freeman
- 13
- 3
1
vote
0 answers
Grafana data source variables not working in query
I want to call the JSON api with a specific body. Unfortunatelly, the plugin is not using the values of the variables set in the datascources.yaml (provisioning) file.
grant_type=password&username={{ .jsonData.user }}&password={{…

G3RRY
- 11
- 1
1
vote
0 answers
yarn dev does not finish building plugin
I’m following the Grafana tutorial for buiding a new plugin (running Grafana v9.2.2
Node v16.18.1) but yarn dev is stuck at "No errors found." Here's the complete output.
yarn run v1.22.19
$ webpack -w -c ./.config/webpack/webpack.config.ts --env…

gbs
- 45
- 1
- 1
- 7
1
vote
1 answer
Does the grafana production app_mode can not load unsigned plugins in data/plugins directory ?
What happened:
when I use development app_mode, the grafana can load my custom plugin success.
But when the app_mode is production, it can not load success.
enter image description here
Environment:
Grafana version: v8.2.3
Data source type &…

xiaosage
- 13
- 3
1
vote
1 answer
Grafana logs plugin doesn't show logs panel
I'm trying to create a Grafana plugin that supports the logs panel. I'm following the directions from their website.
Unfortunately it doesn't seem to work. I've added "logs": true to plugin.json and am returning a field of type time called "time", a…

Gordon Seidoh Worley
- 7,839
- 6
- 45
- 82
1
vote
1 answer
Is there a resize event for panel plugins in Grafana 7?
I have made a panel plugin with React for Grafana 7. I would like to know when the panel is resized in the dashboard (i.e. dragged with mouse to make larger or smaller), so the plugin can react to this. I have searched for some kind of onResize…

computerman
- 135
- 6
0
votes
1 answer
Getting an error while migrating my Grafana plugin from @grafana/toolkit to create-plugin using yarn command
I followed the steps provided in the Grafana official docs: text
But facing below mentioned issue:
C:\Users\mydir\my-plugin>yarn create @grafana/plugin migrate
yarn create v1.22.19
warning ..\..\..\..\..\..\..\package.json: No license field
[1/4]…

Abhishek gaur
- 53
- 7
0
votes
0 answers
Grafana 9.5.1 SQL Server datasource showing plugin unavailable
When adding a SQL Server as a datasource, I click on Save and Test button, I get "Plugin Unavailable". I have attached the screenshot below. I only removed the server info from the screenshot but I’ve tested the connection in SQL Server Management…

War_Archer
- 21
- 6
0
votes
1 answer
How does a Grafana backend plugin not written in Go communicate its connection settings?
I am attempting to write a Grafana backend plugin in C++. I am doing this in order to integrate with a custom tool (called "lighthouse") that has a C++ API. I created a C++ gRPC application that implements the Grafana plugin protocol as this…

Dave
- 427
- 4
- 14
0
votes
0 answers
Grafana FlowCharting plugin - disrepair editor
I have Grafana v8.2.6 with FlowCharting plugin (https://github.com/algenty/grafana-flowcharting). I don't know why, but my editor of this plugin chart looks like this:
Why Inspect setting section looks like broken? I can't edit values from table…

sosnus
- 968
- 10
- 28
0
votes
1 answer
How to show custom Grafana plugin in Grafana dashboard correctly?
I am trying to create a Grafana plugin by @grafana/create-plugin.
Based on the readme, first, I generated a plugin by
➜ npx @grafana/create-plugin
? What is going to be the name of your plugin? my-panel-plugin
? What is the organization name of your…

Hongbo Miao
- 45,290
- 60
- 174
- 267
0
votes
0 answers
Using JSON on Grafana's Worldmap Panel
The Worldmap Panel plugin for Grafana's documentation specifies the necessary input data like the following:
[
{
"key": "SE",
"latitude": 60.128161,
"longitude": 18.643501,
"name": "Sweden"
},
{
"key": "US",
"latitude":…

johnwayne6969
- 15
- 1
- 4