[TP] Mise en place de l'environnement de test


Pour ce TP, nous allons présenter notre solution basée sur Vagrant pour créer en local un environnement de test.

What you will learn in this TP :

Oracle VM virtualbox

Nous allons utiliser Virtualbox pour déployer nos VMs de tests. Certains TPs seront fait sur Docker donc si vous avez déjà un moteur Docker vous pourrez l'utiliser au lieu de déployer une nouvelle VM.

Vous devez procéder à l'installation de Virtualbox en suivant la procédure correspondante à votre système :

https://www.virtualbox.org/wiki/Downloads

Hashicorp Vagrant

Nous allons utiliser Vagrant pour déployer automatiquement des environnements de tests. Pour en savoir plus sur Vagrant, vous pouvez suivre notre formation dédiée.

Vous devez procéder à l'installation de Vagrant en suivant la procédure correspondante à votre système :

https://developer.hashicorp.com/vagrant/install

Du concept à l'expertise

Nous avons préconfiguré un repo pour la formation.

  1. Repo git

    Vous pouvez utiliser la commande ci-dessous pour cloner le repo:

    git clone https://github.com/RousselTM/prometheus-formation
  2. Choix de l'environnement

    Les configurations des environnements de test se trouvent dans le dossier tp. Dans ce dossier il y a plusieurs sous dossiers chacun correspondant à un environnement de test : VM simple, VM avec Docker, VM avec application... En fonction du TP on précisera lequel utiliser:

    cd prometheus-formation/tp/REP
  3. Création de l'environnement

    Une fois dans le dossier qui correspond à l'environnement souhaité, vous pouvez lancer la création de l'environnement sur Virtualbox avec la commande Vagrant suivante

    vagrant up

Difficulty level: (1/5)

Course Glossary

Alerting

The process of notifying teams (via email, Slack, Teams) when a specific event, threshold breach, or anomaly is detected.

Architecture

The overall structural design of an IT system, defining its various components, their relationships, and the principles guiding its evolution.

OpenTelemetry

An open source framework providing standards, APIs, and SDKs to collect and export observability data (traces, metrics, logs) in an agnostic way.

Recommended Articles

License consumption types

Understand the evolution of billing in Dynatrace: the difference between the ...

Grafana Alloy: The importance of Self-Monitoring

Discover why and how to configure Grafana Alloy so that it monitors itself, c...

Grafana Alloy: Understanding and exploiting the User Interface (UI)

Discover how to enable, secure, and use Grafana Alloy's built-in web interfac...

Grafana Alloy: Introduction and Architecture

Discover the fundamental concepts of Grafana Alloy, the transition from the s...

Grafana Alloy: Syntax and Configuration (Alloy Language)

Master Grafana Alloy's declarative syntax (River language), learn to manipula...

Grafana Alloy: Metrics Collection (Prometheus & Ecosystem)

Learn how to configure Grafana Alloy to collect, transform, and forward metri...

Grafana Alloy: Log Management with Loki

Discover how to configure Grafana Alloy to read log files, journald, or netwo...

Grafana Alloy: Trace Management with Tempo

Dive into distributed trace processing. Learn how to ingest OTLP, Jaeger, or ...

Grafana Alloy: Continuous Profiling with Pyroscope

Discover how to configure continuous profiling in your environments using Gra...

Grafana Alloy: Advanced Deployment and Clustering

Learn how to manage large-scale Grafana Alloy deployments. Configure Clusteri...

Grafana Assistant: AI at the service of observability

Discover Grafana Assistant, the artificial intelligence integrated into Grafa...

Grafana Alloy vs Dynatrace ActiveGate: Which one to choose?

Comparison between Grafana Alloy and Dynatrace ActiveGate. Understand the fun...