RousselTMLEARNING

Article · Alloy: From Discovery to Expertise

Internal Architecture

3. Internal architecture #

Components, services, and the Directed Acyclic Graph (DAG).

The DAG at the core of the system #

Alloy's internal architecture is based on a Directed Acyclic Graph (DAG). Each configuration block (e.g., discovery, scraping, forwarding) is a component (a node in the graph). Alloy automatically determines the execution order and dependencies between these components. If the configuration changes, only the affected components are reloaded, without restarting the whole process.


Best Practice: Favor splitting your configurations into multiple small River files rather than one huge file. Alloy can load an entire directory, which facilitates organization by team or domain.
Common Mistake: Manually restarting the service (systemctl restart alloy) for every configuration change. Use the hot-reload API instead to apply changes without service interruption.
# Loading an entire directory (more modular)
alloy run /etc/alloy/config.d/

# Hot-reloading the configuration
curl -X POST http://localhost:12345/-/reload

📄 Grafana Alloy: Introduction and Architecture →

My progress

  • ⏱ Estimated time : ≈ 3 min

Sign in to track your progress and take notes. Sign in

💬 Ask a question

Course Glossary

Grafana Alloy

An open-source, vendor-neutral telemetry collector designed to replace Grafana Agent, fully compatible with OpenTelemetry (OTel).

Recommended Articles

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

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

OpenTelemetry Collector, Grafana Alloy et Bindplane : comparer trois approches des pipelines de télémétrie

Comparatif détaillé de trois façons de gérer des pipelines de télémétrie : l'OpenTelemetry Collec...

Grafana Alloy vs OpenTelemetry Collector: Which One Should You Choose?

A detailed comparison between Grafana Alloy and the OpenTelemetry Collector. Discover the strengt...

Grafana Alloy vs Dynatrace ActiveGate: Which to choose?

Comparison between Grafana Alloy and Dynatrace ActiveGate. Understand the fundamental differences...

Grafana Alloy vs Grafana Agent vs Promtail : Lequel choisir ?

Découvrez l'évolution des collecteurs de télémétrie de l'écosystème Grafana. Comparatif détaillé ...

La stack LGTM (Loki, Grafana, Tempo, Mimir) : architecture et mise en place

Comprendre la stack LGTM de Grafana Labs : Loki pour les logs, Grafana pour la visualisation, Tem...

Grafana Alloy : Collecte et Transformation de Télémétrie

Apprenez à utiliser Grafana Alloy pour collecter, transformer et acheminer logs, métriques et tra...

Grafana Alloy: The importance of Self-Monitoring

Discover why and how to configure Grafana Alloy so that it monitors itself, collecting its own lo...

Grafana Faro : architecture et installation

Installer Grafana Faro : le SDK web (npm ou CDN), le récepteur faro.receiver d'Alloy, l'envoi ver...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!