mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 10:55:09 +02:00
Fix using correct orch name for test stream results
This commit is contained in:
parent
5bac6c996d
commit
03559c49f4
@ -455,6 +455,7 @@ Main Loop
|
|||||||
const updateScore = async function (address) {
|
const updateScore = async function (address) {
|
||||||
console.log("Checking for new scores for " + address);
|
console.log("Checking for new scores for " + address);
|
||||||
const thisInstances = orchCache[address.toLowerCase()].instances;
|
const thisInstances = orchCache[address.toLowerCase()].instances;
|
||||||
|
const thisName = orchCache[address.toLowerCase()].name;
|
||||||
const lastTime = orchCache[address.toLowerCase()].leaderboardResults.lastTime;
|
const lastTime = orchCache[address.toLowerCase()].leaderboardResults.lastTime;
|
||||||
|
|
||||||
let url =
|
let url =
|
||||||
@ -489,7 +490,7 @@ const updateScore = async function (address) {
|
|||||||
promLatestRTR.set(
|
promLatestRTR.set(
|
||||||
{
|
{
|
||||||
livepeer_region: instance.region,
|
livepeer_region: instance.region,
|
||||||
orchestrator: address,
|
orchestrator: thisName,
|
||||||
latitude: latitude,
|
latitude: latitude,
|
||||||
longitude: longitude,
|
longitude: longitude,
|
||||||
},
|
},
|
||||||
@ -498,7 +499,7 @@ const updateScore = async function (address) {
|
|||||||
promLatestSuccessRate.set(
|
promLatestSuccessRate.set(
|
||||||
{
|
{
|
||||||
livepeer_region: instance.region,
|
livepeer_region: instance.region,
|
||||||
orchestrator: address,
|
orchestrator: thisName,
|
||||||
latitude: latitude,
|
latitude: latitude,
|
||||||
longitude: longitude,
|
longitude: longitude,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user