Skip to content

Commit

Permalink
fix metrics name sendDailyDm.duration
Browse files Browse the repository at this point in the history
  • Loading branch information
PLhery committed Jun 23, 2023
1 parent 18cca62 commit f8be000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unfollow-ninja-server/src/tasks/sendDailyDM.ts
Expand Up @@ -96,7 +96,7 @@ export default class extends Task {
metrics.gauge('sendDailyDm.sent', dmSentCount);
metrics.gauge('sendDailyDm.attempt', dmAttemptCount);
metrics.gauge('sendDailyDm.unfollowers', unfollowersCount);
metrics.gauge('reenableFollowers.duration', Date.now() - job.processedOn);
metrics.gauge('sendDailyDm.duration', Date.now() - job.processedOn);
}

private generateMessage(
Expand Down

0 comments on commit f8be000

Please sign in to comment.