0% found this document useful (0 votes)
24 views11 pages

Overview of Prometheus Monitoring Tool

Prometheus" can refer to a Titan in Greek mythology who stole fire for humanity, the 2012 science fiction film directed by Ridley Scott, or an open-source monitoring and alerting system for collecting and storing metrics a

Uploaded by

muhammadadel612
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views11 pages

Overview of Prometheus Monitoring Tool

Prometheus" can refer to a Titan in Greek mythology who stole fire for humanity, the 2012 science fiction film directed by Ridley Scott, or an open-source monitoring and alerting system for collecting and storing metrics a

Uploaded by

muhammadadel612
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Author – SUSHANT AHER

[Link]

1
What is Prometheus?
Prometheus is an open-source systems monitoring and alerting toolkit
originally built at SoundCloud. Since its inception in 2012, many companies and
organizations have adopted Prometheus, and the project has a very active
developer and user community. It is now a standalone open-source project and
maintained independently of any company. To emphasize this, and to clarify
the project's governance structure, Prometheus joined the Cloud Native
Computing Foundation in 2016 as the second hosted project, after Kubernetes.
Prometheus collects and stores its metrics as time series data, i.e. metrics
information is stored with the timestamp at which it was recorded, alongside
optional key-value pairs called labels.
For more elaborate overviews of Prometheus, see the resources linked from
the media section.

Features
Prometheus's main features are:
• a multi-dimensional data model with time series data identified by
metric name and key/value pairs
• PromQL, a flexible query language to leverage this dimensionality
• no reliance on distributed storage; single server nodes are autonomous
• time series collection happens via a pull model over HTTP
• pushing time series is supported via an intermediary gateway
• targets are discovered via service discovery or static configuration
• multiple modes of graphing and dashboarding support

What are metrics?


• Metrics are numerical measurements in layperson terms. The term time
series refers to the recording of changes over time. What users want to
measure differs from application to application.

2
Architecture –

This diagram illustrates the architecture of Prometheus and some of its


ecosystem components:
Prometheus scrapes metrics from instrumented jobs, either directly or via an
intermediary push gateway for short-lived jobs. It stores all scraped samples
locally and runs rules over this data to either aggregate and record new time
series from existing data or generate alerts. Grafana or other API consumers
can be used to visualize the collected data.

3
Installation
Githun repo –

[Link]

4
5
Checking CPU usage –

6
7
Application usage checking –

8
9
Grafana –
Grafana installation
sudo yum install -y [Link]

sudo service grafana-server start

sudo service grafana-server status

10
11

You might also like