Controlling time range using the URL


I’m trying to add a link to a dashboard URL from Prometheus Alertmanager notification template and i’m running into a couple of issues:

  1. The time query parameter as documented in Manage dashboard links | Grafana documentation does not work - adding ?time=1500000000000&time.window=10000 to the URL does nothing.
  2. Even if I could get the time query parameter to work, I need a way to convert the Alertmanager StartsAt time format to the ms epoch format: Notification template reference | Prometheus

Any suggestions?

See example of the time range not working: Grafana