Nest.js Metrics - Prometheus & Grafana Tutorial

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • We look at how to expose metrics for our Nest.js server and get them scraped by Prometheus. We also set up a Grafana server using Helm & Kubernetes to view the metrics.
    GitHub Repo: github.com/mguay22/nestjs-met...
    Nest.js Prometheus: github.com/willsoto/nestjs-pr...
    Nest.js Starter: github.com/mguay22/nestjs-sta...
    Dockerize Nest.js: • Build Nest.js Microser...
    My productivity app Thrive on iOS & Android. It tracks your to-dos, habits & goals.
    iOS: apps.apple.com/us/app/thrive-...
    Android: play.google.com/store/apps/de...
    Web: www.thriveapp.one/
    Get my highly-rated Udemy courses at a discount here: michaelguay.dev/udemy/
    Timestamps
    00:00:00 Introduction
    00:01:05 Add Metrics
    00:06:25 Helm Chart & Prometheus
    00:19:03 Grafana Dashboard
  • Věda a technologie

Komentáře • 31

  • @mguay
    @mguay  Před rokem +3

    Get my highly-rated Udemy courses at a discount here: michaelguay.dev/udemy/

  • @miguelacosta707
    @miguelacosta707 Před rokem +2

    Great video, just what I was looking for. I've been trying to monitor multiple applications in NestJS, and until now, I didn't quite understand how to do it. But when I found this video and how @mguay explains it, it's super easy and straightforward. Thank you!

  • @MartinPerez-mi1ty
    @MartinPerez-mi1ty Před rokem +1

    Your channel is gold, grettings from Peru

  • @OutrageCustodian
    @OutrageCustodian Před rokem

    Hey man. I have been waiting for you to do this
    I think I commented with my other account and requested for this particular tutorial. DREAM COME TRUE

  • @AnlGUNDAL
    @AnlGUNDAL Před rokem

    You are amazing man, you help me a lot in learning programming. I can't thank you enough.

  • @MrOrrGoren
    @MrOrrGoren Před rokem +3

    Great video, went through every step and everything worked perfectly!
    I would love to see a video explaining how we can achieve the same deployment but with one of the large cloud services (AWS, Azure, etc.)
    Thanks!

  • @a.nk.r7209
    @a.nk.r7209 Před rokem

    this is something cool. I've been following you and this is really nice to see in prod apps.

  • @kirakira160
    @kirakira160 Před rokem

    Golden Man and Golden Content!! More Videos Please

  • @user-xn3kc3sz5p
    @user-xn3kc3sz5p Před rokem

    Great content. Really helpful

  • @natin56y
    @natin56y Před rokem

    Great video, love it!

  • @TharinduPerera-pc1ir
    @TharinduPerera-pc1ir Před rokem

    Great stuff mate.

  • @inanesilence
    @inanesilence Před 8 měsíci

    Amazing video, waiting integration with Grafana Loki!

  • @prideselim1267
    @prideselim1267 Před rokem

    Thank you, very helpful

  • @jagajaga6908
    @jagajaga6908 Před 3 měsíci

    thank you! amazing video!

  • @monawwarabdullah7438
    @monawwarabdullah7438 Před rokem

    your videos are awesome

  • @carantesferreira
    @carantesferreira Před rokem

    Great content! Only missed a step to create a tunnel to the Kubernetes service to be able to access it from the localhost.

  • @mark8132
    @mark8132 Před rokem

    Hi thanks for the great content quick question why not use morgan instead of the logging interceptor

  • @metatronicx
    @metatronicx Před rokem +1

    great content. how in the first place did you setup the k8s cluster on your local machine ?

  • @paneurhythmie
    @paneurhythmie Před rokem +3

    Great content. Could you plase make a tutorial about fulltext search with Nestjs and Elasicsearch? This will be great.

    • @mguay
      @mguay  Před rokem

      Thanks, I have a video out already using Filebeat.

  • @eyalbor1
    @eyalbor1 Před 11 měsíci

    When we have some microservice, how we are monitoting each of them and scale? What is the architecture? we need that each service will have metric route for other monitoring ms, then will decide how to scale. how can we do it in the best practice?

  • @katherinmumbunan9916
    @katherinmumbunan9916 Před rokem

    hi there.. was there ever failed when doing Docker push? I'm always getting a denied message even after logging to Docker account

  • @dailydevtips
    @dailydevtips Před rokem +1

    Great content. Please share a link to the repository

    • @mguay
      @mguay  Před rokem

      In the description!

  • @user-dn3rv3rm9i
    @user-dn3rv3rm9i Před rokem

    Hello! Very cool content. Please, help me. How i can change instance name, i don't have see endpoint, i have see name app?

  • @deltagamma1442
    @deltagamma1442 Před 4 měsíci

    Can we use with built in logs?

  • @MdMehediHasan-iq9xm
    @MdMehediHasan-iq9xm Před rokem

    how to run this without kubernetes? with only docker?

  • @aghorastore
    @aghorastore Před rokem +1

    Have someone the issue that prometheus does not received de metrics to export to grafana?