tion.max'; /** * The number of current pending requests for an open connection * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DB_CLIENT_CONNECTION_PENDING_REQUESTS = 'db.client.connection.pending_requests'; /** * The number of connection timeouts that have occurred trying to obtain a connection from the pool * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DB_CLIENT_CONNECTION_TIMEOUTS = 'db.client.connection.timeouts'; /** * The time between borrowing a connection and returning it to the pool * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DB_CLIENT_CONNECTION_USE_TIME = 'db.client.connection.use_time'; /** * The time it took to obtain an open connection from the pool * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DB_CLIENT_CONNECTION_WAIT_TIME = 'db.client.connection.wait_time'; /** * Deprecated, use `db.client.connection.create_time` instead. Note: the unit also changed from `ms` to `s`. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.create_time`. Note: the unit also changed from `ms` to `s`. */ export var METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; /** * Deprecated, use `db.client.connection.idle.max` instead. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.idle.max`. */ export var METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; /** * Deprecated, use `db.client.connection.idle.min` instead. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.idle.min`. */ export var METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; /** * Deprecated, use `db.client.connection.max` instead. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.max`. */ export var METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; /** * Deprecated, use `db.client.connection.pending_requests` instead. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.pending_requests`. */ export var METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; /** * Deprecated, use `db.client.connection.timeouts` instead. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.timeouts`. */ export var METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; /** * Deprecated, use `db.client.connection.count` instead. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.count`. */ export var METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; /** * Deprecated, use `db.client.connection.use_time` instead. Note: the unit also changed from `ms` to `s`. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.use_time`. Note: the unit also changed from `ms` to `s`. */ export var METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; /** * Deprecated, use `db.client.connection.wait_time` instead. Note: the unit also changed from `ms` to `s`. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.client.connection.wait_time`. Note: the unit also changed from `ms` to `s`. */ export var METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time'; /** * Duration of database client operations. * * @note Batch operations **SHOULD** be recorded as a single operation. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DB_CLIENT_OPERATION_DURATION = 'db.client.operation.duration'; /** * Measures the time taken to perform a DNS lookup. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; /** * The number of .NET assemblies that are currently loaded. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`AppDomain.CurrentDomain.GetAssemblies().Length`](https://learn.microsoft.com/dotnet/api/system.appdomain.getassemblies). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_ASSEMBLY_COUNT = 'dotnet.assembly.count'; /** * The number of exceptions that have been thrown in managed code. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as counting calls to [`AppDomain.CurrentDomain.FirstChanceException`](https://learn.microsoft.com/dotnet/api/system.appdomain.firstchanceexception). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_EXCEPTIONS = 'dotnet.exceptions'; /** * The number of garbage collections that have occurred since the process has started. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric uses the [`GC.CollectionCount(int generation)`](https://learn.microsoft.com/dotnet/api/system.gc.collectioncount) API to calculate exclusive collections per generation. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_GC_COLLECTIONS = 'dotnet.gc.collections'; /** * 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. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`GC.GetTotalAllocatedBytes()`](https://learn.microsoft.com/dotnet/api/system.gc.gettotalallocatedbytes). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED = 'dotnet.gc.heap.total_allocated'; /** * The heap fragmentation, as observed during the latest garbage collection. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`GC.GetGCMemoryInfo().GenerationInfo.FragmentationAfterBytes`](https://learn.microsoft.com/dotnet/api/system.gcgenerationinfo.fragmentationafterbytes). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE = 'dotnet.gc.last_collection.heap.fragmentation.size'; /** * The managed GC heap size (including fragmentation), as observed during the latest garbage collection. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`GC.GetGCMemoryInfo().GenerationInfo.SizeAfterBytes`](https://learn.microsoft.com/dotnet/api/system.gcgenerationinfo.sizeafterbytes). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE = 'dotnet.gc.last_collection.heap.size'; /** * The amount of committed virtual memory in use by the .NET GC, as observed during the latest garbage collection. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`GC.GetGCMemoryInfo().TotalCommittedBytes`](https://learn.microsoft.com/dotnet/api/system.gcmemoryinfo.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. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE = 'dotnet.gc.last_collection.memory.committed_size'; /** * The total amount of time paused in GC since the process has started. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`GC.GetTotalPauseDuration()`](https://learn.microsoft.com/dotnet/api/system.gc.gettotalpauseduration). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_GC_PAUSE_TIME = 'dotnet.gc.pause.time'; /** * The amount of time the JIT compiler has spent compiling methods since the process has started. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`JitInfo.GetCompilationTime()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompilationtime). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_JIT_COMPILATION_TIME = 'dotnet.jit.compilation.time'; /** * Count of bytes of intermediate language that have been compiled since the process has started. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`JitInfo.GetCompiledILBytes()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompiledilbytes). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_JIT_COMPILED_IL_SIZE = 'dotnet.jit.compiled_il.size'; /** * The number of times the JIT compiler (re)compiled methods since the process has started. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`JitInfo.GetCompiledMethodCount()`](https://learn.microsoft.com/dotnet/api/system.runtime.jitinfo.getcompiledmethodcount). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export var METRIC_DOTNET_JIT_COMPILED_METHODS = 'dotnet.jit.compiled_methods'; /** * The number of times there was contention when trying to acquire a monitor lock since the process has started. * * @note Meter name: `System.Runtime`; Added in: .NET 9.0. * This metric reports the same values as calling [`Monitor.LockContentionCount`](https://learn.microsoft.com/dotnet/api/system.threading.monitor.lockcontentioncount). * * @experimental This metric is experimental and is subject to breaking changes in minor releases