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

[Anchor] Expose metrics about Anker from maintenance daemon #458

Open
ruuda opened this issue Nov 16, 2021 · 1 comment
Open

[Anchor] Expose metrics about Anker from maintenance daemon #458

ruuda opened this issue Nov 16, 2021 · 1 comment
Milestone

Comments

@ruuda
Copy link
Contributor

ruuda commented Nov 16, 2021

The maintenance daemon monitors the on-chain Solido instance and exposes some info as Prometheus metrics. We should make it monitor the Anker instance as well, and expose its metrics.

@enriquefynn
Copy link
Member

As discussed off-channel.
We need a metric to know the price Anker sold stSOL rewards to especially know if we're being sandwiched ^^.
That can be done with two variables: st_sol_total_swaped_rewards and ust_total_swapped_rewards.
At every epoch we can subtract the new variables with the older one to know the swap price.

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