<!--- Hugo front matter used to generate the website version of this page:
--->

<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/attribute_namespace.md.j2 -->

# Thread

## Thread Attributes

These attributes may be used for any operation to store information about a thread that started a span.

| Attribute     | Type   | Description                                               | Examples | Stability                                                        |
| ------------- | ------ | --------------------------------------------------------- | -------- | ---------------------------------------------------------------- |
| `thread.id`   | int    | Current "managed" thread ID (as opposed to OS thread ID). | `42`     | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `thread.name` | string | Current thread name.                                      | `main`   | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
