mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? <!-- Describe what has changed in this PR --> - Remove executable.taggedMetricsHandler. - Always init executable.metricsHandler with the full set of metric tags needed to prevent tag mismatch issue. ## Why? <!-- Tell your future self why have you made these changes --> - Prevent tag mismatch issue. - It looks like the task_errors_throttled metric could be emitted before taggedMetricsHandler is really tagged with the right set of tags. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> - Run server locally. ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) -->