Imports github.com/grafana/loki/pkg/logproto github.com/grafana/loki/pkg/logqlmodel/stats github.com/grafana/loki/pkg/util github.com/grafana/loki/pkg/util/loser Standard library imports container/heap context io math sync time