-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#495): Add monitoring for claimable rewards and vehnt
- Loading branch information
1 parent
cff8984
commit dbd2f96
Showing
16 changed files
with
587 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import client from "prom-client"; | ||
|
||
export const register = new client.Registry(); | ||
export const totalRewardsGauge = new client.Gauge({ | ||
name: "total_rewards", | ||
help: "Total number of rewards", | ||
labelNames: ["dnt_mint"], | ||
}); | ||
register.registerMetric(totalRewardsGauge); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.