Skip to content

Create rebalances list and apply costs to graphs#517

Merged
markettes merged 3 commits into
mainfrom
feat/grafana-rebalances
May 28, 2026
Merged

Create rebalances list and apply costs to graphs#517
markettes merged 3 commits into
mainfrom
feat/grafana-rebalances

Conversation

@markettes
Copy link
Copy Markdown
Contributor

Introduce a rebalances list and integrate cost calculations into the graphs for improved data visualization.

@markettes markettes requested a review from Jossec101 May 19, 2026 10:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Grafana “Routing” dashboard to (1) introduce a diagnostic table of recent rebalance attempts and (2) incorporate rebalance fees (and existing swap-out costs) into APR/yield calculations via a new “Apply Rebalance Costs” toggle.

Changes:

  • Added “Apply Rebalance Costs” dashboard variable and integrated rebalance-fee subtraction into multiple APR/yield panels.
  • Updated APR computations to allocate node-level liquidity-management costs proportionally across channel pairs / peer pairs / channels / peers based on fee revenue.
  • Added a “Recent Rebalances (Diagnostic)” table and a new “Yield — Rebalance Diagnostics” row section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docker/grafana/provisioning/dashboards/routing.json
Comment thread docker/grafana/provisioning/dashboards/routing.json Outdated
@markettes markettes merged commit 56d9452 into main May 28, 2026
2 checks passed
@markettes markettes deleted the feat/grafana-rebalances branch May 28, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants