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

Support Kotlin Coroutines Plugin #8472

Closed
koo-taejin opened this issue Dec 8, 2021 · 2 comments
Closed

Support Kotlin Coroutines Plugin #8472

koo-taejin opened this issue Dec 8, 2021 · 2 comments
Assignees
Milestone

Comments

@koo-taejin
Copy link
Member

description

Support tracing for Kotlin Coroutines

Support Version

1.0.1 ~ 1.5.2(Latest)

Tracing description

Coroutines have two main types of behavior.

  1. Recreates the method inside the Coroutines's block
  2. Dispatches recreated method to worker
    L The object with tracing information is included.
  3. Executes recreated method
    L Create a new tracing root via step 2's object.

Notes :
If Coroutines use the parent's thread, it will be tracked even if you do not use the Kotlin plugin.

@koo-taejin koo-taejin added this to the 2.4.0 milestone Dec 8, 2021
@koo-taejin koo-taejin self-assigned this Dec 8, 2021
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Dec 8, 2021
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Dec 8, 2021
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Dec 9, 2021
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Dec 9, 2021
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Dec 9, 2021
emeroad pushed a commit to emeroad/pinpoint that referenced this issue Dec 10, 2021
intr3p1d pushed a commit to intr3p1d/pinpoint that referenced this issue Dec 10, 2021
intr3p1d pushed a commit to intr3p1d/pinpoint that referenced this issue Dec 10, 2021
intr3p1d pushed a commit to intr3p1d/pinpoint that referenced this issue Dec 10, 2021
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Dec 29, 2021
koo-taejin added a commit that referenced this issue Dec 29, 2021
@koo-taejin
Copy link
Member Author

At the time of development, I didn't understand fully about Kotlin Coroutine.
I have plan of revising this plugin. and I will send PR again.
I recommend that do not use this as much as possible during that period.

@koo-taejin koo-taejin reopened this Jan 21, 2022
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Jan 24, 2022
 1. Changes tracing target (Task.runSafely -> resumeWith)
    = RunSafely is a method that is executed only in case of a specific target, so it has been changed to a general method.
 2. Supports tracing threadName
 3. Supports tracing cancelling event
koo-taejin added a commit to koo-taejin/pinpoint that referenced this issue Jan 24, 2022
 1. Changes tracing target (Task.runSafely -> resumeWith)
    = RunSafely is a method that is executed only in case of a specific target, so it has been changed to a general method.
 2. Supports tracing threadName
 3. Supports tracing cancelling event
@koo-taejin
Copy link
Member Author

coroutines

emeroad pushed a commit that referenced this issue Jan 24, 2022
 1. Changes tracing target (Task.runSafely -> resumeWith)
    = RunSafely is a method that is executed only in case of a specific target, so it has been changed to a general method.
 2. Supports tracing threadName
 3. Supports tracing cancelling event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant