Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
manustars authored May 9, 2024
1 parent 4923737 commit cf46826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async function refreshMetrics() {
data.miningRigs.forEach(rig => {
if (rig.v4 && rig.v4.mmv) {
rigStatusTime.labels(rig.v4.mmv.workerName, rig.rigId).set(rig.statusTime);
rigStatusInfo.labels(rig.v4.mmv.workerName, rig.minerStatus).set(rig.StatusInfo);
rigStatusInfo.labels(rig.v4.mmv.workerName, rig.rigId).set(rig.minerStatus);

(rig.v4.devices || []).forEach((device, index) => {
console.log("Device", index + 1, ":", device);
Expand Down

0 comments on commit cf46826

Please sign in to comment.