mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 02:35:09 +02:00
Fix self stake in prometheus output
This commit is contained in:
parent
a4303af2c8
commit
c1acb23b48
@ -749,8 +749,8 @@ apiRouter.get("/prometheus/:orchAddr", async (req, res) => {
|
||||
}
|
||||
// Add O self stake
|
||||
if (orchObj.delegator && orchObj.delegator.bondedAmount){
|
||||
outputString += "# HELP orchestrator_total_stake Self stake of this Orchestrator.\n";
|
||||
outputString += "# TYPE orchestrator_total_stake gauge\norchestrator_total_stake";
|
||||
outputString += "# HELP orchestrator_self_stake Self stake of this Orchestrator.\n";
|
||||
outputString += "# TYPE orchestrator_self_stake gauge\norchestrator_self_stake";
|
||||
outputString += orchObj.delegator.bondedAmount + "\n\n";
|
||||
}
|
||||
// Add O total fees earned in eth
|
||||
|
Loading…
x
Reference in New Issue
Block a user