Skip to content

Commit dcfde80

Browse files
Merge pull request #340 from genlayerlabs/docs/alloy-ui-troubleshooting
docs: add Alloy UI troubleshooting section to monitoring docs
2 parents 2e3d300 + ec5d1a1 commit dcfde80

1 file changed

Lines changed: 32 additions & 5 deletions

File tree

pages/validators/monitoring.mdx

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,17 +376,44 @@ Look for messages indicating successful batch sending (no error codes like 401,
376376
`instance="${NODE_ID}"` or `validator_name="${VALIDATOR_NAME}"`
377377
(example: `genlayer_node_uptime_seconds{instance="0xYourID"}`).
378378

379-
Troubleshooting
380-
- No local metrics:
379+
## Troubleshooting
380+
381+
### Using the Alloy UI
382+
383+
The Grafana Alloy service includes a built-in web UI for troubleshooting and monitoring the telemetry pipeline. Access it at:
384+
385+
```
386+
http://localhost:12345
387+
```
388+
389+
The Alloy UI provides:
390+
- **Targets view** (`/targets`): Shows the status of all scrape targets. Check if your node's metrics endpoint shows as **UP**.
391+
- **Graph view** (`/graph`): Explore and query collected metrics locally before they're forwarded.
392+
- **Component health**: View the status of all Alloy pipeline components (scrapers, relabelers, writers).
393+
394+
<Callout type="info">
395+
If metrics are not appearing in the central Grafana Cloud, first verify they show correctly in the local Alloy UI. This helps isolate whether the issue is with metrics collection or forwarding.
396+
</Callout>
397+
398+
### Common Issues
399+
400+
- **No local metrics**:
381401

382402
```bash copy
383403
curl http://localhost:9153/metrics
384404
```
385405

386406
— it should return Prometheus-formatted data.
387-
Authentication errors (401/403): Double-check CENTRAL_MONITORING_USERNAME, CENTRAL_MONITORING_PASSWORD, CENTRAL_LOKI_USERNAME, and CENTRAL_LOKI_PASSWORD in .env.
388-
No data pushed: Ensure URLs in .env have no trailing slash.
389-
Help: Share Alloy logs
407+
408+
- **Authentication errors (401/403)**: Double-check `CENTRAL_MONITORING_USERNAME`, `CENTRAL_MONITORING_PASSWORD`, `CENTRAL_LOKI_USERNAME`, and `CENTRAL_LOKI_PASSWORD` in `.env`.
409+
410+
- **No data pushed**: Ensure URLs in `.env` have no trailing slash.
411+
412+
- **Target showing DOWN in Alloy UI**: Verify your node is running and the ops port (9153) is accessible. Check that `NODE_METRICS_ENDPOINT` in `.env` is correct.
413+
414+
### Getting Help
415+
416+
Share Alloy logs when asking for assistance:
390417

391418
```bash copy
392419
docker logs genlayer-node-alloy

0 commit comments

Comments
 (0)