Skip to content

Commit

Permalink
preparing for move into loki repo
Browse files Browse the repository at this point in the history
  • Loading branch information
slim-bean committed Jul 17, 2019
1 parent eedd3d9 commit cd5368a
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 387 deletions.
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions Dockerfile

This file was deleted.

201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

25 changes: 0 additions & 25 deletions Makefile

This file was deleted.

4 changes: 4 additions & 0 deletions cmd/loki-canary/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.9
RUN apk add --update --no-cache ca-certificates
ADD loki-canary /usr/bin
ENTRYPOINT [ "/bin/loki-canary" ]
6 changes: 3 additions & 3 deletions cmd/loki-canary/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (

"github.com/prometheus/client_golang/prometheus/promhttp"

"github.com/grafana/loki-canary/pkg/comparator"
"github.com/grafana/loki-canary/pkg/reader"
"github.com/grafana/loki-canary/pkg/writer"
"github.com/grafana/loki-canary/pkg/canary/comparator"
"github.com/grafana/loki-canary/pkg/canary/reader"
"github.com/grafana/loki-canary/pkg/canary/writer"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion README.md → docs/canary/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A standalone app to audit the log capturing performance of Loki.

## how it works

![block_diagram](docs/block.png)
![block_diagram](block.png)

loki-canary writes a log to a file and stores the timestamp in an internal array, the contents look something like this:

Expand Down
File renamed without changes
19 changes: 0 additions & 19 deletions go.mod

This file was deleted.

Loading

0 comments on commit cd5368a

Please sign in to comment.