Monitoring and Observability
Overview
This guide covers how to set up monitoring and observability for your Aztec node using OpenTelemetry, Prometheus, and Grafana. Proper monitoring helps you maintain healthy node operations, diagnose issues quickly, and track performance over time.
This monitoring setup only works with the Docker Compose method of running your Aztec node.
Architecture
The monitoring stack uses three components working together:
- OpenTelemetry Collector: Receives metrics from your Aztec node via OTLP protocol
- Prometheus: Stores and queries time-series metrics data
- Grafana: Visualizes metrics with dashboards and alerts
Your Aztec node exports metrics to the OpenTelemetry Collector, which processes and exposes them in a format Prometheus can scrape. Prometheus stores the metrics as time-series data, and Grafana queries Prometheus to create visualizations and alerts.
Getting Started
Follow these guides in order to set up your complete monitoring stack:
- OpenTelemetry Collector Setup - Configure OTEL to receive metrics from your node
- Prometheus Setup - Set up Prometheus to store and query metrics
- Grafana Setup - Configure Grafana for visualization and alerting
- Complete Example and Troubleshooting - Full Docker Compose configuration and troubleshooting help
After completing the setup, you can explore the metrics your node exposes and create custom dashboards.