# Aztec Single Validator Metrics Let's go through a quick way to setup metrics using a local `grafana/otel-lgtm` backend. This particular dashboard is for testing purposes, and I hope it helps inspire better community submissions. If you have suggestions for metrics, please share in the discord! We're going to be following the tutorial from this grafana [blog post](https://grafana.com/blog/2024/03/13/an-opentelemetry-backend-in-a-docker-image-introducing-grafana/otel-lgtm/) ### Step 1: Pause your node If you're not already running a node then skip to step 2. If you are, this is a good time to stop your node. ### Step 2: Run the local grafana instance In your terminal, run: ```bash docker run -p 3000:3000 -p 4317:4317 -p 4318:4318 --rm -ti grafana/otel-lgtm ``` ![Screenshot 2025-03-18 at 4.14.38 PM](https://hackmd.io/_uploads/SknB4IvnJe.png) At this point you can navigate your browser to [https:localhost:3000](https:localhost:3000) and you'll see an empty Grafana screen. Tap import dashboard from the top right of your screen and paste the following ID: 23054 and hit load. Once you've imported the Aztec Validator dashboard, time to direct OpenTelemetry signals to the data sources. ### Step 3: Update your .env files Depending on your setup, use the following env variables: ```bash export OTEL_COLLECTOR_ENDPOINT="http://host.docker.internal:4318" export OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=$OTEL_COLLECTOR_ENDPOINT/v1/logs export OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=$OTEL_COLLECTOR_ENDPOINT/v1/metrics export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=$OTEL_COLLECTOR_ENDPOINT/v1/traces ``` and start your node! It takes a few minutes but you should start to see your node's metrics visualized.