SlideShare a Scribd company logo
4
Most read
10
Most read
Prometheus	
A	next-genera1on	monitoring	system
History	
•  Started	in	2012	by	ex-Google	Site	Reliability	
Engineers	
•  Wri?en	in	Go	
•  Inspired	by	Google’s	Borgmon	
– Borgmon	monitors	Borg	
•  Public	announcement	in	January	2015	
h?p://www.slideshare.net/FabianReinartz/prometheus-a-next-gen-monitoring-system-3
Features	
•  pull	architecture	
– easy	to	scall	out	
•  mul1	dimensional	data	model	
•  powerful	query	language
pull	architecture	
h?ps://prometheus.io/docs/introduc1on/overview/
Demo	
•  node_exporter(machine	metrics)	
•  prometheus	server	configura1on
mul1	dimensional	data	model	
•  metric	types	
– counter	
– gauge	
– histogram	
– summary	
h?ps://prometheus.io/docs/concepts/metric_types/
h?p://www.boxever.com/the-power-of-mul1-dimensional-labels-in-prometheus	
Counter	Java	Code	Example
Counter	Metric	Example	
...	
h?p_response_status_total{status="200”}	@1460708848.148	277504	
h?p_response_status_total{status=“200”}	@1460708843.148	277503	
h?p_response_status_total{status="200”}	@1460708838.148	277502	
h?p_response_status_total{status=“200”}	@1460708833.148	277501	
...	
metric	name	 label	name	 1mestamp	 sample	value
How	to	handle	counter	metric	
•  Do	you	use	reset?	
•  Do	you	use	moving	average?	
h?p://www.robustpercep1on.io/how-does-a-prometheus-counter-work/	
No!	use	rate/irate/increase	func1on!	
rate(h?p_response_status_total[1m])
powerful	query	language	
sum	by(status)	(	
		rate(h?p_response_status_total	[1m]))	
)		
ALERT	DiskWillFillIn4Hours	
		IF	predict_linear(node_filesystem_free{job='node'}[1h],	4*3600)	<	0	
		FOR	5m	
		LABELS	{	
				severity="page"	
		}	
h?p://www.robustpercep1on.io/reduce-noise-from-disk-space-alerts/
Demo(access	log)	
•  fluent-plugin-prometheus	
•  prometheus	query	
•  grafana	graph

More Related Content

PDF
Prometheus + Grafana = Awesome Monitoring
PPT
Monitoring using Prometheus and Grafana
PPTX
Monitoring With Prometheus
PDF
Getting Started Monitoring with Prometheus and Grafana
ODP
Monitoring With Prometheus
PPTX
Prometheus (Prometheus London, 2016)
PDF
Terraform -- Infrastructure as Code
PDF
Monitoring with prometheus
Prometheus + Grafana = Awesome Monitoring
Monitoring using Prometheus and Grafana
Monitoring With Prometheus
Getting Started Monitoring with Prometheus and Grafana
Monitoring With Prometheus
Prometheus (Prometheus London, 2016)
Terraform -- Infrastructure as Code
Monitoring with prometheus

What's hot (20)

PDF
Prometheus - basics
PPTX
Prometheus and Grafana
PPTX
Grafana
PDF
Cloud Monitoring tool Grafana
PPTX
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
PPTX
MeetUp Monitoring with Prometheus and Grafana (September 2018)
PDF
Secret Management with Hashicorp’s Vault
PDF
Infrastructure & System Monitoring using Prometheus
PDF
Prometheus Overview
PDF
Observability, Distributed Tracing, and Open Source: The Missing Primer
PPTX
Docker introduction
PPTX
An Introduction to Prometheus (GrafanaCon 2016)
PDF
Explore your prometheus data in grafana - Promcon 2018
PPTX
Grafana.pptx
PDF
Building an SRE Organization @ Squarespace
PDF
Grafana introduction
PPTX
OpenTelemetry For Architects
PPTX
Monitoring_with_Prometheus_Grafana_Tutorial
PPSX
CI-CD Jenkins, GitHub Actions, Tekton
Prometheus - basics
Prometheus and Grafana
Grafana
Cloud Monitoring tool Grafana
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
MeetUp Monitoring with Prometheus and Grafana (September 2018)
Secret Management with Hashicorp’s Vault
Infrastructure & System Monitoring using Prometheus
Prometheus Overview
Observability, Distributed Tracing, and Open Source: The Missing Primer
Docker introduction
An Introduction to Prometheus (GrafanaCon 2016)
Explore your prometheus data in grafana - Promcon 2018
Grafana.pptx
Building an SRE Organization @ Squarespace
Grafana introduction
OpenTelemetry For Architects
Monitoring_with_Prometheus_Grafana_Tutorial
CI-CD Jenkins, GitHub Actions, Tekton
Ad

Viewers also liked (20)

PDF
Atlas de Anatomia Humana
PDF
Prometheus Storage
PDF
Prometheus casual talk1
PDF
Upgrading from-hdp-21-to-hdp-25
PDF
Sobotta atlas de anatomia humana volumen 1
PDF
Azkaban
PDF
Prometheus and Pandora
PPT
Cuello prometheus
PPT
Prometheus and Io
PPTX
Prometheus
PPTX
Alien
PPT
GREEK LITERATURE: The Story of Prometheus and Io
PPT
Prometheus
DOCX
Alien (film)
PDF
Neuroanatomia
PDF
Examen neurológico formal
PDF
Neuroanatomia funcional
PDF
Fluency - Yet another fluent logger
Atlas de Anatomia Humana
Prometheus Storage
Prometheus casual talk1
Upgrading from-hdp-21-to-hdp-25
Sobotta atlas de anatomia humana volumen 1
Azkaban
Prometheus and Pandora
Cuello prometheus
Prometheus and Io
Prometheus
Alien
GREEK LITERATURE: The Story of Prometheus and Io
Prometheus
Alien (film)
Neuroanatomia
Examen neurológico formal
Neuroanatomia funcional
Fluency - Yet another fluent logger
Ad

Similar to Prometheus (20)

PDF
Monitoring with Prometheus
PDF
Prometheus (Microsoft, 2016)
PDF
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
PDF
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
PDF
DevOps Braga #15: Agentless monitoring with icinga and prometheus
PDF
Prometheus lightning talk (Devops Dublin March 2015)
PDF
The hitchhiker’s guide to Prometheus
PDF
The hitchhiker’s guide to Prometheus
PDF
Prometheus monitoring
PDF
Microservices and Prometheus (Microservices NYC 2016)
PDF
Better Monitoring for Python: Inclusive Monitoring with Prometheus (Pycon Ire...
PDF
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
PDF
Prometheus Course from beginners to expert course
PDF
Prometheus @ Proteus Operations
PDF
Monitoring Hadoop with Prometheus (Hadoop User Group Ireland, December 2015)
PPTX
Prometheus workshop
PDF
Monitoring Cloud Native Applications with Prometheus
PPTX
Prometheus (Monitorama 2016)
PDF
Monitoring with prometheus at scale
PDF
Monitoring with prometheus at scale
Monitoring with Prometheus
Prometheus (Microsoft, 2016)
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
DevOps Braga #15: Agentless monitoring with icinga and prometheus
Prometheus lightning talk (Devops Dublin March 2015)
The hitchhiker’s guide to Prometheus
The hitchhiker’s guide to Prometheus
Prometheus monitoring
Microservices and Prometheus (Microservices NYC 2016)
Better Monitoring for Python: Inclusive Monitoring with Prometheus (Pycon Ire...
Prometheus: A Next Generation Monitoring System (FOSDEM 2016)
Prometheus Course from beginners to expert course
Prometheus @ Proteus Operations
Monitoring Hadoop with Prometheus (Hadoop User Group Ireland, December 2015)
Prometheus workshop
Monitoring Cloud Native Applications with Prometheus
Prometheus (Monitorama 2016)
Monitoring with prometheus at scale
Monitoring with prometheus at scale

More from wyukawa (16)

PDF
Presto conferencetokyo2019
PDF
Strata2017 sg
PDF
Azkaban-en
PDF
Promcon2016
PDF
Prometheus london
PDF
Presto in my_use_case2
PDF
My ambariexperience
PDF
Upgrading from-hdp-21-to-hdp-24
PDF
Presto in my_use_case
PDF
Hive sourcecodereading
PPT
Hdfs write
PDF
Osc mercurial-public
PDF
Dvcs study
PDF
Hudson study-zen
PDF
Shibuya.trac.8
KEY
Hudson tanabata.trac
Presto conferencetokyo2019
Strata2017 sg
Azkaban-en
Promcon2016
Prometheus london
Presto in my_use_case2
My ambariexperience
Upgrading from-hdp-21-to-hdp-24
Presto in my_use_case
Hive sourcecodereading
Hdfs write
Osc mercurial-public
Dvcs study
Hudson study-zen
Shibuya.trac.8
Hudson tanabata.trac

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
OOP with Java - Java Introduction (Basics)
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
composite construction of structures.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Geodesy 1.pptx...............................................
PPT
Project quality management in manufacturing
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
OOP with Java - Java Introduction (Basics)
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Lesson 3_Tessellation.pptx finite Mathematics
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Model Code of Practice - Construction Work - 21102022 .pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
additive manufacturing of ss316l using mig welding
Foundation to blockchain - A guide to Blockchain Tech
composite construction of structures.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Geodesy 1.pptx...............................................
Project quality management in manufacturing
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx

Prometheus