Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebalancing rollout #91

Open
mliu-xlabs opened this issue Aug 11, 2023 · 3 comments
Open

Rebalancing rollout #91

mliu-xlabs opened this issue Aug 11, 2023 · 3 comments
Assignees

Comments

@mliu-xlabs
Copy link

Task
We implemented the feature of automatic rebalancing for the wallets but its currently disabled. This will be the rollout of the feature

  • requires testing
  • checking metrics
  • building dashboards
  • stress testing with volume and unbalanced wallets

This tracks with our OKRs

  • We can say uptime of the wallets
  • amount of time we have to manually add funds or manually rebalance
  • the number of alerts that we are getting today vs. what we are getting in the future
@mliu-xlabs
Copy link
Author

There are dependencies right now

@abhidtu2014
Copy link
Contributor

As discussed with @solanoepalacio, we will be working on below metrics (some of which are already in place):

  • expenditure by chain (exists)
  • expenditure by chain (usd)
  • rebalancing count (exists)
  • rebalancing errors
  • wallet-pool available wallets at any point in time

Derived metrics

  • For uptime of the wallets, we will try to derive it from number of active wallets per chain metrics
  • For number of alerts comparison: now vs then, we can use grafana to query alerts and create a pannel showing the alerts count for a time range and we should see how we get less balance alerts with time

Also, we will be adding these metrics in a new dashboard called "Relayer Accounts and Rebalancing".

cc: @mliu-xlabs

@abhidtu2014
Copy link
Contributor

Tested below metrics on testnet:

  • expenditure by chain
  • rebalancing count (exists)
  • rebalancing errors
  • wallet-pool available wallets at any point in time
  • wallet lock period per chain

Image
Image
Image

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

No branches or pull requests

2 participants