-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
fix(workflow_engine): Fix action metrics while in dual processing #93464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty!
59ea9dc
to
aec4ea1
Compare
@@ -309,6 +309,14 @@ def process_workflows(event_data: WorkflowEventData) -> set[Workflow]: | |||
"event_data": asdict(event_data), | |||
}, | |||
) | |||
else: | |||
# If the feature flag is not enabled, only send a metric | |||
for action in actions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we log all the action ids that were triggered by an event?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doh, sorry this was auto merged. can +1 a PR or add to another. (lemme know which)
…3464) # Description Moved the `metrics_incr` to after the action has been triggered, which broke our current dashboards. This will reintroduce a metric `workflow_engine.process_workflows.action_triggered` -- with the tag that includes the type of action we would have triggered.
…3464) # Description Moved the `metrics_incr` to after the action has been triggered, which broke our current dashboards. This will reintroduce a metric `workflow_engine.process_workflows.action_triggered` -- with the tag that includes the type of action we would have triggered.
Description
Moved the
metrics_incr
to after the action has been triggered, which broke our current dashboards.This will reintroduce a metric
workflow_engine.process_workflows.action_triggered
-- with the tag that includes the type of action we would have triggered.