Module: OpenTelemetry::SemConv::DOTNET
- Defined in:
- lib/opentelemetry/semconv/dotnet/metrics.rb,
lib/opentelemetry/semconv/dotnet/attributes.rb
Metrics Names collapse
- DOTNET_ASSEMBLY_COUNT =
Note:
Stability Level: stable
The number of .NET assemblies that are currently loaded.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingAppDomain.CurrentDomain.GetAssemblies().Length
. 'dotnet.assembly.count'
- DOTNET_EXCEPTIONS =
Note:
Stability Level: stable
The number of exceptions that have been thrown in managed code.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as counting calls toAppDomain.CurrentDomain.FirstChanceException
. 'dotnet.exceptions'
- DOTNET_GC_COLLECTIONS =
Note:
Stability Level: stable
The number of garbage collections that have occurred since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric uses theGC.CollectionCount(int generation)
API to calculate exclusive collections per generation. 'dotnet.gc.collections'
- DOTNET_GC_HEAP_TOTAL_ALLOCATED =
Note:
Stability Level: stable
The approximate number of bytes allocated on the managed GC heap since the process has started. The returned value does not include any native allocations.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingGC.GetTotalAllocatedBytes()
. 'dotnet.gc.heap.total_allocated'
- DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE =
Note:
Stability Level: stable
The heap fragmentation, as observed during the latest garbage collection.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingGC.GetGCMemoryInfo().GenerationInfo.FragmentationAfterBytes
. 'dotnet.gc.last_collection.heap.fragmentation.size'
- DOTNET_GC_LAST_COLLECTION_HEAP_SIZE =
Note:
Stability Level: stable
The managed GC heap size (including fragmentation), as observed during the latest garbage collection.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingGC.GetGCMemoryInfo().GenerationInfo.SizeAfterBytes
. 'dotnet.gc.last_collection.heap.size'
- DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE =
Note:
Stability Level: stable
The amount of committed virtual memory in use by the .NET GC, as observed during the latest garbage collection.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingGC.GetGCMemoryInfo().TotalCommittedBytes
. Committed virtual memory may be larger than the heap size because it includes both memory for storing existing objects (the heap size) and some extra memory that is ready to handle newly allocated objects in the future. 'dotnet.gc.last_collection.memory.committed_size'
- DOTNET_GC_PAUSE_TIME =
Note:
Stability Level: stable
The total amount of time paused in GC since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingGC.GetTotalPauseDuration()
. 'dotnet.gc.pause.time'
- DOTNET_JIT_COMPILATION_TIME =
Note:
Stability Level: stable
The amount of time the JIT compiler has spent compiling methods since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingJitInfo.GetCompilationTime()
. 'dotnet.jit.compilation.time'
- DOTNET_JIT_COMPILED_IL_SIZE =
Note:
Stability Level: stable
Count of bytes of intermediate language that have been compiled since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingJitInfo.GetCompiledILBytes()
. 'dotnet.jit.compiled_il.size'
- DOTNET_JIT_COMPILED_METHODS =
Note:
Stability Level: stable
The number of times the JIT compiler (re)compiled methods since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingJitInfo.GetCompiledMethodCount()
. 'dotnet.jit.compiled_methods'
- DOTNET_MONITOR_LOCK_CONTENTIONS =
Note:
Stability Level: stable
The number of times there was contention when trying to acquire a monitor lock since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingMonitor.LockContentionCount
. 'dotnet.monitor.lock_contentions'
- DOTNET_PROCESS_CPU_COUNT =
Note:
Stability Level: stable
The number of processors available to the process.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as accessingEnvironment.ProcessorCount
. 'dotnet.process.cpu.count'
- DOTNET_PROCESS_CPU_TIME =
Note:
Stability Level: stable
CPU time used by the process.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as accessing the corresponding processor time properties onSystem.Diagnostics.Process
. 'dotnet.process.cpu.time'
- DOTNET_PROCESS_MEMORY_WORKING_SET =
Note:
Stability Level: stable
The number of bytes of physical memory mapped to the process context.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingEnvironment.WorkingSet
. 'dotnet.process.memory.working_set'
- DOTNET_THREAD_POOL_QUEUE_LENGTH =
Note:
Stability Level: stable
The number of work items that are currently queued to be processed by the thread pool.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingThreadPool.PendingWorkItemCount
. 'dotnet.thread_pool.queue.length'
- DOTNET_THREAD_POOL_THREAD_COUNT =
Note:
Stability Level: stable
The number of thread pool threads that currently exist.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingThreadPool.ThreadCount
. 'dotnet.thread_pool.thread.count'
- DOTNET_THREAD_POOL_WORK_ITEM_COUNT =
Note:
Stability Level: stable
The number of work items that the thread pool has completed since the process has started.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingThreadPool.CompletedWorkItemCount
. 'dotnet.thread_pool.work_item.count'
- DOTNET_TIMER_COUNT =
Note:
Stability Level: stable
The number of timer instances that are currently active.
Meter name:
System.Runtime
; Added in: .NET 9.0. This metric reports the same values as callingTimer.ActiveCount
. 'dotnet.timer.count'
Attribute Names collapse
- DOTNET_GC_HEAP_GENERATION =
Note:
Stability Level: stable
Name of the garbage collector managed heap generation.
'dotnet.gc.heap.generation'