From 631b45d86f3d8712c8f4c0dc18ac0415fec13ddd Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Thu, 22 Nov 2018 15:08:26 +0000 Subject: [PATCH] Add commands for building and running tempo locally. Signed-off-by: Tom Wilkie --- .gitignore | 1 + Makefile | 1 + README.md | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index eec62096ec32..4f708e8b41c1 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ cmd/promtail/promtail mixin/vendor/ pkg/logproto/logproto.pb.go pkg/parser/labels.go +tempo diff --git a/Makefile b/Makefile index ebd70773cf1c..5a67fee80ad2 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ all: $(UPTODATE_FILES) test: $(PROTO_GOS) $(YACC_GOS) yacc: $(YACC_GOS) protos: $(PROTO_GOS) +yacc: $(YACC_GOS) # And now what goes into each image tempo-build-image/$(UPTODATE): tempo-build-image/* diff --git a/README.md b/README.md index cc5614381a3d..c486641ea78a 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,17 @@ Tempo is a horizontally-scalable, highly-available, multi-tenant, log aggregatio system inspired by Prometheus. It is design to be very cost effective, as it does not index the contents of the logs, but rather a set of labels for each log steam. +## Run it locally + +Tempo can be run in a single host, no-dependancies mode using the following commands: + +``` +$ make protos yacc +$ go build ./cmd/tempo +$ ./tempo -config.file=./doc/local.yaml +... +``` + ## Usage Instructions Tempo is running in the ops-tools1 cluster. You can query logs from that cluster