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 attempt number to trace tags #19241

Merged
merged 4 commits into from
Nov 9, 2022
Merged

Conversation

jdpgrailsdev
Copy link
Contributor

@jdpgrailsdev jdpgrailsdev commented Nov 9, 2022

What

  • Improve visibility into Temporal retry attempts

How

  • Add attempt number (where available) to APM trace
  • Correctly suppress superfluous error messages in traces

Recommended reading order

  1. ApmTraceConstants.java
  2. *ActivityImpl.java
  3. *WorkflowImpl.java

Tests

  • All tests pass
  • Project builds successfully

@github-actions github-actions bot added area/platform issues related to the platform area/worker Related to worker labels Nov 9, 2022
@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets November 9, 2022 17:38 Inactive
@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets November 9, 2022 19:57 Inactive
@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets November 9, 2022 20:01 Inactive
@jdpgrailsdev
Copy link
Contributor Author

@jdpgrailsdev jdpgrailsdev temporarily deployed to more-secrets November 9, 2022 20:45 Inactive
Copy link
Contributor

@gosusnp gosusnp left a comment

Choose a reason for hiding this comment

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

LGTM.

@jdpgrailsdev jdpgrailsdev merged commit 0e036db into master Nov 9, 2022
@jdpgrailsdev jdpgrailsdev deleted the jonathan/record-attempt-number branch November 9, 2022 21:27
akashkulk pushed a commit that referenced this pull request Dec 2, 2022
* Add attempt number to trace tags

* Use correct tag key for error suppression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants