Skip to content

Commit

Permalink
change Erlang managed thread attribute to be the Erlang process (#491)
Browse files Browse the repository at this point in the history
Co-authored-by: Joao Grassi <joao.grassi@dynatrace.com>
  • Loading branch information
tsloughter and joaopgrassi authored Nov 7, 2023
1 parent 39af37d commit 65a3cc7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/general/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,14 @@ a thread that started a span.

Examples of where `thread.id` and `thread.name` can be extracted from:

| Language or platform | `thread.id` | `thread.name` |
|-----------------------|----------------------------------------|------------------------------------|
| 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.object_id` | `Thread.current.name` |
| C++ | `std::this_thread::get_id()` | |
| Erlang | `erlang:system_info(scheduler_id)` | |
| Language or platform | `thread.id` | `thread.name` |
|-----------------------|----------------------------------------|------------------------------------------------|
| 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.object_id` | `Thread.current.name` |
| C++ | `std::this_thread::get_id()` | |
| Erlang | `erlang:self()` | `erlang:process_info(self(), registered_name)` |

## Source Code Attributes

Expand Down

0 comments on commit 65a3cc7

Please sign in to comment.