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