-
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.
Browse files
Browse the repository at this point in the history
* feat(#495): Add monitoring for claimable rewards and vehnt * Add dep * Update locks * Remove index
- Loading branch information
1 parent
cff8984
commit efc6813
Showing
20 changed files
with
1,929 additions
and
46 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
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); |
Oops, something went wrong.