OpenTSDB support

Work in progress in that I haven't yet tried to run it.