go-template
go-template copied to clipboard
Template for Go projects
https://github.com/uber-go/nilaway
## 📝 Summary Implement basic prometheus metrics endpoint. ## ⛱ Motivation and Context Most of the time we will want to be able to observe the internal state of the...
Metrics examples should include: 1. all metrics defined in a single place (instead of scattered around handlers and methods) 2. easy addition to specific metrics
See also https://github.com/flashbots/mev-boost-relay/blob/main/docs/docs/20230619-startup-shutdown-zero-downtime-deployments.md Review httpserver shutdown in light of that post.
https://grafana.com/docs/pyroscope/latest/configure-client/language-sdks/go_push/
Consider: Example for serving website based on template + CSS
Currently using https://github.com/flashbots/go-utils/blob/main/httplogger/httplogger.go#L80 - which is very good. Perhaps take inspiration from https://github.com/go-chi/httplog/blob/master/httplog.go ?