cmd/site: add git rev to logging on boot
This commit is contained in:
parent
ce25d9fbfd
commit
d92535dfd2
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue