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

Concurrent profiling 3 - truncation reason #2247

Conversation

stefanosiano
Copy link
Member

📜 Description

We are adding the truncation reason in case a profile is truncated.
If no truncation occurs, we will send normal, while if a timeout occurs, we will send timeout as truncation_reason in the envelope payload.

💡 Motivation and Context

The backend was unable to understand if a profile was terminated on purpose or due to an error.

💚 How did you test it?

Added a ui and unit test

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

added uitest to check default profile truncation reason is "normal"
added unit test for truncation reason and updated another to remove a testOnly useless method
added unit test for truncation reason and updated another to remove a testOnly useless method
@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2022

Codecov Report

❗ No coverage uploaded for pull request base (feat/concurrent-profiling-data@c2b493c). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                        Coverage Diff                        @@
##             feat/concurrent-profiling-data    #2247   +/-   ##
=================================================================
  Coverage                                  ?   80.27%           
  Complexity                                ?     3367           
=================================================================
  Files                                     ?      241           
  Lines                                     ?    12447           
  Branches                                  ?     1661           
=================================================================
  Hits                                      ?     9992           
  Misses                                    ?     1828           
  Partials                                  ?      627           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

added unit test for truncation reason and updated another to remove a testOnly useless method
@stefanosiano stefanosiano changed the title Concurrent profiling truncation reason Concurrent profiling 3 - truncation reason Sep 16, 2022
@stefanosiano stefanosiano marked this pull request as ready for review September 16, 2022 10:33
added unit test for truncation reason and updated another to remove a testOnly useless method
@stefanosiano stefanosiano merged commit ec8d432 into feat/concurrent-profiling-data Sep 19, 2022
@stefanosiano stefanosiano deleted the concurrent-profiling-truncation-reason branch September 19, 2022 10:08
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.

None yet

3 participants