VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

Grafana variable in panel #478

Closed IHopeThisIsNotPermanent closed 2 months ago

IHopeThisIsNotPermanent commented 2 months ago

The Issue

Grafana panels allow you to basically do string formatting with Grafana variables in most of their text fields. In all of the default fields in the business variable this works - though the fields which are associated with the specific behavior of this panel do not do this substitution.

Specifications

Grafana Version: v10.4.1

Business Variable Version: 3.0.0

The Grafana variable

I'm just using a custom variable, which is a list of strings.

pic1

The code in the widget

These two work:

code_1

These three do not work:

code_2

These screenshots capture the working/not working behavior seen on the dashboard

result_1

result_2

cgravita commented 2 months ago

Good morning, I saw that the upgrade has already been applied. I wanted to ask, is there a plan to extend this functionality to module and section labels too?

Using the same nomenclature as the previous post, these screenshots capture the not working behavior seen on the dashboard

Schermata del 2024-09-06 10-35-00

mikhail-vl commented 2 months ago

@cgravita Thank you for suggestion, we will implement in the upcoming release.