divinity666 / ruby-grafana-reporter

Reporting Service for Grafana
MIT License
66 stars 5 forks source link

Template variable replacement issue #15

Closed DimitrovMiro closed 1 year ago

DimitrovMiro commented 2 years ago

Describe the issue when having the following variables on the dashboard, the rendering fails with the following error

image

error in the report image

divinity666 commented 2 years ago

Where does this issue happen in the reporter? To me it looks as if the errors appears in the grafana dashboard configuration of template variables.

DimitrovMiro commented 2 years ago

yes, exactly of grafana fashboard variables, the question is what the reporter does not like on the variables in screenshot 1 screenshot 2 is from the rendered report when i remove those variables it is fine wanted to understand what the reporter does not like on the variables from screenshot 1

divinity666 commented 2 years ago

Ah, ok. Now I get it. Could you kindly provide the DEBUG log?

divinity666 commented 2 years ago

One thing that comes to my mind here:

You are refering to $job in your first query. I guess, the reporter tries to replace this with your second variable names job. Would that be the intended behvaiour?

divinity666 commented 1 year ago

closing due to missing feedback