Grafana: [Bug] Templating OpenTSDB

Created on 10 Jan 2017  路  3Comments  路  Source: grafana/grafana

Hello,

  • Gafana 4.0.2 & Gafana 4.1 beta
  • DataSource OpenTSDB (All versions has the problem)
  • Linux Debian Jessie.

TEMPLATING

$os: tag_values(load.gauge, os)
os can be debian and others
$host : tag_values(load.gauge, host, os=$os)

ERROR

Template variables could not be initialized: can't parse query param 'm=load.gauge{host=*,os=d,os=e,os=b,os=i,os=a,os=n}'

EXPECTED

if $os is 'debian' , the string has not to be split in chars
'm=load.gauge{host=*,os=debian}'

Most helpful comment

Fixed the issue!

All 3 comments

Similar issue was fixed on Nov 3 - https://github.com/grafana/grafana/pull/6455

But this is a bug again, looks like there was some code change somewhere... will take a look asap!

Fixed the issue!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SATHVIKRAJU picture SATHVIKRAJU  路  3Comments

jackmeagher picture jackmeagher  路  3Comments

victorhooi picture victorhooi  路  3Comments

ericuldall picture ericuldall  路  3Comments

sslupsky picture sslupsky  路  3Comments