update for riemann 2.6 and alerta 3.x