Opentsdb 2.2 now supports filters which is a significant improvement in filtering the queries. It did not have wildcard support etc. Getting filters in Grafana will make Grafana so powerful. This will be like having functions for Graphite.
http://opentsdb.net/docs/build/html/user_guide/query/filters.html