* Add integration tests which test happy path
This PR adds simple go based integration tests, which can run Loki
in two modes:
- single-binary
- micro-services with index-gateway
After standing up it performs the most basic duties like:
- ingest logs
- run a range query
- query label names and label values
This is meant to catch more significant problem as early as possible in
the PR.
We should aim to keep this as simple as possible.
* Replace config generation with template
Makes configuration much more readable and avoids easy mistakes
* Apply suggestions from code review
Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>