How to Monitor Nginx with Prometheus and Grafana? (Step-by-Step - Install - Monitor - Fluentd)

preview_player
Показать описание

▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬

▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Intro
3:05 Install Nginx
5:02 Expose Basic Nginx Metrics
6:29 Install Nginx Prometheus Exporter
8:13 Install Prometheus
10:29 Install Grafana
12:26 Install Fluentd
14:54 Create Simple Flask App

▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬

#Nginx #Prometheus #DevOps
Рекомендации по теме
Комментарии
Автор

Thanks. Your posts videos are very useful when trying other monitoring tools and approaches!

alexr
Автор

It's a very good video, very clean and organized.

ferd_ribeiro
Автор

Thanks Great Video as always, lot of learning

chasim
Автор

Excellent tutorial and I have implemented as it is and worked like charm. Keep going bro.

pjj
Автор

I misspoke; this particular nginx prometheus exporter must be installed on the same VM compared to the kafka exporter, where you can specify multiple brokers.

AntonPutra
Автор

Hi @Anton Putra,

Could you please make a similar video on k8s cluster to monitor Nginx with Prometheus and Grafana using fluentd.! It would be of great help.

rohithmn
Автор

fluentd is resource hungry.
The CPU usage slowly kept rising over 8-9 hours and suddenly spiked the memory from 1G to 8G crashing the nginx server itself causing downtime in production.
This happened when the nginx server was handling just 5-6RPS.

TheArpitkoberoi
Автор

Great video, can you make a video how to do something similar with nginx-ingress in K8s? I think it will be very useful

andriimulyk
Автор

Very nice tutorial, thanks 👍
Side note: I'm just wondering why you don't use Ansible or any other CM (config management) tool to install and configure all the dependencies ?!?

davidef.
Автор

Great video @anton
Can you make a video on how to set up this solution on EKS?

nforlife
Автор

Hi. Can you explain how can we setup the terraform locally without the AWS please?
Thak you.

antgod
Автор

Hello, can u give a dashboard example for "latency traffic" like in this video??

*Sorry for my bad english

fazlurrahmatullah
Автор

Amazing video, thank you!

I have the following error while importing the 2nd group of panels:

"Failed to upgrade legacy queries Datasource r_9gjRp4z was not found"

how can i fix it? thanks

MeroCasulli
Автор

Which capability Fluntbit does not have? Can you bit more clear on it please.
Fluentbit which run as daemon set, hence should be able to read parse the log stream of Nginx?

SanjeevKumar-nqtd
Автор

@Anton Putra Nice video content. Followed through but noticed at the end that the imported fluentd dashboard failed with the error `Templating Failed to upgrade legacy queries` and was not able to display anything. Any idea what could be the problem as other dashboard i imported via ID worked fine or is there a way to convert from JSON to ID?

samuelude
Автор

using docker-compose would have been a massive time and complexity saver in this project.

mechrono
Автор

I find it hard to understand your pwd as it's not shown in the terminal :(

Otherwise awesome material thanks Anton!

nahuszna
Автор

how to install set-alert? is the method the same as the Prometheus set-alert in general?

fazlurrahmatullah
Автор

Возможна высокая кардинальность метрик по path

eugenechernyshenko
Автор

hi your dashboard no this in the github repository

gabrielarispe