Imports github.com/grafana/grafana/pkg/services/ngalert/eval github.com/prometheus/common/model github.com/prometheus/prometheus/model/timestamp github.com/prometheus/prometheus/promql github.com/prometheus/prometheus/template Standard library imports context encoding/json fmt math net/url regexp sort strconv strings text/template time