mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed?
Add workflow_status tag to workflow query metrics
## Why?
So we can tell what percentage of workflow query are made to closed
workflows.
## How did you test it?
Local test, and verify seeing metrics like:
direct_query_dispatch_non_sticky_success{operation="QueryWorkflow",service_name="history",workflow_status="Completed"}
1
## 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) -->