Summary
Throughout this chapter, we analyzed different ways of understanding what's happening under the hood of an Elixir project running in its production environment. Permanently feeding your dashboards with collected metrics allows you to quickly assess your application's current state.
With Prometheus and Grafana, you can then take a deep dive into your metrics data and understand behaviors and patterns that may fly under the radar at first sight. We also learned how to emit custom Prometheus metrics by enriching our Elixir code with instrumentation calls, when the metrics provided out of the box by the Prometheus suite of libraries weren't enough.
Sometimes, it is imperative to have an updated and informed view of the deployed code that is running. In these cases, you can connect to your application and look at it armed with the powerful Observer tool. After deploying the application on the cloud, connecting to it is more difficult, but not impossible, thanks to the incredible distributed...