cmd/site: add git rev to logging on boot

This commit is contained in:
Cadey Ratio 2019-06-05 14:01:38 +00:00
parent ce25d9fbfd
commit d92535dfd2
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ func main() {
} }
ctx := ln.WithF(opname.With(context.Background(), "main"), ln.F{ ctx := ln.WithF(opname.With(context.Background(), "main"), ln.F{
"port": port, "port": port,
"git_rev": gitRev,
}) })
_ = prometheus.Register(prommod.NewCollector("christine")) _ = prometheus.Register(prommod.NewCollector("christine"))