DevOps

DevOps

April 12, 2025

High-Cardinality Metrics: Detection and Optimization in Prometheus and VictoriaMetrics

I remember the first time my Prometheus instance crashed spectacularly after I added a new exporter. The logs screamed about “out of memory” errors, and my Grafana dashboards turned into ghost towns. After some frantic debugging, I discovered the culprit: high-cardinality metrics. In this guide, I’ll share practical techniques I’ve learned for identifying and optimizing these metric monsters in both Prometheus and VictoriaMetrics. 💡 Pro Tip: High-cardinality metrics are like uninvited guests at a party - they consume all your resources and leave you with a mess to clean up.

May 1, 2019

Monitor your applications easily with Grafana and Prometheus

1. What is Prometheus & Grafana? Prometheus is a monitoring system which collects metrics from applications easily. Grafana is a user-friendly visualization project which transforms the metrics collected before into amazing charts. In this article, you will learn how to connect prometheus to grafana using a docker compose file. 2. Requirements Install docker Install docker compose Golang >= 1.08 3. Create your application If you want to get metrics from your application, the first step is to add prometheus to your application code.

December 20, 2017

Docker Compose Tutorial

If you are tired of configuring your docker containers every time you want to run it, docker compose is the solution. Docker compose is a tool that will read a configuration file, and will translate it to docker command easily. If you like this article, leave a comment and share it with your friends :) Requirement For this tutorial, you need a linux machine. I am using an Orangepi server because it is very performant and affordable.

DevOps
August 23, 2015

Introduction to Docker

Docker is a new open-source project that makes deployment of applications easier. The idea of this technology is very simple : “the application runs inside a software container. This container is acting like a mini Operating System”. Basics are very similar to Virtual machine : An OS is running independently of host’s OS. Networking is working using bridges… Docker is using 2 terms : image and container: An image is a packaged application that is not running.

August 22, 2015

My First Post

Hi, This is my first post. I’m computer and communication engineering student at INSA Toulouse. I’m interested in programming in : Java , C , Go lang and Javascript… Also, I’m interested in Android development , Web apps, and Security DevOps, and Linux Administration. I would like to use this blog to share information about computer science. Android development My Future posts will be related to these subjects. My tutorials will be focused on simplifying and coding android applications efficiently.