defmodule OpenTelemetry.SemConv.Incubating.ThreadAttributes do # This is an auto-generated file @moduledoc """ OpenTelemetry Semantic Conventions for Thread attributes. """ @doc """ Current "managed" thread ID (as opposed to OS thread ID). ### Value type Value must be of type `integer()`. ### Examples ``` 42 ``` ### Elixir iex> OpenTelemetry.SemConv.Incubating.ThreadAttributes.thread_id() :"thread.id" ### Erlang ```erlang ?THREAD_ID. 'thread.id' ``` """ @spec thread_id :: :"thread.id" def thread_id do :"thread.id" end @doc """ Current thread name. ### Value type Value must be of type `atom() | String.t()`. ### Examples ``` main ``` ### Elixir iex> OpenTelemetry.SemConv.Incubating.ThreadAttributes.thread_name() :"thread.name" ### Erlang ```erlang ?THREAD_NAME. 'thread.name' ``` """ @spec thread_name :: :"thread.name" def thread_name do :"thread.name" end end