2 Commits

Author SHA1 Message Date
5073b48b62 Add integration for SSD (read & write targets) (#6585)
* Add integration for SSD (read & write targets)

* Hardcode randStringRunes to fix linter
2022-07-07 10:05:48 -06:00
213bb86802 Add integration tests which test happy path (#5968)
* 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>
2022-05-03 04:06:54 -04:00