-
Notifications
You must be signed in to change notification settings - Fork 800
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
Add Activity E2E latency metrics #3108
Conversation
RunID string `json:"runId"` | ||
ScheduleID int64 `json:"scheduleId"` | ||
ScheduleAttempt int64 `json:"scheduleAttempt"` | ||
ActivityID string `json:"activityId"` | ||
ActivityType string `json:"activityType"` | ||
TaskList string `json:"taskList"` |
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.
ActivityInfo already has task list. So you don't need to add it here.
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.
Make sense, fixed.
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.
Left one comment. Otherwise looks good to me.
What changed?
Add new metric
activity_end_to_end_latency
for activityWhy?
Currently, there is no cadence metrics on activity e2e latency available for customer. The cadence client (both go and java) had activity execution and e2e latency metrics, but they are not correct for async activity completion (and no easy way to get it correctly on client side).
How did you test it?
Will be tested in staging before release.
Potential risks
No risk.
Only adding load on metrics dependency.