Prometheus:
Prometheus is an open-source toolkit written in Go that is designed to be a fully featured solution for monitoring and alerting.
Prometheus is responsible for collecting metrics data and storing it in an efficient time series database, while user is able to query that time-series data and configure alerting for real-time updates.
It actually will use the built-in database within it. We can transfer the data into external storage or keep within it.
It uses a multidimensional data model that accommodates time-series data. This data is associated with the timestamp and options key-value pairs.
Prometheus uses a HTTP pull model to retrieve stored time-series data.
Prometheus Components:
Prometheus server is a responsible for collecting a data from exporter or scraping a data from targeting machines and storing this data into time-series database.
Various client libraries are supported for programming languages including Rust, Python, Java, Ruby and Go. These libraries aid in instrumenting application mode. Special exporters are also supported for exposing metrics from systems that cannot directly use Prometheus metrics such as Graphite, StatsD and other third parity software.