In this chapter, we covered Elastic APM and explained how we can monitor an application. We started with the APM components, which are APM Agents, APM Servers, Elasticsearch, and Kibana. After that, we covered each of them in detail. APM Agents are open source libraries that can be configured in any of the supported languages/libraries. Currently, we have support for Django and flask frameworks of Python, Java, Go, Node.js, Rails, Rack, RUM - JS, and Go. We can configure them to send application metrics and errors to APM Server. Then, we covered APM Server, which is again open source software, written in Go.
The main task of the APM Server is to receive data from different APM Agents and send it to the Elasticsearch Cluster. Elasticsearch takes the APM data, which can then be viewed, searched, or analyzed in Elasticsearch. Once data is pushed to Elasticsearch, we can display...