ric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; /** * The amount of committed virtual memory. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; /** * Network bytes transferred. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_NETWORK_IO = 'process.network.io'; /** * Number of file descriptors in use by the process. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count'; /** * Number of page faults the process has made. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; /** * Process threads count. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; /** * The time the process has been running. * * @note Instrumentations **SHOULD** use counter with type `double` and measure uptime with at least millisecond precision * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_PROCESS_UPTIME = 'process.uptime'; /** * Measures the duration of outbound RPC. * * @note While streaming RPCs may record this metric as start-of-batch * to end-of-batch, it's hard to interpret in practice. * * **Streaming**: N/A. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; /** * Measures the size of RPC request messages (uncompressed). * * @note **Streaming**: Recorded per message in a streaming batch * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; /** * Measures the number of messages received per RPC. * * @note Should be 1 for all non-streaming RPCs. * * **Streaming**: This metric is required for server and client streaming RPCs * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; /** * Measures the size of RPC response messages (uncompressed). * * @note **Streaming**: Recorded per response in a streaming batch * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; /** * Measures the number of messages sent per RPC. * * @note Should be 1 for all non-streaming RPCs. * * **Streaming**: This metric is required for server and client streaming RPCs * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc'; /** * Measures the duration of inbound RPC. * * @note While streaming RPCs may record this metric as start-of-batch * to end-of-batch, it's hard to interpret in practice. * * **Streaming**: N/A. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; /** * Measures the size of RPC request messages (uncompressed). * * @note **Streaming**: Recorded per message in a streaming batch * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; /** * Measures the number of messages received per RPC. * * @note Should be 1 for all non-streaming RPCs. * * **Streaming** : This metric is required for server and client streaming RPCs * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; /** * Measures the size of RPC response messages (uncompressed). * * @note **Streaming**: Recorded per response in a streaming batch * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; /** * Measures the number of messages sent per RPC. * * @note Should be 1 for all non-streaming RPCs. * * **Streaming**: This metric is required for server and client streaming RPCs * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc'; /** * Reports the current frequency of the CPU in Hz * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency'; /** * Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count'; /** * Reports the number of actual physical processor cores on the hardware * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count'; /** * Seconds each logical CPU spent on each mode * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_CPU_TIME = 'system.cpu.time'; /** * Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_DISK_IO = 'system.disk.io'; /** * Time disk spent activated * * @note The real elapsed time ("wall clock") used in the I/O path (time from operations running in parallel are not counted). Measured as: * * - Linux: Field 13 from [procfs-diskstats](https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats) * - Windows: The complement of * ["Disk% Idle Time"](https://learn.microsoft.com/archive/blogs/askcore/windows-performance-monitor-disk-counters-explained#windows-performance-monitor-disk-counters-explained) * performance counter: `uptime * (100 - "Disk\% Idle Time") / 100` * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; /** * The total storage capacity of the disk * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_DISK_LIMIT = 'system.disk.limit'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; /** * Sum of the time each operation took to complete * * @note Because it is the sum of time each request took, parallel-issued requests each contribute to make the count grow. Measured as: * * - Linux: Fields 7 & 11 from [procfs-diskstats](https://www.kernel.org/doc/Documentation/ABI/testing/procfs-diskstats) * - Windows: "Avg. Disk sec/Read" perf counter multiplied by "Disk Reads/sec" perf counter (similar for Writes) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; /** * The total storage capacity of the filesystem * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_FILESYSTEM_LIMIT = 'system.filesystem.limit'; /** * Reports a filesystem's space usage across different states. * * @note The sum of all `system.filesystem.usage` values over the different `system.filesystem.state` attributes * **SHOULD** equal the total storage capacity of the filesystem, that is `system.filesystem.limit`. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization'; /** * An estimate of how much memory is available for starting new applications, without causing swapping * * @note This is an alternative to `system.memory.usage` metric with `state=free`. * Linux starting from 3.14 exports "available" memory. It takes "free" memory as a baseline, and then factors in kernel-specific values. * This is supposed to be more accurate than just "free" memory. * For reference, see the calculations [here](https://superuser.com/a/980821). * See also `MemAvailable` in [/proc/meminfo](https://man7.org/linux/man-pages/man5/proc.5.html). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available'; /** * Reports the memory used by the Linux kernel for managing caches of frequently used objects. * * @note The sum over the `reclaimable` and `unreclaimable` state values in `linux.memory.slab.usage` **SHOULD** be equal to the total slab memory available on the system. * Note that the total slab memory is not constant and may vary over time. * See also the [Slab allocator](https://blogs.oracle.com/linux/post/understanding-linux-kernel-memory-statistics) and `Slab` in [/proc/meminfo](https://man7.org/linux/man-pages/man5/proc.5.html). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_LINUX_MEMORY_SLAB_USAGE = 'system.linux.memory.slab.usage'; /** * Total memory available in the system. * * @note Its value **SHOULD** equal the sum of `system.memory.state` over all states. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; /** * Shared memory used (mostly by tmpfs). * * @note Equivalent of `shared` from [`free` command](https://man7.org/linux/man-pages/man1/free.1.html) or * `Shmem` from [`/proc/meminfo`](https://man7.org/linux/man-pages/man5/proc.5.html)" * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_MEMORY_SHARED = 'system.memory.shared'; /** * Reports memory in use by state. * * @note The sum over all `system.memory.state` values **SHOULD** equal the total memory * available on the system, that is `system.memory.limit`. * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; /** * Count of packets that are dropped or discarded even though there was no error * * @note Measured as: * * - Linux: the `drop` column in `/proc/dev/net` ([source](https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html)) * - Windows: [`InDiscards`/`OutDiscards`](https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2) * from [`GetIfEntry2`](https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; /** * Count of network errors detected * * @note Measured as: * * - Linux: the `errs` column in `/proc/dev/net` ([source](https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html)). * - Windows: [`InErrors`/`OutErrors`](https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2) * from [`GetIfEntry2`](https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2). * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; /** * Unix swap or windows pagefile usage * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; /** * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; /** * Total number of processes in each state * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count'; /** * Total number of processes created over uptime of the host * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; /** * Garbage collection duration. * * @note The values can be retrieve from [`perf_hooks.PerformanceObserver(...).observe({ entryTypes: ['gc'] })`](https://nodejs.org/api/perf_hooks.html#performanceobserverobserveoptions) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_V8JS_GC_DURATION = 'v8js.gc.duration'; /** * Heap space available size. * * @note Value can be retrieved from value `space_available_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_V8JS_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.heap.space.available_size'; /** * Committed size of a heap space. * * @note Value can be retrieved from value `physical_space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_size'; /** * Total heap memory size pre-allocated. * * @note The value can be retrieved from value `space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit'; /** * Heap Memory size allocated. * * @note The value can be retrieved from value `space_used_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) * * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ exports.METRIC_V8JS_MEMORY_HEAP_USED = 'v8js.memory.heap.used'; //# sourceMappingURL=experimental_metrics.js.map