Re-introduce https://github.com/grafana/loki/pull/3178. (#3233)
Re-introduce https://github.com/grafana/loki/pull/3178. (#3233)

Lost during a merge/rebase of https://github.com/grafana/loki/commit/6cc41f92f8adfabe3df4fab7780f56830b408eec :shrug:

Signed-off-by: Cyril Tovena <1f3b43b4f8eb8a957255fd6382cb431f49248e69@gmail.com>
grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki