Skip to content

feat(metrics): add a sample grafana dashboard#1069

Open
unwrap-nicolas wants to merge 3 commits into
getfloresta:masterfrom
unwrap-nicolas:metrics/dashboards-for-grafana
Open

feat(metrics): add a sample grafana dashboard#1069
unwrap-nicolas wants to merge 3 commits into
getfloresta:masterfrom
unwrap-nicolas:metrics/dashboards-for-grafana

Conversation

@unwrap-nicolas
Copy link
Copy Markdown
Contributor

@unwrap-nicolas unwrap-nicolas commented May 17, 2026

Description and Notes

This PR adds a Grafana dashboard for local observability of a Floresta node running via Docker Compose, without any manual setup.

e.g.: https://dashboard-floresta.nicolasplusplus.xyz/d/floresta-node/floresta-node-metrics

  • Adds a dashboards provider at metrics/grafana/dashboards.yml and an initial dashboard at metrics/grafana/dashboards/floresta-dashboard.json.
  • Updates docker-compose.yml to mount Grafana provisioning and dashboards volumes and expose the UI on port 3000, keeping the Prometheus configuration as-is.
  • Adds a new utreexo_peer_count metric to make Utreexo peer connectivity visible in the dashboard — while testing locally, the terminal was showing "Not enough utreexo peers" errors repeatedly and there was no way to track this through the dashboard.

this PR depends on #834.
This work is based on the initial contribution by @rogeriob2br in #639.

How to verify the changes you have done?

  1. Start the stack:
docker compose up
  1. Open Grafana at http://localhost:3000/ (user: admin, password: grafana).
  2. Go to Floresta dashboard http://localhost:3000/d/floresta-node/floresta-node-metrics

@unwrap-nicolas unwrap-nicolas force-pushed the metrics/dashboards-for-grafana branch from 141d474 to fe8fc06 Compare May 17, 2026 14:30
@unwrap-nicolas unwrap-nicolas marked this pull request as draft May 17, 2026 14:36
@unwrap-nicolas unwrap-nicolas force-pushed the metrics/dashboards-for-grafana branch from 9605a28 to 773fe66 Compare May 17, 2026 15:12
@unwrap-nicolas unwrap-nicolas marked this pull request as ready for review May 17, 2026 16:23
@github-project-automation github-project-automation Bot moved this to Backlog in Floresta May 17, 2026
@luisschwab luisschwab moved this from Backlog to Needs review in Floresta May 17, 2026
unwrap-nicolas and others added 2 commits May 17, 2026 17:32
Co-authored-by: Rogério Ferreira <rogeriob2br@users.noreply.github.com>
@unwrap-nicolas unwrap-nicolas force-pushed the metrics/dashboards-for-grafana branch from 773fe66 to df0d794 Compare May 17, 2026 20:32
@csgui csgui moved this from Needs review to Backlog in Floresta May 18, 2026
@jaoleal
Copy link
Copy Markdown
Member

jaoleal commented May 26, 2026

@unwrap-nicolas needs rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants