-
Book Overview & Buying
-
Table Of Contents
Modern REST API Development in Go
By :
In this chapter, we explored what observability involves in Go and how to leverage the existing libraries and tools to provide logs, metrics, and traces. We explored the different kinds of logs (regular logs and structured logs) and the libraries we can use for them. We explored the importance of metrics, how to incorporate them into our projects, and the different kinds of interesting metrics. Finally, we analyzed the traces in systems such as OTel and how we can leverage them to better understand our system’s behavior and performance.
Observability is a key part of any modern production-ready API. I encourage you to try including it as early in the process as possible to ensure your system is ready whenever problems start.
With this, we we’ll explore the next chapter on GORM, an Object Relational Mapper (ORM) for Go that provides a more abstract and object-oriented approach to database interactions.
| ... |