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

utkarshcmu picture utkarshcmu  ·  3Comments

KlavsKlavsen picture KlavsKlavsen  ·  3Comments

ahmetkakici picture ahmetkakici  ·  3Comments

ricardclau picture ricardclau  ·  3Comments

deepujain picture deepujain  ·  3Comments