Packages

Pure Elixir implementation of OpenTelemetry Semantic Conventions

Retired package: Deprecated - Consolidated into a single otel Hex package; no longer published standalone. See github.com/yangbancode/otel

Current section

Files

Jump to
otel_semantic_conventions lib otel sem_conv attributes dotnet.ex
Raw

lib/otel/sem_conv/attributes/dotnet.ex

defmodule Otel.SemConv.Attributes.DotNet do
# This is an auto-generated file
@moduledoc """
OpenTelemetry Semantic Conventions for DotNet attributes.
"""
@typedoc """
Name of the garbage collector managed heap generation.
"""
@type dotnet_gc_heap_generation_values :: %{
:gen0 => String.t(),
:gen1 => String.t(),
:gen2 => String.t(),
:loh => String.t(),
:poh => String.t()
}
@doc """
Name of the garbage collector managed heap generation.
iex> Otel.SemConv.Attributes.DotNet.dotnet_gc_heap_generation()
"dotnet.gc.heap.generation"
"""
@spec dotnet_gc_heap_generation :: String.t()
def dotnet_gc_heap_generation do
"dotnet.gc.heap.generation"
end
@doc """
Enum values for `dotnet_gc_heap_generation`.
iex> Otel.SemConv.Attributes.DotNet.dotnet_gc_heap_generation_values()[:gen0]
"gen0"
"""
@spec dotnet_gc_heap_generation_values :: dotnet_gc_heap_generation_values()
def dotnet_gc_heap_generation_values do
%{
:gen0 => "gen0",
:gen1 => "gen1",
:gen2 => "gen2",
:loh => "loh",
:poh => "poh"
}
end
end