Prometheus Monitoring - Steps to monitor third-party apps using Prometheus Exporter | Part 2

TechWorld with Nana September 25, 2020
Video Thumbnail
TechWorld with Nana Logo

TechWorld with Nana

@techworldwithnana

About

Helping millions of engineers to advance their careers with DevOps & Cloud education 💙 I create new videos every month, topics include mainly DevOps and Cloud tutorials. Subscribe and activate bell notification so you don't miss new videos :) I'm a Docker Captain, AWS Container Hero 🤓 💪 ► https://www.techworld-with-nana.com/ Some topics covered: - Docker - Kubernetes - CI/CD - GitLab CI, GitHub Actions, Jenkins - Python - Ansible - Prometheus Monitoring - Terraform - YAML - & more! Have fun watching my videos! 🙂

Video Description

► Part of the DevOps Bootcamp 🚀 More infos here: https://bit.ly/3q9iWly Learn how to monitor any third-party application in Kubernetes using Prometheus Monitoring | MongoDB Exporter | Service Monitor and Service Discovery explained | Grafana ► Thanks Okteto for sponsoring this video! ► Get a 2 months free trial for Okteto Cloud Pro Plan here: https://cloud.okteto.com/#/promo/NANA2020 🚀 Full Prometheus Monitoring Tutorial: ► Prometheus explained: https://youtu.be/h4Sl21AKiDg ► Demo Part 1: Setup Prometheus Monitoring on Kubernetes using Prometheus Operator: https://youtu.be/QoDqxm7ybLc Demo Part 2: this video In this Prometheus Monitoring Tutorial I show you how to monitor a third party application, like Mysql, Mongodb, Redis or any other service running in your Kubernetes cluster using Prometheus Monitoring. I personally think this is a complex topic, simply because there are so many options and combinations of doing it and it’s also very badly documented. So it’s difficult to get a clear picture of how it works. And this is exactly what I want to address with this video. I will give you a good overview of all the different options and clear image of steps required to set up the monitoring. So no matter what application you have, you will know exactly how to configure its metrics collection for Prometheus. And here is what we are gonna do: * First we will deploy a Prometheus Operator in our Minikube cluster using a helm chart - this is a pretty easy step (Part 1 of demo!) * Second we will deploy a MongoDB application as an example * and then we will configure our MongoDB application for Prometheus monitoring using a MongoDB exporter I explain all the concepts, including Exporter, ServiceMonitor and so on as we go through the setup. So you understand with every step exactly what we are doing. ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 0:00 - Intro 0:13 - Steps to monitor MongoDB (or any other third party application) metrics 2:06 - Prometheus Operator deployed - recap of part 1 5:13 - Service Monitor - How Prometheus discovers new targets? 8:10 - Deploy MongoDB application (Deployment and Service component) 8:56 - MongoDB Exporter - exposing MongoDB metrics 09:28 - What is a Exporter? 12:32 - 3 components you need when deploying an Exporter 13:40 - Deploy MongoDB Exporter using Helm Chart 19:37 - Check /metrics endpoint of MongoDB Exporter 20:35 - See new target in Prometheus UI 21:17 - See MongoDB metrics data in Grafana UI ▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬ Git Repo ► https://gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/prometheus-exporter Official Prometheus Exporters List ► https://prometheus.io/docs/instrumenting/exporters/ #prometheus #prometheusmonitoring #devops #techworldwithnana ▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬ Full Kubernetes and Docker tutorial ► https://bit.ly/2YGeRp9 Complete Jenkins Pipeline Tutorial ► https://youtu.be/7KCS70sCoK0 DevOps Tools, like Ansible, Terraform ► https://bit.ly/2W9UEq6 ▬▬▬▬▬▬ Maybe interesting for you 😎 ▬▬▬▬▬▬ 30% off Udemy course Logging in K8s with EFK stack ► https://bit.ly/2IkzZez Kubernetes 101 - cheatsheet for your work (handy ebook bundle) ► https://bit.ly/3mPIaiU ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬ Join private Facebook group ► https://bit.ly/32UVSZP Don't forget to subscribe ► https://bit.ly/3mO4jxT DEV ► https://bit.ly/3h2fqiO INSTAGRAM ► https://bit.ly/2F3LXYJ TWITTER ► https://bit.ly/3i54PUB LINKEDIN ► https://bit.ly/3hWOLVT

You May Also Like

Transform Your Space Today

AI-recommended products based on this video

Loading...
Command Medium Picture Hanging Strips [Removable]: 12 Pairs (White)

Command Medium Picture Hanging Strips [Removable]: 12 Pairs (White)

(23,669)
$10.38
FREE delivery Mon, Sep 15 on your first order
5K+ bought in past month
Loading...
RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

(190)
$36.09
Prime
2K+ bought in past month
Loading...
TOPTHY Perfume Travel Spray Bottle Atomizer - 5ML Atomizer Perfume Bottle, Scent Pump Case, Luxury Leakproof Refillable Perfume Spray Bottle for Women and Men(Champagne Gold)

TOPTHY Perfume Travel Spray Bottle Atomizer - 5ML Atomizer Perfume Bottle, Scent Pump Case, Luxury Leakproof Refillable Perfume Spray Bottle for Women and Men(Champagne Gold)

(30)
$8.99
FREE delivery Sat, Jun 14 on your first order
Loading...
100FT Garden Hose - 2025 New Version Expandable Garden Hose with 10 Function Spray Nozzle, 3/4" Brass Fittings and 4-Layer Latex Core, Lightweight, Durable, No-Kink Flexible Water Hoses (Black Gold)

100FT Garden Hose - 2025 New Version Expandable Garden Hose with 10 Function Spray Nozzle, 3/4" Brass Fittings and 4-Layer Latex Core, Lightweight, Durable, No-Kink Flexible Water Hoses (Black Gold)

(132)
$53.95
FREE delivery Sun, Jun 22
1K+ bought in past month
Loading...
50FT Garden Hose - 2025 New Version Expandable Garden Hose with 10 Function Spray Nozzle, 3/4" Brass Fittings and 4-Layer Latex Core, Lightweight, Durable, No-Kink Flexible Water Hoses (Black Gold)

50FT Garden Hose - 2025 New Version Expandable Garden Hose with 10 Function Spray Nozzle, 3/4" Brass Fittings and 4-Layer Latex Core, Lightweight, Durable, No-Kink Flexible Water Hoses (Black Gold)

(112)
$33.95
FREE delivery Sun, Jun 15 on your first order
2K+ bought in past month
Loading...
LEGO Icons Bonsai Tree Building Set - Artificial Bonsai Tree Plants for Home Decor, Adults Ages 18+ - Faux, Fake Plants for Table, Desk, Office - Birthday Gift for Men & Women - 10281

LEGO Icons Bonsai Tree Building Set - Artificial Bonsai Tree Plants for Home Decor, Adults Ages 18+ - Faux, Fake Plants for Table, Desk, Office - Birthday Gift for Men & Women - 10281

(22,441)
$59.99
PrimeFREE delivery Sat, Jun 14
600+ bought in past month
Loading...
2 Pack Outdoor Solar Firework Lights, 240 LED Solar Powered Hanging Lights Outdoor Waterproof Hanging Fairy Garden Lights Landscape Lights(Warm White)

2 Pack Outdoor Solar Firework Lights, 240 LED Solar Powered Hanging Lights Outdoor Waterproof Hanging Fairy Garden Lights Landscape Lights(Warm White)

(41)
$25.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month