cofigure otsdb url and remove hard coded urls from js