SlideShare a Scribd company logo
1 of 20
Prometheus with
Grafana
By Team Calms Squad
INDEX 1. Prometheus
1. Prometheus Architecture
1. What is Grafana
1. Prometheus - Grafana
1. Features of Grafana-Prometheus
1. What we are using
1. Dashboard
1. Reference Links
Prometheus
● Prometheus is a free software application used for event
monitoring and alerting.
● It records real-time metrics in a time series database built
using a HTTP pull model, with flexible queries and real-time
alerting.
Prometheus Architecture:
The Prometheus Server:
● This is the brain of the system. It collects metrics in the
form of time series data from nodes and stores them.
The process of collecting metrics is referred to as
scraping.
● Prometheus metrics are stored in the time series
format, which is basically a sequence of data points
taken at successive equally spaced points in time
(usually in milliseconds).
Continue...
● The Prometheus server actively pulls (scrapes) metrics from
applications it monitors at intervals (scrape interval) as opposed
to other tools like Graphite which passively wait for the
applications to push their metrics. This model relieves clients of
most of the workload, since the Prometheus server does all the
heavy lifting. All they have to do is expose their metrics in a way
that the Prometheus server can access. They do this by exposing
an HTTP endpoint, usually /metrics, which returns the full list of
metrics (with accompanying label sets) and their values.
Continue...
Prometheus Architecture:
Client Libraries and Exporters:
● The metrics exposed by clients have to be in this format for
Prometheus to scrape. However, time series formatted metrics do
not typically spring forth from applications; usually,
instrumentation that produces these types of metrics would have to
be manually added.
● Client libraries: where you control the source code, with very few
lines of code, you can define and add your desired metrics using
Prometheus’ client libraries in a process called direct
instrumentation.
Continue...
Prometheus Architecture:
Exporters:
● Where we have no control over the source code, direct
instrumentation is not an option.
● Exporters are pieces of software that we can deploy
alongside applications whose metrics you’re interested
Continue...
Prometheus Architecture:
Push Gateway:
The Prometheus Push Gateway exists solely to allow short lived
jobs to expose their metrics to Prometheus. Since these kinds of
jobs may not exist long enough for Prometheus to scrape them,
they can instead push their metrics to a Push Gateway, which acts
as kind of a metric cache, holding them long enough so they can
be scraped by Prometheus
Continue...
Prometheus Architecture:
Alertmanager:
The Prometheus Alertmanager allows you to define your own
alerts on the collected metrics, so that you can be notified in
case of any abnormalities or discrepancies in the data collected.
Continue...
Prometheus Architecture:
Visualization:
● The metrics collected by Prometheus are stored locally in a time
series database. With the help of the Prometheus Query Language
(PromQL), a user can select and aggregate existing time series data
in real time.
● The result of this can either be shown as graphs or tabular data in
the Prometheus Expression Browser or be used to feed an external
visualization integration via the use of an HTTP API. The external
integration of choice for Prometheus visualization would be
GRAFANA.
What is Grafana
What is Grafana
● Grafana is an open-source platform for data visualization, monitoring
and analysis.
● Grafana is solution for running data analytics, pulling up metrics that
make sense of the massive amount of data & to monitor our apps with
the help of cool customizable dashboards.
● The tool helps us to study, analyse & monitor data over a period of
time.
Continue...
● Grafana connects with every possible data source, commonly
referred to as databases such as Graphite, Prometheus,
Influxdb, ElasticSearch, MySQL, PostgreSQL etc.
● It provides us with tools to turn your time-series database
(TSDB) data into beautiful graphs and visualizations.
What is Grafana
Prometheus - Grafana
● Prometheus is an open source data monitoring tool. The combination of
Prometheus & Grafana is the tools of combination in the industry for
deploying a data visualization setup.
● Grafana dashboard is used for visualizing the data whereas the backend
is powered by Prometheus.
● Though Prometheus too has data visualization features & stuff. But still,
Grafana is preferred for visualizing data. Queries are fired from the
dashboard & the data is fetched from Prometheus.
Features of grafana-Prometheus
● Grafana shows information about instances were down or a
critical issue caused the system to crash, all of these
scenarios were tracked on the Grafana dashboard which
made our lives a lot easier.
● The data was pulled from Prometheus which was plugged-in
to the Grafana dashboard as a data source. Queries were
fired from the dashboard with different expressions such as
min, avg etc.
Continue..
● The tool is used to monitor the stuff happening in the production
environment.
● We can plan out the future operations using past data, which we
could track on the dashboard by filtering down by time range.
● The grafana dashboard is pretty equipped, & continually evolving,
to make sense of complex data from displaying graphs to
heatmaps, histograms, Geo maps.
Features of grafana-Prometheus
What we’re Using
● Installed and configure Prometheus in server of which we
want to see metrics
● Added servers Prometheus Metrics HTTP endpoint in grafana
data source.
● Created Dashboard as per requirement.
Dashboard
● Prepared monitoring dashboard which include below
monitoring details
● Server status details/docker container details/probe and SSL
related details
Continue...
Up time Virtual CPU Available
RAM
Available
Memory
CPU usage
Load
Average
Memory
Details
Memory
Distribution
Disk Usage Disk I/O
Total
running
container
Total
memory
usage
Total CPU
usage
Container
specific
memory &
CPU usage
HTTP status
code
SSL expiry HTTP probe
duration
ICMP Probe
duration
Dashboard
Thank You!!
We hope you find this info. helpful. Here are few reference links:
-- ttps://prometheus.io/docs/introduction/overview/
-- https://prometheus.io/docs/visualization/grafana/
Reach us at
Email: contact@addwebsolution.com | hi@addwebsolution.com
Phone: +1-302-261-5724| +44-020-8144-0266 | +91 903 317 7471
Life at AddWeb: https://www.youtube.com/watch?v=8AGFAefuQE4
We are Social:
Team Culture | LinkedIn | Happy Clients | Twitter

More Related Content

What's hot

Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With PrometheusKnoldus Inc.
 
Infrastructure & System Monitoring using Prometheus
Infrastructure & System Monitoring using PrometheusInfrastructure & System Monitoring using Prometheus
Infrastructure & System Monitoring using PrometheusMarco Pas
 
Monitoring with prometheus
Monitoring with prometheusMonitoring with prometheus
Monitoring with prometheusKasper Nissen
 
Introduction to Prometheus
Introduction to PrometheusIntroduction to Prometheus
Introduction to PrometheusJulien Pivotto
 
Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018Grafana Labs
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus OverviewBrian Brazil
 
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
Prometheus - Intro, CNCF, TSDB,PromQL,GrafanaPrometheus - Intro, CNCF, TSDB,PromQL,Grafana
Prometheus - Intro, CNCF, TSDB,PromQL,GrafanaSridhar Kumar N
 
Cloud Monitoring with Prometheus
Cloud Monitoring with PrometheusCloud Monitoring with Prometheus
Cloud Monitoring with PrometheusQAware GmbH
 
Intro to open source observability with grafana, prometheus, loki, and tempo(...
Intro to open source observability with grafana, prometheus, loki, and tempo(...Intro to open source observability with grafana, prometheus, loki, and tempo(...
Intro to open source observability with grafana, prometheus, loki, and tempo(...LibbySchulze
 
Grafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsGrafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsMarco Pracucci
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basicsJuraj Hantak
 
MySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaMySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaYoungHeon (Roy) Kim
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introductionRico Chen
 
How to monitor your micro-service with Prometheus?
How to monitor your micro-service with Prometheus?How to monitor your micro-service with Prometheus?
How to monitor your micro-service with Prometheus?Wojciech Barczyński
 
Prometheus design and philosophy
Prometheus design and philosophy   Prometheus design and philosophy
Prometheus design and philosophy Docker, Inc.
 
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdfPrometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdfKnoldus Inc.
 
OpenTelemetry For Operators
OpenTelemetry For OperatorsOpenTelemetry For Operators
OpenTelemetry For OperatorsKevin Brockhoff
 

What's hot (20)

Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With Prometheus
 
Infrastructure & System Monitoring using Prometheus
Infrastructure & System Monitoring using PrometheusInfrastructure & System Monitoring using Prometheus
Infrastructure & System Monitoring using Prometheus
 
Grafana
GrafanaGrafana
Grafana
 
Monitoring with prometheus
Monitoring with prometheusMonitoring with prometheus
Monitoring with prometheus
 
Introduction to Prometheus
Introduction to PrometheusIntroduction to Prometheus
Introduction to Prometheus
 
Prometheus monitoring
Prometheus monitoringPrometheus monitoring
Prometheus monitoring
 
Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018Explore your prometheus data in grafana - Promcon 2018
Explore your prometheus data in grafana - Promcon 2018
 
Prometheus Overview
Prometheus OverviewPrometheus Overview
Prometheus Overview
 
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
Prometheus - Intro, CNCF, TSDB,PromQL,GrafanaPrometheus - Intro, CNCF, TSDB,PromQL,Grafana
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
 
Cloud Monitoring with Prometheus
Cloud Monitoring with PrometheusCloud Monitoring with Prometheus
Cloud Monitoring with Prometheus
 
Intro to open source observability with grafana, prometheus, loki, and tempo(...
Intro to open source observability with grafana, prometheus, loki, and tempo(...Intro to open source observability with grafana, prometheus, loki, and tempo(...
Intro to open source observability with grafana, prometheus, loki, and tempo(...
 
Grafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsGrafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for Logs
 
Prometheus - basics
Prometheus - basicsPrometheus - basics
Prometheus - basics
 
MySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & GrafanaMySQL Monitoring using Prometheus & Grafana
MySQL Monitoring using Prometheus & Grafana
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With Prometheus
 
Grafana introduction
Grafana introductionGrafana introduction
Grafana introduction
 
How to monitor your micro-service with Prometheus?
How to monitor your micro-service with Prometheus?How to monitor your micro-service with Prometheus?
How to monitor your micro-service with Prometheus?
 
Prometheus design and philosophy
Prometheus design and philosophy   Prometheus design and philosophy
Prometheus design and philosophy
 
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdfPrometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
 
OpenTelemetry For Operators
OpenTelemetry For OperatorsOpenTelemetry For Operators
OpenTelemetry For Operators
 

Similar to Prometheus with Grafana - AddWeb Solution

Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)Brian Brazil
 
How to Improve the Observability of Apache Cassandra and Kafka applications...
How to Improve the Observability of Apache Cassandra and Kafka applications...How to Improve the Observability of Apache Cassandra and Kafka applications...
How to Improve the Observability of Apache Cassandra and Kafka applications...Paul Brebner
 
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataGetInData
 
Prometheus (Microsoft, 2016)
Prometheus (Microsoft, 2016)Prometheus (Microsoft, 2016)
Prometheus (Microsoft, 2016)Brian Brazil
 
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...IRJET Journal
 
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)Brian Brazil
 
Microservices and Prometheus (Microservices NYC 2016)
Microservices and Prometheus (Microservices NYC 2016)Microservices and Prometheus (Microservices NYC 2016)
Microservices and Prometheus (Microservices NYC 2016)Brian Brazil
 
Slack in the Age of Prometheus
Slack in the Age of PrometheusSlack in the Age of Prometheus
Slack in the Age of PrometheusGeorge Luong
 
ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...
ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...
ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...Paul Brebner
 
Monitoring MySQL with Prometheus, Grafana and Percona Dashboards
Monitoring MySQL with Prometheus, Grafana and Percona DashboardsMonitoring MySQL with Prometheus, Grafana and Percona Dashboards
Monitoring MySQL with Prometheus, Grafana and Percona DashboardsJulien Pivotto
 
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)Brian Brazil
 
Monitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and GrafanaMonitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and GrafanaJulien Pivotto
 
OSMC 2017 | Monitoring MySQL with Prometheus and Grafana by Julien Pivotto
OSMC 2017 | Monitoring  MySQL with Prometheus and Grafana by Julien PivottoOSMC 2017 | Monitoring  MySQL with Prometheus and Grafana by Julien Pivotto
OSMC 2017 | Monitoring MySQL with Prometheus and Grafana by Julien PivottoNETWAYS
 
Prometheus and Docker (Docker Galway, November 2015)
Prometheus and Docker (Docker Galway, November 2015)Prometheus and Docker (Docker Galway, November 2015)
Prometheus and Docker (Docker Galway, November 2015)Brian Brazil
 
Monitoring as Software Validation
Monitoring as Software ValidationMonitoring as Software Validation
Monitoring as Software ValidationBioDec
 

Similar to Prometheus with Grafana - AddWeb Solution (20)

System monitoring
System monitoringSystem monitoring
System monitoring
 
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
 
How to Improve the Observability of Apache Cassandra and Kafka applications...
How to Improve the Observability of Apache Cassandra and Kafka applications...How to Improve the Observability of Apache Cassandra and Kafka applications...
How to Improve the Observability of Apache Cassandra and Kafka applications...
 
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
 
Prometheus (Microsoft, 2016)
Prometheus (Microsoft, 2016)Prometheus (Microsoft, 2016)
Prometheus (Microsoft, 2016)
 
Prometheus workshop
Prometheus workshopPrometheus workshop
Prometheus workshop
 
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
IRJET- Real Time Monitoring of Servers with Prometheus and Grafana for High A...
 
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
 
Microservices and Prometheus (Microservices NYC 2016)
Microservices and Prometheus (Microservices NYC 2016)Microservices and Prometheus (Microservices NYC 2016)
Microservices and Prometheus (Microservices NYC 2016)
 
Slack in the Age of Prometheus
Slack in the Age of PrometheusSlack in the Age of Prometheus
Slack in the Age of Prometheus
 
ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...
ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...
ApacheCon2019 Talk: Improving the Observability of Cassandra, Kafka and Kuber...
 
Prometheus
PrometheusPrometheus
Prometheus
 
Monitoring MySQL with Prometheus, Grafana and Percona Dashboards
Monitoring MySQL with Prometheus, Grafana and Percona DashboardsMonitoring MySQL with Prometheus, Grafana and Percona Dashboards
Monitoring MySQL with Prometheus, Grafana and Percona Dashboards
 
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
 
Prometheus
PrometheusPrometheus
Prometheus
 
Monitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and GrafanaMonitoring MySQL with Prometheus and Grafana
Monitoring MySQL with Prometheus and Grafana
 
OSMC 2017 | Monitoring MySQL with Prometheus and Grafana by Julien Pivotto
OSMC 2017 | Monitoring  MySQL with Prometheus and Grafana by Julien PivottoOSMC 2017 | Monitoring  MySQL with Prometheus and Grafana by Julien Pivotto
OSMC 2017 | Monitoring MySQL with Prometheus and Grafana by Julien Pivotto
 
Monitoring with Prometheus
Monitoring with PrometheusMonitoring with Prometheus
Monitoring with Prometheus
 
Prometheus and Docker (Docker Galway, November 2015)
Prometheus and Docker (Docker Galway, November 2015)Prometheus and Docker (Docker Galway, November 2015)
Prometheus and Docker (Docker Galway, November 2015)
 
Monitoring as Software Validation
Monitoring as Software ValidationMonitoring as Software Validation
Monitoring as Software Validation
 

More from AddWeb Solution Pvt. Ltd.

Top SaaS Frameworks for Software Product Development.pdf
Top SaaS Frameworks for Software Product Development.pdfTop SaaS Frameworks for Software Product Development.pdf
Top SaaS Frameworks for Software Product Development.pdfAddWeb Solution Pvt. Ltd.
 
The Ultimate Step-by-Step Guide to Develop a Calendar App.pdf
The Ultimate Step-by-Step Guide to Develop a Calendar App.pdfThe Ultimate Step-by-Step Guide to Develop a Calendar App.pdf
The Ultimate Step-by-Step Guide to Develop a Calendar App.pdfAddWeb Solution Pvt. Ltd.
 
Top Exclusive Mobile App Ideas for Real Estate Businesses.pdf
Top Exclusive Mobile App Ideas for Real Estate Businesses.pdfTop Exclusive Mobile App Ideas for Real Estate Businesses.pdf
Top Exclusive Mobile App Ideas for Real Estate Businesses.pdfAddWeb Solution Pvt. Ltd.
 
How to Start A Food Delivery Business Like DoorDash in 2024.pdf
How to Start A Food Delivery Business Like DoorDash in 2024.pdfHow to Start A Food Delivery Business Like DoorDash in 2024.pdf
How to Start A Food Delivery Business Like DoorDash in 2024.pdfAddWeb Solution Pvt. Ltd.
 
Choosing the Right Node.js Framework For App Development 2024.pdf
Choosing the Right Node.js Framework For App Development 2024.pdfChoosing the Right Node.js Framework For App Development 2024.pdf
Choosing the Right Node.js Framework For App Development 2024.pdfAddWeb Solution Pvt. Ltd.
 
The Complete Guide to Serverless Computing.pdf
The Complete Guide to Serverless Computing.pdfThe Complete Guide to Serverless Computing.pdf
The Complete Guide to Serverless Computing.pdfAddWeb Solution Pvt. Ltd.
 
How to Implement Content Marketing for Ecommerce SEO.pdf
How to Implement Content Marketing for Ecommerce SEO.pdfHow to Implement Content Marketing for Ecommerce SEO.pdf
How to Implement Content Marketing for Ecommerce SEO.pdfAddWeb Solution Pvt. Ltd.
 
Why Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdf
Why Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdfWhy Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdf
Why Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdfAddWeb Solution Pvt. Ltd.
 
Everything to Know About Custom Healthcare App Development.pdf
Everything to Know About Custom Healthcare App Development.pdfEverything to Know About Custom Healthcare App Development.pdf
Everything to Know About Custom Healthcare App Development.pdfAddWeb Solution Pvt. Ltd.
 
How Much Does It Cost to Build a React Native App in 2024.pdf
How Much Does It Cost to Build a React Native App in 2024.pdfHow Much Does It Cost to Build a React Native App in 2024.pdf
How Much Does It Cost to Build a React Native App in 2024.pdfAddWeb Solution Pvt. Ltd.
 
How Much Does HR & Staffing Software Development Cost.pdf
How Much Does HR & Staffing Software Development Cost.pdfHow Much Does HR & Staffing Software Development Cost.pdf
How Much Does HR & Staffing Software Development Cost.pdfAddWeb Solution Pvt. Ltd.
 
Why Choose Drupal As Your Restaurant CMS In 2024.pdf
Why Choose Drupal As Your Restaurant CMS In 2024.pdfWhy Choose Drupal As Your Restaurant CMS In 2024.pdf
Why Choose Drupal As Your Restaurant CMS In 2024.pdfAddWeb Solution Pvt. Ltd.
 
Why Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdf
Why Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdfWhy Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdf
Why Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdfAddWeb Solution Pvt. Ltd.
 
Importance of UXUi in Mobile App Development.pdf
Importance of UXUi in Mobile App Development.pdfImportance of UXUi in Mobile App Development.pdf
Importance of UXUi in Mobile App Development.pdfAddWeb Solution Pvt. Ltd.
 
Features and Benefits of Logistics Software Development.pdf
Features and Benefits of Logistics Software Development.pdfFeatures and Benefits of Logistics Software Development.pdf
Features and Benefits of Logistics Software Development.pdfAddWeb Solution Pvt. Ltd.
 
The Pros and Cons of Flutter App Development.pdf
The Pros and Cons of Flutter App Development.pdfThe Pros and Cons of Flutter App Development.pdf
The Pros and Cons of Flutter App Development.pdfAddWeb Solution Pvt. Ltd.
 
Cost and Features of Developing a Successful Food Delivery Application.pdf
Cost and Features of Developing a Successful Food Delivery Application.pdfCost and Features of Developing a Successful Food Delivery Application.pdf
Cost and Features of Developing a Successful Food Delivery Application.pdfAddWeb Solution Pvt. Ltd.
 
Steps for SaaS Product Development for Streamlined Business Productivity
Steps for SaaS Product Development for Streamlined Business ProductivitySteps for SaaS Product Development for Streamlined Business Productivity
Steps for SaaS Product Development for Streamlined Business ProductivityAddWeb Solution Pvt. Ltd.
 

More from AddWeb Solution Pvt. Ltd. (20)

Top SaaS Frameworks for Software Product Development.pdf
Top SaaS Frameworks for Software Product Development.pdfTop SaaS Frameworks for Software Product Development.pdf
Top SaaS Frameworks for Software Product Development.pdf
 
The Ultimate Step-by-Step Guide to Develop a Calendar App.pdf
The Ultimate Step-by-Step Guide to Develop a Calendar App.pdfThe Ultimate Step-by-Step Guide to Develop a Calendar App.pdf
The Ultimate Step-by-Step Guide to Develop a Calendar App.pdf
 
Top Exclusive Mobile App Ideas for Real Estate Businesses.pdf
Top Exclusive Mobile App Ideas for Real Estate Businesses.pdfTop Exclusive Mobile App Ideas for Real Estate Businesses.pdf
Top Exclusive Mobile App Ideas for Real Estate Businesses.pdf
 
How to Start A Food Delivery Business Like DoorDash in 2024.pdf
How to Start A Food Delivery Business Like DoorDash in 2024.pdfHow to Start A Food Delivery Business Like DoorDash in 2024.pdf
How to Start A Food Delivery Business Like DoorDash in 2024.pdf
 
Choosing the Right Node.js Framework For App Development 2024.pdf
Choosing the Right Node.js Framework For App Development 2024.pdfChoosing the Right Node.js Framework For App Development 2024.pdf
Choosing the Right Node.js Framework For App Development 2024.pdf
 
The Complete Guide to Serverless Computing.pdf
The Complete Guide to Serverless Computing.pdfThe Complete Guide to Serverless Computing.pdf
The Complete Guide to Serverless Computing.pdf
 
How to Implement Content Marketing for Ecommerce SEO.pdf
How to Implement Content Marketing for Ecommerce SEO.pdfHow to Implement Content Marketing for Ecommerce SEO.pdf
How to Implement Content Marketing for Ecommerce SEO.pdf
 
Why Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdf
Why Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdfWhy Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdf
Why Use Vue JS The Ultimate Guide for Frontend Every Aspect Covered.pdf
 
Everything to Know About Custom Healthcare App Development.pdf
Everything to Know About Custom Healthcare App Development.pdfEverything to Know About Custom Healthcare App Development.pdf
Everything to Know About Custom Healthcare App Development.pdf
 
How Much Does It Cost to Build a React Native App in 2024.pdf
How Much Does It Cost to Build a React Native App in 2024.pdfHow Much Does It Cost to Build a React Native App in 2024.pdf
How Much Does It Cost to Build a React Native App in 2024.pdf
 
How Much Does HR & Staffing Software Development Cost.pdf
How Much Does HR & Staffing Software Development Cost.pdfHow Much Does HR & Staffing Software Development Cost.pdf
How Much Does HR & Staffing Software Development Cost.pdf
 
Guide to Developing a Cloud Based SaaS App
Guide to Developing a Cloud Based SaaS AppGuide to Developing a Cloud Based SaaS App
Guide to Developing a Cloud Based SaaS App
 
Why Choose Drupal As Your Restaurant CMS In 2024.pdf
Why Choose Drupal As Your Restaurant CMS In 2024.pdfWhy Choose Drupal As Your Restaurant CMS In 2024.pdf
Why Choose Drupal As Your Restaurant CMS In 2024.pdf
 
Why Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdf
Why Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdfWhy Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdf
Why Use CakePHP Over Other Web Frameworks Explore Pros & Cons.pdf
 
How to Hire a DevOps Consultant in 2024.pdf
How to Hire a DevOps Consultant in 2024.pdfHow to Hire a DevOps Consultant in 2024.pdf
How to Hire a DevOps Consultant in 2024.pdf
 
Importance of UXUi in Mobile App Development.pdf
Importance of UXUi in Mobile App Development.pdfImportance of UXUi in Mobile App Development.pdf
Importance of UXUi in Mobile App Development.pdf
 
Features and Benefits of Logistics Software Development.pdf
Features and Benefits of Logistics Software Development.pdfFeatures and Benefits of Logistics Software Development.pdf
Features and Benefits of Logistics Software Development.pdf
 
The Pros and Cons of Flutter App Development.pdf
The Pros and Cons of Flutter App Development.pdfThe Pros and Cons of Flutter App Development.pdf
The Pros and Cons of Flutter App Development.pdf
 
Cost and Features of Developing a Successful Food Delivery Application.pdf
Cost and Features of Developing a Successful Food Delivery Application.pdfCost and Features of Developing a Successful Food Delivery Application.pdf
Cost and Features of Developing a Successful Food Delivery Application.pdf
 
Steps for SaaS Product Development for Streamlined Business Productivity
Steps for SaaS Product Development for Streamlined Business ProductivitySteps for SaaS Product Development for Streamlined Business Productivity
Steps for SaaS Product Development for Streamlined Business Productivity
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Prometheus with Grafana - AddWeb Solution

  • 2. INDEX 1. Prometheus 1. Prometheus Architecture 1. What is Grafana 1. Prometheus - Grafana 1. Features of Grafana-Prometheus 1. What we are using 1. Dashboard 1. Reference Links
  • 3. Prometheus ● Prometheus is a free software application used for event monitoring and alerting. ● It records real-time metrics in a time series database built using a HTTP pull model, with flexible queries and real-time alerting.
  • 4. Prometheus Architecture: The Prometheus Server: ● This is the brain of the system. It collects metrics in the form of time series data from nodes and stores them. The process of collecting metrics is referred to as scraping. ● Prometheus metrics are stored in the time series format, which is basically a sequence of data points taken at successive equally spaced points in time (usually in milliseconds). Continue...
  • 5. ● The Prometheus server actively pulls (scrapes) metrics from applications it monitors at intervals (scrape interval) as opposed to other tools like Graphite which passively wait for the applications to push their metrics. This model relieves clients of most of the workload, since the Prometheus server does all the heavy lifting. All they have to do is expose their metrics in a way that the Prometheus server can access. They do this by exposing an HTTP endpoint, usually /metrics, which returns the full list of metrics (with accompanying label sets) and their values. Continue... Prometheus Architecture:
  • 6. Client Libraries and Exporters: ● The metrics exposed by clients have to be in this format for Prometheus to scrape. However, time series formatted metrics do not typically spring forth from applications; usually, instrumentation that produces these types of metrics would have to be manually added. ● Client libraries: where you control the source code, with very few lines of code, you can define and add your desired metrics using Prometheus’ client libraries in a process called direct instrumentation. Continue... Prometheus Architecture:
  • 7. Exporters: ● Where we have no control over the source code, direct instrumentation is not an option. ● Exporters are pieces of software that we can deploy alongside applications whose metrics you’re interested Continue... Prometheus Architecture:
  • 8. Push Gateway: The Prometheus Push Gateway exists solely to allow short lived jobs to expose their metrics to Prometheus. Since these kinds of jobs may not exist long enough for Prometheus to scrape them, they can instead push their metrics to a Push Gateway, which acts as kind of a metric cache, holding them long enough so they can be scraped by Prometheus Continue... Prometheus Architecture:
  • 9. Alertmanager: The Prometheus Alertmanager allows you to define your own alerts on the collected metrics, so that you can be notified in case of any abnormalities or discrepancies in the data collected. Continue... Prometheus Architecture:
  • 10. Visualization: ● The metrics collected by Prometheus are stored locally in a time series database. With the help of the Prometheus Query Language (PromQL), a user can select and aggregate existing time series data in real time. ● The result of this can either be shown as graphs or tabular data in the Prometheus Expression Browser or be used to feed an external visualization integration via the use of an HTTP API. The external integration of choice for Prometheus visualization would be GRAFANA. What is Grafana
  • 11. What is Grafana ● Grafana is an open-source platform for data visualization, monitoring and analysis. ● Grafana is solution for running data analytics, pulling up metrics that make sense of the massive amount of data & to monitor our apps with the help of cool customizable dashboards. ● The tool helps us to study, analyse & monitor data over a period of time. Continue...
  • 12. ● Grafana connects with every possible data source, commonly referred to as databases such as Graphite, Prometheus, Influxdb, ElasticSearch, MySQL, PostgreSQL etc. ● It provides us with tools to turn your time-series database (TSDB) data into beautiful graphs and visualizations. What is Grafana
  • 13. Prometheus - Grafana ● Prometheus is an open source data monitoring tool. The combination of Prometheus & Grafana is the tools of combination in the industry for deploying a data visualization setup. ● Grafana dashboard is used for visualizing the data whereas the backend is powered by Prometheus. ● Though Prometheus too has data visualization features & stuff. But still, Grafana is preferred for visualizing data. Queries are fired from the dashboard & the data is fetched from Prometheus.
  • 14. Features of grafana-Prometheus ● Grafana shows information about instances were down or a critical issue caused the system to crash, all of these scenarios were tracked on the Grafana dashboard which made our lives a lot easier. ● The data was pulled from Prometheus which was plugged-in to the Grafana dashboard as a data source. Queries were fired from the dashboard with different expressions such as min, avg etc. Continue..
  • 15. ● The tool is used to monitor the stuff happening in the production environment. ● We can plan out the future operations using past data, which we could track on the dashboard by filtering down by time range. ● The grafana dashboard is pretty equipped, & continually evolving, to make sense of complex data from displaying graphs to heatmaps, histograms, Geo maps. Features of grafana-Prometheus
  • 16. What we’re Using ● Installed and configure Prometheus in server of which we want to see metrics ● Added servers Prometheus Metrics HTTP endpoint in grafana data source. ● Created Dashboard as per requirement.
  • 17. Dashboard ● Prepared monitoring dashboard which include below monitoring details ● Server status details/docker container details/probe and SSL related details Continue...
  • 18. Up time Virtual CPU Available RAM Available Memory CPU usage Load Average Memory Details Memory Distribution Disk Usage Disk I/O Total running container Total memory usage Total CPU usage Container specific memory & CPU usage HTTP status code SSL expiry HTTP probe duration ICMP Probe duration Dashboard
  • 19. Thank You!! We hope you find this info. helpful. Here are few reference links: -- ttps://prometheus.io/docs/introduction/overview/ -- https://prometheus.io/docs/visualization/grafana/
  • 20. Reach us at Email: contact@addwebsolution.com | hi@addwebsolution.com Phone: +1-302-261-5724| +44-020-8144-0266 | +91 903 317 7471 Life at AddWeb: https://www.youtube.com/watch?v=8AGFAefuQE4 We are Social: Team Culture | LinkedIn | Happy Clients | Twitter