Hacker News new | ask | show | jobs
by maushu 1153 days ago
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.
3 comments

Wouldn’t help in this case if you redeployed the same version. I usually log the PID and some form of host ID.
That’s smart. I like it.
So you have to constantly rename it with each commit or what?