The nodes expose these over the endpoints that the Prometheus server scrapes. These metrics are pulled from nodes that run specific exporters (which are modules that extract information and translate it into its format, which the server can then ingest). It collects these metrics at regular intervals and stores them locally. The Prometheus server works on the principle of scraping, i.e., invoking the metrics endpoints of the various nodes that it is configured to monitor.
![monit vs prometheus monit vs prometheus](https://i.pinimg.com/originals/38/02/b8/3802b80593cd1a97f36c7dbf4bd6c163.jpg)
This server collects the metrics from multiple nodes and stores them locally. The architecture might look complex but we can break it down into modules and their respective roles in the overall system. The architecture of Prometheus, taken from the official documentation, is shown in Figure 1.
![monit vs prometheus monit vs prometheus](https://pbs.twimg.com/media/A6ribLJCQAAJu3b.jpg)
We then look at an example of monitoring your Linux node with the default support that is available out-of-the-box with Prometheus. This article looks at Prometheus, its architecture and how it can be installed. It is written in the Go language, and it ships with easily distributed binaries that you can use to get it running as quickly as possible. Its architecture is modular and comes with several readily available modules called exporters, which help you capture metrics from the most popular software.
MONIT VS PROMETHEUS SOFTWARE
The software was created because of the need to monitor multiple microservices that might be running in your system. It had its origins at SoundCloud and has seen significant adoption since it was announced in 2015. Prometheus is a leading open source monitoring and alerting tool. The support for multiple exporters is one of the strongest points of Prometheus, since it can help you get started with specific monitoring requirements quickly. Prometheus is a leading monitoring solution that has seen its community grow to large numbers.