Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
maushu
· 3y ago · 0 comments
This is why I use the git commit short hash as part of the identification of the service (eg: container name). Allows for quick check of which is the running code version and identify problems like these.
Comments
[–]
rcarmo
3y ago
Wouldn’t help in this case if you redeployed the same version. I usually log the PID and some form of host ID.
[–]
zacksiri
3y ago
That’s smart. I like it.
[–]
bomewish
3y ago
So you have to constantly rename it with each commit or what?