Custom metrics for applications in Prometheus on Kubernetes

Опубликовано: 16 Октябрь 2024
на канале: That DevOps Guy
19,130
452

Subscribe to show your support! https://goo.gl/1Ty1Q2 .
Patreon 👉🏽  / marceldempers  

Checkout the source code below 👇🏽 and follow along 🤓

Also if you want to support the channel further, become a member 😎
https://marceldempers.dev/join

Checkout "That DevOps Community" too
https://marceldempers.dev/community

Source Code 🧐
--------------------------------------------------------------
https://github.com/marcel-dempers/doc...

Checkout my Datree video
------------------------------------------
👉🏽    • Detect Kubernetes misconfigurations b...  

Introduction to Service Monitors
👉🏽    • Introduction to Service monitors for ...  

How to monitor Kubernetes in 2022
👉🏽    • How to Monitor a Kubernetes Cluster i...  

If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)

Kubernetes Guide for Beginners:
---------------------------------------------------
   • Kubernetes development guide for begi...  

Kubernetes Monitoring Guide:
-----------------------------------------------
   • Kubernetes Monitoring guide for begin...  

Kubernetes Secret Management Guide:
--------------------------------------------------------------
   • Kubernetes Secret Management guide be...  

Like and Subscribe for more :)

Follow me on socials!
https://marceldempers.dev
Twitter |   / marceldempers  
GitHub | https://github.com/marcel-dempers
Facebook | http://fb.me/thatdevopsguy
LinkedIn |   / marceldempers  
Instagram |   / thatdevopsguy  

Music:
Track: JOURNAL - Dream of you | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
Listen:   / dreamofyou  

Track: Loxbeats - Surface | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
Listen:   / surface  

Track: Reckoner - lofi hip hop chill beats for study~game~sleep | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
Listen:   / reckoner-lofi-hip-hop-chill-beats-for-stud...  

Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (https://creativecommons.org/licenses/...)
Listen:   / parallel  

Timestamps
00:00 Introduction - agenda
00:46 Overview
01:14 Source Code
02:55 Datree sponsor
04:22 Three High level components
05:25 Applications - add metrics
08:39 Starting applications with compose
10:00 Monitoring components
12:08 Create Kubernetes cluster
13:08 kube prometheus deployment
15:08 Grafana Dashboards
16:53 Deploy prometheus
19:26 Deploy service monitor
21:03 Deploy our application
22:10 Bringing it together
06:46
08:23 Check the Install
08:53 View Grafana and Prometheus Dashboards
10:00 Deploy a Prometheus
12:41 Deploy a Service Monitor
15:32 Deploy an Example Application to scrape
18:06 Check Prometheus results