grafana-diagram icon indicating copy to clipboard operation
grafana-diagram copied to clipboard

URL does not support variables

Open VPietYR opened this issue 4 years ago • 6 comments

I'm using this plugin to diplay server side produced Mermaid for different environments. To switch from an environment to another i am using a variable.

In a previous version of this plugin (1.6.2), I was able to use variables in my urls. It is not possible with the current version (1.7.3), in the console I can see it is tring to reach my url with ${environment} in it.

VPietYR avatar Aug 11 '21 13:08 VPietYR

I'm facing the same issue on 1.7.3 plugin version and Grafana 8.1.5

What i'm trying to achieve is use local directory in a variable e.g. /image/$image_var

The file is reachable when i'm doing it the static way e.g. /image/image.mmd

KrajnikPatryk avatar Oct 25 '21 12:10 KrajnikPatryk

The fix is not merged to master yet #205

KrajnikPatryk avatar Oct 25 '21 13:10 KrajnikPatryk

I would love to see this change in the next release. Do you have any plans to release it soon?

ppussar avatar Mar 14 '22 15:03 ppussar

Would also love to see this pulled in to master/main! Not sure the plan for a new release

tylersplitt avatar Apr 01 '22 19:04 tylersplitt

Hi @jdbranham , I see that the fix is merged in branch grafana-7x. Is there a seperate release that is made just for 7-x grafana here?

puneetgoyal08 avatar Sep 29 '22 12:09 puneetgoyal08

I thought it was in the latest release, but I'll check it!

jdbranham avatar Oct 07 '22 19:10 jdbranham