diff options
| author | Christine Dodrill <me@christine.website> | 2019-06-05 14:01:38 +0000 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-06-05 14:01:38 +0000 |
| commit | d92535dfd2d991ebb599c6a7744d44a278704bba (patch) | |
| tree | b3ebbbf8eeb3ee82fb3f2e358c59928fd2c59ca6 /cmd | |
| parent | ce25d9fbfd79fba32977f2af9aa8169b6aed4d97 (diff) | |
| download | xesite-d92535dfd2d991ebb599c6a7744d44a278704bba.tar.xz xesite-d92535dfd2d991ebb599c6a7744d44a278704bba.zip | |
cmd/site: add git rev to logging on boot
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/site/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
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")) |
