🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@AntonPutra2 жыл бұрын
❤Part 2 - How to Build Custom Prometheus Exporter? - kzbin.info/www/bejne/aai3Ya2JqLaVa5o 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.
@bharatchopra72122 жыл бұрын
Another great video. Thanks Anton
@AntonPutra2 жыл бұрын
My pleasure!
@adibgasah35573 ай бұрын
Thanks. Your posts videos are very useful when trying other monitoring tools and approaches!
2 ай бұрын
Today is my first day at close-to-devops job and this video is helpfull.
@pjj746611 ай бұрын
Excellent tutorial and I have implemented as it is and worked like charm. Keep going bro.
@AntonPutra11 ай бұрын
❤️
@entretenimento_constante2 жыл бұрын
It's a very good video, very clean and organized.
@AntonPutra2 жыл бұрын
Thanks Ferdinando!
@chasim19822 жыл бұрын
Thanks Great Video as always, lot of learning
@AntonPutra2 жыл бұрын
Thanks Muhammad!
@TheArpitkoberoi Жыл бұрын
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.
Thanks. Your posts videos are very useful when trying other monitoring tools and approaches!
@AntonPutra2 жыл бұрын
Glad it was helpful!
@nforlife Жыл бұрын
Great video @anton Can you make a video on how to set up this solution on EKS?
@AntonPutra Жыл бұрын
Is there anything specific? Cause I have bunch of them on my channel if you search for Prometheus or Eks
@nforlife Жыл бұрын
I just figured out you have almost everything. Do you have a human brain or a chip 🤔 I was also wondering if you offer training in python programming for DevOps engineers
@mechrono95552 жыл бұрын
using docker-compose would have been a massive time and complexity saver in this project.
@AntonPutra2 жыл бұрын
sure, i have an example in the following video - github.com/antonputra/tutorials/blob/main/lessons/141/docker-compose.yaml
@samtx Жыл бұрын
@@AntonPutrahow to run docker compose on two nodes
@AntonPutra Жыл бұрын
@@samtx you can use minikube and spin up multiple nodes
@samtx Жыл бұрын
@@AntonPutra thx I was asking if docker swarm is need if to run dockercompose on multiple servers for hardware issues
@AntonPutra Жыл бұрын
@@samtx You could use Docker Swarm, but it has been outdated for a while. If you need container orchestration (running containers on multiple servers), consider using k8s (Kubernetes).
@congdatt9 ай бұрын
Keep it up bro !!!
@AntonPutra9 ай бұрын
Thanks! Will do
@rohithmn3378 Жыл бұрын
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.
@spuddyminer83472 ай бұрын
do you have any videos with explainer on why you use a different user for each process?
@cbabbx2 ай бұрын
In general you want to use a different user for each process for security reasons.
@spuddyminer83472 ай бұрын
assuming that it's because the program won't have permissions to make changes to my files that have permissions set so that other users can't open them...but they can still read my files. I guess there's probably some nuance here I'm missing that makes it worth it.
@nailsv5924 Жыл бұрын
Thank a lot, for this guide!
@AntonPutra Жыл бұрын
my pleasure!
@fazlurrahmatullah30178 ай бұрын
Hello, can u give a dashboard example for "latency traffic" like in this video?? *Sorry for my bad english
@AntonPutra8 ай бұрын
sure, here is source - github.com/antonputra/tutorials/tree/main/lessons/140/dashboards just import it
@nahuszna Жыл бұрын
I find it hard to understand your pwd as it's not shown in the terminal :( Otherwise awesome material thanks Anton!
@AntonPutra Жыл бұрын
Thanks for the feedback, I'll include them in the readme starting next video.
@antgod762 жыл бұрын
Hi. Can you explain how can we setup the terraform locally without the AWS please? Thak you.
@AntonPutra2 жыл бұрын
You can use "docker-compose up" instead. Terraform is to create AWS VPC and EKS,
@SanjeevKumar-nq8td2 жыл бұрын
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?
@AntonPutra2 жыл бұрын
I know, I just couldn't find the 3rd party plugin that i can use to parse logs and expose them as prometheus metrics. If you know one, please let me know.
@MeroCasulli Жыл бұрын
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
@AntonPutra Жыл бұрын
yes, can you try to update data source under settings (variables)
@samuelude685811 ай бұрын
@@AntonPutraWhat exactly to update, seems it's the same issue with mine.
@andriimulyk5752 жыл бұрын
Great video, can you make a video how to do something similar with nginx-ingress in K8s? I think it will be very useful
@AntonPutra2 жыл бұрын
Well, i have bunch of videos to monit nginx ingress including this one - kzbin.info/www/bejne/jJupd619e96Jors
@dAvid3_f Жыл бұрын
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 ?!?
@AntonPutra Жыл бұрын
Thanks, I do, maybe for other videos - github.com/antonputra/tutorials/tree/main/lessons/151/ansible
@samuelude685811 ай бұрын
@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?
@AntonPutra11 ай бұрын
try to update datasource or just create a new dashboard and import quiries
@samuelude685811 ай бұрын
@@AntonPutra thanks got it fixed already🙏
@pateldivya64229 ай бұрын
@@samuelude6858 Heyy! can you please say how you solve this? i got same error
@eugenechernyshenko49332 жыл бұрын
Возможна высокая кардинальность метрик по path
@AntonPutra2 жыл бұрын
Soglasen, but it's a good starting point
@yashwantpatil92306 ай бұрын
Thanks Anton
@AntonPutra6 ай бұрын
welcome!
@fazlurrahmatullah3017 Жыл бұрын
how to install set-alert? is the method the same as the Prometheus set-alert in general?
@AntonPutra Жыл бұрын
do you mean alertmanager? yes it's a binary, you can use systemd to manage it as well
@fazlurrahmatullah3017 Жыл бұрын
@@AntonPutra yes, that's what i mean thanks you
@AntonPutra Жыл бұрын
@@fazlurrahmatullah3017 you can scroll down antonputra.com/monitoring/install-prometheus-and-grafana-on-ubuntu/
@gabrielarispe7703 Жыл бұрын
hi your dashboard no this in the github repository
@AntonPutra Жыл бұрын
perhaps forgot to commit, but it's simple enough to recreate
@AdharshSreedharan Жыл бұрын
Great video thanks a lot
@AntonPutra Жыл бұрын
Thanks!
@VRT-y3f2 жыл бұрын
Здравствуй, а как настроить для всего nginx-са , а не только для твоего тестового flask приложения?
@AntonPutra2 жыл бұрын
Well, it's not only for the flask. You can use the path as a variable to switch between different upstream servers.
@VRT-y3f2 жыл бұрын
@@AntonPutra , а какую именно переменную ты имеешь в виду? value в json-е на гитхабе со значением /api/devices? Помоги пожалуйста, уже долго пытаюсь настроить мониторинг 4xx и 5xx ответов nginx-а в grafana, но пока без успешно.
@eugenegranovsky9439 Жыл бұрын
and what about monitoring nginx unit with prometheus and grafana?
@AntonPutra Жыл бұрын
Unit? I haven't used NGINX Unit directly, mostly ingress.
@vtvvnha22302 жыл бұрын
awesome
@AntonPutra2 жыл бұрын
Thanks!
@domingosdias598810 ай бұрын
Great!!!
@ziaurrehman47382 жыл бұрын
So fast as usual, hard to follow
@andrewm48942 жыл бұрын
I kinda like the speed, gets straight to it
@andrewm48942 жыл бұрын
Maybe try playback speed of 0.75 I tried it and seems like could help if you find it too fast
@AntonPutra2 жыл бұрын
You can follow the blogpost - antonputra.com/monitoring/monitor-nginx-with-prometheus/#intro
@mikoo19912 ай бұрын
Templating Failed to upgrade legacy queries this is what i get in grafana. 2024 october. maybe ur version of grafana is younger than mine