SlideShare a Scribd company logo
2
Most read
3
Most read
8
Most read
Monitoring with
Prometheus
Himanshu Rajput
Software Consultant
Knoldus Inc.
Agenda
● Monitoring and its importance
● Logs vs Metrics
● Types of Metrics
● Prometheus
● Architecture of Prometheus
● Exporters
● Visualization
● Alerting
● Demo
Monitoring and Its importance
● Faults that cause critical situations may appear at any time.
● It will be necessary to control the operation so that a possible
error does not end up affecting the service given to users.
● To detect and prevent failures.
● Analyse the operation and performance, and to detect and
alert about possible errors of devices, infrastructures,
applications, services.
● Analysis in real time, alerts, visualization etc
Logs vs Metrics
Logs
● Generally plain text or Json
● Source - Application, databases, Kafka etc.
● Little hard to process and query
● Parse logs to obtain metrics
Metrics
● A key-value pair that give information about a particular
process or activity.
● Measured over intervals of time— time series.   
● Can be compressed, stored, processed and retrieved far more
efficiently than logs.
Type of Metrics
● Counter
● Gauge
● Histogram
Prometheus
● An open-source systems monitoring and alerting toolkit.
● Multi-dimensional data model with time series data identified
by metric name and key/value pairs.
● A flexible query language (PromQL)
● Targets are discovered via service discovery or static
configuration
● Time series collection happens via a pull model over HTTP
● Pushing time series is supported via an intermediary gateway
● Graphing and dashboarding support.
Architecture
Exporters
● Libraries and servers which help in exporting existing metrics
from third-party systems as Prometheus metrics.
● Some exporters are maintained as part of the official
Prometheus GitHub organization
● Easy to setup and integrate
● Predefined metrics in Prometheus format.
Complete list of exporters can be found here
Visualization
● Prometheus has expression browser available at /graph.
● This is primarily useful for ad-hoc queries and debugging.
● For better visualization use Grafana
● Grafana.com maintains a collection of shared dashboards.
Alerting
● Alerting with Prometheus is separated into two parts.
● Alerting rules in Prometheus servers send alerts to an
Alertmanager
● Alertmanager then manages those alerts, including silencing,
inhibition, aggregation
● Alertmanager sends out notifications via methods such as
email, PagerDuty and HipChat.
Organizations using Prometheus
Alternatives to Prometheus
● Nagios
● InfluxDB
● Graphite
● OpenTSDB
● Sensu
References
● Prometheus docs
THANK YOU!

More Related Content

PPT
Monitoring using Prometheus and Grafana
PPTX
Prometheus and Grafana
PDF
Monitoring with prometheus
PDF
Prometheus Overview
PDF
Getting Started Monitoring with Prometheus and Grafana
PPTX
MeetUp Monitoring with Prometheus and Grafana (September 2018)
PDF
Infrastructure & System Monitoring using Prometheus
PPTX
Service mesh
Monitoring using Prometheus and Grafana
Prometheus and Grafana
Monitoring with prometheus
Prometheus Overview
Getting Started Monitoring with Prometheus and Grafana
MeetUp Monitoring with Prometheus and Grafana (September 2018)
Infrastructure & System Monitoring using Prometheus
Service mesh

What's hot (20)

PDF
Prometheus + Grafana = Awesome Monitoring
PDF
Cloud Monitoring tool Grafana
PPTX
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
PDF
Server monitoring using grafana and prometheus
PPTX
Monitoring With Prometheus
PDF
Prometheus
PDF
Intro to open source observability with grafana, prometheus, loki, and tempo(...
PPTX
Grafana
PDF
Monitoring Kubernetes with Prometheus
PPTX
Prometheus design and philosophy
PDF
Explore your prometheus data in grafana - Promcon 2018
PPTX
Comprehensive Terraform Training
PPTX
Prometheus (Prometheus London, 2016)
PDF
Grafana introduction
PPTX
Airflow presentation
PPTX
An Introduction to Prometheus (GrafanaCon 2016)
PDF
Prometheus – a next-gen Monitoring System
PDF
Systems Monitoring with Prometheus (Devops Ireland April 2015)
PDF
Cloud Monitoring with Prometheus
PDF
How to monitor your micro-service with Prometheus?
Prometheus + Grafana = Awesome Monitoring
Cloud Monitoring tool Grafana
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
Server monitoring using grafana and prometheus
Monitoring With Prometheus
Prometheus
Intro to open source observability with grafana, prometheus, loki, and tempo(...
Grafana
Monitoring Kubernetes with Prometheus
Prometheus design and philosophy
Explore your prometheus data in grafana - Promcon 2018
Comprehensive Terraform Training
Prometheus (Prometheus London, 2016)
Grafana introduction
Airflow presentation
An Introduction to Prometheus (GrafanaCon 2016)
Prometheus – a next-gen Monitoring System
Systems Monitoring with Prometheus (Devops Ireland April 2015)
Cloud Monitoring with Prometheus
How to monitor your micro-service with Prometheus?
Ad

Similar to Monitoring With Prometheus (20)

PPTX
Prometheus with Grafana - AddWeb Solution
PDF
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
PDF
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
PPTX
Prometheus workshop
PDF
Prometheus
PDF
System monitoring
PDF
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
PDF
Prometheus (Microsoft, 2016)
PDF
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
PDF
Practical monitoring with Prometheus and Grafana Presentation.pdf
PPTX
Monitoring kubernetes with prometheus-operator
PPTX
Prometheus
PDF
DevOps Braga #15: Agentless monitoring with icinga and prometheus
PDF
Microservices and Prometheus (Microservices NYC 2016)
PDF
Dynamic Infrastructure and Container Monitoring with Prometheus
PDF
Go Observability (in practice)
PDF
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
PPTX
How to Improve the Observability of Apache Cassandra and Kafka applications...
PPTX
Prometheus for Monitoring Metrics (Percona Live Europe 2017)
PDF
OSMC 2019 | Automating the conficuration of Monitoring on Large Infrastructur...
Prometheus with Grafana - AddWeb Solution
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
Prometheus workshop
Prometheus
System monitoring
Prometheus-Grafana-RahulSoni1584KnolX.pptx.pdf
Prometheus (Microsoft, 2016)
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Practical monitoring with Prometheus and Grafana Presentation.pdf
Monitoring kubernetes with prometheus-operator
Prometheus
DevOps Braga #15: Agentless monitoring with icinga and prometheus
Microservices and Prometheus (Microservices NYC 2016)
Dynamic Infrastructure and Container Monitoring with Prometheus
Go Observability (in practice)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
How to Improve the Observability of Apache Cassandra and Kafka applications...
Prometheus for Monitoring Metrics (Percona Live Europe 2017)
OSMC 2019 | Automating the conficuration of Monitoring on Large Infrastructur...
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
PPTX
Self-Healing Test Automation Framework - Healenium
PPTX
Kanban Metrics Presentation (Project Management)
PPTX
Java 17 features and implementation.pptx
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
PPTX
GraalVM - A Step Ahead of JVM Presentation
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
DAPR - Distributed Application Runtime Presentation
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
Introduction to Argo Rollouts Presentation
PPTX
Intro to Azure Container App Presentation
PPTX
Insights Unveiled Test Reporting and Observability Excellence
PPTX
Introduction to Splunk Presentation (DevOps)
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
PPTX
AWS: Messaging Services in AWS Presentation
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
PPTX
Managing State & HTTP Requests In Ionic.
Angular Hydration Presentation (FrontEnd)
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Self-Healing Test Automation Framework - Healenium
Kanban Metrics Presentation (Project Management)
Java 17 features and implementation.pptx
Chaos Mesh Introducing Chaos in Kubernetes
GraalVM - A Step Ahead of JVM Presentation
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
DAPR - Distributed Application Runtime Presentation
Introduction to Azure Virtual WAN Presentation
Introduction to Argo Rollouts Presentation
Intro to Azure Container App Presentation
Insights Unveiled Test Reporting and Observability Excellence
Introduction to Splunk Presentation (DevOps)
Code Camp - Data Profiling and Quality Analysis Framework
AWS: Messaging Services in AWS Presentation
Amazon Cognito: A Primer on Authentication and Authorization
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Managing State & HTTP Requests In Ionic.

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPT
Introduction Database Management System for Course Database
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Online Work Permit System for Fast Permit Processing
PPTX
ai tools demonstartion for schools and inter college
PDF
medical staffing services at VALiNTRY
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Introduction Database Management System for Course Database
VVF-Customer-Presentation2025-Ver1.9.pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Odoo Companies in India – Driving Business Transformation.pdf
CHAPTER 2 - PM Management and IT Context
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Wondershare Filmora 15 Crack With Activation Key [2025
Navsoft: AI-Powered Business Solutions & Custom Software Development
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Design an Analysis of Algorithms I-SECS-1021-03
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Online Work Permit System for Fast Permit Processing
ai tools demonstartion for schools and inter college
medical staffing services at VALiNTRY
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf

Monitoring With Prometheus

  • 2. Agenda ● Monitoring and its importance ● Logs vs Metrics ● Types of Metrics ● Prometheus ● Architecture of Prometheus ● Exporters ● Visualization ● Alerting ● Demo
  • 3. Monitoring and Its importance ● Faults that cause critical situations may appear at any time. ● It will be necessary to control the operation so that a possible error does not end up affecting the service given to users. ● To detect and prevent failures. ● Analyse the operation and performance, and to detect and alert about possible errors of devices, infrastructures, applications, services. ● Analysis in real time, alerts, visualization etc
  • 4. Logs vs Metrics Logs ● Generally plain text or Json ● Source - Application, databases, Kafka etc. ● Little hard to process and query ● Parse logs to obtain metrics Metrics ● A key-value pair that give information about a particular process or activity. ● Measured over intervals of time— time series.    ● Can be compressed, stored, processed and retrieved far more efficiently than logs.
  • 5. Type of Metrics ● Counter ● Gauge ● Histogram
  • 6. Prometheus ● An open-source systems monitoring and alerting toolkit. ● Multi-dimensional data model with time series data identified by metric name and key/value pairs. ● A flexible query language (PromQL) ● Targets are discovered via service discovery or static configuration ● Time series collection happens via a pull model over HTTP ● Pushing time series is supported via an intermediary gateway ● Graphing and dashboarding support.
  • 8. Exporters ● Libraries and servers which help in exporting existing metrics from third-party systems as Prometheus metrics. ● Some exporters are maintained as part of the official Prometheus GitHub organization ● Easy to setup and integrate ● Predefined metrics in Prometheus format. Complete list of exporters can be found here
  • 9. Visualization ● Prometheus has expression browser available at /graph. ● This is primarily useful for ad-hoc queries and debugging. ● For better visualization use Grafana ● Grafana.com maintains a collection of shared dashboards.
  • 10. Alerting ● Alerting with Prometheus is separated into two parts. ● Alerting rules in Prometheus servers send alerts to an Alertmanager ● Alertmanager then manages those alerts, including silencing, inhibition, aggregation ● Alertmanager sends out notifications via methods such as email, PagerDuty and HipChat.
  • 12. Alternatives to Prometheus ● Nagios ● InfluxDB ● Graphite ● OpenTSDB ● Sensu