From d92535dfd2d991ebb599c6a7744d44a278704bba Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 5 Jun 2019 14:01:38 +0000 Subject: [PATCH] cmd/site: add git rev to logging on boot --- cmd/site/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/site/main.go b/cmd/site/main.go index 00a0292..b7774b1 100644 --- a/cmd/site/main.go +++ b/cmd/site/main.go @@ -32,7 +32,8 @@ func main() { } ctx := ln.WithF(opname.With(context.Background(), "main"), ln.F{ - "port": port, + "port": port, + "git_rev": gitRev, }) _ = prometheus.Register(prommod.NewCollector("christine"))