Skip to content

Commit

Permalink
Specify how to obtain a Ruby thread's id (open-telemetry#2508)
Browse files Browse the repository at this point in the history
  • Loading branch information
fallwith authored May 6, 2022
1 parent ac57187 commit c968391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/trace/semantic_conventions/span-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Examples of where `thread.id` and `thread.name` can be extracted from:
| JVM | `Thread.currentThread().getId()` | `Thread.currentThread().getName()` |
| .NET | `Thread.CurrentThread.ManagedThreadId` | `Thread.CurrentThread.Name` |
| Python | `threading.current_thread().ident` | `threading.current_thread().name` |
| Ruby | | `Thread.current.name` |
| Ruby | `Thread.current.object_id` | `Thread.current.name` |
| C++ | `std::this_thread::get_id()` | |
| Erlang | `erlang:system_info(scheduler_id)` | |

Expand Down

0 comments on commit c968391

Please sign in to comment.