Skip to content
Portfolio

Portfolio

  • HomeLab
  • Monitoring
  • Gaming
  • LifeMetric
  • Website
  • Smart House
  • Git Hub
  • Commands
  • Materials
  • Practise
  • Courses
  • Resume

Introduction to the Prometheus Monitoring System | Key Concepts and Features

Get a quick high-level overview of the key concepts of the Prometheus monitoring system straight from the co-founder of Prometheus.

This video explains what Prometheus is, what the system architecture looks …
like, and what the main features and concepts are that make Prometheus-based monitoring so powerful: the dimensional data model, the text-based metrics transfer format, the PromQL query language, integrated alerting, and service discovery support.

Check my Prometheus training courses if you want to learn more:

https://training.promlabs.com/

Chapters:
00:00 Introduction
00:16 What is Prometheus?
00:47 System Architecture
02:44 Core Features Overview
02:56 Prometheus Data Model
05:11 Metrics Transfer Format
06:24 Query Language (PromQL)
08:30 Integrated Alerting
09:10 Service Discovery Support
10:00 Outro & PromLabs Prometheus Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Introduction to the Prometheus Monitoring System | Key Concepts and Features
Now Playing
Introduction to the Prometheus Monitoring System | Key Concepts and Features
Get a quick high-level overview of the key concepts of the Prometheus …
Get a quick high-level overview of the key concepts of the Prometheus monitoring system straight from the co-founder of Prometheus.

This video explains what Prometheus is, what the system architecture looks …
like, and what the main features and concepts are that make Prometheus-based monitoring so powerful: the dimensional data model, the text-based metrics transfer format, the PromQL query language, integrated alerting, and service discovery support.

Check my Prometheus training courses if you want to learn more:

https://training.promlabs.com/

Chapters:
00:00 Introduction
00:16 What is Prometheus?
00:47 System Architecture
02:44 Core Features Overview
02:56 Prometheus Data Model
05:11 Metrics Transfer Format
06:24 Query Language (PromQL)
08:30 Integrated Alerting
09:10 Service Discovery Support
10:00 Outro & PromLabs Prometheus Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Getting Started with Prometheus | Minimal Setup (Download, Config & Run)
Now Playing
Getting Started with Prometheus | Minimal Setup (Download, Config & Run)
This video shows you how to download, configure, and run Prometheus in …
This video shows you how to download, configure, and run Prometheus in a minimal way, only scraping itself and some demo targets.

Check my Prometheus training courses if you want to …
learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:
00:00 Introduction
00:44 Downloading Prometheus
01:16 Unpacking and Inspecting the Tarball
02:03 Configuring Prometheus
04:22 Command-Line Flags and Defaults
04:56 Running Prometheus
05:09 Web Interface
05:27 Targets Page
06:05 Querying Metrics with PromQL
07:18 Outro & PromLabs Prometheus Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Understanding Prometheus Metric Types | Meaning and Usage (Gauge, Counter, Summary, Histogram)
Now Playing
Understanding Prometheus Metric Types | Meaning and Usage (Gauge, Counter, Summary, Histogram)
This video explains the four different metric types in Prometheus: …
This video explains the four different metric types in Prometheus: Gauges, Counters, Summaries, and Histograms. It goes into the meaning of each type, explains how to use each type in …instrumentation, and how they show up in the exposition format. It also touches on what you have to watch out for when querying each metric type with PromQL.

Check my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Histograms vs. Summaries in the Prometheus documentation:

https://prometheus.io/docs/practices/histograms/

Chapters:
00:00 Introduction
00:25 Gauges
01:00 Gauge Instrumentation Methods
01:40 Gauges in the Exposition Format
01:50 Querying Gauges
02:05 Gauges Containing Timestamps
02:18 Counters
02:44 Counter Resets
02:56 Counter Instrumentation Methods
03:48 Counters in the Exposition Format
03:58 Querying Counters (absolute values vs. rates)
04:53 Summaries
05:05 Constructing Summaries
05:15 Summary Instrumentation Methods
05:37 Summaries in the Exposition Format
06:01 Querying Summaries
06:45 Histograms
07:10 Cumulative Histograms
07:48 Constructing Histograms
07:58 Histogram Instrumentation Methods
08:08 Histograms in the Exposition Format
09:05 Querying Histograms (percentile calculation using histogram_quantile() )
10:10 Average Request Latencies
10:29 Native Histograms
11:04 Outro & PromLabs Prometheus Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
PromQL Data Selection Explained | Selectors, Lookback Delta, Offsets, and Absolute "@" Timestamps
Now Playing
PromQL Data Selection Explained | Selectors, Lookback Delta, Offsets, and Absolute "@" Timestamps
In this video, I explain how Prometheus / PromQL data selection works …
In this video, I explain how Prometheus / PromQL data selection works in detail. I go into instant and range vector selectors, label matchers, the 5-minute lookback delta for instant …vector selectors, staleness markers and staleness handling, and then explain relative offsets and absolute “@” timestamps for selectors.

Check out my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

The Prometheus blog post about the “@” modifier, as mentioned in the video:

https://prometheus.io/blog/2021/02/18/introducing-the-@-modifier/

Chapters:
00:00 Introduction
00:49 Instant Vector Selectors
02:54 Label Matchers
04:32 Visualizing Instant Vector Selector Behavior (Lookback Delta)
06:01 Staleness Markers and Staleness Handling
07:33 Range Vector Selectors
08:56 Visualizing Range Vector Selector Behavior
09:26 Relative Offsets (“offset” Modifier)
10:02 Visualizing Offsets for Instant Vector Selectors
10:28 Offset Use Cases
11:07 Visualizing Offsets for Range Vector Selectors
11:17 Absolute Evaluation Timestamps (“@” modifier)
12:18 Visualizing Absolute Evaluation Timestamps
12:53 Syntactic Order for Modifiers
13:34 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Understanding Counter Rates and Increases in PromQL | Reset Handling, Extrapolation, Edge Cases
Now Playing
Understanding Counter Rates and Increases in PromQL | Reset Handling, Extrapolation, Edge Cases
In this video, I explain the exact value calculation behaviors of the …
In this video, I explain the exact value calculation behaviors of the rate(), irate(), and increase() functions in PromQL for computing rates of increase for counter metrics, show how they …are different, how they deal with counter resets, how and when they extrapolate values, and which one you should use.

Check out my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:
00:00 Introduction
00:45 Absolute Counter Values and Why We Want Rates
01:18 The Three Counter Increase Functions
02:36 Behavior of rate() and increase()
03:02 Handling Counter Resets
04:41 Calculating the rate() and increase() Slope
05:08 Extrapolating the Return Value for the increase() Function
06:42 Confusing Extrapolation for Slow-Moving Counters
07:37 Limiting Extrapolation for Series Starting or Ending Under the Window
08:26 Limiting Extrapolation to Zero Sample Values
08:52 The irate() Function
09:59 Which Function Should You Use?
10:30 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Understanding "up" and Friends in Prometheus | Synthetic (Auto-Generated) Scrape Metrics
Now Playing
Understanding "up" and Friends in Prometheus | Synthetic (Auto-Generated) Scrape Metrics
In this video, I explain the various synthetic (or auto-generated) …
In this video, I explain the various synthetic (or auto-generated) metrics that Prometheus records for every target scrape: up, scrape_duration_seconds, scrape_samples_scraped, scrape_samples_post_metric_relabeling, and scrape_series_added. Where do they come from, what …do they mean, and what can you do with them?

Check my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Prometheus documentation on synthetic / auto-generated metrics:

https://prometheus.io/docs/concepts/jobs_instances/

Chapters:
00:00 Introduction
00:30 Prometheus Server Configuration
00:56 Inspecting Targets in Prometheus
01:20 Showing All Auto-Generated Metrics
02:25 The “up” Metric
03:47 Other Auto-Generated Metrics
05:13 Auto-Generated Metrics in the Prometheus Documentation
05:32 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Understanding Prometheus Histograms | Motivation and Concepts, Instrumentation, Querying in PromQL
Now Playing
Understanding Prometheus Histograms | Motivation and Concepts, Instrumentation, Querying in PromQL
In this video, I explain Prometheus histograms (for now only the …
In this video, I explain Prometheus histograms (for now only the “classic” ones that have been in Prometheus for around a decade – I will make a separate video about …the new “native” histograms once they are stable): What are histograms, why are they useful, how can you instrument your service code with histograms, how are histograms exposed as metrics to Prometheus, and how can we query them in PromQL to get quantiles/percentiles, heatmaps, request rates, or average request durations?

Link to the Prometheus histograms best practices:

https://prometheus.io/docs/practices/histograms/

Also check out my other Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:

00:00 Introduction
00:56 Motivation and histogram basics
01:22 Need to measure request durations / latency
01:37 Downsides of using event logging
01:56 Why a single gauge doesn’t help us
02:28 Downsides of using Prometheus summary metrics
03:09 Prometheus histogram example for tracking request durations
04:32 How can we expose histograms as time series to Prometheus?
05:11 Cumulative histogram representation
05:40 The special “le” (less-than-or-equal) bucket upper bound label
06:12 Time series exposed from a histogram metric
07:30 Instrumentation – adding histograms to your code
07:44 Adding histograms without additional labels
09:07 Adding histograms with additional labels
10:06 Querying histograms with PromQL
10:44 Querying all bucket series of a histogram
11:23 Querying percentiles / quantiles using histogram_quantile()
13:32 Using rate() or increase() to limit a histogram to recent increases
14:42 Controlling the smoothing time window
15:05 Aggregating histograms and percentiles over label dimensions
17:58 Errors of quantile calculation and bucketing schemas
19:27 Showing histograms as a heatmap
20:36 Querying request rates using _count
20:57 Querying average request durations using _sum and _count
21:28 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Creating Grafana Dashboards for Prometheus | Grafana Setup & Simple Dashboard (Chart, Gauge, Table)
Now Playing
Creating Grafana Dashboards for Prometheus | Grafana Setup & Simple Dashboard (Chart, Gauge, Table)
This video shows you how to use Grafana to build dashboards for …
This video shows you how to use Grafana to build dashboards for Prometheus. The video explains how to download and run Grafana, how to create a Prometheus data source in …Grafana, as well as how to create a dashboard with three basic panel types (time series chart, gauge, and table).

Check my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:
00:00 Introduction
01:08 Option A: Running Grafana Using Docker
01:43 Option B: Running Grafana Using Pre-Built Binaries
02:53 Logging Into Grafana
03:07 Creating a Prometheus Data Source
04:12 Creating a New Dashboard
04:30 Creating a Time Series Chart
08:28 Creating a Gauge Panel
09:55 Creating a Table Panel
12:13 Adding Rows to the Dashboard
13:22 Outro & PromLabs Prometheus Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Monitoring Linux Host Metrics with Prometheus | Node Exporter (Setup, Scrape, Query, Grafana)
Now Playing
Monitoring Linux Host Metrics with Prometheus | Node Exporter (Setup, Scrape, Query, Grafana)
In this video, I show you how you can use the Prometheus Node Exporter …
In this video, I show you how you can use the Prometheus Node Exporter to monitor Linux (or Unix) host metrics. We first download and run the Node Exporter and …then we monitor it with Prometheus. Then, we explore some of the available metrics in Prometheus and show how to import an exhaustive Node Exporter dashboard into Grafana.

Check my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:
00:00 Introduction
00:53 Downloading & Unpacking the Node Exporter
01:51 Node Exporter Command-Line Flags
03:48 Running the Node Exporter
04:04 Inspecting the Node Exporter’s /metrics Endpoint
04:51 Scraping the Node Exporter with Prometheus
05:50 Verifying Successful Target Scrapes
06:05 Querying Node Exporter Metrics (CPU & Network Usage)
08:24 Showing Host Metrics in Grafana
09:47 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Don't Make These 6 Prometheus Monitoring Mistakes | Prometheus Best Practices & Pitfalls
Now Playing
Don't Make These 6 Prometheus Monitoring Mistakes | Prometheus Best Practices & Pitfalls
In this video, I go through some of the biggest pitfalls you can run …
In this video, I go through some of the biggest pitfalls you can run into when you’re new to Prometheus, and I also explain how to avoid them.

Check out my …
Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Related PromLabs blog post about these pitfalls:

https://promlabs.com/blog/2022/12/11/avoid-these-6-mistakes-when-getting-started-with-prometheus

Chapters:
00:00 Introduction
00:22 Mistake 1: Cardinality Bombs
02:28 Mistake 2: Aggregating Away Too Many Labels
03:48 Mistake 3: Unscoped Metric Selectors
04:49 Mistake 4: Missing “for” Durations in Alerting Rules
06:52 Mistake 5: Too Short Rate Windows
08:36 Mistake 6: Using Functions With Incorrect Metric Types
10:20 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Exposing Custom Host Metrics Using the Prometheus Node Exporter | "textfile" Collector Module
Now Playing
Exposing Custom Host Metrics Using the Prometheus Node Exporter | "textfile" Collector Module
In this video, I explain how to use the Node Exporter’s “textfile” …
In this video, I explain how to use the Node Exporter’s “textfile” collector module to expose custom host metrics.

The textfile collector example scripts repository mentioned in the video:

…
https://github.com/prometheus-community/node-exporter-textfile-collector-scripts

Check out my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:
00:00 Introduction
00:35 “textfile” Collector Module Basics
01:45 Exposing a Custom Cron Job Metric
03:06 Generating Metric Text Files From Go
03:28 “textfile” Collector Example Scripts Repository
03:45 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Relabeling in Prometheus | Relabeling Architecture and Flow, Configuration, Examples, Debugging
Now Playing
Relabeling in Prometheus | Relabeling Architecture and Flow, Configuration, Examples, Debugging
In this video, I explain the concept of relabeling in Prometheus, a …
In this video, I explain the concept of relabeling in Prometheus, a powerful tool for filtering and transforming your flows of labeled objects in the Prometheus server. I go into …the motivation for relabeling, explain how relabeling fits into the main Prometheus configuration file, and then show how the relabeling steps and flow works. I also discuss the structure of a single relabeling rule, give several examples of relabeling rules, as well as show you how to debug your relabeling rules.

Learn about all relabeling actions in my free relabeling training:

https://training.promlabs.com/training/relabeling

Use the PromLabs Relabeler tool to visualize and debug your relabeling rules:

https://relabeler.promlabs.com/

Also check out my other Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:

https://training.promlabs.com/

Chapters:

00:00 Introduction
00:37 Motivation for relabeling
02:04 Relabeling in the Prometheus configuration file
03:09 Relabeling steps and flow
03:50 Relabeling rule structure and fields
04:44 Target metadata labels
06:07 The relabeling visualizer tool
06:32 Example 1: Setting a fixed label value
07:01 Example 2: Overriding the scrape port
08:04 Example 3: Mapping over label patterns
09:01 Example 4: Dropping scraped samples
09:35 Debugging relabeling rules
10:31 Outro & PromLabs Trainings

—————————————————————————
CREDITS: “Subscribe Button” by MrNumber112 https://youtu.be/Fps5vWgKdl0
Show More
Portfolio

Powered by WordPress

  • WordPress
  • Instagram
  • LinkedIn
  • GitHub
  • Mail