Commit e8c261d
committed
refactor(queue/mysql): clean up logging, metrics naming, and error handling
- Add queue_mysql_ prefix to all logger Named() and metrics SubScope()
calls for consistent scoping across stores
- Rename metrics field to scope, use metrics to refer to core/metrics package
- Remove redundant pre-operation debug logs (e.g. "inserting messages")
- Elevate "message not found for DLQ move" from Debug to Warn
- Remove redundant "subscription created" debug log
- Replace manual error tagging with core/metrics framework (Begin/Complete)
- Remove unused constants (tagErrorType, errorBeginTx, errorCommit)1 parent 7f44e8d commit e8c261d
10 files changed
Lines changed: 260 additions & 543 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 25 | | |
0 commit comments