adding templating in opentsdb graphs