forked from cadey/xesite
cmd/site: add git rev to logging on boot
This commit is contained in:
parent
ce25d9fbfd
commit
d92535dfd2
|
@ -33,6 +33,7 @@ func main() {
|
|||
|
||||
ctx := ln.WithF(opname.With(context.Background(), "main"), ln.F{
|
||||
"port": port,
|
||||
"git_rev": gitRev,
|
||||
})
|
||||
|
||||
_ = prometheus.Register(prommod.NewCollector("christine"))
|
||||
|
|
Loading…
Reference in New Issue