mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[PR #367] [MERGED] Record total tasks processed/failed #722
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#722
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/367
Author: @hibiken
Created: 12/17/2021
Status: ✅ Merged
Merged: 12/17/2021
Merged by: @hibiken
Base:
master← Head:feat/total_counters📝 Commits (5)
d9d4280Add ProcessedTotalKey and FailedTotalKey to base packageff0ac4fUpdate rdb package to record total processed/failed countersb652767Add ProcessedTotal and FailedTotal fields to QueueInfo1b5e9e3(x/metrics): Export total tasks processed/failed counter metricse711293Minor doc fix📊 Changes
10 files changed (+383 additions, -96 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
inspector.go(+23 -16)📝
inspector_test.go(+35 -17)📝
internal/base/base.go(+16 -0)📝
internal/base/base_test.go(+34 -0)📝
internal/rdb/inspect.go(+36 -26)📝
internal/rdb/inspect_test.go(+60 -30)📝
internal/rdb/rdb.go(+74 -6)📝
internal/rdb/rdb_test.go(+78 -1)📝
x/metrics/metrics.go(+26 -0)📄 Description
This change allows metrics exporter to simply read in and export this counter.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.