Skip to content
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

Merged
merged 13 commits into from
Mar 13, 2020
Merged

Add Activity E2E latency metrics #3108

merged 13 commits into from
Mar 13, 2020

Conversation

vancexu
Copy link
Contributor

@vancexu vancexu commented Mar 11, 2020

What changed?
Add new metric activity_end_to_end_latency for activity

Why?
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.

@vancexu vancexu requested review from meiliang86 and a team March 11, 2020 23:27
RunID string `json:"runId"`
ScheduleID int64 `json:"scheduleId"`
ScheduleAttempt int64 `json:"scheduleAttempt"`
ActivityID string `json:"activityId"`
ActivityType string `json:"activityType"`
TaskList string `json:"taskList"`
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense, fixed.

Copy link
Contributor

@meiliang86 meiliang86 left a 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.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 67.111% when pulling 4b09911 on e2emetric into 14ac71d on master.

@vancexu vancexu merged commit 10fc818 into master Mar 13, 2020
@vancexu vancexu deleted the e2emetric branch March 13, 2020 01:32
vancexu added a commit that referenced this pull request May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants