From 307d01761474c85c5d0a3aa6e467b270f765cd28 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 9 May 2024 10:52:13 -0400 Subject: [PATCH 01/47] feat(semconv): update semantic conventions to 1.25 --- .../src/experimental.ts | 6203 +++++++++++++++++ .../src/index.ts | 5 + .../src/stable.ts | 1044 +++ .../src/trace/SemanticAttributes.ts | 735 -- scripts/semconv/.gitignore | 1 + scripts/semconv/generate.sh | 70 +- .../templates/SemanticAttributes.ts.j2 | 165 +- 7 files changed, 7336 insertions(+), 887 deletions(-) create mode 100644 packages/opentelemetry-semantic-conventions/src/experimental.ts create mode 100644 packages/opentelemetry-semantic-conventions/src/stable.ts diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts new file mode 100644 index 0000000000..89b387b6bb --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -0,0 +1,6203 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +//---------------------------------------------------------------------------------------------------------- +// Constant values for SemanticAttributes +//---------------------------------------------------------------------------------------------------------- +/** + * Total CPU time consumed. + * + * Note: Total CPU time consumed by the specific container on all available CPU cores. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; +/** + * Disk bytes for the container. + * + * Note: The total number of bytes read/written successfully (aggregated from all disks). + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; +/** + * Memory usage of the container. + * + * Note: Memory usage of the container. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; +/** + * Network bytes for the container. + * + * Note: The number of bytes sent/received on all network interfaces by the container. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; +/** + * The time it took to create a new connection. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = + 'db.client.connections.create_time'; +/** + * The maximum number of idle open connections allowed. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = + 'db.client.connections.idle.max'; +/** + * The minimum number of idle open connections allowed. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = + 'db.client.connections.idle.min'; +/** + * The maximum number of open connections allowed. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; +/** + * The number of pending requests for an open connection, cumulative for the entire pool. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = + 'db.client.connections.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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = + 'db.client.connections.timeouts'; +/** + * The number of connections that are currently in state described by the `state` attribute. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; +/** + * The time between borrowing a connection and returning it to the pool. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = + 'db.client.connections.use_time'; +/** + * The time it took to obtain an open connection from the pool. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = + 'db.client.connections.wait_time'; +/** + * Measures the time taken to perform a DNS lookup. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; +/** + * Number of invocation cold starts. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; +/** + * Distribution of CPU usage per invocation. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage'; +/** + * Number of invocation errors. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_ERRORS = 'faas.errors'; +/** + * Measures the duration of the function's initialization, such as a cold start. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration'; +/** + * Number of successful invocations. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; +/** + * Measures the duration of the function's logic execution. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration'; +/** + * Distribution of max memory usage per invocation. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage'; +/** + * Distribution of net I/O usage per invocation. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_NET_IO = 'faas.net_io'; +/** + * Number of invocation timeouts. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; +/** + * Number of active HTTP requests. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; +/** + * The duration of the successfully established outbound HTTP connections. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = + 'http.client.connection.duration'; +/** + * Number of outbound HTTP connections that are currently active or idle on the client. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = + 'http.client.open_connections'; +/** + * Size of HTTP client request bodies. + * + * Note: The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = + 'http.client.request.body.size'; +/** + * Size of HTTP client response bodies. + * + * Note: The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = + 'http.client.response.body.size'; +/** + * Number of active HTTP server requests. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; +/** + * Size of HTTP server request bodies. + * + * Note: The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = + 'http.server.request.body.size'; +/** + * Size of HTTP server response bodies. + * + * Note: The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = + 'http.server.response.body.size'; +/** + * Number of buffers in the pool. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; +/** + * Measure of total memory capacity of buffers. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; +/** + * Measure of memory used by buffers. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; +/** + * Measure of initial memory requested. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; +/** + * Average CPU load of the whole system for the last minute as reported by the JVM. + * + * Note: The value range is [0,n], where n is the number of CPU cores - or a negative number if the value is not available. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()). + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; +/** + * Recent CPU utilization for the whole system as reported by the JVM. + * + * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()). + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; +/** + * Measures the duration of process operation. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; +/** + * Measures the number of processed messages. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; +/** + * Measures the duration of publish operation. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; +/** + * Measures the number of published messages. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; +/** + * Measures the duration of receive operation. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; +/** + * Measures the number of received messages. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; +/** + * Number of times the process has been context switched. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches'; +/** + * Total CPU seconds broken down by different states. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time'; +/** + * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization'; +/** + * Disk bytes transferred. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_DISK_IO = 'process.disk.io'; +/** + * The amount of physical memory in use. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; +/** + * The amount of committed virtual memory. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; +/** + * Network bytes transferred. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; +/** + * Process threads count. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; +/** +* 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = + 'system.linux.memory.available'; +/** + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; +/** +* 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; +/** + * Unix swap or windows pagefile usage. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; +/** + * . + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; +/** + * Total number of processes in each state. + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; + +/** + * Identifies the class / type of event. + * + * Note: Event names are subject to the same rules as [attribute names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.31.0/specification/common/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_EVENT_NAME = 'event.name'; + +/** +* A unique identifier for the Log Record. +* +* Note: If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. +The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_LOG_RECORD_UID = 'log.record.uid'; + +/** + * The stream associated with the log. See below for a list of well-known values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_LOG_IOSTREAM = 'log.iostream'; + +/** + * The basename of the file. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_LOG_FILE_NAME = 'log.file.name'; + +/** + * The basename of the file, with symlinks resolved. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; + +/** + * The full path to the file. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_LOG_FILE_PATH = 'log.file.path'; + +/** + * The full path to the file, with symlinks resolved. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_IOS_STATE = 'ios.state'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_ANDROID_STATE = 'android.state'; + +/** + * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_POOL_NAME = 'pool.name'; + +/** + * The state of a connection in the pool. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_STATE = 'state'; + +/** + * Name of the buffer pool. + * + * Note: Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; + +/** + * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_CPU_STATE = 'process.cpu.state'; + +/** + * Specifies whether the context switches for this data point were voluntary or involuntary. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_CONTEXT_SWITCH_TYPE = + 'process.context_switch_type'; + +/** + * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; + +/** + * The device identifier. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_DEVICE = 'system.device'; + +/** + * The logical CPU number [0..n-1]. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_CPU_STATE = 'system.cpu.state'; + +/** + * The memory state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_MEMORY_STATE = 'system.memory.state'; + +/** + * The paging access direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; + +/** + * The memory paging state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_PAGING_STATE = 'system.paging.state'; + +/** + * The memory paging type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_PAGING_TYPE = 'system.paging.type'; + +/** + * The filesystem mode. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; + +/** + * The filesystem mount path. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_FILESYSTEM_MOUNTPOINT = + 'system.filesystem.mountpoint'; + +/** + * The filesystem state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_NETWORK_STATE = 'system.network.state'; + +/** + * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SYSTEM_PROCESS_STATUS = 'system.process.status'; + +/** + * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_ANDROID_OS_API_LEVEL = 'android.os.api_level'; + +/** + * The JSON-serialized value of each item in the `AttributeDefinitions` request field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = + 'aws.dynamodb.attribute_definitions'; + +/** + * The value of the `AttributesToGet` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET = + 'aws.dynamodb.attributes_to_get'; + +/** + * The value of the `ConsistentRead` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ = + 'aws.dynamodb.consistent_read'; + +/** + * The JSON-serialized value of each item in the `ConsumedCapacity` response field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY = + 'aws.dynamodb.consumed_capacity'; + +/** + * The value of the `Count` response parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; + +/** + * The value of the `ExclusiveStartTableName` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = + 'aws.dynamodb.exclusive_start_table'; + +/** + * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = + 'aws.dynamodb.global_secondary_index_updates'; + +/** + * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = + 'aws.dynamodb.global_secondary_indexes'; + +/** + * The value of the `IndexName` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; + +/** + * The JSON-serialized value of the `ItemCollectionMetrics` response field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = + 'aws.dynamodb.item_collection_metrics'; + +/** + * The value of the `Limit` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; + +/** + * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = + 'aws.dynamodb.local_secondary_indexes'; + +/** + * The value of the `ProjectionExpression` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; + +/** + * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = + 'aws.dynamodb.provisioned_read_capacity'; + +/** + * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = + 'aws.dynamodb.provisioned_write_capacity'; + +/** + * The value of the `ScanIndexForward` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; + +/** + * The value of the `ScannedCount` response parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; + +/** + * The value of the `Segment` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; + +/** + * The value of the `Select` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; + +/** + * The number of items in the `TableNames` response parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; + +/** + * The keys in the `RequestItems` object field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; + +/** + * The value of the `TotalSegments` request parameter. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS = + 'aws.dynamodb.total_segments'; + +/** + * Array of brand name and version separated by a space. + * + * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_BROWSER_BRANDS = 'browser.brands'; + +/** + * Preferred language of the user using the browser. + * + * Note: This value is intended to be taken from the Navigator API `navigator.language`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_BROWSER_LANGUAGE = 'browser.language'; + +/** + * A boolean that is true if the browser is running on a mobile device. + * + * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_BROWSER_MOBILE = 'browser.mobile'; + +/** +* The platform on which the browser is running. +* +* Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent. +The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_BROWSER_PLATFORM = 'browser.platform'; + +/** + * The cloud account ID the resource is assigned to. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUD_ACCOUNT_ID = 'cloud.account.id'; + +/** + * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. + * + * Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUD_PLATFORM = 'cloud.platform'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUD_PROVIDER = 'cloud.provider'; + +/** + * The geographical region the resource is running. + * + * Note: Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUD_REGION = 'cloud.region'; + +/** +* Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP). +* +* Note: On some cloud providers, it may not be possible to determine the full ID at startup, +so it may be necessary to set `cloud.resource_id` as a span attribute instead. + +The exact value to use for `cloud.resource_id` depends on the cloud provider. +The following well-known definitions MUST be used if you set this attribute and they apply: + +* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + Take care not to use the "invoked ARN" directly but replace any + [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) + with the resolved function version, as the same runtime instance may be invokable with + multiple different aliases. +* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names) +* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function, + *not* the function app, having the form + `/subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`. + This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share + a TracerProvider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_CLOUD_RESOURCE_ID = 'cloud.resource_id'; + +/** + * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; + +/** + * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; + +/** + * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUDEVENTS_EVENT_SPEC_VERSION = + 'cloudevents.event_spec_version'; + +/** + * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; + +/** + * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; + +/** + * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CODE_COLUMN = 'code.column'; + +/** + * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CODE_FILEPATH = 'code.filepath'; + +/** + * The method or function name, or equivalent (usually rightmost part of the code unit's name). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CODE_FUNCTION = 'code.function'; + +/** + * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CODE_LINENO = 'code.lineno'; + +/** + * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CODE_NAMESPACE = 'code.namespace'; + +/** + * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CODE_STACKTRACE = 'code.stacktrace'; + +/** + * The command used to run the container (i.e. the command name). + * + * Note: If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_COMMAND = 'container.command'; + +/** + * All the command arguments (including the command/executable itself) run by the container. [2]. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_COMMAND_ARGS = 'container.command_args'; + +/** + * The full command run by the container as a single string representing the full command. [2]. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_COMMAND_LINE = 'container.command_line'; + +/** + * The CPU state for this data point. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_CPU_STATE = 'container.cpu.state'; + +/** + * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_ID = 'container.id'; + +/** +* Runtime specific image identifier. Usually a hash algorithm followed by a UUID. +* +* Note: Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. +K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. +The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_CONTAINER_IMAGE_ID = 'container.image.id'; + +/** + * Name of the image the container was built on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_IMAGE_NAME = 'container.image.name'; + +/** + * Repo digests of the container image as provided by the container runtime. + * + * Note: [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_IMAGE_REPO_DIGESTS = + 'container.image.repo_digests'; + +/** + * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_IMAGE_TAGS = 'container.image.tags'; + +/** + * Container name used by container runtime. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_NAME = 'container.name'; + +/** + * The container runtime managing this container. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_CONTAINER_RUNTIME = 'container.runtime'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = + 'db.cassandra.consistency_level'; + +/** + * The data center of the coordinating node for a query. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_COORDINATOR_DC = + 'db.cassandra.coordinator.dc'; + +/** + * The ID of the coordinating node for a query. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_COORDINATOR_ID = + 'db.cassandra.coordinator.id'; + +/** + * Whether or not the query is idempotent. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; + +/** + * The fetch size used for paging, i.e. how many rows will be returned at once. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; + +/** + * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = + 'db.cassandra.speculative_execution_count'; + +/** + * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). + * + * Note: This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_CASSANDRA_TABLE = 'db.cassandra.table'; + +/** + * Unique Cosmos client instance id. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; + +/** + * Cosmos client connection mode. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_CONNECTION_MODE = + 'db.cosmosdb.connection_mode'; + +/** + * Cosmos DB container name. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; + +/** + * RU consumed for that operation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; + +/** + * Request payload size in bytes. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = + 'db.cosmosdb.request_content_length'; + +/** + * Cosmos DB status code. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; + +/** + * Cosmos DB sub status code. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_COSMOSDB_SUB_STATUS_CODE = + 'db.cosmosdb.sub_status_code'; + +/** + * Represents the identifier of an Elasticsearch cluster. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_ELASTICSEARCH_CLUSTER_NAME = + 'db.elasticsearch.cluster.name'; + +/** + * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_INSTANCE_ID = 'db.instance.id'; + +/** + * The MongoDB collection being accessed within the database stated in `db.name`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; + +/** + * The Microsoft SQL Server [instance name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. + * + * Note: If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; + +/** + * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). + * + * Note: In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_NAME = 'db.name'; + +/** + * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. + * + * Note: When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_OPERATION = 'db.operation'; + +/** + * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; + +/** + * The name of the primary table that the operation is acting upon, including the database name (if applicable). + * + * Note: It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_SQL_TABLE = 'db.sql.table'; + +/** + * The database statement being executed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_STATEMENT = 'db.statement'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_SYSTEM = 'db.system'; + +/** + * Username for accessing the database. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DB_USER = 'db.user'; + +/** +* Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). +* +* Note: `deployment.environment` does not affect the uniqueness constraints defined through +the `service.namespace`, `service.name` and `service.instance.id` resource attributes. +This implies that resources carrying the following attribute combinations MUST be +considered to be identifying the same service: + +* `service.name=frontend`, `deployment.environment=production` +* `service.name=frontend`, `deployment.environment=staging`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; + +/** + * Deprecated, use `server.address`, `server.port` attributes instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated "Replaced by `server.address` and `server.port`.". + */ +export const SEMATTRS_DB_CONNECTION_STRING = 'db.connection_string'; + +/** + * Deprecated, use `db.instance.id` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `db.instance.id`. + */ +export const SEMATTRS_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; + +/** + * Removed, no replacement at this time. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Removed as not used. + */ +export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const SEMATTRS_HTTP_FLAVOR = 'http.flavor'; + +/** + * Deprecated, use `http.request.method` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `http.request.method`. + */ +export const SEMATTRS_HTTP_METHOD = 'http.method'; + +/** + * Deprecated, use `http.request.header.content-length` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `http.request.header.content-length`. + */ +export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH = + 'http.request_content_length'; + +/** + * Deprecated, use `http.response.header.content-length` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `http.response.header.content-length`. + */ +export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH = + 'http.response_content_length'; + +/** + * Deprecated, use `url.scheme` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `url.scheme` instead. + */ +export const SEMATTRS_HTTP_SCHEME = 'http.scheme'; + +/** + * Deprecated, use `http.response.status_code` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `http.response.status_code`. + */ +export const SEMATTRS_HTTP_STATUS_CODE = 'http.status_code'; + +/** + * Deprecated, use `url.path` and `url.query` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Split to `url.path` and `url.query. + */ +export const SEMATTRS_HTTP_TARGET = 'http.target'; + +/** + * Deprecated, use `url.full` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `url.full`. + */ +export const SEMATTRS_HTTP_URL = 'http.url'; + +/** + * Deprecated, use `user_agent.original` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `user_agent.original`. + */ +export const SEMATTRS_HTTP_USER_AGENT = 'http.user_agent'; + +/** + * "Deprecated, use `messaging.destination.partition.id` instead.". + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `messaging.destination.partition.id`. + */ +export const SEMATTRS_MESSAGING_KAFKA_DESTINATION_PARTITION = + 'messaging.kafka.destination.partition'; + +/** + * Deprecated, use `server.address`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `server.address`. + */ +export const SEMATTRS_NET_HOST_NAME = 'net.host.name'; + +/** + * Deprecated, use `server.port`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `server.port`. + */ +export const SEMATTRS_NET_HOST_PORT = 'net.host.port'; + +/** + * Deprecated, use `server.address` on client spans and `client.address` on server spans. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans. + */ +export const SEMATTRS_NET_PEER_NAME = 'net.peer.name'; + +/** + * Deprecated, use `server.port` on client spans and `client.port` on server spans. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans. + */ +export const SEMATTRS_NET_PEER_PORT = 'net.peer.port'; + +/** + * Deprecated, use `network.protocol.name`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const SEMATTRS_NET_PROTOCOL_NAME = 'net.protocol.name'; + +/** + * Deprecated, use `network.protocol.version`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.version`. + */ +export const SEMATTRS_NET_PROTOCOL_VERSION = 'net.protocol.version'; + +/** + * Deprecated, use `network.transport` and `network.type`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Split to `network.transport` and `network.type`. + */ +export const SEMATTRS_NET_SOCK_FAMILY = 'net.sock.family'; + +/** + * Deprecated, use `network.local.address`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.local.address`. + */ +export const SEMATTRS_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; + +/** + * Deprecated, use `network.local.port`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.local.port`. + */ +export const SEMATTRS_NET_SOCK_HOST_PORT = 'net.sock.host.port'; + +/** + * Deprecated, use `network.peer.address`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.peer.address`. + */ +export const SEMATTRS_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; + +/** + * Deprecated, no replacement at this time. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Removed. + */ +export const SEMATTRS_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; + +/** + * Deprecated, use `network.peer.port`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.peer.port`. + */ +export const SEMATTRS_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.transport`. + */ +export const SEMATTRS_NET_TRANSPORT = 'net.transport'; + +/** + * Deprecated, use `system.process.status` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `system.process.status`. + */ +export const SEMATTRS_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; + +/** + * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * Note: When observed from the source side, and when communicating through an intermediary, `destination.address` SHOULD represent the destination address behind any intermediaries, for example proxies, if it's available. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DESTINATION_ADDRESS = 'destination.address'; + +/** + * Destination port number. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DESTINATION_PORT = 'destination.port'; + +/** + * A unique identifier representing the device. + * + * Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DEVICE_ID = 'device.id'; + +/** + * The name of the device manufacturer. + * + * Note: The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps SHOULD hardcode the value `Apple`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DEVICE_MANUFACTURER = 'device.manufacturer'; + +/** + * The model identifier for the device. + * + * Note: It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; + +/** + * The marketing name for the device model. + * + * Note: It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DEVICE_MODEL_NAME = 'device.model.name'; + +/** + * The disk IO operation direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DISK_IO_DIRECTION = 'disk.io.direction'; + +/** + * The name being queried. + * + * Note: If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_DNS_QUESTION_NAME = 'dns.question.name'; + +/** + * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_ENDUSER_ID = 'enduser.id'; + +/** + * Actual/assumed role the client is making the request under extracted from token or application security context. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_ENDUSER_ROLE = 'enduser.role'; + +/** + * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_ENDUSER_SCOPE = 'enduser.scope'; + +/** + * A boolean that is true if the serverless function is executed for the first time (aka cold-start). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_COLDSTART = 'faas.coldstart'; + +/** + * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_CRON = 'faas.cron'; + +/** + * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; + +/** + * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_DOCUMENT_NAME = 'faas.document.name'; + +/** + * Describes the type of the operation that was performed on the data. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; + +/** + * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_DOCUMENT_TIME = 'faas.document.time'; + +/** + * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. + * + * Note: * **AWS Lambda:** Use the (full) log stream name. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_INSTANCE = 'faas.instance'; + +/** + * The invocation ID of the current function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_INVOCATION_ID = 'faas.invocation_id'; + +/** + * The name of the invoked function. + * + * Note: SHOULD be equal to the `faas.name` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_INVOKED_NAME = 'faas.invoked_name'; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; + +/** + * The cloud region of the invoked function. + * + * Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_INVOKED_REGION = 'faas.invoked_region'; + +/** + * The amount of memory available to the serverless function converted to Bytes. + * + * Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_MAX_MEMORY = 'faas.max_memory'; + +/** +* The name of the single function that this runtime instance executes. +* +* Note: This is the name of the function as configured/deployed on the FaaS +platform and is usually different from the name of the callback +function (which may be stored in the +[`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes) +span attributes). + +For some cloud providers, the above definition is ambiguous. The following +definition of function name MUST be used for this attribute +(and consequently the span name) for the listed cloud providers/products: + +* **Azure:** The full name `<FUNCAPP>/<FUNC>`, i.e., function app name + followed by a forward slash followed by the function name (this form + can also be seen in the resource JSON for the function). + This means that a span attribute MUST be used, as an Azure function + app can host multiple functions that would usually share + a TracerProvider (see also the `cloud.resource_id` attribute). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_FAAS_NAME = 'faas.name'; + +/** + * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_TIME = 'faas.time'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FAAS_TRIGGER = 'faas.trigger'; + +/** +* The immutable version of the function being executed. +* +* Note: Depending on the cloud provider and platform, use: + +* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) + (an integer represented as a decimal string). +* **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) + (i.e., the function name plus the revision suffix). +* **Google Cloud Functions:** The value of the + [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). +* **Azure Functions:** Not applicable. Do not set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_FAAS_VERSION = 'faas.version'; + +/** + * The unique identifier of the feature flag. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FEATURE_FLAG_KEY = 'feature_flag.key'; + +/** + * The name of the service provider that performs the flag evaluation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; + +/** +* SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. +* +* Note: A semantic identifier, commonly referred to as a variant, provides a means +for referring to a value without including the value itself. This can +provide additional context for understanding the meaning behind a value. +For example, the variant `red` maybe be used for the value `#c05543`. + +A stringified version of the value can be used in situations where a +semantic identifier is unavailable. String representation of the value +should be determined by the implementer. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; + +/** + * Directory where the file is located. It should include the drive letter, when appropriate. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FILE_DIRECTORY = 'file.directory'; + +/** + * File extension, excluding the leading dot. + * + * Note: When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz"). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FILE_EXTENSION = 'file.extension'; + +/** + * Name of the file including the extension, without the directory. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FILE_NAME = 'file.name'; + +/** + * Full path to the file, including the file name. It should include the drive letter, when appropriate. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FILE_PATH = 'file.path'; + +/** + * File size in bytes. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_FILE_SIZE = 'file.size'; + +/** + * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GCP_CLOUD_RUN_JOB_EXECUTION = + 'gcp.cloud_run.job.execution'; + +/** + * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GCP_CLOUD_RUN_JOB_TASK_INDEX = + 'gcp.cloud_run.job.task_index'; + +/** + * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; + +/** + * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_ARCH = 'host.arch'; + +/** + * The amount of level 2 memory cache available to the processor (in Bytes). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; + +/** + * Family or generation of the CPU. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_CPU_FAMILY = 'host.cpu.family'; + +/** + * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; + +/** + * Model designation of the processor. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; + +/** + * Stepping or core revisions. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_CPU_STEPPING = 'host.cpu.stepping'; + +/** + * Processor manufacturer identifier. A maximum 12-character string. + * + * Note: [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; + +/** + * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_ID = 'host.id'; + +/** + * VM image ID or host OS image ID. For Cloud, this value is from the provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_IMAGE_ID = 'host.image.id'; + +/** + * Name of the VM image or OS install the host was instantiated from. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_IMAGE_NAME = 'host.image.name'; + +/** + * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_IMAGE_VERSION = 'host.image.version'; + +/** + * Available IP addresses of the host, excluding loopback interfaces. + * + * Note: IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_IP = 'host.ip'; + +/** + * Available MAC addresses of the host, excluding loopback interfaces. + * + * Note: MAC Addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_MAC = 'host.mac'; + +/** + * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_NAME = 'host.name'; + +/** + * Type of host. For Cloud, this must be the machine type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HOST_TYPE = 'host.type'; + +/** + * State of the HTTP connection in the HTTP connection pool. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HTTP_CONNECTION_STATE = 'http.connection.state'; + +/** + * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; + +/** + * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HTTP_REQUEST_SIZE = 'http.request.size'; + +/** + * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; + +/** + * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HTTP_RESPONSE_SIZE = 'http.response.size'; + +/** + * The name of the cluster. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_CLUSTER_NAME = 'k8s.cluster.name'; + +/** +* A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. +* +* Note: K8s doesn't have support for obtaining a cluster ID. If this is ever +added, we will recommend collecting the `k8s.cluster.uid` through the +official APIs. In the meantime, we are able to use the `uid` of the +`kube-system` namespace as a proxy for cluster ID. Read on for the +rationale. + +Every object created in a K8s cluster is assigned a distinct UID. The +`kube-system` namespace is used by Kubernetes itself and will exist +for the lifetime of the cluster. Using the `uid` of the `kube-system` +namespace is a reasonable proxy for the K8s ClusterID as it will only +change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are +UUIDs as standardized by +[ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). +Which states: + +> If generated according to one of the mechanisms defined in Rec. + ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be + different from all other UUIDs generated before 3603 A.D., or is + extremely likely to be different (depending on the mechanism chosen). + +Therefore, UIDs between clusters should be extremely unlikely to +conflict. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_K8S_CLUSTER_UID = 'k8s.cluster.uid'; + +/** + * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_CONTAINER_NAME = 'k8s.container.name'; + +/** + * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_CONTAINER_RESTART_COUNT = + 'k8s.container.restart_count'; + +/** + * The name of the CronJob. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; + +/** + * The UID of the CronJob. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; + +/** + * The name of the DaemonSet. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; + +/** + * The UID of the DaemonSet. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; + +/** + * The name of the Deployment. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; + +/** + * The UID of the Deployment. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; + +/** + * The name of the Job. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_JOB_NAME = 'k8s.job.name'; + +/** + * The UID of the Job. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_JOB_UID = 'k8s.job.uid'; + +/** + * The name of the namespace that the pod is running in. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; + +/** + * The name of the Node. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_NODE_NAME = 'k8s.node.name'; + +/** + * The UID of the Node. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_NODE_UID = 'k8s.node.uid'; + +/** + * The name of the Pod. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_POD_NAME = 'k8s.pod.name'; + +/** + * The UID of the Pod. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_POD_UID = 'k8s.pod.uid'; + +/** + * The name of the ReplicaSet. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; + +/** + * The UID of the ReplicaSet. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; + +/** + * The name of the StatefulSet. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; + +/** + * The UID of the StatefulSet. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; + +/** + * The number of messages sent, received, or processed in the scope of the batching operation. + * + * Note: Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.message_count` for batching APIs and SHOULD NOT use it for single-message APIs. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_BATCH_MESSAGE_COUNT = + 'messaging.batch.message_count'; + +/** + * A unique identifier for the client that consumes or produces a message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_CLIENT_ID = 'messaging.client_id'; + +/** + * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_DESTINATION_ANONYMOUS = + 'messaging.destination.anonymous'; + +/** +* The message destination name. +* +* Note: Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If +the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; + +/** + * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_DESTINATION_PARTITION_ID = + 'messaging.destination.partition.id'; + +/** + * Low cardinality representation of the messaging destination name. + * + * Note: Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_DESTINATION_TEMPLATE = + 'messaging.destination.template'; + +/** + * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_DESTINATION_TEMPORARY = + 'messaging.destination.temporary'; + +/** + * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = + 'messaging.destination_publish.anonymous'; + +/** +* The name of the original destination the message was published to. +* +* Note: The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If +the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_MESSAGING_DESTINATION_PUBLISH_NAME = + 'messaging.destination_publish.name'; + +/** + * The name of the consumer group the event consumer is associated with. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_EVENTHUBS_CONSUMER_GROUP = + 'messaging.eventhubs.consumer.group'; + +/** + * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = + 'messaging.eventhubs.message.enqueued_time'; + +/** + * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = + 'messaging.gcp_pubsub.message.ordering_key'; + +/** + * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP = + 'messaging.kafka.consumer.group'; + +/** + * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. + * + * Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY = + 'messaging.kafka.message.key'; + +/** + * The offset of a record in the corresponding Kafka partition. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_OFFSET = + 'messaging.kafka.message.offset'; + +/** + * A boolean that is true if the message is a tombstone. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = + 'messaging.kafka.message.tombstone'; + +/** +* The size of the message body in bytes. +* +* Note: This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed +body size should be used. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_MESSAGING_MESSAGE_BODY_SIZE = + 'messaging.message.body.size'; + +/** + * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_MESSAGE_CONVERSATION_ID = + 'messaging.message.conversation_id'; + +/** +* The size of the message body and metadata in bytes. +* +* Note: This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed +size should be used. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_MESSAGING_MESSAGE_ENVELOPE_SIZE = + 'messaging.message.envelope.size'; + +/** + * A value used by the messaging system as an identifier for the message, represented as a string. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_MESSAGE_ID = 'messaging.message.id'; + +/** + * A string identifying the kind of messaging operation. + * + * Note: If a custom value is used, it MUST be of low cardinality. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_OPERATION = 'messaging.operation'; + +/** + * RabbitMQ message routing key. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = + 'messaging.rabbitmq.destination.routing_key'; + +/** + * RabbitMQ message delivery tag. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = + 'messaging.rabbitmq.message.delivery_tag'; + +/** + * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_CLIENT_GROUP = + 'messaging.rocketmq.client_group'; + +/** + * Model of message consumption. This only applies to consumer spans. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = + 'messaging.rocketmq.consumption_model'; + +/** + * The delay time level for delay message, which determines the message delay time. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = + 'messaging.rocketmq.message.delay_time_level'; + +/** + * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = + 'messaging.rocketmq.message.delivery_timestamp'; + +/** + * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_GROUP = + 'messaging.rocketmq.message.group'; + +/** + * Key(s) of message, another way to mark message besides message id. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_KEYS = + 'messaging.rocketmq.message.keys'; + +/** + * The secondary classifier of message besides topic. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_TAG = + 'messaging.rocketmq.message.tag'; + +/** + * Type of message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_TYPE = + 'messaging.rocketmq.message.type'; + +/** + * Namespace of RocketMQ resources, resources in different namespaces are individual. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_ROCKETMQ_NAMESPACE = + 'messaging.rocketmq.namespace'; + +/** + * The name of the subscription in the topic messages are received from. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = + 'messaging.servicebus.destination.subscription_name'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = + 'messaging.servicebus.disposition_status'; + +/** + * Number of deliveries that have been attempted for this message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = + 'messaging.servicebus.message.delivery_count'; + +/** + * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = + 'messaging.servicebus.message.enqueued_time'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGING_SYSTEM = 'messaging.system'; + +/** + * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_CARRIER_ICC = 'network.carrier.icc'; + +/** + * The mobile carrier country code. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; + +/** + * The mobile carrier network code. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; + +/** + * The name of the mobile carrier. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_CARRIER_NAME = 'network.carrier.name'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; + +/** + * The internet connection type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_CONNECTION_TYPE = 'network.connection.type'; + +/** + * The network IO operation direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_NETWORK_IO_DIRECTION = 'network.io.direction'; + +/** +* The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. +* +* Note: Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). +An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; + +/** + * Unique identifier for a particular build or compilation of the operating system. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_OS_BUILD_ID = 'os.build_id'; + +/** + * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_OS_DESCRIPTION = 'os.description'; + +/** + * Human readable operating system name. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_OS_NAME = 'os.name'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_OS_TYPE = 'os.type'; + +/** + * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_OS_VERSION = 'os.version'; + +/** + * The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PEER_SERVICE = 'peer.service'; + +/** + * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_COMMAND = 'process.command'; + +/** + * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_COMMAND_ARGS = 'process.command_args'; + +/** + * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_COMMAND_LINE = 'process.command_line'; + +/** + * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; + +/** + * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; + +/** + * The username of the user that owns the process. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_OWNER = 'process.owner'; + +/** + * Parent Process identifier (PPID). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_PARENT_PID = 'process.parent_pid'; + +/** + * Process identifier (PID). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_PID = 'process.pid'; + +/** + * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_RUNTIME_DESCRIPTION = + 'process.runtime.description'; + +/** + * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_RUNTIME_NAME = 'process.runtime.name'; + +/** + * The version of the runtime of this process, as returned by the runtime without modification. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; + +/** + * `error.code` property of response if it is an error response. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; + +/** + * `error.message` property of response if it is an error response. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; + +/** + * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; + +/** + * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; + +/** + * The name of the (logical) method being called, must be equal to the $method part in the span name. + * + * Note: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_METHOD = 'rpc.method'; + +/** + * The full (logical) name of the service being called, including its package name, if applicable. + * + * Note: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_SERVICE = 'rpc.service'; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_RPC_SYSTEM = 'rpc.system'; + +/** +* The string ID of the service instance. +* +* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words +`service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to +distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled +service). + +Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC +4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of +this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and +SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. + +UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is +needed. Similar to what can be seen in the man page for the +[`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying +data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it +or not via another resource attribute. + +For applications running behind an application server (like unicorn), we do not recommend using one identifier +for all processes participating in the application. Instead, it's recommended each division (e.g. a worker +thread in unicorn) to have its own instance.id. + +It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the +service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will +likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. +However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance +for that telemetry. This is typically the case for scraping receivers, as they know the target address and +port. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_SERVICE_INSTANCE_ID = 'service.instance.id'; + +/** + * A namespace for `service.name`. + * + * Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SERVICE_NAMESPACE = 'service.namespace'; + +/** + * A unique id to identify a session. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SESSION_ID = 'session.id'; + +/** + * The previous `session.id` for this user, when known. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SESSION_PREVIOUS_ID = 'session.previous_id'; + +/** + * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * Note: When observed from the destination side, and when communicating through an intermediary, `source.address` SHOULD represent the source address behind any intermediaries, for example proxies, if it's available. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SOURCE_ADDRESS = 'source.address'; + +/** + * Source port number. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_SOURCE_PORT = 'source.port'; + +/** +* The name of the auto instrumentation agent or distribution, if used. +* +* Note: Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to +a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; + +/** + * The version string of the auto instrumentation agent or distribution, if used. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; + +/** + * Current "managed" thread ID (as opposed to OS thread ID). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_THREAD_ID = 'thread.id'; + +/** + * Current thread name. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_THREAD_NAME = 'thread.name'; + +/** + * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. + * + * Note: The values allowed for `tls.cipher` MUST be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CIPHER = 'tls.cipher'; + +/** + * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; + +/** + * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_CERTIFICATE_CHAIN = + 'tls.client.certificate_chain'; + +/** + * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; + +/** + * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; + +/** + * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; + +/** + * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_ISSUER = 'tls.client.issuer'; + +/** + * A hash that identifies clients based on how they perform an SSL/TLS handshake. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_JA3 = 'tls.client.ja3'; + +/** + * Date/Time indicating when client certificate is no longer considered valid. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; + +/** + * Date/Time indicating when client certificate is first considered valid. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; + +/** + * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; + +/** + * Distinguished name of subject of the x.509 certificate presented by the client. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_SUBJECT = 'tls.client.subject'; + +/** + * Array of ciphers offered by the client during the client hello. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CLIENT_SUPPORTED_CIPHERS = + 'tls.client.supported_ciphers'; + +/** + * String indicating the curve used for the given cipher, when applicable. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_CURVE = 'tls.curve'; + +/** + * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_ESTABLISHED = 'tls.established'; + +/** + * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; + +/** + * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_PROTOCOL_NAME = 'tls.protocol.name'; + +/** + * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; + +/** + * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_RESUMED = 'tls.resumed'; + +/** + * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; + +/** + * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_CERTIFICATE_CHAIN = + 'tls.server.certificate_chain'; + +/** + * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; + +/** + * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; + +/** + * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; + +/** + * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_ISSUER = 'tls.server.issuer'; + +/** + * A hash that identifies servers based on how they perform an SSL/TLS handshake. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_JA3S = 'tls.server.ja3s'; + +/** + * Date/Time indicating when server certificate is no longer considered valid. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; + +/** + * Date/Time indicating when server certificate is first considered valid. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; + +/** + * Distinguished name of subject of the x.509 certificate presented by the server. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_TLS_SERVER_SUBJECT = 'tls.server.subject'; + +/** + * Domain extracted from the `url.full`, such as "opentelemetry.io". + * + * Note: In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_URL_DOMAIN = 'url.domain'; + +/** + * The file extension extracted from the `url.full`, excluding the leading dot. + * + * Note: The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_URL_EXTENSION = 'url.extension'; + +/** +* Unmodified original URL as seen in the event source. +* +* Note: In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. +`url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_URL_ORIGINAL = 'url.original'; + +/** + * Port extracted from the `url.full`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_URL_PORT = 'url.port'; + +/** + * The highest registered url domain, stripped of the subdomain. + * + * Note: This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_URL_REGISTERED_DOMAIN = 'url.registered_domain'; + +/** + * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. + * + * Note: The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_URL_SUBDOMAIN = 'url.subdomain'; + +/** + * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. + * + * Note: This value can be determined precisely with the [public suffix list](http://publicsuffix.org). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; + +/** + * Name of the user-agent extracted from original. Usually refers to the browser's name. + * + * Note: [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name SHOULD be selected. In such a scenario it should align with `user_agent.version`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_USER_AGENT_NAME = 'user_agent.name'; + +/** + * Version of the user-agent extracted from original. Usually refers to the browser's version. + * + * Note: [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version SHOULD be selected. In such a scenario it should align with `user_agent.name`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_USER_AGENT_VERSION = 'user_agent.version'; + +/** + * The ID of a running ECS task. The ID MUST be extracted from `task.arn`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; + +/** + * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; + +/** + * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; + +/** + * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; + +/** + * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; + +/** + * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; + +/** + * The revision for the task definition used to create the ECS task. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; + +/** + * The ARN of an EKS cluster. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; + +/** + * The Amazon Resource Name(s) (ARN) of the AWS log group(s). + * + * Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; + +/** + * The name(s) of the AWS log group(s) an application is writing to. + * + * Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; + +/** + * The ARN(s) of the AWS log stream(s). + * + * Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; + +/** + * The name(s) of the AWS log stream(s) an application is writing to. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; + +/** + * Unique identifier for the application. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HEROKU_APP_ID = 'heroku.app.id'; + +/** + * Commit hash for the current release. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; + +/** + * Time and date the release was created. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_HEROKU_RELEASE_CREATION_TIMESTAMP = + 'heroku.release.creation_timestamp'; + +/** + * The name of the web engine. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_WEBENGINE_NAME = 'webengine.name'; + +/** + * Additional description of the web engine (e.g. detailed version and edition information). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_WEBENGINE_DESCRIPTION = 'webengine.description'; + +/** + * The version of the web engine. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_WEBENGINE_VERSION = 'webengine.version'; + +/** + * None. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated use the `otel.scope.name` attribute. + */ +export const SEMATTRS_OTEL_LIBRARY_NAME = 'otel.library.name'; + +/** + * None. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated use the `otel.scope.version` attribute. + */ +export const SEMATTRS_OTEL_LIBRARY_VERSION = 'otel.library.version'; + +/** + * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). + * + * Note: This may be different from `cloud.resource_id` if an alias is involved. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; + +/** + * Parent-child Reference type. + * + * Note: The causal relationship between a child Span and a parent Span. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; + +/** + * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_AWS_REQUEST_ID = 'aws.request_id'; + +/** +* The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. +* +* Note: The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. +This applies to almost all S3 operations except `list-buckets`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_AWS_S3_BUCKET = 'aws.s3.bucket'; + +/** +* The source object (in the form `bucket`/`key`) for the copy operation. +* +* Note: The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter +of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). +This applies in particular to the following operations: + +- [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) +- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; + +/** +* The delete request container that specifies the objects to be deleted. +* +* Note: The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. +The `delete` attribute corresponds to the `--delete` parameter of the +[delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_AWS_S3_DELETE = 'aws.s3.delete'; + +/** +* The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. +* +* Note: The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. +This applies in particular to the following operations: + +- [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) +- [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) +- [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) +- [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html) +- [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html) +- [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html) +- [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html) +- [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) +- [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) +- [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html) +- [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) +- [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) +- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_AWS_S3_KEY = 'aws.s3.key'; + +/** +* The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. +* +* Note: The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) +and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. +The `part_number` attribute corresponds to the `--part-number` parameter of the +[upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; + +/** +* Upload ID that identifies the multipart upload. +* +* Note: The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter +of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. +This applies in particular to the following operations: + +- [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) +- [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) +- [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) +- [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) +- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. +*/ +export const SEMATTRS_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; + +/** + * The GraphQL document being executed. + * + * Note: The value may be sanitized to exclude sensitive information. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GRAPHQL_DOCUMENT = 'graphql.document'; + +/** + * The name of the operation being executed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; + +/** + * The type of the operation being executed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; + +/** + * Compressed size of the message in bytes. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; + +/** + * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. + * + * Note: This way we guarantee that the values will be consistent between different implementations. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGE_ID = 'message.id'; + +/** + * Whether this is a received or sent message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGE_TYPE = 'message.type'; + +/** + * Uncompressed size of the message in bytes. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; + +/** + * The stream associated with the log. See below for a list of well-known values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const LOG_IOSTREAM_VALUES_STDOUT = 'stdout'; + +/** + * The stream associated with the log. See below for a list of well-known values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const LOG_IOSTREAM_VALUES_STDERR = 'stderr'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const IOS_STATE_VALUES_ACTIVE = 'active'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const IOS_STATE_VALUES_INACTIVE = 'inactive'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const IOS_STATE_VALUES_BACKGROUND = 'background'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const IOS_STATE_VALUES_FOREGROUND = 'foreground'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const IOS_STATE_VALUES_TERMINATE = 'terminate'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ANDROID_STATE_VALUES_CREATED = 'created'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ANDROID_STATE_VALUES_BACKGROUND = 'background'; + +/** + * This attribute represents the state the application has transitioned into at the occurrence of the event. + * + * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ANDROID_STATE_VALUES_FOREGROUND = 'foreground'; + +/** + * The state of a connection in the pool. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const STATE_VALUES_IDLE = 'idle'; + +/** + * The state of a connection in the pool. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const STATE_VALUES_USED = 'used'; + +/** + * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_CPU_STATE_VALUES_SYSTEM = 'system'; + +/** + * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_CPU_STATE_VALUES_USER = 'user'; + +/** + * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_CPU_STATE_VALUES_WAIT = 'wait'; + +/** + * Specifies whether the context switches for this data point were voluntary or involuntary. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY = 'voluntary'; + +/** + * Specifies whether the context switches for this data point were voluntary or involuntary. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_INVOLUNTARY = 'involuntary'; + +/** + * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR = 'major'; + +/** + * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const PROCESS_PAGING_FAULT_TYPE_VALUES_MINOR = 'minor'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_USER = 'user'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_SYSTEM = 'system'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_NICE = 'nice'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_IDLE = 'idle'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_IOWAIT = 'iowait'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_INTERRUPT = 'interrupt'; + +/** + * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_CPU_STATE_VALUES_STEAL = 'steal'; + +/** + * The memory state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_MEMORY_STATE_VALUES_USED = 'used'; + +/** + * The memory state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_MEMORY_STATE_VALUES_FREE = 'free'; + +/** + * The memory state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_MEMORY_STATE_VALUES_SHARED = 'shared'; + +/** + * The memory state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_MEMORY_STATE_VALUES_BUFFERS = 'buffers'; + +/** + * The memory state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_MEMORY_STATE_VALUES_CACHED = 'cached'; + +/** + * The paging access direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PAGING_DIRECTION_VALUES_IN = 'in'; + +/** + * The paging access direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PAGING_DIRECTION_VALUES_OUT = 'out'; + +/** + * The memory paging state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PAGING_STATE_VALUES_USED = 'used'; + +/** + * The memory paging state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PAGING_STATE_VALUES_FREE = 'free'; + +/** + * The memory paging type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PAGING_TYPE_VALUES_MAJOR = 'major'; + +/** + * The memory paging type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PAGING_TYPE_VALUES_MINOR = 'minor'; + +/** + * The filesystem state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_STATE_VALUES_USED = 'used'; + +/** + * The filesystem state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_STATE_VALUES_FREE = 'free'; + +/** + * The filesystem state. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_STATE_VALUES_RESERVED = 'reserved'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_TYPE_VALUES_FAT32 = 'fat32'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXFAT = 'exfat'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_TYPE_VALUES_NTFS = 'ntfs'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_TYPE_VALUES_REFS = 'refs'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_TYPE_VALUES_HFSPLUS = 'hfsplus'; + +/** + * The filesystem type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXT4 = 'ext4'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_CLOSE = 'close'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_CLOSE_WAIT = 'close_wait'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_CLOSING = 'closing'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_DELETE = 'delete'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_ESTABLISHED = 'established'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_1 = 'fin_wait_1'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_2 = 'fin_wait_2'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_LAST_ACK = 'last_ack'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_LISTEN = 'listen'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_SYN_RECV = 'syn_recv'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_SYN_SENT = 'syn_sent'; + +/** + * A stateless protocol MUST NOT set this attribute. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_NETWORK_STATE_VALUES_TIME_WAIT = 'time_wait'; + +/** + * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PROCESS_STATUS_VALUES_RUNNING = 'running'; + +/** + * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PROCESS_STATUS_VALUES_SLEEPING = 'sleeping'; + +/** + * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PROCESS_STATUS_VALUES_STOPPED = 'stopped'; + +/** + * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const SYSTEM_PROCESS_STATUS_VALUES_DEFUNCT = 'defunct'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT = + 'alibaba_cloud_openshift'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_EC2 = 'aws_ec2'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_ECS = 'aws_ecs'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_EKS = 'aws_eks'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_LAMBDA = 'aws_lambda'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK = + 'aws_elastic_beanstalk'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_APP_RUNNER = 'aws_app_runner'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AWS_OPENSHIFT = 'aws_openshift'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_VM = 'azure_vm'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS = + 'azure_container_apps'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES = + 'azure_container_instances'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_AKS = 'azure_aks'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS = 'azure_functions'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE = 'azure_app_service'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_AZURE_OPENSHIFT = 'azure_openshift'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION = + 'gcp_bare_metal_solution'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN = 'gcp_cloud_run'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE = + 'gcp_kubernetes_engine'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE = 'gcp_app_engine'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_GCP_OPENSHIFT = 'gcp_openshift'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; + +/** + * The cloud platform in use. + * + * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_AWS = 'aws'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_AZURE = 'azure'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_GCP = 'gcp'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_HEROKU = 'heroku'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_IBM_CLOUD = 'ibm_cloud'; + +/** + * Name of the cloud provider. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CLOUD_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; + +/** + * The CPU state for this data point. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CONTAINER_CPU_STATE_VALUES_USER = 'user'; + +/** + * The CPU state for this data point. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CONTAINER_CPU_STATE_VALUES_SYSTEM = 'system'; + +/** + * The CPU state for this data point. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const CONTAINER_CPU_STATE_VALUES_KERNEL = 'kernel'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL = 'all'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM = 'each_quorum'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM = 'quorum'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM = + 'local_quorum'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE = 'one'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO = 'two'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE = 'three'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE = 'local_one'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY = 'any'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL = 'serial'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL = + 'local_serial'; + +/** + * Cosmos client connection mode. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY = 'gateway'; + +/** + * Cosmos client connection mode. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_CONNECTION_MODE_VALUES_DIRECT = 'direct'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID = 'Invalid'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_CREATE = 'Create'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_PATCH = 'Patch'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ = 'Read'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ_FEED = 'ReadFeed'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_DELETE = 'Delete'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_REPLACE = 'Replace'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE = 'Execute'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY = 'Query'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD = 'Head'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD_FEED = 'HeadFeed'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_UPSERT = 'Upsert'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_BATCH = 'Batch'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY_PLAN = 'QueryPlan'; + +/** + * CosmosDB Operation Type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT = + 'ExecuteJavaScript'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_OTHER_SQL = 'other_sql'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MSSQL = 'mssql'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MSSQLCOMPACT = 'mssqlcompact'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MYSQL = 'mysql'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_ORACLE = 'oracle'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_DB2 = 'db2'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_POSTGRESQL = 'postgresql'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_REDSHIFT = 'redshift'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_HIVE = 'hive'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_CLOUDSCAPE = 'cloudscape'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_HSQLDB = 'hsqldb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_PROGRESS = 'progress'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MAXDB = 'maxdb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_HANADB = 'hanadb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_INGRES = 'ingres'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_FIRSTSQL = 'firstsql'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_EDB = 'edb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_CACHE = 'cache'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_ADABAS = 'adabas'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_FIREBIRD = 'firebird'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_DERBY = 'derby'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_FILEMAKER = 'filemaker'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_INFORMIX = 'informix'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_INSTANTDB = 'instantdb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_INTERBASE = 'interbase'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MARIADB = 'mariadb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_NETEZZA = 'netezza'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_PERVASIVE = 'pervasive'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_POINTBASE = 'pointbase'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_SQLITE = 'sqlite'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_SYBASE = 'sybase'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_TERADATA = 'teradata'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_VERTICA = 'vertica'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_H2 = 'h2'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_COLDFUSION = 'coldfusion'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_CASSANDRA = 'cassandra'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_HBASE = 'hbase'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MONGODB = 'mongodb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_REDIS = 'redis'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_COUCHBASE = 'couchbase'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_COUCHDB = 'couchdb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_COSMOSDB = 'cosmosdb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_DYNAMODB = 'dynamodb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_NEO4J = 'neo4j'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_GEODE = 'geode'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_ELASTICSEARCH = 'elasticsearch'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_MEMCACHED = 'memcached'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_COCKROACHDB = 'cockroachdb'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_OPENSEARCH = 'opensearch'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_CLICKHOUSE = 'clickhouse'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_SPANNER = 'spanner'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DB_SYSTEM_VALUES_TRINO = 'trino'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const HTTP_FLAVOR_VALUES_HTTP_1_0 = '1.0'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const HTTP_FLAVOR_VALUES_HTTP_1_1 = '1.1'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const HTTP_FLAVOR_VALUES_HTTP_2_0 = '2.0'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const HTTP_FLAVOR_VALUES_HTTP_3_0 = '3.0'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const HTTP_FLAVOR_VALUES_SPDY = 'SPDY'; + +/** + * Deprecated, use `network.protocol.name` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.protocol.name`. + */ +export const HTTP_FLAVOR_VALUES_QUIC = 'QUIC'; + +/** + * Deprecated, use `network.transport` and `network.type`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Split to `network.transport` and `network.type`. + */ +export const NET_SOCK_FAMILY_VALUES_INET = 'inet'; + +/** + * Deprecated, use `network.transport` and `network.type`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Split to `network.transport` and `network.type`. + */ +export const NET_SOCK_FAMILY_VALUES_INET6 = 'inet6'; + +/** + * Deprecated, use `network.transport` and `network.type`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Split to `network.transport` and `network.type`. + */ +export const NET_SOCK_FAMILY_VALUES_UNIX = 'unix'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.transport`. + */ +export const NET_TRANSPORT_VALUES_IP_TCP = 'ip_tcp'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.transport`. + */ +export const NET_TRANSPORT_VALUES_IP_UDP = 'ip_udp'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.transport`. + */ +export const NET_TRANSPORT_VALUES_PIPE = 'pipe'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.transport`. + */ +export const NET_TRANSPORT_VALUES_INPROC = 'inproc'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `network.transport`. + */ +export const NET_TRANSPORT_VALUES_OTHER = 'other'; + +/** + * Deprecated, use `system.process.status` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `system.process.status`. + */ +export const SYSTEM_PROCESSES_STATUS_VALUES_RUNNING = 'running'; + +/** + * Deprecated, use `system.process.status` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `system.process.status`. + */ +export const SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING = 'sleeping'; + +/** + * Deprecated, use `system.process.status` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `system.process.status`. + */ +export const SYSTEM_PROCESSES_STATUS_VALUES_STOPPED = 'stopped'; + +/** + * Deprecated, use `system.process.status` instead. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated Replaced by `system.process.status`. + */ +export const SYSTEM_PROCESSES_STATUS_VALUES_DEFUNCT = 'defunct'; + +/** + * The disk IO operation direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DISK_IO_DIRECTION_VALUES_READ = 'read'; + +/** + * The disk IO operation direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const DISK_IO_DIRECTION_VALUES_WRITE = 'write'; + +/** + * Describes the type of the operation that was performed on the data. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_DOCUMENT_OPERATION_VALUES_INSERT = 'insert'; + +/** + * Describes the type of the operation that was performed on the data. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_DOCUMENT_OPERATION_VALUES_EDIT = 'edit'; + +/** + * Describes the type of the operation that was performed on the data. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_DOCUMENT_OPERATION_VALUES_DELETE = 'delete'; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_INVOKED_PROVIDER_VALUES_AWS = 'aws'; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_INVOKED_PROVIDER_VALUES_AZURE = 'azure'; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_INVOKED_PROVIDER_VALUES_GCP = 'gcp'; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_INVOKED_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_TRIGGER_VALUES_DATASOURCE = 'datasource'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_TRIGGER_VALUES_HTTP = 'http'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_TRIGGER_VALUES_PUBSUB = 'pubsub'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_TRIGGER_VALUES_TIMER = 'timer'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const FAAS_TRIGGER_VALUES_OTHER = 'other'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_AMD64 = 'amd64'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_ARM32 = 'arm32'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_ARM64 = 'arm64'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_IA64 = 'ia64'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_PPC32 = 'ppc32'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_PPC64 = 'ppc64'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_S390X = 's390x'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HOST_ARCH_VALUES_X86 = 'x86'; + +/** + * State of the HTTP connection in the HTTP connection pool. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HTTP_CONNECTION_STATE_VALUES_ACTIVE = 'active'; + +/** + * State of the HTTP connection in the HTTP connection pool. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const HTTP_CONNECTION_STATE_VALUES_IDLE = 'idle'; + +/** + * A string identifying the kind of messaging operation. + * + * Note: If a custom value is used, it MUST be of low cardinality. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_OPERATION_VALUES_PUBLISH = 'publish'; + +/** + * A string identifying the kind of messaging operation. + * + * Note: If a custom value is used, it MUST be of low cardinality. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_OPERATION_VALUES_CREATE = 'create'; + +/** + * A string identifying the kind of messaging operation. + * + * Note: If a custom value is used, it MUST be of low cardinality. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_OPERATION_VALUES_RECEIVE = 'receive'; + +/** + * A string identifying the kind of messaging operation. + * + * Note: If a custom value is used, it MUST be of low cardinality. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_OPERATION_VALUES_DELIVER = 'process'; + +/** + * A string identifying the kind of messaging operation. + * + * Note: If a custom value is used, it MUST be of low cardinality. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_OPERATION_VALUES_SETTLE = 'settle'; + +/** + * Model of message consumption. This only applies to consumer spans. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING = + 'clustering'; + +/** + * Model of message consumption. This only applies to consumer spans. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING = + 'broadcasting'; + +/** + * Type of message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL = 'normal'; + +/** + * Type of message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_FIFO = 'fifo'; + +/** + * Type of message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_DELAY = 'delay'; + +/** + * Type of message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_TRANSACTION = 'transaction'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE = + 'complete'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_ABANDON = 'abandon'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER = + 'dead_letter'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEFER = 'defer'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_ACTIVEMQ = 'activemq'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_AWS_SQS = 'aws_sqs'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_EVENTGRID = 'eventgrid'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_EVENTHUBS = 'eventhubs'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_SERVICEBUS = 'servicebus'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_GCP_PUBSUB = 'gcp_pubsub'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_JMS = 'jms'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_KAFKA = 'kafka'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_RABBITMQ = 'rabbitmq'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGING_SYSTEM_VALUES_ROCKETMQ = 'rocketmq'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS = 'gprs'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_EDGE = 'edge'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_UMTS = 'umts'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA = 'cdma'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_0 = 'evdo_0'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_A = 'evdo_a'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT = + 'cdma2000_1xrtt'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSDPA = 'hsdpa'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSUPA = 'hsupa'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPA = 'hspa'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_IDEN = 'iden'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_B = 'evdo_b'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE = 'lte'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_EHRPD = 'ehrpd'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPAP = 'hspap'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_GSM = 'gsm'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_TD_SCDMA = 'td_scdma'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_IWLAN = 'iwlan'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_NR = 'nr'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_NRNSA = 'nrnsa'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE_CA = 'lte_ca'; + +/** + * The internet connection type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_TYPE_VALUES_WIFI = 'wifi'; + +/** + * The internet connection type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_TYPE_VALUES_WIRED = 'wired'; + +/** + * The internet connection type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_TYPE_VALUES_CELL = 'cell'; + +/** + * The internet connection type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_TYPE_VALUES_UNAVAILABLE = 'unavailable'; + +/** + * The internet connection type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_CONNECTION_TYPE_VALUES_UNKNOWN = 'unknown'; + +/** + * The network IO operation direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_IO_DIRECTION_VALUES_TRANSMIT = 'transmit'; + +/** + * The network IO operation direction. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const NETWORK_IO_DIRECTION_VALUES_RECEIVE = 'receive'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_WINDOWS = 'windows'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_LINUX = 'linux'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_DARWIN = 'darwin'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_FREEBSD = 'freebsd'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_NETBSD = 'netbsd'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_OPENBSD = 'openbsd'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_DRAGONFLYBSD = 'dragonflybsd'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_HPUX = 'hpux'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_AIX = 'aix'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_SOLARIS = 'solaris'; + +/** + * The operating system type. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OS_TYPE_VALUES_Z_OS = 'z_os'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED = 'cancelled'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNKNOWN = 'unknown'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT = + 'invalid_argument'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED = + 'deadline_exceeded'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_NOT_FOUND = 'not_found'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS = + 'already_exists'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED = + 'permission_denied'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED = + 'resource_exhausted'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION = + 'failed_precondition'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ABORTED = 'aborted'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_OUT_OF_RANGE = 'out_of_range'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNIMPLEMENTED = 'unimplemented'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INTERNAL = 'internal'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAVAILABLE = 'unavailable'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DATA_LOSS = 'data_loss'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED = + 'unauthenticated'; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_OK = 0; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_CANCELLED = 1; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN = 2; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT = 3; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED = 4; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND = 5; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS = 6; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED = 7; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED = 8; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION = 9; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_ABORTED = 10; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE = 11; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED = 12; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_INTERNAL = 13; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE = 14; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS = 15; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED = 16; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_SYSTEM_VALUES_GRPC = 'grpc'; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_SYSTEM_VALUES_JAVA_RMI = 'java_rmi'; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_SYSTEM_VALUES_DOTNET_WCF = 'dotnet_wcf'; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_SYSTEM_VALUES_APACHE_DUBBO = 'apache_dubbo'; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const RPC_SYSTEM_VALUES_CONNECT_RPC = 'connect_rpc'; + +/** + * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const TLS_PROTOCOL_NAME_VALUES_SSL = 'ssl'; + +/** + * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const TLS_PROTOCOL_NAME_VALUES_TLS = 'tls'; + +/** + * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const AWS_ECS_LAUNCHTYPE_VALUES_EC2 = 'ec2'; + +/** + * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const AWS_ECS_LAUNCHTYPE_VALUES_FARGATE = 'fargate'; + +/** + * Parent-child Reference type. + * + * Note: The causal relationship between a child Span and a parent Span. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OPENTRACING_REF_TYPE_VALUES_CHILD_OF = 'child_of'; + +/** + * Parent-child Reference type. + * + * Note: The causal relationship between a child Span and a parent Span. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const OPENTRACING_REF_TYPE_VALUES_FOLLOWS_FROM = 'follows_from'; + +/** + * The type of the operation being executed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const GRAPHQL_OPERATION_TYPE_VALUES_QUERY = 'query'; + +/** + * The type of the operation being executed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const GRAPHQL_OPERATION_TYPE_VALUES_MUTATION = 'mutation'; + +/** + * The type of the operation being executed. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const GRAPHQL_OPERATION_TYPE_VALUES_SUBSCRIPTION = 'subscription'; + +/** + * Whether this is a received or sent message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGE_TYPE_VALUES_SENT = 'SENT'; + +/** + * Whether this is a received or sent message. + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const MESSAGE_TYPE_VALUES_RECEIVED = 'RECEIVED'; diff --git a/packages/opentelemetry-semantic-conventions/src/index.ts b/packages/opentelemetry-semantic-conventions/src/index.ts index 6f9f387e23..6a6aff547e 100644 --- a/packages/opentelemetry-semantic-conventions/src/index.ts +++ b/packages/opentelemetry-semantic-conventions/src/index.ts @@ -14,5 +14,10 @@ * limitations under the License. */ +// Deprecated. These are kept around for compatibility purposes export * from './trace'; export * from './resource'; + +// Use these instead +export * from './experimental'; +export * from './stable'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts new file mode 100644 index 0000000000..3ddab5457b --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -0,0 +1,1044 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +//---------------------------------------------------------------------------------------------------------- +// Constant values for SemanticAttributes +//---------------------------------------------------------------------------------------------------------- +/** + * Number of exceptions caught by exception handling middleware. + * + * Note: Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = + 'aspnetcore.diagnostics.exceptions'; +/** + * Number of requests that are currently active on the server that hold a rate limiting lease. + * + * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = + 'aspnetcore.rate_limiting.active_request_leases'; +/** + * Number of requests that are currently queued, waiting to acquire a rate limiting lease. + * + * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = + 'aspnetcore.rate_limiting.queued_requests'; +/** + * The time the request spent in a queue waiting to acquire a rate limiting lease. + * + * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = + 'aspnetcore.rate_limiting.request.time_in_queue'; +/** + * The duration of rate limiting lease held by requests on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = + 'aspnetcore.rate_limiting.request_lease.duration'; +/** +* Number of requests that tried to acquire a rate limiting lease. +* +* Note: Requests could be: + +* Rejected by global or endpoint rate limiting policies +* Canceled while waiting for the lease. + +Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. +*/ +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = + 'aspnetcore.rate_limiting.requests'; +/** + * Number of requests that were attempted to be matched to an endpoint. + * + * Note: Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = + 'aspnetcore.routing.match_attempts'; +/** + * Duration of HTTP client requests. + */ +export const METRIC_HTTP_CLIENT_REQUEST_DURATION = + 'http.client.request.duration'; +/** + * Duration of HTTP server requests. + */ +export const METRIC_HTTP_SERVER_REQUEST_DURATION = + 'http.server.request.duration'; +/** + * Number of classes currently loaded. + */ +export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count'; +/** + * Number of classes loaded since JVM start. + */ +export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded'; +/** + * Number of classes unloaded since JVM start. + */ +export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded'; +/** + * Number of processors available to the Java virtual machine. + */ +export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count'; +/** + * Recent CPU utilization for the process as reported by the JVM. + * + * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). + */ +export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization'; +/** + * CPU time used by the process as reported by the JVM. + */ +export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time'; +/** + * Duration of JVM garbage collection actions. + */ +export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration'; +/** + * Measure of memory committed. + */ +export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed'; +/** + * Measure of max obtainable memory. + */ +export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit'; +/** + * Measure of memory used. + */ +export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used'; +/** + * Measure of memory used, as measured after the most recent garbage collection event on this pool. + */ +export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = + 'jvm.memory.used_after_last_gc'; +/** + * Number of executing platform threads. + */ +export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count'; +/** + * Number of connections that are currently active on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; +/** + * Number of TLS handshakes that are currently in progress on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = + 'kestrel.active_tls_handshakes'; +/** + * The duration of connections on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration'; +/** + * Number of connections that are currently queued and are waiting to start. + * + * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections'; +/** + * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. + * + * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; +/** +* Number of connections rejected by the server. +* +* Note: Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. +Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. +*/ +export const METRIC_KESTREL_REJECTED_CONNECTIONS = + 'kestrel.rejected_connections'; +/** + * The duration of TLS handshakes on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = + 'kestrel.tls_handshake.duration'; +/** +* Number of connections that are currently upgraded (WebSockets). . +* +* Note: The counter only tracks HTTP/1.1 connections. + +Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. +*/ +export const METRIC_KESTREL_UPGRADED_CONNECTIONS = + 'kestrel.upgraded_connections'; +/** + * Number of connections that are currently active on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = + 'signalr.server.active_connections'; +/** + * The duration of connections on the server. + * + * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. + */ +export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = + 'signalr.server.connection.duration'; + +/** + * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + */ +export const SEMATTRS_ASPNETCORE_RATE_LIMITING_RESULT = + 'aspnetcore.rate_limiting.result'; + +/** + * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. + */ +export const SEMATTRS_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = + 'aspnetcore.diagnostics.handler.type'; + +/** + * Rate limiting policy name. + */ +export const SEMATTRS_ASPNETCORE_RATE_LIMITING_POLICY = + 'aspnetcore.rate_limiting.policy'; + +/** + * Flag indicating if request was handled by the application pipeline. + */ +export const SEMATTRS_ASPNETCORE_REQUEST_IS_UNHANDLED = + 'aspnetcore.request.is_unhandled'; + +/** + * A value that indicates whether the matched route is a fallback route. + */ +export const SEMATTRS_ASPNETCORE_ROUTING_IS_FALLBACK = + 'aspnetcore.routing.is_fallback'; + +/** + * Match result - success or failure. + */ +export const SEMATTRS_ASPNETCORE_ROUTING_MATCH_STATUS = + 'aspnetcore.routing.match_status'; + +/** + * ASP.NET Core exception middleware handling result. + */ +export const SEMATTRS_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = + 'aspnetcore.diagnostics.exception.result'; + +/** + * SignalR HTTP connection closure status. + */ +export const SEMATTRS_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; + +/** + * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + */ +export const SEMATTRS_SIGNALR_TRANSPORT = 'signalr.transport'; + +/** + * Name of the memory pool. + * + * Note: Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). + */ +export const SEMATTRS_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; + +/** + * The type of memory. + */ +export const SEMATTRS_JVM_MEMORY_TYPE = 'jvm.memory.type'; + +/** + * Name of the garbage collector action. + * + * Note: Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). + */ +export const SEMATTRS_JVM_GC_ACTION = 'jvm.gc.action'; + +/** + * Name of the garbage collector. + * + * Note: Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). + */ +export const SEMATTRS_JVM_GC_NAME = 'jvm.gc.name'; + +/** + * Whether the thread is daemon or not. + */ +export const SEMATTRS_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; + +/** + * State of the thread. + */ +export const SEMATTRS_JVM_THREAD_STATE = 'jvm.thread.state'; + +/** + * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * Note: When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available. + */ +export const SEMATTRS_CLIENT_ADDRESS = 'client.address'; + +/** + * Client port number. + * + * Note: When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available. + */ +export const SEMATTRS_CLIENT_PORT = 'client.port'; + +/** +* Describes a class of error the operation ended with. +* +* Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. +Instrumentations SHOULD document the list of errors they report. + +The cardinality of `error.type` within one instrumentation library SHOULD be low. +Telemetry consumers that aggregate data from multiple instrumentation libraries and applications +should be prepared for `error.type` to have high cardinality at query time when no +additional filters are applied. + +If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. + +If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), +it's RECOMMENDED to: + +* Use a domain-specific attribute +* Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. +*/ +export const SEMATTRS_ERROR_TYPE = 'error.type'; + +/** +* SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. +* +* Note: An exception is considered to have escaped (or left) the scope of a span, +if that span is ended while the exception is still logically "in flight". +This may be actually "in flight" in some languages (e.g. if the exception +is passed to a Context manager's `__exit__` method in Python) but will +usually be caught at the point of recording the exception in most languages. + +It is usually not possible to determine at the point where an exception is thrown +whether it will escape the scope of a span. +However, it is trivial to know that an exception +will escape, if one checks for an active exception just before ending the span, +as done in the [example for recording span exceptions](#recording-an-exception). + +It follows that an exception may still escape the scope of the span +even if the `exception.escaped` attribute was not set or set to false, +since the event might have been recorded at a time where it was not +clear whether the exception will escape. +*/ +export const SEMATTRS_EXCEPTION_ESCAPED = 'exception.escaped'; + +/** + * The exception message. + */ +export const SEMATTRS_EXCEPTION_MESSAGE = 'exception.message'; + +/** + * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + */ +export const SEMATTRS_EXCEPTION_STACKTRACE = 'exception.stacktrace'; + +/** + * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. + */ +export const SEMATTRS_EXCEPTION_TYPE = 'exception.type'; + +/** +* HTTP request method. +* +* Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. +*/ +export const SEMATTRS_HTTP_REQUEST_METHOD = 'http.request.method'; + +/** + * Original HTTP method sent by the client in the request line. + */ +export const SEMATTRS_HTTP_REQUEST_METHOD_ORIGINAL = + 'http.request.method_original'; + +/** + * The ordinal number of request resending attempt (for any reason, including redirects). + * + * Note: The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). + */ +export const SEMATTRS_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; + +/** + * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). + */ +export const SEMATTRS_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; + +/** +* The matched route, that is, the path template in the format used by the respective server framework. +* +* Note: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. +SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. +*/ +export const SEMATTRS_HTTP_ROUTE = 'http.route'; + +/** + * Local address of the network connection - IP address or Unix domain socket name. + */ +export const SEMATTRS_NETWORK_LOCAL_ADDRESS = 'network.local.address'; + +/** + * Local port number of the network connection. + */ +export const SEMATTRS_NETWORK_LOCAL_PORT = 'network.local.port'; + +/** + * Peer address of the network connection - IP address or Unix domain socket name. + */ +export const SEMATTRS_NETWORK_PEER_ADDRESS = 'network.peer.address'; + +/** + * Peer port number of the network connection. + */ +export const SEMATTRS_NETWORK_PEER_PORT = 'network.peer.port'; + +/** + * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. + * + * Note: The value SHOULD be normalized to lowercase. + */ +export const SEMATTRS_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; + +/** + * The actual version of the protocol used for network communication. + * + * Note: If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set. + */ +export const SEMATTRS_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; + +/** +* [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). +* +* Note: The value SHOULD be normalized to lowercase. + +Consider always setting the transport when setting a port number, since +a port number is ambiguous without knowing the transport. For example +different processes could be listening on TCP port 12345 and UDP port 12345. +*/ +export const SEMATTRS_NETWORK_TRANSPORT = 'network.transport'; + +/** + * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. + * + * Note: The value SHOULD be normalized to lowercase. + */ +export const SEMATTRS_NETWORK_TYPE = 'network.type'; + +/** + * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * Note: When observed from the client side, and when communicating through an intermediary, `server.address` SHOULD represent the server address behind any intermediaries, for example proxies, if it's available. + */ +export const SEMATTRS_SERVER_ADDRESS = 'server.address'; + +/** + * Server port number. + * + * Note: When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available. + */ +export const SEMATTRS_SERVER_PORT = 'server.port'; + +/** + * Logical name of the service. + * + * Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. + */ +export const SEMATTRS_SERVICE_NAME = 'service.name'; + +/** + * The version string of the service API or implementation. The format is not defined by these conventions. + */ +export const SEMATTRS_SERVICE_VERSION = 'service.version'; + +/** + * The language of the telemetry SDK. + */ +export const SEMATTRS_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; + +/** +* The name of the telemetry SDK as defined above. +* +* Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`. +If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the +`telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point +or another suitable identifier depending on the language. +The identifier `opentelemetry` is reserved and MUST NOT be used in this case. +All custom identifiers SHOULD be stable across different versions of an implementation. +*/ +export const SEMATTRS_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; + +/** + * The version string of the telemetry SDK. + */ +export const SEMATTRS_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; + +/** + * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component. + */ +export const SEMATTRS_URL_FRAGMENT = 'url.fragment'; + +/** +* Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). +* +* Note: For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless. +`url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`. +`url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it. +*/ +export const SEMATTRS_URL_FULL = 'url.full'; + +/** + * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component. + * + * Note: Sensitive content provided in `url.path` SHOULD be scrubbed when instrumentations can identify it. + */ +export const SEMATTRS_URL_PATH = 'url.path'; + +/** + * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component. + * + * Note: Sensitive content provided in `url.query` SHOULD be scrubbed when instrumentations can identify it. + */ +export const SEMATTRS_URL_QUERY = 'url.query'; + +/** + * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. + */ +export const SEMATTRS_URL_SCHEME = 'url.scheme'; + +/** + * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. + */ +export const SEMATTRS_USER_AGENT_ORIGINAL = 'user_agent.original'; + +/** + * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). + */ +export const SEMATTRS_OTEL_SCOPE_NAME = 'otel.scope.name'; + +/** + * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). + */ +export const SEMATTRS_OTEL_SCOPE_VERSION = 'otel.scope.version'; + +/** + * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. + */ +export const SEMATTRS_OTEL_STATUS_CODE = 'otel.status_code'; + +/** + * Description of the Status if it has a value, otherwise not set. + */ +export const SEMATTRS_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; + +/** + * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + */ +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_ACQUIRED = 'acquired'; + +/** + * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + */ +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_ENDPOINT_LIMITER = + 'endpoint_limiter'; + +/** + * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + */ +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_GLOBAL_LIMITER = + 'global_limiter'; + +/** + * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + */ +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_REQUEST_CANCELED = + 'request_canceled'; + +/** + * Match result - success or failure. + */ +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUES_SUCCESS = 'success'; + +/** + * Match result - success or failure. + */ +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUES_FAILURE = 'failure'; + +/** + * ASP.NET Core exception middleware handling result. + */ +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_HANDLED = 'handled'; + +/** + * ASP.NET Core exception middleware handling result. + */ +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_UNHANDLED = + 'unhandled'; + +/** + * ASP.NET Core exception middleware handling result. + */ +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_SKIPPED = 'skipped'; + +/** + * ASP.NET Core exception middleware handling result. + */ +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_ABORTED = 'aborted'; + +/** + * SignalR HTTP connection closure status. + */ +export const SIGNALR_CONNECTION_STATUS_VALUES_NORMAL_CLOSURE = 'normal_closure'; + +/** + * SignalR HTTP connection closure status. + */ +export const SIGNALR_CONNECTION_STATUS_VALUES_TIMEOUT = 'timeout'; + +/** + * SignalR HTTP connection closure status. + */ +export const SIGNALR_CONNECTION_STATUS_VALUES_APP_SHUTDOWN = 'app_shutdown'; + +/** + * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + */ +export const SIGNALR_TRANSPORT_VALUES_SERVER_SENT_EVENTS = 'server_sent_events'; + +/** + * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + */ +export const SIGNALR_TRANSPORT_VALUES_LONG_POLLING = 'long_polling'; + +/** + * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + */ +export const SIGNALR_TRANSPORT_VALUES_WEB_SOCKETS = 'web_sockets'; + +/** + * The type of memory. + */ +export const JVM_MEMORY_TYPE_VALUES_HEAP = 'heap'; + +/** + * The type of memory. + */ +export const JVM_MEMORY_TYPE_VALUES_NON_HEAP = 'non_heap'; + +/** + * State of the thread. + */ +export const JVM_THREAD_STATE_VALUES_NEW = 'new'; + +/** + * State of the thread. + */ +export const JVM_THREAD_STATE_VALUES_RUNNABLE = 'runnable'; + +/** + * State of the thread. + */ +export const JVM_THREAD_STATE_VALUES_BLOCKED = 'blocked'; + +/** + * State of the thread. + */ +export const JVM_THREAD_STATE_VALUES_WAITING = 'waiting'; + +/** + * State of the thread. + */ +export const JVM_THREAD_STATE_VALUES_TIMED_WAITING = 'timed_waiting'; + +/** + * State of the thread. + */ +export const JVM_THREAD_STATE_VALUES_TERMINATED = 'terminated'; + +/** + * Describes a class of error the operation ended with. + * + * Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. +Instrumentations SHOULD document the list of errors they report. + +The cardinality of `error.type` within one instrumentation library SHOULD be low. +Telemetry consumers that aggregate data from multiple instrumentation libraries and applications +should be prepared for `error.type` to have high cardinality at query time when no +additional filters are applied. + +If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. + +If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), +it's RECOMMENDED to: + +* Use a domain-specific attribute +* Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. + */ +export const ERROR_TYPE_VALUES_OTHER = '_OTHER'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_CONNECT = 'CONNECT'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_DELETE = 'DELETE'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_GET = 'GET'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_HEAD = 'HEAD'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_OPTIONS = 'OPTIONS'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_PATCH = 'PATCH'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_POST = 'POST'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_PUT = 'PUT'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_TRACE = 'TRACE'; + +/** + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. +By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) +and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + +If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + +If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override +the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named +OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods +(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + +HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. +Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. +Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ +export const HTTP_REQUEST_METHOD_VALUES_OTHER = '_OTHER'; + +/** + * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). + * + * Note: The value SHOULD be normalized to lowercase. + +Consider always setting the transport when setting a port number, since +a port number is ambiguous without knowing the transport. For example +different processes could be listening on TCP port 12345 and UDP port 12345. + */ +export const NETWORK_TRANSPORT_VALUES_TCP = 'tcp'; + +/** + * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). + * + * Note: The value SHOULD be normalized to lowercase. + +Consider always setting the transport when setting a port number, since +a port number is ambiguous without knowing the transport. For example +different processes could be listening on TCP port 12345 and UDP port 12345. + */ +export const NETWORK_TRANSPORT_VALUES_UDP = 'udp'; + +/** + * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). + * + * Note: The value SHOULD be normalized to lowercase. + +Consider always setting the transport when setting a port number, since +a port number is ambiguous without knowing the transport. For example +different processes could be listening on TCP port 12345 and UDP port 12345. + */ +export const NETWORK_TRANSPORT_VALUES_PIPE = 'pipe'; + +/** + * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). + * + * Note: The value SHOULD be normalized to lowercase. + +Consider always setting the transport when setting a port number, since +a port number is ambiguous without knowing the transport. For example +different processes could be listening on TCP port 12345 and UDP port 12345. + */ +export const NETWORK_TRANSPORT_VALUES_UNIX = 'unix'; + +/** + * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. + * + * Note: The value SHOULD be normalized to lowercase. + */ +export const NETWORK_TYPE_VALUES_IPV4 = 'ipv4'; + +/** + * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. + * + * Note: The value SHOULD be normalized to lowercase. + */ +export const NETWORK_TYPE_VALUES_IPV6 = 'ipv6'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_CPP = 'cpp'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET = 'dotnet'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG = 'erlang'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_GO = 'go'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_JAVA = 'java'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS = 'nodejs'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_PHP = 'php'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON = 'python'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_RUBY = 'ruby'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_RUST = 'rust'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_SWIFT = 'swift'; + +/** + * The language of the telemetry SDK. + */ +export const TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS = 'webjs'; + +/** + * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. + */ +export const OTEL_STATUS_CODE_VALUES_OK = 'OK'; + +/** + * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. + */ +export const OTEL_STATUS_CODE_VALUES_ERROR = 'ERROR'; diff --git a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts index cc87977a82..fb7379e519 100644 --- a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts @@ -168,741 +168,6 @@ const TMP_MESSAGE_ID = 'message.id'; const TMP_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; const TMP_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; -/** - * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). - * - * Note: This may be different from `faas.id` if an alias is involved. - */ -export const SEMATTRS_AWS_LAMBDA_INVOKED_ARN = TMP_AWS_LAMBDA_INVOKED_ARN; - -/** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. - */ -export const SEMATTRS_DB_SYSTEM = TMP_DB_SYSTEM; - -/** - * The connection string used to connect to the database. It is recommended to remove embedded credentials. - */ -export const SEMATTRS_DB_CONNECTION_STRING = TMP_DB_CONNECTION_STRING; - -/** - * Username for accessing the database. - */ -export const SEMATTRS_DB_USER = TMP_DB_USER; - -/** - * The fully-qualified class name of the [Java Database Connectivity (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver used to connect. - */ -export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = TMP_DB_JDBC_DRIVER_CLASSNAME; - -/** - * If no [tech-specific attribute](#call-level-attributes-for-specific-technologies) is defined, this attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). - * - * Note: In some SQL databases, the database name to be used is called "schema name". - */ -export const SEMATTRS_DB_NAME = TMP_DB_NAME; - -/** - * The database statement being executed. - * - * Note: The value may be sanitized to exclude sensitive information. - */ -export const SEMATTRS_DB_STATEMENT = TMP_DB_STATEMENT; - -/** - * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. - * - * Note: When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. - */ -export const SEMATTRS_DB_OPERATION = TMP_DB_OPERATION; - -/** - * The Microsoft SQL Server [instance name](https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. - * - * Note: If setting a `db.mssql.instance_name`, `net.peer.port` is no longer required (but still recommended if non-standard). - */ -export const SEMATTRS_DB_MSSQL_INSTANCE_NAME = TMP_DB_MSSQL_INSTANCE_NAME; - -/** - * The name of the keyspace being accessed. To be used instead of the generic `db.name` attribute. - */ -export const SEMATTRS_DB_CASSANDRA_KEYSPACE = TMP_DB_CASSANDRA_KEYSPACE; - -/** - * The fetch size used for paging, i.e. how many rows will be returned at once. - */ -export const SEMATTRS_DB_CASSANDRA_PAGE_SIZE = TMP_DB_CASSANDRA_PAGE_SIZE; - -/** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). - */ -export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = - TMP_DB_CASSANDRA_CONSISTENCY_LEVEL; - -/** - * The name of the primary table that the operation is acting upon, including the schema name (if applicable). - * - * Note: This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. - */ -export const SEMATTRS_DB_CASSANDRA_TABLE = TMP_DB_CASSANDRA_TABLE; - -/** - * Whether or not the query is idempotent. - */ -export const SEMATTRS_DB_CASSANDRA_IDEMPOTENCE = TMP_DB_CASSANDRA_IDEMPOTENCE; - -/** - * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. - */ -export const SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = - TMP_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT; - -/** - * The ID of the coordinating node for a query. - */ -export const SEMATTRS_DB_CASSANDRA_COORDINATOR_ID = - TMP_DB_CASSANDRA_COORDINATOR_ID; - -/** - * The data center of the coordinating node for a query. - */ -export const SEMATTRS_DB_CASSANDRA_COORDINATOR_DC = - TMP_DB_CASSANDRA_COORDINATOR_DC; - -/** - * The [HBase namespace](https://hbase.apache.org/book.html#_namespace) being accessed. To be used instead of the generic `db.name` attribute. - */ -export const SEMATTRS_DB_HBASE_NAMESPACE = TMP_DB_HBASE_NAMESPACE; - -/** - * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. - */ -export const SEMATTRS_DB_REDIS_DATABASE_INDEX = TMP_DB_REDIS_DATABASE_INDEX; - -/** - * The collection being accessed within the database stated in `db.name`. - */ -export const SEMATTRS_DB_MONGODB_COLLECTION = TMP_DB_MONGODB_COLLECTION; - -/** - * The name of the primary table that the operation is acting upon, including the schema name (if applicable). - * - * Note: It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. - */ -export const SEMATTRS_DB_SQL_TABLE = TMP_DB_SQL_TABLE; - -/** - * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. - */ -export const SEMATTRS_EXCEPTION_TYPE = TMP_EXCEPTION_TYPE; - -/** - * The exception message. - */ -export const SEMATTRS_EXCEPTION_MESSAGE = TMP_EXCEPTION_MESSAGE; - -/** - * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. - */ -export const SEMATTRS_EXCEPTION_STACKTRACE = TMP_EXCEPTION_STACKTRACE; - -/** -* SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. -* -* Note: An exception is considered to have escaped (or left) the scope of a span, -if that span is ended while the exception is still logically "in flight". -This may be actually "in flight" in some languages (e.g. if the exception -is passed to a Context manager's `__exit__` method in Python) but will -usually be caught at the point of recording the exception in most languages. - -It is usually not possible to determine at the point where an exception is thrown -whether it will escape the scope of a span. -However, it is trivial to know that an exception -will escape, if one checks for an active exception just before ending the span, -as done in the [example above](#exception-end-example). - -It follows that an exception may still escape the scope of the span -even if the `exception.escaped` attribute was not set or set to false, -since the event might have been recorded at a time where it was not -clear whether the exception will escape. -*/ -export const SEMATTRS_EXCEPTION_ESCAPED = TMP_EXCEPTION_ESCAPED; - -/** - * Type of the trigger on which the function is executed. - */ -export const SEMATTRS_FAAS_TRIGGER = TMP_FAAS_TRIGGER; - -/** - * The execution ID of the current function execution. - */ -export const SEMATTRS_FAAS_EXECUTION = TMP_FAAS_EXECUTION; - -/** - * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. - */ -export const SEMATTRS_FAAS_DOCUMENT_COLLECTION = TMP_FAAS_DOCUMENT_COLLECTION; - -/** - * Describes the type of the operation that was performed on the data. - */ -export const SEMATTRS_FAAS_DOCUMENT_OPERATION = TMP_FAAS_DOCUMENT_OPERATION; - -/** - * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). - */ -export const SEMATTRS_FAAS_DOCUMENT_TIME = TMP_FAAS_DOCUMENT_TIME; - -/** - * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. - */ -export const SEMATTRS_FAAS_DOCUMENT_NAME = TMP_FAAS_DOCUMENT_NAME; - -/** - * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). - */ -export const SEMATTRS_FAAS_TIME = TMP_FAAS_TIME; - -/** - * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). - */ -export const SEMATTRS_FAAS_CRON = TMP_FAAS_CRON; - -/** - * A boolean that is true if the serverless function is executed for the first time (aka cold-start). - */ -export const SEMATTRS_FAAS_COLDSTART = TMP_FAAS_COLDSTART; - -/** - * The name of the invoked function. - * - * Note: SHOULD be equal to the `faas.name` resource attribute of the invoked function. - */ -export const SEMATTRS_FAAS_INVOKED_NAME = TMP_FAAS_INVOKED_NAME; - -/** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. - */ -export const SEMATTRS_FAAS_INVOKED_PROVIDER = TMP_FAAS_INVOKED_PROVIDER; - -/** - * The cloud region of the invoked function. - * - * Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked function. - */ -export const SEMATTRS_FAAS_INVOKED_REGION = TMP_FAAS_INVOKED_REGION; - -/** - * Transport protocol used. See note below. - */ -export const SEMATTRS_NET_TRANSPORT = TMP_NET_TRANSPORT; - -/** - * Remote address of the peer (dotted decimal for IPv4 or [RFC5952](https://tools.ietf.org/html/rfc5952) for IPv6). - */ -export const SEMATTRS_NET_PEER_IP = TMP_NET_PEER_IP; - -/** - * Remote port number. - */ -export const SEMATTRS_NET_PEER_PORT = TMP_NET_PEER_PORT; - -/** - * Remote hostname or similar, see note below. - */ -export const SEMATTRS_NET_PEER_NAME = TMP_NET_PEER_NAME; - -/** - * Like `net.peer.ip` but for the host IP. Useful in case of a multi-IP host. - */ -export const SEMATTRS_NET_HOST_IP = TMP_NET_HOST_IP; - -/** - * Like `net.peer.port` but for the host port. - */ -export const SEMATTRS_NET_HOST_PORT = TMP_NET_HOST_PORT; - -/** - * Local hostname or similar, see note below. - */ -export const SEMATTRS_NET_HOST_NAME = TMP_NET_HOST_NAME; - -/** - * The internet connection type currently being used by the host. - */ -export const SEMATTRS_NET_HOST_CONNECTION_TYPE = TMP_NET_HOST_CONNECTION_TYPE; - -/** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. - */ -export const SEMATTRS_NET_HOST_CONNECTION_SUBTYPE = - TMP_NET_HOST_CONNECTION_SUBTYPE; - -/** - * The name of the mobile carrier. - */ -export const SEMATTRS_NET_HOST_CARRIER_NAME = TMP_NET_HOST_CARRIER_NAME; - -/** - * The mobile carrier country code. - */ -export const SEMATTRS_NET_HOST_CARRIER_MCC = TMP_NET_HOST_CARRIER_MCC; - -/** - * The mobile carrier network code. - */ -export const SEMATTRS_NET_HOST_CARRIER_MNC = TMP_NET_HOST_CARRIER_MNC; - -/** - * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. - */ -export const SEMATTRS_NET_HOST_CARRIER_ICC = TMP_NET_HOST_CARRIER_ICC; - -/** - * The [`service.name`](../../resource/semantic_conventions/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. - */ -export const SEMATTRS_PEER_SERVICE = TMP_PEER_SERVICE; - -/** - * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. - */ -export const SEMATTRS_ENDUSER_ID = TMP_ENDUSER_ID; - -/** - * Actual/assumed role the client is making the request under extracted from token or application security context. - */ -export const SEMATTRS_ENDUSER_ROLE = TMP_ENDUSER_ROLE; - -/** - * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). - */ -export const SEMATTRS_ENDUSER_SCOPE = TMP_ENDUSER_SCOPE; - -/** - * Current "managed" thread ID (as opposed to OS thread ID). - */ -export const SEMATTRS_THREAD_ID = TMP_THREAD_ID; - -/** - * Current thread name. - */ -export const SEMATTRS_THREAD_NAME = TMP_THREAD_NAME; - -/** - * The method or function name, or equivalent (usually rightmost part of the code unit's name). - */ -export const SEMATTRS_CODE_FUNCTION = TMP_CODE_FUNCTION; - -/** - * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. - */ -export const SEMATTRS_CODE_NAMESPACE = TMP_CODE_NAMESPACE; - -/** - * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). - */ -export const SEMATTRS_CODE_FILEPATH = TMP_CODE_FILEPATH; - -/** - * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. - */ -export const SEMATTRS_CODE_LINENO = TMP_CODE_LINENO; - -/** - * HTTP request method. - */ -export const SEMATTRS_HTTP_METHOD = TMP_HTTP_METHOD; - -/** - * Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. - * - * Note: `http.url` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case the attribute's value should be `https://www.example.com/`. - */ -export const SEMATTRS_HTTP_URL = TMP_HTTP_URL; - -/** - * The full request target as passed in a HTTP request line or equivalent. - */ -export const SEMATTRS_HTTP_TARGET = TMP_HTTP_TARGET; - -/** - * The value of the [HTTP host header](https://tools.ietf.org/html/rfc7230#section-5.4). An empty Host header should also be reported, see note. - * - * Note: When the header is present but empty the attribute SHOULD be set to the empty string. Note that this is a valid situation that is expected in certain cases, according the aforementioned [section of RFC 7230](https://tools.ietf.org/html/rfc7230#section-5.4). When the header is not set the attribute MUST NOT be set. - */ -export const SEMATTRS_HTTP_HOST = TMP_HTTP_HOST; - -/** - * The URI scheme identifying the used protocol. - */ -export const SEMATTRS_HTTP_SCHEME = TMP_HTTP_SCHEME; - -/** - * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). - */ -export const SEMATTRS_HTTP_STATUS_CODE = TMP_HTTP_STATUS_CODE; - -/** - * Kind of HTTP protocol used. - * - * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. - */ -export const SEMATTRS_HTTP_FLAVOR = TMP_HTTP_FLAVOR; - -/** - * Value of the [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3) header sent by the client. - */ -export const SEMATTRS_HTTP_USER_AGENT = TMP_HTTP_USER_AGENT; - -/** - * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://tools.ietf.org/html/rfc7230#section-3.3.2) header. For requests using transport encoding, this should be the compressed size. - */ -export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH = - TMP_HTTP_REQUEST_CONTENT_LENGTH; - -/** - * The size of the uncompressed request payload body after transport decoding. Not set if transport encoding not used. - */ -export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = - TMP_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED; - -/** - * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://tools.ietf.org/html/rfc7230#section-3.3.2) header. For requests using transport encoding, this should be the compressed size. - */ -export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH = - TMP_HTTP_RESPONSE_CONTENT_LENGTH; - -/** - * The size of the uncompressed response payload body after transport decoding. Not set if transport encoding not used. - */ -export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = - TMP_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED; - -/** - * The primary server name of the matched virtual host. This should be obtained via configuration. If no such configuration can be obtained, this attribute MUST NOT be set ( `net.host.name` should be used instead). - * - * Note: `http.url` is usually not readily available on the server side but would have to be assembled in a cumbersome and sometimes lossy process from other information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus preferred to supply the raw data that is available. - */ -export const SEMATTRS_HTTP_SERVER_NAME = TMP_HTTP_SERVER_NAME; - -/** - * The matched route (path template). - */ -export const SEMATTRS_HTTP_ROUTE = TMP_HTTP_ROUTE; - -/** -* The IP address of the original client behind all proxies, if known (e.g. from [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For)). -* -* Note: This is not necessarily the same as `net.peer.ip`, which would -identify the network-level peer, which may be a proxy. - -This attribute should be set when a source of information different -from the one used for `net.peer.ip`, is available even if that other -source just confirms the same value as `net.peer.ip`. -Rationale: For `net.peer.ip`, one typically does not know if it -comes from a proxy, reverse proxy, or the actual client. Setting -`http.client_ip` when it's the same as `net.peer.ip` means that -one is at least somewhat confident that the address is not that of -the closest proxy. -*/ -export const SEMATTRS_HTTP_CLIENT_IP = TMP_HTTP_CLIENT_IP; - -/** - * The keys in the `RequestItems` object field. - */ -export const SEMATTRS_AWS_DYNAMODB_TABLE_NAMES = TMP_AWS_DYNAMODB_TABLE_NAMES; - -/** - * The JSON-serialized value of each item in the `ConsumedCapacity` response field. - */ -export const SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY = - TMP_AWS_DYNAMODB_CONSUMED_CAPACITY; - -/** - * The JSON-serialized value of the `ItemCollectionMetrics` response field. - */ -export const SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = - TMP_AWS_DYNAMODB_ITEM_COLLECTION_METRICS; - -/** - * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = - TMP_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY; - -/** - * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = - TMP_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY; - -/** - * The value of the `ConsistentRead` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ = - TMP_AWS_DYNAMODB_CONSISTENT_READ; - -/** - * The value of the `ProjectionExpression` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_PROJECTION = TMP_AWS_DYNAMODB_PROJECTION; - -/** - * The value of the `Limit` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_LIMIT = TMP_AWS_DYNAMODB_LIMIT; - -/** - * The value of the `AttributesToGet` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET = - TMP_AWS_DYNAMODB_ATTRIBUTES_TO_GET; - -/** - * The value of the `IndexName` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_INDEX_NAME = TMP_AWS_DYNAMODB_INDEX_NAME; - -/** - * The value of the `Select` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_SELECT = TMP_AWS_DYNAMODB_SELECT; - -/** - * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. - */ -export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = - TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES; - -/** - * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. - */ -export const SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = - TMP_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES; - -/** - * The value of the `ExclusiveStartTableName` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = - TMP_AWS_DYNAMODB_EXCLUSIVE_START_TABLE; - -/** - * The the number of items in the `TableNames` response parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_TABLE_COUNT = TMP_AWS_DYNAMODB_TABLE_COUNT; - -/** - * The value of the `ScanIndexForward` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD = TMP_AWS_DYNAMODB_SCAN_FORWARD; - -/** - * The value of the `Segment` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_SEGMENT = TMP_AWS_DYNAMODB_SEGMENT; - -/** - * The value of the `TotalSegments` request parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS = - TMP_AWS_DYNAMODB_TOTAL_SEGMENTS; - -/** - * The value of the `Count` response parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_COUNT = TMP_AWS_DYNAMODB_COUNT; - -/** - * The value of the `ScannedCount` response parameter. - */ -export const SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT = - TMP_AWS_DYNAMODB_SCANNED_COUNT; - -/** - * The JSON-serialized value of each item in the `AttributeDefinitions` request field. - */ -export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = - TMP_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS; - -/** - * The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates` request field. - */ -export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = - TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES; - -/** - * A string identifying the messaging system. - */ -export const SEMATTRS_MESSAGING_SYSTEM = TMP_MESSAGING_SYSTEM; - -/** - * The message destination name. This might be equal to the span name but is required nevertheless. - */ -export const SEMATTRS_MESSAGING_DESTINATION = TMP_MESSAGING_DESTINATION; - -/** - * The kind of message destination. - */ -export const SEMATTRS_MESSAGING_DESTINATION_KIND = - TMP_MESSAGING_DESTINATION_KIND; - -/** - * A boolean that is true if the message destination is temporary. - */ -export const SEMATTRS_MESSAGING_TEMP_DESTINATION = - TMP_MESSAGING_TEMP_DESTINATION; - -/** - * The name of the transport protocol. - */ -export const SEMATTRS_MESSAGING_PROTOCOL = TMP_MESSAGING_PROTOCOL; - -/** - * The version of the transport protocol. - */ -export const SEMATTRS_MESSAGING_PROTOCOL_VERSION = - TMP_MESSAGING_PROTOCOL_VERSION; - -/** - * Connection string. - */ -export const SEMATTRS_MESSAGING_URL = TMP_MESSAGING_URL; - -/** - * A value used by the messaging system as an identifier for the message, represented as a string. - */ -export const SEMATTRS_MESSAGING_MESSAGE_ID = TMP_MESSAGING_MESSAGE_ID; - -/** - * The [conversation ID](#conversations) identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". - */ -export const SEMATTRS_MESSAGING_CONVERSATION_ID = TMP_MESSAGING_CONVERSATION_ID; - -/** - * The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. - */ -export const SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES = - TMP_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES; - -/** - * The compressed size of the message payload in bytes. - */ -export const SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES = - TMP_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES; - -/** - * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. - */ -export const SEMATTRS_MESSAGING_OPERATION = TMP_MESSAGING_OPERATION; - -/** - * The identifier for the consumer receiving a message. For Kafka, set it to `{messaging.kafka.consumer_group} - {messaging.kafka.client_id}`, if both are present, or only `messaging.kafka.consumer_group`. For brokers, such as RabbitMQ and Artemis, set it to the `client_id` of the client consuming the message. - */ -export const SEMATTRS_MESSAGING_CONSUMER_ID = TMP_MESSAGING_CONSUMER_ID; - -/** - * RabbitMQ message routing key. - */ -export const SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY = - TMP_MESSAGING_RABBITMQ_ROUTING_KEY; - -/** - * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message_id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. - * - * Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. - */ -export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY = - TMP_MESSAGING_KAFKA_MESSAGE_KEY; - -/** - * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. - */ -export const SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP = - TMP_MESSAGING_KAFKA_CONSUMER_GROUP; - -/** - * Client Id for the Consumer or Producer that is handling the message. - */ -export const SEMATTRS_MESSAGING_KAFKA_CLIENT_ID = TMP_MESSAGING_KAFKA_CLIENT_ID; - -/** - * Partition the message is sent to. - */ -export const SEMATTRS_MESSAGING_KAFKA_PARTITION = TMP_MESSAGING_KAFKA_PARTITION; - -/** - * A boolean that is true if the message is a tombstone. - */ -export const SEMATTRS_MESSAGING_KAFKA_TOMBSTONE = TMP_MESSAGING_KAFKA_TOMBSTONE; - -/** - * A string identifying the remoting system. - */ -export const SEMATTRS_RPC_SYSTEM = TMP_RPC_SYSTEM; - -/** - * The full (logical) name of the service being called, including its package name, if applicable. - * - * Note: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). - */ -export const SEMATTRS_RPC_SERVICE = TMP_RPC_SERVICE; - -/** - * The name of the (logical) method being called, must be equal to the $method part in the span name. - * - * Note: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). - */ -export const SEMATTRS_RPC_METHOD = TMP_RPC_METHOD; - -/** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. - */ -export const SEMATTRS_RPC_GRPC_STATUS_CODE = TMP_RPC_GRPC_STATUS_CODE; - -/** - * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 does not specify this, the value can be omitted. - */ -export const SEMATTRS_RPC_JSONRPC_VERSION = TMP_RPC_JSONRPC_VERSION; - -/** - * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. - */ -export const SEMATTRS_RPC_JSONRPC_REQUEST_ID = TMP_RPC_JSONRPC_REQUEST_ID; - -/** - * `error.code` property of response if it is an error response. - */ -export const SEMATTRS_RPC_JSONRPC_ERROR_CODE = TMP_RPC_JSONRPC_ERROR_CODE; - -/** - * `error.message` property of response if it is an error response. - */ -export const SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE = TMP_RPC_JSONRPC_ERROR_MESSAGE; - -/** - * Whether this is a received or sent message. - */ -export const SEMATTRS_MESSAGE_TYPE = TMP_MESSAGE_TYPE; - -/** - * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. - * - * Note: This way we guarantee that the values will be consistent between different implementations. - */ -export const SEMATTRS_MESSAGE_ID = TMP_MESSAGE_ID; - -/** - * Compressed size of the message in bytes. - */ -export const SEMATTRS_MESSAGE_COMPRESSED_SIZE = TMP_MESSAGE_COMPRESSED_SIZE; - -/** - * Uncompressed size of the message in bytes. - */ -export const SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE = TMP_MESSAGE_UNCOMPRESSED_SIZE; - /** * Definition of available values for SemanticAttributes * This type is used for backward compatibility, you should use the individual exported diff --git a/scripts/semconv/.gitignore b/scripts/semconv/.gitignore index a93b221beb..2d9a620c4b 100644 --- a/scripts/semconv/.gitignore +++ b/scripts/semconv/.gitignore @@ -1 +1,2 @@ opentelemetry-specification/ +semantic-conventions/ diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index 2cec25d305..5ca8aeb34a 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -4,8 +4,8 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOT_DIR="${SCRIPT_DIR}/../../" # freeze the spec version to make SpanAttributess generation reproducible -SPEC_VERSION=v1.7.0 -GENERATOR_VERSION=0.8.0 +SPEC_VERSION=v1.25.0 +GENERATOR_VERSION=0.24.0 # When running on windows and your are getting references to ";C" (like Telemetry;C) # then this is an issue with the bash shell, so first run the following in your shell: @@ -13,39 +13,67 @@ GENERATOR_VERSION=0.8.0 cd ${SCRIPT_DIR} -rm -rf opentelemetry-specification || true -mkdir opentelemetry-specification -cd opentelemetry-specification +rm -rf semantic-conventions || true +mkdir semantic-conventions +cd semantic-conventions git init -git remote add origin https://github.com/open-telemetry/opentelemetry-specification.git -git fetch origin "$SPEC_VERSION" --depth=1 +git remote add origin https://github.com/open-telemetry/semantic-conventions.git +git fetch origin "${SPEC_VERSION}" --depth=1 git reset --hard FETCH_HEAD cd ${SCRIPT_DIR} -docker run --rm \ - -v ${SCRIPT_DIR}/opentelemetry-specification/semantic_conventions/trace:/source \ +docker run --rm --platform linux/amd64 \ + -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ -v ${SCRIPT_DIR}/templates:/templates \ - -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/trace/:/output \ + -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/:/output \ otel/semconvgen:${GENERATOR_VERSION} \ - -f /source \ + --yaml-root /source \ code \ --template /templates/SemanticAttributes.ts.j2 \ - --output /output/SemanticAttributes.ts \ + --output /output/stable.ts \ -Dclass=SemanticAttributes \ - -Dcls_prefix=SEMATTRS + -Dcls_prefix=SEMATTRS \ + -Dfilter=is_stable -docker run --rm \ - -v ${SCRIPT_DIR}/opentelemetry-specification/semantic_conventions/resource:/source \ +docker run --rm --platform linux/amd64 \ + -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ -v ${SCRIPT_DIR}/templates:/templates \ - -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/resource/:/output \ + -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/:/output \ otel/semconvgen:${GENERATOR_VERSION} \ - -f /source \ + --yaml-root /source \ code \ --template /templates/SemanticAttributes.ts.j2 \ - --output /output/SemanticResourceAttributes.ts \ - -Dclass=SemanticResourceAttributes \ - -Dcls_prefix=SEMRESATTRS + --output /output/experimental.ts \ + -Dclass=SemanticAttributes \ + -Dcls_prefix=SEMATTRS \ + -Dfilter=is_experimental + +# docker run --rm --platform linux/amd64 \ +# -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ +# -v ${SCRIPT_DIR}/templates:/templates \ +# -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/resource/:/output \ +# otel/semconvgen:${GENERATOR_VERSION} \ +# --only resource \ +# --yaml-root /source \ +# code \ +# --template /templates/SemanticAttributes.ts.j2 \ +# --output /output/SemanticResourceAttributes.ts \ +# -Dclass=SemanticResourceAttributes \ +# -Dcls_prefix=SEMRESATTRS + +# docker run --rm --platform linux/amd64 \ +# -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ +# -v ${SCRIPT_DIR}/templates:/templates \ +# -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/metric/:/output \ +# otel/semconvgen:${GENERATOR_VERSION} \ +# --only metric \ +# --yaml-root /source \ +# code \ +# --template /templates/SemanticAttributes.ts.j2 \ +# --output /output/SemanticMetricAttributes.ts \ +# -Dclass=SemanticMetricAttributes \ +# -Dcls_prefix=SEMMTRCSATTRS # Run the automatic linting fixing task to ensure it will pass eslint cd "$ROOT_DIR" @@ -54,4 +82,4 @@ npm run lint:fix:changed # Run the size checks for the generated files cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" -npm run size-check +npm run size-check \ No newline at end of file diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 6f50e287e3..7f8afa94f2 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -14,20 +14,9 @@ * limitations under the License. */ -import { createConstMap } from '../internal/utils'; - {%- macro print_value(type, value) -%} {{ "'" if type == "string"}}{{value}}{{ "'" if type == "string"}} {%- endmacro %} -{%- macro upFirst(text) -%} - {{ text[0]|upper}}{{text[1:] }} -{%- endmacro %} -{%- macro lowerFirst(text) -%} - {{ text[0]|lower}}{{text[1:] }} -{%- endmacro %} -{%- macro normalizeName(value) -%} - {{ value.replace('.', '_') | upper }} -{%- endmacro %} //---------------------------------------------------------------------------------------------------------- // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/{{template}} @@ -37,91 +26,57 @@ import { createConstMap } from '../internal/utils'; // Constant values for {{class}} //---------------------------------------------------------------------------------------------------------- -// Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifiable export names for some package types -{%- for attribute in attributes if attribute.is_local and not attribute.ref %} -const TMP_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }}; +{%- set filtered_attributes = attributes | select(filter) | list %} +{%- set filtered_metrics = metrics | select(filter) | list %} + +{%- for metric in filtered_metrics %} +/** +* {% filter escape %}{{metric.brief | to_doc_brief}}.{% endfilter %} + {%- if metric.note %} +* +* Note: {% filter escape %}{{metric.note | to_doc_brief}}.{% endfilter %} + {%- endif %} + {%- if (metric.stability | string()) != "StabilityLevel.STABLE" %} + * + * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + {%- endif %} + {%- if metric.deprecated %} +* +* @deprecated {{metric.deprecated | to_doc_brief}}. + {%- endif %} +*/ +export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("string", metric.metric_name) }}; + {%- endfor %} -{%- for attribute in attributes if attribute.is_local and not attribute.ref %} +{%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} /** * {% filter escape %}{{attribute.brief | to_doc_brief}}.{% endfilter %} {%- if attribute.note %} * * Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} + {%- endif %} + {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if attribute.deprecated %} * * @deprecated {{attribute.deprecated | to_doc_brief}}. {%- endif %} */ -export const {{cls_prefix}}_{{attribute.fqn | to_const_name}} = TMP_{{attribute.fqn | to_const_name}}; +export const {{cls_prefix}}_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }}; {%- endfor %} -/** - * Definition of available values for {{class}} - * This type is used for backward compatibility, you should use the individual exported - * constants {{class}}_XXXXX rather than the exported constant map. As any single reference - * to a constant map value will result in all strings being included into your bundle. - * @deprecated Use the {{cls_prefix}}_XXXXX constants rather than the {{class}}.XXXXX for bundle minification. - */ -export type {{class}} = { - {%- for attribute in attributes if attribute.is_local and not attribute.ref %} - - /** - * {% filter escape %}{{attribute.brief | to_doc_brief}}.{% endfilter %} - {%- if attribute.note %} - * - * Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} - {%- endif %} - {%- if attribute.deprecated %} - * - * @deprecated {{attribute.deprecated | to_doc_brief}}. - {%- endif %} - */ - {{attribute.fqn | to_const_name}}: '{{attribute.fqn}}', - {%- endfor %} -}; - -/** - * Create exported Value Map for {{class}} values - * @deprecated Use the {{cls_prefix}}_XXXXX constants rather than the {{class}}.XXXXX for bundle minification - */ -export const {{class}}:{{class}} = /*#__PURE__*/createConstMap<{{class}}>([ - {%- for attribute in attributes if attribute.is_local and not attribute.ref %} - TMP_{{attribute.fqn | to_const_name}}, - {%- endfor %} -]); - -{%- for attribute in attributes if attribute.is_local and not attribute.ref %} +{%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} {%- if attribute.is_enum %} -{%- set class_name = attribute.fqn | to_camelcase(True) ~ "Values" %} +{%- set class_name = attribute.fqn | to_const_name ~ "_VALUES" %} {%- set type = attribute.attr_type.enum_type %} {%- if attribute.attr_type.members is defined and attribute.attr_type.members|length > 0 %} -/* ---------------------------------------------------------------------------------------------------------- - * Constant values for {{class_name}} enum definition - * - * {% filter escape %}{{attribute.brief | to_doc_brief}}.{% endfilter %} - {%- if attribute.note %} - * - * Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} - {%- endif %} - {%- if attribute.deprecated %} - * - * @deprecated {{attribute.deprecated | to_doc_brief}}. - {%- endif %} - * ---------------------------------------------------------------------------------------------------------- */ - -// Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifiable export names for some package types -{%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} -const TMP_{{class_name|upper}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }}; -{%- endfor %} - {%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} /** @@ -129,72 +84,20 @@ const TMP_{{class_name|upper}}_{{ member.member_id | to_const_name }} = {{ print {%- if attribute.note %} * * Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} + {%- endif %} + {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} + * + * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if attribute.deprecated %} * * @deprecated {{attribute.deprecated | to_doc_brief}}. {%- endif %} */ -export const {{class_name|upper}}_{{ member.member_id | to_const_name }} = TMP_{{class_name|upper}}_{{ member.member_id | to_const_name }}; +export const {{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }}; {%- endfor %} -/** - * Identifies the Values for {{class_name}} enum definition - * - * {% filter escape %}{{attribute.brief | to_doc_brief}}.{% endfilter %} - {%- if attribute.note %} - * - * Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} - {%- endif %} - {%- if attribute.deprecated %} - * - * @deprecated {{attribute.deprecated | to_doc_brief}}. Use the {{class_name | upper}}_XXXXX constants rather than the {{class_name}}.XXXXX for bundle minification. - {%- else %} - * @deprecated Use the {{class_name | upper}}_XXXXX constants rather than the {{class_name}}.XXXXX for bundle minification. - {%- endif %} - */ -export type {{class_name}} = { - {%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} - - /** {% filter escape %}{{member.brief | to_doc_brief}}.{% endfilter %} */ - {{ member.member_id | to_const_name }}: {{ print_value(type, member.value) }}, - {%- endfor %} -} - -{%- set enumMap = namespace(useCreateConst = false) %} -{%- if type == "string" %} - {%- set enumMap.useCreateConst = true %} - {%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} - {%- if (member.member_id | to_const_name) != ( member.value | to_const_name) %} - {%- set enumMap.useCreateConst = false %} - {%- endif %} - {%- endfor %} -{%- endif %} - -/** - * The constant map of values for {{class_name}}. - * @deprecated Use the {{class_name | upper}}_XXXXX constants rather than the {{class_name}}.XXXXX for bundle minification. - */ -{%- if enumMap.useCreateConst == true %} -export const {{class_name}}:{{class_name}} = /*#__PURE__*/createConstMap<{{class_name}}>([ -{%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} - {%- if (member.member_id | to_const_name) == ( member.value | to_const_name) %} - TMP_{{class_name|upper}}_{{ member.member_id | to_const_name }}, - {%- else %} - {#- Cause some invalid content to be generated to force a build error #} - !! Invalid mapping for {{class_name}}.{{ member.member_id }}:{{ member.value }}. The value is not a valid string. - {{ member.member_id | to_const_name }}: TMP_{{class_name|upper}}_{{ member.member_id | to_const_name }}, - {%- endif %} -{%- endfor %} -]); -{%- else %} -export const {{class_name}}:{{class_name}} = { -{%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} - {{ member.member_id | to_const_name }}: TMP_{{class_name|upper}}_{{ member.member_id | to_const_name }}, -{%- endfor %} -}; -{%- endif %} {% endif %} {% endif %} From a7e5212fbb21109f7d45eb692f1bc16bb4d29864 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 9 May 2024 11:06:13 -0400 Subject: [PATCH 02/47] Deprecate old values names --- .../src/trace/SemanticAttributes.ts | 1025 ++++++++++++++++- 1 file changed, 1011 insertions(+), 14 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts index fb7379e519..225288d580 100644 --- a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts @@ -25,7 +25,7 @@ import { createConstMap } from '../internal/utils'; //---------------------------------------------------------------------------------------------------------- // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; const TMP_DB_SYSTEM = 'db.system'; const TMP_DB_CONNECTION_STRING = 'db.connection_string'; @@ -168,6 +168,741 @@ const TMP_MESSAGE_ID = 'message.id'; const TMP_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; const TMP_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; +/** + * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). + * + * Note: This may be different from `faas.id` if an alias is involved. + */ +export const SEMATTRS_AWS_LAMBDA_INVOKED_ARN = TMP_AWS_LAMBDA_INVOKED_ARN; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + */ +export const SEMATTRS_DB_SYSTEM = TMP_DB_SYSTEM; + +/** + * The connection string used to connect to the database. It is recommended to remove embedded credentials. + */ +export const SEMATTRS_DB_CONNECTION_STRING = TMP_DB_CONNECTION_STRING; + +/** + * Username for accessing the database. + */ +export const SEMATTRS_DB_USER = TMP_DB_USER; + +/** + * The fully-qualified class name of the [Java Database Connectivity (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver used to connect. + */ +export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = TMP_DB_JDBC_DRIVER_CLASSNAME; + +/** + * If no [tech-specific attribute](#call-level-attributes-for-specific-technologies) is defined, this attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). + * + * Note: In some SQL databases, the database name to be used is called "schema name". + */ +export const SEMATTRS_DB_NAME = TMP_DB_NAME; + +/** + * The database statement being executed. + * + * Note: The value may be sanitized to exclude sensitive information. + */ +export const SEMATTRS_DB_STATEMENT = TMP_DB_STATEMENT; + +/** + * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. + * + * Note: When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. + */ +export const SEMATTRS_DB_OPERATION = TMP_DB_OPERATION; + +/** + * The Microsoft SQL Server [instance name](https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. + * + * Note: If setting a `db.mssql.instance_name`, `net.peer.port` is no longer required (but still recommended if non-standard). + */ +export const SEMATTRS_DB_MSSQL_INSTANCE_NAME = TMP_DB_MSSQL_INSTANCE_NAME; + +/** + * The name of the keyspace being accessed. To be used instead of the generic `db.name` attribute. + */ +export const SEMATTRS_DB_CASSANDRA_KEYSPACE = TMP_DB_CASSANDRA_KEYSPACE; + +/** + * The fetch size used for paging, i.e. how many rows will be returned at once. + */ +export const SEMATTRS_DB_CASSANDRA_PAGE_SIZE = TMP_DB_CASSANDRA_PAGE_SIZE; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + */ +export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = + TMP_DB_CASSANDRA_CONSISTENCY_LEVEL; + +/** + * The name of the primary table that the operation is acting upon, including the schema name (if applicable). + * + * Note: This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. + */ +export const SEMATTRS_DB_CASSANDRA_TABLE = TMP_DB_CASSANDRA_TABLE; + +/** + * Whether or not the query is idempotent. + */ +export const SEMATTRS_DB_CASSANDRA_IDEMPOTENCE = TMP_DB_CASSANDRA_IDEMPOTENCE; + +/** + * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. + */ +export const SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = + TMP_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT; + +/** + * The ID of the coordinating node for a query. + */ +export const SEMATTRS_DB_CASSANDRA_COORDINATOR_ID = + TMP_DB_CASSANDRA_COORDINATOR_ID; + +/** + * The data center of the coordinating node for a query. + */ +export const SEMATTRS_DB_CASSANDRA_COORDINATOR_DC = + TMP_DB_CASSANDRA_COORDINATOR_DC; + +/** + * The [HBase namespace](https://hbase.apache.org/book.html#_namespace) being accessed. To be used instead of the generic `db.name` attribute. + */ +export const SEMATTRS_DB_HBASE_NAMESPACE = TMP_DB_HBASE_NAMESPACE; + +/** + * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. + */ +export const SEMATTRS_DB_REDIS_DATABASE_INDEX = TMP_DB_REDIS_DATABASE_INDEX; + +/** + * The collection being accessed within the database stated in `db.name`. + */ +export const SEMATTRS_DB_MONGODB_COLLECTION = TMP_DB_MONGODB_COLLECTION; + +/** + * The name of the primary table that the operation is acting upon, including the schema name (if applicable). + * + * Note: It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. + */ +export const SEMATTRS_DB_SQL_TABLE = TMP_DB_SQL_TABLE; + +/** + * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. + */ +export const SEMATTRS_EXCEPTION_TYPE = TMP_EXCEPTION_TYPE; + +/** + * The exception message. + */ +export const SEMATTRS_EXCEPTION_MESSAGE = TMP_EXCEPTION_MESSAGE; + +/** + * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + */ +export const SEMATTRS_EXCEPTION_STACKTRACE = TMP_EXCEPTION_STACKTRACE; + +/** +* SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. +* +* Note: An exception is considered to have escaped (or left) the scope of a span, +if that span is ended while the exception is still logically "in flight". +This may be actually "in flight" in some languages (e.g. if the exception +is passed to a Context manager's `__exit__` method in Python) but will +usually be caught at the point of recording the exception in most languages. + +It is usually not possible to determine at the point where an exception is thrown +whether it will escape the scope of a span. +However, it is trivial to know that an exception +will escape, if one checks for an active exception just before ending the span, +as done in the [example above](#exception-end-example). + +It follows that an exception may still escape the scope of the span +even if the `exception.escaped` attribute was not set or set to false, +since the event might have been recorded at a time where it was not +clear whether the exception will escape. +*/ +export const SEMATTRS_EXCEPTION_ESCAPED = TMP_EXCEPTION_ESCAPED; + +/** + * Type of the trigger on which the function is executed. + */ +export const SEMATTRS_FAAS_TRIGGER = TMP_FAAS_TRIGGER; + +/** + * The execution ID of the current function execution. + */ +export const SEMATTRS_FAAS_EXECUTION = TMP_FAAS_EXECUTION; + +/** + * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. + */ +export const SEMATTRS_FAAS_DOCUMENT_COLLECTION = TMP_FAAS_DOCUMENT_COLLECTION; + +/** + * Describes the type of the operation that was performed on the data. + */ +export const SEMATTRS_FAAS_DOCUMENT_OPERATION = TMP_FAAS_DOCUMENT_OPERATION; + +/** + * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + */ +export const SEMATTRS_FAAS_DOCUMENT_TIME = TMP_FAAS_DOCUMENT_TIME; + +/** + * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. + */ +export const SEMATTRS_FAAS_DOCUMENT_NAME = TMP_FAAS_DOCUMENT_NAME; + +/** + * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + */ +export const SEMATTRS_FAAS_TIME = TMP_FAAS_TIME; + +/** + * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). + */ +export const SEMATTRS_FAAS_CRON = TMP_FAAS_CRON; + +/** + * A boolean that is true if the serverless function is executed for the first time (aka cold-start). + */ +export const SEMATTRS_FAAS_COLDSTART = TMP_FAAS_COLDSTART; + +/** + * The name of the invoked function. + * + * Note: SHOULD be equal to the `faas.name` resource attribute of the invoked function. + */ +export const SEMATTRS_FAAS_INVOKED_NAME = TMP_FAAS_INVOKED_NAME; + +/** + * The cloud provider of the invoked function. + * + * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + */ +export const SEMATTRS_FAAS_INVOKED_PROVIDER = TMP_FAAS_INVOKED_PROVIDER; + +/** + * The cloud region of the invoked function. + * + * Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked function. + */ +export const SEMATTRS_FAAS_INVOKED_REGION = TMP_FAAS_INVOKED_REGION; + +/** + * Transport protocol used. See note below. + */ +export const SEMATTRS_NET_TRANSPORT = TMP_NET_TRANSPORT; + +/** + * Remote address of the peer (dotted decimal for IPv4 or [RFC5952](https://tools.ietf.org/html/rfc5952) for IPv6). + */ +export const SEMATTRS_NET_PEER_IP = TMP_NET_PEER_IP; + +/** + * Remote port number. + */ +export const SEMATTRS_NET_PEER_PORT = TMP_NET_PEER_PORT; + +/** + * Remote hostname or similar, see note below. + */ +export const SEMATTRS_NET_PEER_NAME = TMP_NET_PEER_NAME; + +/** + * Like `net.peer.ip` but for the host IP. Useful in case of a multi-IP host. + */ +export const SEMATTRS_NET_HOST_IP = TMP_NET_HOST_IP; + +/** + * Like `net.peer.port` but for the host port. + */ +export const SEMATTRS_NET_HOST_PORT = TMP_NET_HOST_PORT; + +/** + * Local hostname or similar, see note below. + */ +export const SEMATTRS_NET_HOST_NAME = TMP_NET_HOST_NAME; + +/** + * The internet connection type currently being used by the host. + */ +export const SEMATTRS_NET_HOST_CONNECTION_TYPE = TMP_NET_HOST_CONNECTION_TYPE; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + */ +export const SEMATTRS_NET_HOST_CONNECTION_SUBTYPE = + TMP_NET_HOST_CONNECTION_SUBTYPE; + +/** + * The name of the mobile carrier. + */ +export const SEMATTRS_NET_HOST_CARRIER_NAME = TMP_NET_HOST_CARRIER_NAME; + +/** + * The mobile carrier country code. + */ +export const SEMATTRS_NET_HOST_CARRIER_MCC = TMP_NET_HOST_CARRIER_MCC; + +/** + * The mobile carrier network code. + */ +export const SEMATTRS_NET_HOST_CARRIER_MNC = TMP_NET_HOST_CARRIER_MNC; + +/** + * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. + */ +export const SEMATTRS_NET_HOST_CARRIER_ICC = TMP_NET_HOST_CARRIER_ICC; + +/** + * The [`service.name`](../../resource/semantic_conventions/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. + */ +export const SEMATTRS_PEER_SERVICE = TMP_PEER_SERVICE; + +/** + * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. + */ +export const SEMATTRS_ENDUSER_ID = TMP_ENDUSER_ID; + +/** + * Actual/assumed role the client is making the request under extracted from token or application security context. + */ +export const SEMATTRS_ENDUSER_ROLE = TMP_ENDUSER_ROLE; + +/** + * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). + */ +export const SEMATTRS_ENDUSER_SCOPE = TMP_ENDUSER_SCOPE; + +/** + * Current "managed" thread ID (as opposed to OS thread ID). + */ +export const SEMATTRS_THREAD_ID = TMP_THREAD_ID; + +/** + * Current thread name. + */ +export const SEMATTRS_THREAD_NAME = TMP_THREAD_NAME; + +/** + * The method or function name, or equivalent (usually rightmost part of the code unit's name). + */ +export const SEMATTRS_CODE_FUNCTION = TMP_CODE_FUNCTION; + +/** + * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. + */ +export const SEMATTRS_CODE_NAMESPACE = TMP_CODE_NAMESPACE; + +/** + * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). + */ +export const SEMATTRS_CODE_FILEPATH = TMP_CODE_FILEPATH; + +/** + * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. + */ +export const SEMATTRS_CODE_LINENO = TMP_CODE_LINENO; + +/** + * HTTP request method. + */ +export const SEMATTRS_HTTP_METHOD = TMP_HTTP_METHOD; + +/** + * Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. + * + * Note: `http.url` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case the attribute's value should be `https://www.example.com/`. + */ +export const SEMATTRS_HTTP_URL = TMP_HTTP_URL; + +/** + * The full request target as passed in a HTTP request line or equivalent. + */ +export const SEMATTRS_HTTP_TARGET = TMP_HTTP_TARGET; + +/** + * The value of the [HTTP host header](https://tools.ietf.org/html/rfc7230#section-5.4). An empty Host header should also be reported, see note. + * + * Note: When the header is present but empty the attribute SHOULD be set to the empty string. Note that this is a valid situation that is expected in certain cases, according the aforementioned [section of RFC 7230](https://tools.ietf.org/html/rfc7230#section-5.4). When the header is not set the attribute MUST NOT be set. + */ +export const SEMATTRS_HTTP_HOST = TMP_HTTP_HOST; + +/** + * The URI scheme identifying the used protocol. + */ +export const SEMATTRS_HTTP_SCHEME = TMP_HTTP_SCHEME; + +/** + * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). + */ +export const SEMATTRS_HTTP_STATUS_CODE = TMP_HTTP_STATUS_CODE; + +/** + * Kind of HTTP protocol used. + * + * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + */ +export const SEMATTRS_HTTP_FLAVOR = TMP_HTTP_FLAVOR; + +/** + * Value of the [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3) header sent by the client. + */ +export const SEMATTRS_HTTP_USER_AGENT = TMP_HTTP_USER_AGENT; + +/** + * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://tools.ietf.org/html/rfc7230#section-3.3.2) header. For requests using transport encoding, this should be the compressed size. + */ +export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH = + TMP_HTTP_REQUEST_CONTENT_LENGTH; + +/** + * The size of the uncompressed request payload body after transport decoding. Not set if transport encoding not used. + */ +export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = + TMP_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED; + +/** + * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://tools.ietf.org/html/rfc7230#section-3.3.2) header. For requests using transport encoding, this should be the compressed size. + */ +export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH = + TMP_HTTP_RESPONSE_CONTENT_LENGTH; + +/** + * The size of the uncompressed response payload body after transport decoding. Not set if transport encoding not used. + */ +export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = + TMP_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED; + +/** + * The primary server name of the matched virtual host. This should be obtained via configuration. If no such configuration can be obtained, this attribute MUST NOT be set ( `net.host.name` should be used instead). + * + * Note: `http.url` is usually not readily available on the server side but would have to be assembled in a cumbersome and sometimes lossy process from other information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus preferred to supply the raw data that is available. + */ +export const SEMATTRS_HTTP_SERVER_NAME = TMP_HTTP_SERVER_NAME; + +/** + * The matched route (path template). + */ +export const SEMATTRS_HTTP_ROUTE = TMP_HTTP_ROUTE; + +/** +* The IP address of the original client behind all proxies, if known (e.g. from [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For)). +* +* Note: This is not necessarily the same as `net.peer.ip`, which would +identify the network-level peer, which may be a proxy. + +This attribute should be set when a source of information different +from the one used for `net.peer.ip`, is available even if that other +source just confirms the same value as `net.peer.ip`. +Rationale: For `net.peer.ip`, one typically does not know if it +comes from a proxy, reverse proxy, or the actual client. Setting +`http.client_ip` when it's the same as `net.peer.ip` means that +one is at least somewhat confident that the address is not that of +the closest proxy. +*/ +export const SEMATTRS_HTTP_CLIENT_IP = TMP_HTTP_CLIENT_IP; + +/** + * The keys in the `RequestItems` object field. + */ +export const SEMATTRS_AWS_DYNAMODB_TABLE_NAMES = TMP_AWS_DYNAMODB_TABLE_NAMES; + +/** + * The JSON-serialized value of each item in the `ConsumedCapacity` response field. + */ +export const SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY = + TMP_AWS_DYNAMODB_CONSUMED_CAPACITY; + +/** + * The JSON-serialized value of the `ItemCollectionMetrics` response field. + */ +export const SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = + TMP_AWS_DYNAMODB_ITEM_COLLECTION_METRICS; + +/** + * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = + TMP_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY; + +/** + * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = + TMP_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY; + +/** + * The value of the `ConsistentRead` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ = + TMP_AWS_DYNAMODB_CONSISTENT_READ; + +/** + * The value of the `ProjectionExpression` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_PROJECTION = TMP_AWS_DYNAMODB_PROJECTION; + +/** + * The value of the `Limit` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_LIMIT = TMP_AWS_DYNAMODB_LIMIT; + +/** + * The value of the `AttributesToGet` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET = + TMP_AWS_DYNAMODB_ATTRIBUTES_TO_GET; + +/** + * The value of the `IndexName` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_INDEX_NAME = TMP_AWS_DYNAMODB_INDEX_NAME; + +/** + * The value of the `Select` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_SELECT = TMP_AWS_DYNAMODB_SELECT; + +/** + * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. + */ +export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = + TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES; + +/** + * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. + */ +export const SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = + TMP_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES; + +/** + * The value of the `ExclusiveStartTableName` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = + TMP_AWS_DYNAMODB_EXCLUSIVE_START_TABLE; + +/** + * The the number of items in the `TableNames` response parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_TABLE_COUNT = TMP_AWS_DYNAMODB_TABLE_COUNT; + +/** + * The value of the `ScanIndexForward` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD = TMP_AWS_DYNAMODB_SCAN_FORWARD; + +/** + * The value of the `Segment` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_SEGMENT = TMP_AWS_DYNAMODB_SEGMENT; + +/** + * The value of the `TotalSegments` request parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS = + TMP_AWS_DYNAMODB_TOTAL_SEGMENTS; + +/** + * The value of the `Count` response parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_COUNT = TMP_AWS_DYNAMODB_COUNT; + +/** + * The value of the `ScannedCount` response parameter. + */ +export const SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT = + TMP_AWS_DYNAMODB_SCANNED_COUNT; + +/** + * The JSON-serialized value of each item in the `AttributeDefinitions` request field. + */ +export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = + TMP_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS; + +/** + * The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates` request field. + */ +export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = + TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES; + +/** + * A string identifying the messaging system. + */ +export const SEMATTRS_MESSAGING_SYSTEM = TMP_MESSAGING_SYSTEM; + +/** + * The message destination name. This might be equal to the span name but is required nevertheless. + */ +export const SEMATTRS_MESSAGING_DESTINATION = TMP_MESSAGING_DESTINATION; + +/** + * The kind of message destination. + */ +export const SEMATTRS_MESSAGING_DESTINATION_KIND = + TMP_MESSAGING_DESTINATION_KIND; + +/** + * A boolean that is true if the message destination is temporary. + */ +export const SEMATTRS_MESSAGING_TEMP_DESTINATION = + TMP_MESSAGING_TEMP_DESTINATION; + +/** + * The name of the transport protocol. + */ +export const SEMATTRS_MESSAGING_PROTOCOL = TMP_MESSAGING_PROTOCOL; + +/** + * The version of the transport protocol. + */ +export const SEMATTRS_MESSAGING_PROTOCOL_VERSION = + TMP_MESSAGING_PROTOCOL_VERSION; + +/** + * Connection string. + */ +export const SEMATTRS_MESSAGING_URL = TMP_MESSAGING_URL; + +/** + * A value used by the messaging system as an identifier for the message, represented as a string. + */ +export const SEMATTRS_MESSAGING_MESSAGE_ID = TMP_MESSAGING_MESSAGE_ID; + +/** + * The [conversation ID](#conversations) identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". + */ +export const SEMATTRS_MESSAGING_CONVERSATION_ID = TMP_MESSAGING_CONVERSATION_ID; + +/** + * The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. + */ +export const SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES = + TMP_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES; + +/** + * The compressed size of the message payload in bytes. + */ +export const SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES = + TMP_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES; + +/** + * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. + */ +export const SEMATTRS_MESSAGING_OPERATION = TMP_MESSAGING_OPERATION; + +/** + * The identifier for the consumer receiving a message. For Kafka, set it to `{messaging.kafka.consumer_group} - {messaging.kafka.client_id}`, if both are present, or only `messaging.kafka.consumer_group`. For brokers, such as RabbitMQ and Artemis, set it to the `client_id` of the client consuming the message. + */ +export const SEMATTRS_MESSAGING_CONSUMER_ID = TMP_MESSAGING_CONSUMER_ID; + +/** + * RabbitMQ message routing key. + */ +export const SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY = + TMP_MESSAGING_RABBITMQ_ROUTING_KEY; + +/** + * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message_id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. + * + * Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. + */ +export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY = + TMP_MESSAGING_KAFKA_MESSAGE_KEY; + +/** + * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. + */ +export const SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP = + TMP_MESSAGING_KAFKA_CONSUMER_GROUP; + +/** + * Client Id for the Consumer or Producer that is handling the message. + */ +export const SEMATTRS_MESSAGING_KAFKA_CLIENT_ID = TMP_MESSAGING_KAFKA_CLIENT_ID; + +/** + * Partition the message is sent to. + */ +export const SEMATTRS_MESSAGING_KAFKA_PARTITION = TMP_MESSAGING_KAFKA_PARTITION; + +/** + * A boolean that is true if the message is a tombstone. + */ +export const SEMATTRS_MESSAGING_KAFKA_TOMBSTONE = TMP_MESSAGING_KAFKA_TOMBSTONE; + +/** + * A string identifying the remoting system. + */ +export const SEMATTRS_RPC_SYSTEM = TMP_RPC_SYSTEM; + +/** + * The full (logical) name of the service being called, including its package name, if applicable. + * + * Note: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). + */ +export const SEMATTRS_RPC_SERVICE = TMP_RPC_SERVICE; + +/** + * The name of the (logical) method being called, must be equal to the $method part in the span name. + * + * Note: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). + */ +export const SEMATTRS_RPC_METHOD = TMP_RPC_METHOD; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + */ +export const SEMATTRS_RPC_GRPC_STATUS_CODE = TMP_RPC_GRPC_STATUS_CODE; + +/** + * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 does not specify this, the value can be omitted. + */ +export const SEMATTRS_RPC_JSONRPC_VERSION = TMP_RPC_JSONRPC_VERSION; + +/** + * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. + */ +export const SEMATTRS_RPC_JSONRPC_REQUEST_ID = TMP_RPC_JSONRPC_REQUEST_ID; + +/** + * `error.code` property of response if it is an error response. + */ +export const SEMATTRS_RPC_JSONRPC_ERROR_CODE = TMP_RPC_JSONRPC_ERROR_CODE; + +/** + * `error.message` property of response if it is an error response. + */ +export const SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE = TMP_RPC_JSONRPC_ERROR_MESSAGE; + +/** + * Whether this is a received or sent message. + */ +export const SEMATTRS_MESSAGE_TYPE = TMP_MESSAGE_TYPE; + +/** + * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. + * + * Note: This way we guarantee that the values will be consistent between different implementations. + */ +export const SEMATTRS_MESSAGE_ID = TMP_MESSAGE_ID; + +/** + * Compressed size of the message in bytes. + */ +export const SEMATTRS_MESSAGE_COMPRESSED_SIZE = TMP_MESSAGE_COMPRESSED_SIZE; + +/** + * Uncompressed size of the message in bytes. + */ +export const SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE = TMP_MESSAGE_UNCOMPRESSED_SIZE; + /** * Definition of available values for SemanticAttributes * This type is used for backward compatibility, you should use the individual exported @@ -1025,7 +1760,7 @@ export const SemanticAttributes: SemanticAttributes = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_DBSYSTEMVALUES_OTHER_SQL = 'other_sql'; const TMP_DBSYSTEMVALUES_MSSQL = 'mssql'; const TMP_DBSYSTEMVALUES_MYSQL = 'mysql'; @@ -1076,236 +1811,330 @@ const TMP_DBSYSTEMVALUES_COCKROACHDB = 'cockroachdb'; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_OTHER_SQL. */ export const DBSYSTEMVALUES_OTHER_SQL = TMP_DBSYSTEMVALUES_OTHER_SQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_MSSQL. */ export const DBSYSTEMVALUES_MSSQL = TMP_DBSYSTEMVALUES_MSSQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_MYSQL. */ export const DBSYSTEMVALUES_MYSQL = TMP_DBSYSTEMVALUES_MYSQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_ORACLE. */ export const DBSYSTEMVALUES_ORACLE = TMP_DBSYSTEMVALUES_ORACLE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_DB2. */ export const DBSYSTEMVALUES_DB2 = TMP_DBSYSTEMVALUES_DB2; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_POSTGRESQL. */ export const DBSYSTEMVALUES_POSTGRESQL = TMP_DBSYSTEMVALUES_POSTGRESQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_REDSHIFT. */ export const DBSYSTEMVALUES_REDSHIFT = TMP_DBSYSTEMVALUES_REDSHIFT; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_HIVE. */ export const DBSYSTEMVALUES_HIVE = TMP_DBSYSTEMVALUES_HIVE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_CLOUDSCAPE. */ export const DBSYSTEMVALUES_CLOUDSCAPE = TMP_DBSYSTEMVALUES_CLOUDSCAPE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_HSQLDB. */ export const DBSYSTEMVALUES_HSQLDB = TMP_DBSYSTEMVALUES_HSQLDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_PROGRESS. */ export const DBSYSTEMVALUES_PROGRESS = TMP_DBSYSTEMVALUES_PROGRESS; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_MAXDB. */ export const DBSYSTEMVALUES_MAXDB = TMP_DBSYSTEMVALUES_MAXDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_HANADB. */ export const DBSYSTEMVALUES_HANADB = TMP_DBSYSTEMVALUES_HANADB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_INGRES. */ export const DBSYSTEMVALUES_INGRES = TMP_DBSYSTEMVALUES_INGRES; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_FIRSTSQL. */ export const DBSYSTEMVALUES_FIRSTSQL = TMP_DBSYSTEMVALUES_FIRSTSQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_EDB. */ export const DBSYSTEMVALUES_EDB = TMP_DBSYSTEMVALUES_EDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_CACHE. */ export const DBSYSTEMVALUES_CACHE = TMP_DBSYSTEMVALUES_CACHE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_ADABAS. */ export const DBSYSTEMVALUES_ADABAS = TMP_DBSYSTEMVALUES_ADABAS; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_FIREBIRD. */ export const DBSYSTEMVALUES_FIREBIRD = TMP_DBSYSTEMVALUES_FIREBIRD; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_DERBY. */ export const DBSYSTEMVALUES_DERBY = TMP_DBSYSTEMVALUES_DERBY; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_FILEMAKER. */ export const DBSYSTEMVALUES_FILEMAKER = TMP_DBSYSTEMVALUES_FILEMAKER; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_INFORMIX. */ export const DBSYSTEMVALUES_INFORMIX = TMP_DBSYSTEMVALUES_INFORMIX; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_INSTANTDB. */ export const DBSYSTEMVALUES_INSTANTDB = TMP_DBSYSTEMVALUES_INSTANTDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_INTERBASE. */ export const DBSYSTEMVALUES_INTERBASE = TMP_DBSYSTEMVALUES_INTERBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_MARIADB. */ export const DBSYSTEMVALUES_MARIADB = TMP_DBSYSTEMVALUES_MARIADB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_NETEZZA. */ export const DBSYSTEMVALUES_NETEZZA = TMP_DBSYSTEMVALUES_NETEZZA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_PERVASIVE. */ export const DBSYSTEMVALUES_PERVASIVE = TMP_DBSYSTEMVALUES_PERVASIVE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_POINTBASE. */ export const DBSYSTEMVALUES_POINTBASE = TMP_DBSYSTEMVALUES_POINTBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_SQLITE. */ export const DBSYSTEMVALUES_SQLITE = TMP_DBSYSTEMVALUES_SQLITE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_SYBASE. */ export const DBSYSTEMVALUES_SYBASE = TMP_DBSYSTEMVALUES_SYBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_TERADATA. */ export const DBSYSTEMVALUES_TERADATA = TMP_DBSYSTEMVALUES_TERADATA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_VERTICA. */ export const DBSYSTEMVALUES_VERTICA = TMP_DBSYSTEMVALUES_VERTICA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_H2. */ export const DBSYSTEMVALUES_H2 = TMP_DBSYSTEMVALUES_H2; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_COLDFUSION. */ export const DBSYSTEMVALUES_COLDFUSION = TMP_DBSYSTEMVALUES_COLDFUSION; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_CASSANDRA. */ export const DBSYSTEMVALUES_CASSANDRA = TMP_DBSYSTEMVALUES_CASSANDRA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_HBASE. */ export const DBSYSTEMVALUES_HBASE = TMP_DBSYSTEMVALUES_HBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_MONGODB. */ export const DBSYSTEMVALUES_MONGODB = TMP_DBSYSTEMVALUES_MONGODB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_REDIS. */ export const DBSYSTEMVALUES_REDIS = TMP_DBSYSTEMVALUES_REDIS; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_COUCHBASE. */ export const DBSYSTEMVALUES_COUCHBASE = TMP_DBSYSTEMVALUES_COUCHBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_COUCHDB. */ export const DBSYSTEMVALUES_COUCHDB = TMP_DBSYSTEMVALUES_COUCHDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_COSMOSDB. */ export const DBSYSTEMVALUES_COSMOSDB = TMP_DBSYSTEMVALUES_COSMOSDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_DYNAMODB. */ export const DBSYSTEMVALUES_DYNAMODB = TMP_DBSYSTEMVALUES_DYNAMODB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_NEO4J. */ export const DBSYSTEMVALUES_NEO4J = TMP_DBSYSTEMVALUES_NEO4J; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_GEODE. */ export const DBSYSTEMVALUES_GEODE = TMP_DBSYSTEMVALUES_GEODE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_ELASTICSEARCH. */ export const DBSYSTEMVALUES_ELASTICSEARCH = TMP_DBSYSTEMVALUES_ELASTICSEARCH; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_MEMCACHED. */ export const DBSYSTEMVALUES_MEMCACHED = TMP_DBSYSTEMVALUES_MEMCACHED; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated Use DB_SYSTEM_VALUES_COCKROACHDB. */ export const DBSYSTEMVALUES_COCKROACHDB = TMP_DBSYSTEMVALUES_COCKROACHDB; @@ -1520,7 +2349,7 @@ export const DbSystemValues: DbSystemValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ALL = 'all'; const TMP_DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM = 'each_quorum'; const TMP_DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM = 'quorum'; @@ -1535,66 +2364,88 @@ const TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL = 'local_serial'; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_ALL = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ALL; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_ONE = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ONE; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_TWO = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_TWO; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_THREE = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_THREE; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_ANY = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ANY; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL; @@ -1666,7 +2517,7 @@ export const DbCassandraConsistencyLevelValues: DbCassandraConsistencyLevelValue * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_FAASTRIGGERVALUES_DATASOURCE = 'datasource'; const TMP_FAASTRIGGERVALUES_HTTP = 'http'; const TMP_FAASTRIGGERVALUES_PUBSUB = 'pubsub'; @@ -1675,26 +2526,36 @@ const TMP_FAASTRIGGERVALUES_OTHER = 'other'; /** * Type of the trigger on which the function is executed. + * + * @deprecated Use FAAS_TRIGGER_VALUES_DATASOURCE. */ export const FAASTRIGGERVALUES_DATASOURCE = TMP_FAASTRIGGERVALUES_DATASOURCE; /** * Type of the trigger on which the function is executed. + * + * @deprecated Use FAAS_TRIGGER_VALUES_HTTP. */ export const FAASTRIGGERVALUES_HTTP = TMP_FAASTRIGGERVALUES_HTTP; /** * Type of the trigger on which the function is executed. + * + * @deprecated Use FAAS_TRIGGER_VALUES_PUBSUB. */ export const FAASTRIGGERVALUES_PUBSUB = TMP_FAASTRIGGERVALUES_PUBSUB; /** * Type of the trigger on which the function is executed. + * + * @deprecated Use FAAS_TRIGGER_VALUES_TIMER. */ export const FAASTRIGGERVALUES_TIMER = TMP_FAASTRIGGERVALUES_TIMER; /** * Type of the trigger on which the function is executed. + * + * @deprecated Use FAAS_TRIGGER_VALUES_OTHER. */ export const FAASTRIGGERVALUES_OTHER = TMP_FAASTRIGGERVALUES_OTHER; @@ -1741,25 +2602,31 @@ export const FaasTriggerValues: FaasTriggerValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_FAASDOCUMENTOPERATIONVALUES_INSERT = 'insert'; const TMP_FAASDOCUMENTOPERATIONVALUES_EDIT = 'edit'; const TMP_FAASDOCUMENTOPERATIONVALUES_DELETE = 'delete'; /** * Describes the type of the operation that was performed on the data. + * + * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUES_INSERT. */ export const FAASDOCUMENTOPERATIONVALUES_INSERT = TMP_FAASDOCUMENTOPERATIONVALUES_INSERT; /** * Describes the type of the operation that was performed on the data. + * + * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUES_EDIT. */ export const FAASDOCUMENTOPERATIONVALUES_EDIT = TMP_FAASDOCUMENTOPERATIONVALUES_EDIT; /** * Describes the type of the operation that was performed on the data. + * + * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUES_DELETE. */ export const FAASDOCUMENTOPERATIONVALUES_DELETE = TMP_FAASDOCUMENTOPERATIONVALUES_DELETE; @@ -1801,7 +2668,7 @@ export const FaasDocumentOperationValues: FaasDocumentOperationValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD = 'alibaba_cloud'; const TMP_FAASINVOKEDPROVIDERVALUES_AWS = 'aws'; const TMP_FAASINVOKEDPROVIDERVALUES_AZURE = 'azure'; @@ -1811,6 +2678,8 @@ const TMP_FAASINVOKEDPROVIDERVALUES_GCP = 'gcp'; * The cloud provider of the invoked function. * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD. */ export const FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD = TMP_FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD; @@ -1819,6 +2688,8 @@ export const FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD = * The cloud provider of the invoked function. * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_AWS. */ export const FAASINVOKEDPROVIDERVALUES_AWS = TMP_FAASINVOKEDPROVIDERVALUES_AWS; @@ -1826,6 +2697,8 @@ export const FAASINVOKEDPROVIDERVALUES_AWS = TMP_FAASINVOKEDPROVIDERVALUES_AWS; * The cloud provider of the invoked function. * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_AZURE. */ export const FAASINVOKEDPROVIDERVALUES_AZURE = TMP_FAASINVOKEDPROVIDERVALUES_AZURE; @@ -1834,6 +2707,8 @@ export const FAASINVOKEDPROVIDERVALUES_AZURE = * The cloud provider of the invoked function. * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_GCP. */ export const FAASINVOKEDPROVIDERVALUES_GCP = TMP_FAASINVOKEDPROVIDERVALUES_GCP; @@ -1878,7 +2753,7 @@ export const FaasInvokedProviderValues: FaasInvokedProviderValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_NETTRANSPORTVALUES_IP_TCP = 'ip_tcp'; const TMP_NETTRANSPORTVALUES_IP_UDP = 'ip_udp'; const TMP_NETTRANSPORTVALUES_IP = 'ip'; @@ -1889,36 +2764,50 @@ const TMP_NETTRANSPORTVALUES_OTHER = 'other'; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_IP_TCP. */ export const NETTRANSPORTVALUES_IP_TCP = TMP_NETTRANSPORTVALUES_IP_TCP; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_IP_UDP. */ export const NETTRANSPORTVALUES_IP_UDP = TMP_NETTRANSPORTVALUES_IP_UDP; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_IP. */ export const NETTRANSPORTVALUES_IP = TMP_NETTRANSPORTVALUES_IP; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_UNIX. */ export const NETTRANSPORTVALUES_UNIX = TMP_NETTRANSPORTVALUES_UNIX; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_PIPE. */ export const NETTRANSPORTVALUES_PIPE = TMP_NETTRANSPORTVALUES_PIPE; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_INPROC. */ export const NETTRANSPORTVALUES_INPROC = TMP_NETTRANSPORTVALUES_INPROC; /** * Transport protocol used. See note below. + * + * @deprecated Use NET_TRANSPORT_VALUES_OTHER. */ export const NETTRANSPORTVALUES_OTHER = TMP_NETTRANSPORTVALUES_OTHER; @@ -1973,7 +2862,7 @@ export const NetTransportValues: NetTransportValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_NETHOSTCONNECTIONTYPEVALUES_WIFI = 'wifi'; const TMP_NETHOSTCONNECTIONTYPEVALUES_WIRED = 'wired'; const TMP_NETHOSTCONNECTIONTYPEVALUES_CELL = 'cell'; @@ -1982,30 +2871,40 @@ const TMP_NETHOSTCONNECTIONTYPEVALUES_UNKNOWN = 'unknown'; /** * The internet connection type currently being used by the host. + * + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_WIFI. */ export const NETHOSTCONNECTIONTYPEVALUES_WIFI = TMP_NETHOSTCONNECTIONTYPEVALUES_WIFI; /** * The internet connection type currently being used by the host. + * + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_WIRED. */ export const NETHOSTCONNECTIONTYPEVALUES_WIRED = TMP_NETHOSTCONNECTIONTYPEVALUES_WIRED; /** * The internet connection type currently being used by the host. + * + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_CELL. */ export const NETHOSTCONNECTIONTYPEVALUES_CELL = TMP_NETHOSTCONNECTIONTYPEVALUES_CELL; /** * The internet connection type currently being used by the host. + * + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_UNAVAILABLE. */ export const NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE = TMP_NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE; /** * The internet connection type currently being used by the host. + * + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_UNKNOWN. */ export const NETHOSTCONNECTIONTYPEVALUES_UNKNOWN = TMP_NETHOSTCONNECTIONTYPEVALUES_UNKNOWN; @@ -2053,7 +2952,7 @@ export const NetHostConnectionTypeValues: NetHostConnectionTypeValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GPRS = 'gprs'; const TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EDGE = 'edge'; const TMP_NETHOSTCONNECTIONSUBTYPEVALUES_UMTS = 'umts'; @@ -2078,126 +2977,168 @@ const TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA = 'lte_ca'; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_GPRS. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_GPRS = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GPRS; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EDGE. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EDGE = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EDGE; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_UMTS. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_UMTS = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_UMTS; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_CDMA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_CDMA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_CDMA; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EVDO_0. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0 = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EVDO_A. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSDPA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSUPA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSPA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSPA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSPA; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_IDEN. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_IDEN = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_IDEN; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EVDO_B. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_LTE. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_LTE = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EHRPD. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSPAP. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_GSM. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_GSM = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GSM; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_TD_SCDMA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_IWLAN. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_NR. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_NR = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_NR; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_NRNSA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_LTE_CA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA; @@ -2311,7 +3252,7 @@ export const NetHostConnectionSubtypeValues: NetHostConnectionSubtypeValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_HTTPFLAVORVALUES_HTTP_1_0 = '1.0'; const TMP_HTTPFLAVORVALUES_HTTP_1_1 = '1.1'; const TMP_HTTPFLAVORVALUES_HTTP_2_0 = '2.0'; @@ -2322,6 +3263,8 @@ const TMP_HTTPFLAVORVALUES_QUIC = 'QUIC'; * Kind of HTTP protocol used. * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + * + * @deprecated Use HTTP_FLAVOR_VALUES_HTTP_1_0. */ export const HTTPFLAVORVALUES_HTTP_1_0 = TMP_HTTPFLAVORVALUES_HTTP_1_0; @@ -2329,6 +3272,8 @@ export const HTTPFLAVORVALUES_HTTP_1_0 = TMP_HTTPFLAVORVALUES_HTTP_1_0; * Kind of HTTP protocol used. * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + * + * @deprecated Use HTTP_FLAVOR_VALUES_HTTP_1_1. */ export const HTTPFLAVORVALUES_HTTP_1_1 = TMP_HTTPFLAVORVALUES_HTTP_1_1; @@ -2336,6 +3281,8 @@ export const HTTPFLAVORVALUES_HTTP_1_1 = TMP_HTTPFLAVORVALUES_HTTP_1_1; * Kind of HTTP protocol used. * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + * + * @deprecated Use HTTP_FLAVOR_VALUES_HTTP_2_0. */ export const HTTPFLAVORVALUES_HTTP_2_0 = TMP_HTTPFLAVORVALUES_HTTP_2_0; @@ -2343,6 +3290,8 @@ export const HTTPFLAVORVALUES_HTTP_2_0 = TMP_HTTPFLAVORVALUES_HTTP_2_0; * Kind of HTTP protocol used. * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + * + * @deprecated Use HTTP_FLAVOR_VALUES_SPDY. */ export const HTTPFLAVORVALUES_SPDY = TMP_HTTPFLAVORVALUES_SPDY; @@ -2350,6 +3299,8 @@ export const HTTPFLAVORVALUES_SPDY = TMP_HTTPFLAVORVALUES_SPDY; * Kind of HTTP protocol used. * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + * + * @deprecated Use HTTP_FLAVOR_VALUES_QUIC. */ export const HTTPFLAVORVALUES_QUIC = TMP_HTTPFLAVORVALUES_QUIC; @@ -2397,18 +3348,22 @@ export const HttpFlavorValues: HttpFlavorValues = { * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_MESSAGINGDESTINATIONKINDVALUES_QUEUE = 'queue'; const TMP_MESSAGINGDESTINATIONKINDVALUES_TOPIC = 'topic'; /** * The kind of message destination. + * + * @deprecated Use MESSAGING_DESTINATION_KIND_VALUES_QUEUE. */ export const MESSAGINGDESTINATIONKINDVALUES_QUEUE = TMP_MESSAGINGDESTINATIONKINDVALUES_QUEUE; /** * The kind of message destination. + * + * @deprecated Use MESSAGING_DESTINATION_KIND_VALUES_TOPIC. */ export const MESSAGINGDESTINATIONKINDVALUES_TOPIC = TMP_MESSAGINGDESTINATIONKINDVALUES_TOPIC; @@ -2444,18 +3399,22 @@ export const MessagingDestinationKindValues: MessagingDestinationKindValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_MESSAGINGOPERATIONVALUES_RECEIVE = 'receive'; const TMP_MESSAGINGOPERATIONVALUES_PROCESS = 'process'; /** * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. + * + * @deprecated Use MESSAGING_OPERATION_VALUES_RECEIVE. */ export const MESSAGINGOPERATIONVALUES_RECEIVE = TMP_MESSAGINGOPERATIONVALUES_RECEIVE; /** * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. + * + * @deprecated Use MESSAGING_OPERATION_VALUES_PROCESS. */ export const MESSAGINGOPERATIONVALUES_PROCESS = TMP_MESSAGINGOPERATIONVALUES_PROCESS; @@ -2491,7 +3450,7 @@ export const MessagingOperationValues: MessagingOperationValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_RPCGRPCSTATUSCODEVALUES_OK = 0; const TMP_RPCGRPCSTATUSCODEVALUES_CANCELLED = 1; const TMP_RPCGRPCSTATUSCODEVALUES_UNKNOWN = 2; @@ -2512,101 +3471,135 @@ const TMP_RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED = 16; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_OK. */ export const RPCGRPCSTATUSCODEVALUES_OK = TMP_RPCGRPCSTATUSCODEVALUES_OK; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_CANCELLED. */ export const RPCGRPCSTATUSCODEVALUES_CANCELLED = TMP_RPCGRPCSTATUSCODEVALUES_CANCELLED; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN. */ export const RPCGRPCSTATUSCODEVALUES_UNKNOWN = TMP_RPCGRPCSTATUSCODEVALUES_UNKNOWN; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT. */ export const RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT = TMP_RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED. */ export const RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED = TMP_RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND. */ export const RPCGRPCSTATUSCODEVALUES_NOT_FOUND = TMP_RPCGRPCSTATUSCODEVALUES_NOT_FOUND; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS. */ export const RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS = TMP_RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED. */ export const RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED = TMP_RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED. */ export const RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED = TMP_RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION. */ export const RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION = TMP_RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_ABORTED. */ export const RPCGRPCSTATUSCODEVALUES_ABORTED = TMP_RPCGRPCSTATUSCODEVALUES_ABORTED; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE. */ export const RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE = TMP_RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED. */ export const RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED = TMP_RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_INTERNAL. */ export const RPCGRPCSTATUSCODEVALUES_INTERNAL = TMP_RPCGRPCSTATUSCODEVALUES_INTERNAL; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE. */ export const RPCGRPCSTATUSCODEVALUES_UNAVAILABLE = TMP_RPCGRPCSTATUSCODEVALUES_UNAVAILABLE; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS. */ export const RPCGRPCSTATUSCODEVALUES_DATA_LOSS = TMP_RPCGRPCSTATUSCODEVALUES_DATA_LOSS; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED. */ export const RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED = TMP_RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED; @@ -2701,17 +3694,21 @@ export const RpcGrpcStatusCodeValues: RpcGrpcStatusCodeValues = { * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_MESSAGETYPEVALUES_SENT = 'SENT'; const TMP_MESSAGETYPEVALUES_RECEIVED = 'RECEIVED'; /** * Whether this is a received or sent message. + * + * @deprecated Use MESSAGE_TYPE_VALUES_SENT. */ export const MESSAGETYPEVALUES_SENT = TMP_MESSAGETYPEVALUES_SENT; /** * Whether this is a received or sent message. + * + * @deprecated Use MESSAGE_TYPE_VALUES_RECEIVED. */ export const MESSAGETYPEVALUES_RECEIVED = TMP_MESSAGETYPEVALUES_RECEIVED; From fe400cb9b4e754a079e4a3c592fca94ed84eab3a Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 9 May 2024 11:20:05 -0400 Subject: [PATCH 03/47] Change prefix and deprecate old names --- .../src/experimental.ts | 765 +++++++++--------- .../resource/SemanticResourceAttributes.ts | 278 ++++++- .../src/stable.ts | 105 ++- .../src/trace/SemanticAttributes.ts | 256 ++++++ scripts/semconv/generate.sh | 2 - .../templates/SemanticAttributes.ts.j2 | 2 +- 6 files changed, 952 insertions(+), 456 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index 89b387b6bb..d1a23af95f 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -676,7 +676,7 @@ export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_EVENT_NAME = 'event.name'; +export const ATTR_EVENT_NAME = 'event.name'; /** * A unique identifier for the Log Record. @@ -686,42 +686,42 @@ The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_LOG_RECORD_UID = 'log.record.uid'; +export const ATTR_LOG_RECORD_UID = 'log.record.uid'; /** * The stream associated with the log. See below for a list of well-known values. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_LOG_IOSTREAM = 'log.iostream'; +export const ATTR_LOG_IOSTREAM = 'log.iostream'; /** * The basename of the file. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_LOG_FILE_NAME = 'log.file.name'; +export const ATTR_LOG_FILE_NAME = 'log.file.name'; /** * The basename of the file, with symlinks resolved. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; +export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; /** * The full path to the file. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_LOG_FILE_PATH = 'log.file.path'; +export const ATTR_LOG_FILE_PATH = 'log.file.path'; /** * The full path to the file, with symlinks resolved. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; +export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; /** * This attribute represents the state the application has transitioned into at the occurrence of the event. @@ -730,7 +730,7 @@ export const SEMATTRS_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_IOS_STATE = 'ios.state'; +export const ATTR_IOS_STATE = 'ios.state'; /** * This attribute represents the state the application has transitioned into at the occurrence of the event. @@ -739,21 +739,21 @@ export const SEMATTRS_IOS_STATE = 'ios.state'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_ANDROID_STATE = 'android.state'; +export const ATTR_ANDROID_STATE = 'android.state'; /** * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_POOL_NAME = 'pool.name'; +export const ATTR_POOL_NAME = 'pool.name'; /** * The state of a connection in the pool. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_STATE = 'state'; +export const ATTR_STATE = 'state'; /** * Name of the buffer pool. @@ -762,135 +762,133 @@ export const SEMATTRS_STATE = 'state'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; +export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; /** * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_CPU_STATE = 'process.cpu.state'; +export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; /** * Specifies whether the context switches for this data point were voluntary or involuntary. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_CONTEXT_SWITCH_TYPE = - 'process.context_switch_type'; +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; +export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; /** * The device identifier. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_DEVICE = 'system.device'; +export const ATTR_SYSTEM_DEVICE = 'system.device'; /** * The logical CPU number [0..n-1]. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; +export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; /** * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_CPU_STATE = 'system.cpu.state'; +export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; /** * The memory state. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_MEMORY_STATE = 'system.memory.state'; +export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; /** * The paging access direction. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; +export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; /** * The memory paging state. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_PAGING_STATE = 'system.paging.state'; +export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; /** * The memory paging type. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_PAGING_TYPE = 'system.paging.type'; +export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; /** * The filesystem mode. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; +export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; /** * The filesystem mount path. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_FILESYSTEM_MOUNTPOINT = - 'system.filesystem.mountpoint'; +export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; /** * The filesystem state. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; +export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; /** * The filesystem type. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; /** * A stateless protocol MUST NOT set this attribute. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_NETWORK_STATE = 'system.network.state'; +export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SYSTEM_PROCESS_STATUS = 'system.process.status'; +export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; /** * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_ANDROID_OS_API_LEVEL = 'android.os.api_level'; +export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = +export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions'; /** @@ -898,7 +896,7 @@ export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET = +export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get'; /** @@ -906,15 +904,14 @@ export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ = - 'aws.dynamodb.consistent_read'; +export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY = +export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity'; /** @@ -922,14 +919,14 @@ export const SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; +export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; /** * The value of the `ExclusiveStartTableName` request parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = +export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table'; /** @@ -937,7 +934,7 @@ export const SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates'; /** @@ -945,7 +942,7 @@ export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes'; /** @@ -953,14 +950,14 @@ export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; +export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = +export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics'; /** @@ -968,14 +965,14 @@ export const SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; +export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; /** * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = +export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes'; /** @@ -983,14 +980,14 @@ export const SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; +export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; /** * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = +export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity'; /** @@ -998,7 +995,7 @@ export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = +export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity'; /** @@ -1006,50 +1003,49 @@ export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; +export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; /** * The value of the `ScannedCount` response parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; +export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; /** * The value of the `Segment` request parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; +export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; /** * The value of the `Select` request parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; +export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; /** * The number of items in the `TableNames` response parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; +export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; /** * The keys in the `RequestItems` object field. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; +export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; /** * The value of the `TotalSegments` request parameter. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS = - 'aws.dynamodb.total_segments'; +export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; /** * Array of brand name and version separated by a space. @@ -1058,7 +1054,7 @@ export const SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_BROWSER_BRANDS = 'browser.brands'; +export const ATTR_BROWSER_BRANDS = 'browser.brands'; /** * Preferred language of the user using the browser. @@ -1067,7 +1063,7 @@ export const SEMATTRS_BROWSER_BRANDS = 'browser.brands'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_BROWSER_LANGUAGE = 'browser.language'; +export const ATTR_BROWSER_LANGUAGE = 'browser.language'; /** * A boolean that is true if the browser is running on a mobile device. @@ -1076,7 +1072,7 @@ export const SEMATTRS_BROWSER_LANGUAGE = 'browser.language'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_BROWSER_MOBILE = 'browser.mobile'; +export const ATTR_BROWSER_MOBILE = 'browser.mobile'; /** * The platform on which the browser is running. @@ -1086,14 +1082,14 @@ The list of possible values is defined in the [W3C User-Agent Client Hints speci * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_BROWSER_PLATFORM = 'browser.platform'; +export const ATTR_BROWSER_PLATFORM = 'browser.platform'; /** * The cloud account ID the resource is assigned to. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUD_ACCOUNT_ID = 'cloud.account.id'; +export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; /** * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. @@ -1102,7 +1098,7 @@ export const SEMATTRS_CLOUD_ACCOUNT_ID = 'cloud.account.id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; +export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; /** * The cloud platform in use. @@ -1111,14 +1107,14 @@ export const SEMATTRS_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUD_PLATFORM = 'cloud.platform'; +export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; /** * Name of the cloud provider. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUD_PROVIDER = 'cloud.provider'; +export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; /** * The geographical region the resource is running. @@ -1127,7 +1123,7 @@ export const SEMATTRS_CLOUD_PROVIDER = 'cloud.provider'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUD_REGION = 'cloud.region'; +export const ATTR_CLOUD_REGION = 'cloud.region'; /** * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP). @@ -1152,28 +1148,28 @@ The following well-known definitions MUST be used if you set this attribute and * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUD_RESOURCE_ID = 'cloud.resource_id'; +export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; +export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; +export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUDEVENTS_EVENT_SPEC_VERSION = +export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'; /** @@ -1181,56 +1177,56 @@ export const SEMATTRS_CLOUDEVENTS_EVENT_SPEC_VERSION = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; +export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; +export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; /** * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CODE_COLUMN = 'code.column'; +export const ATTR_CODE_COLUMN = 'code.column'; /** * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CODE_FILEPATH = 'code.filepath'; +export const ATTR_CODE_FILEPATH = 'code.filepath'; /** * The method or function name, or equivalent (usually rightmost part of the code unit's name). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CODE_FUNCTION = 'code.function'; +export const ATTR_CODE_FUNCTION = 'code.function'; /** * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CODE_LINENO = 'code.lineno'; +export const ATTR_CODE_LINENO = 'code.lineno'; /** * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CODE_NAMESPACE = 'code.namespace'; +export const ATTR_CODE_NAMESPACE = 'code.namespace'; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CODE_STACKTRACE = 'code.stacktrace'; +export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; /** * The command used to run the container (i.e. the command name). @@ -1239,35 +1235,35 @@ export const SEMATTRS_CODE_STACKTRACE = 'code.stacktrace'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_COMMAND = 'container.command'; +export const ATTR_CONTAINER_COMMAND = 'container.command'; /** * All the command arguments (including the command/executable itself) run by the container. [2]. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_COMMAND_ARGS = 'container.command_args'; +export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; /** * The full command run by the container as a single string representing the full command. [2]. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_COMMAND_LINE = 'container.command_line'; +export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; /** * The CPU state for this data point. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_CPU_STATE = 'container.cpu.state'; +export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_ID = 'container.id'; +export const ATTR_CONTAINER_ID = 'container.id'; /** * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. @@ -1278,14 +1274,14 @@ The ID is assinged by the container runtime and can vary in different environmen * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_IMAGE_ID = 'container.image.id'; +export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; /** * Name of the image the container was built on. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_IMAGE_NAME = 'container.image.name'; +export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; /** * Repo digests of the container image as provided by the container runtime. @@ -1294,36 +1290,35 @@ export const SEMATTRS_CONTAINER_IMAGE_NAME = 'container.image.name'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_IMAGE_REPO_DIGESTS = - 'container.image.repo_digests'; +export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_IMAGE_TAGS = 'container.image.tags'; +export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; /** * Container name used by container runtime. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_NAME = 'container.name'; +export const ATTR_CONTAINER_NAME = 'container.name'; /** * The container runtime managing this container. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_CONTAINER_RUNTIME = 'container.runtime'; +export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'; /** @@ -1331,37 +1326,35 @@ export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_COORDINATOR_DC = - 'db.cassandra.coordinator.dc'; +export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; /** * The ID of the coordinating node for a query. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_COORDINATOR_ID = - 'db.cassandra.coordinator.id'; +export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; /** * Whether or not the query is idempotent. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; +export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; /** * The fetch size used for paging, i.e. how many rows will be returned at once. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; +export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = +export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; /** @@ -1371,50 +1364,49 @@ export const SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_CASSANDRA_TABLE = 'db.cassandra.table'; +export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; /** * Unique Cosmos client instance id. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; +export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; /** * Cosmos client connection mode. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_CONNECTION_MODE = - 'db.cosmosdb.connection_mode'; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; /** * Cosmos DB container name. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; +export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; /** * CosmosDB Operation Type. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; /** * RU consumed for that operation. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; +export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; /** * Request payload size in bytes. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = +export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length'; /** @@ -1422,22 +1414,21 @@ export const SEMATTRS_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; +export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; /** * Cosmos DB sub status code. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_COSMOSDB_SUB_STATUS_CODE = - 'db.cosmosdb.sub_status_code'; +export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; /** * Represents the identifier of an Elasticsearch cluster. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_ELASTICSEARCH_CLUSTER_NAME = +export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; /** @@ -1445,14 +1436,14 @@ export const SEMATTRS_DB_ELASTICSEARCH_CLUSTER_NAME = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_INSTANCE_ID = 'db.instance.id'; +export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; /** * The MongoDB collection being accessed within the database stated in `db.name`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; +export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; /** * The Microsoft SQL Server [instance name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. @@ -1461,7 +1452,7 @@ export const SEMATTRS_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; +export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; /** * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). @@ -1470,7 +1461,7 @@ export const SEMATTRS_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_NAME = 'db.name'; +export const ATTR_DB_NAME = 'db.name'; /** * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. @@ -1479,14 +1470,14 @@ export const SEMATTRS_DB_NAME = 'db.name'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_OPERATION = 'db.operation'; +export const ATTR_DB_OPERATION = 'db.operation'; /** * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; +export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; /** * The name of the primary table that the operation is acting upon, including the database name (if applicable). @@ -1495,28 +1486,28 @@ export const SEMATTRS_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_SQL_TABLE = 'db.sql.table'; +export const ATTR_DB_SQL_TABLE = 'db.sql.table'; /** * The database statement being executed. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_STATEMENT = 'db.statement'; +export const ATTR_DB_STATEMENT = 'db.statement'; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_SYSTEM = 'db.system'; +export const ATTR_DB_SYSTEM = 'db.system'; /** * Username for accessing the database. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DB_USER = 'db.user'; +export const ATTR_DB_USER = 'db.user'; /** * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). @@ -1531,7 +1522,7 @@ considered to be identifying the same service: * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; +export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; /** * Deprecated, use `server.address`, `server.port` attributes instead. @@ -1540,7 +1531,7 @@ export const SEMATTRS_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; * * @deprecated "Replaced by `server.address` and `server.port`.". */ -export const SEMATTRS_DB_CONNECTION_STRING = 'db.connection_string'; +export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; /** * Deprecated, use `db.instance.id` instead. @@ -1549,7 +1540,7 @@ export const SEMATTRS_DB_CONNECTION_STRING = 'db.connection_string'; * * @deprecated Replaced by `db.instance.id`. */ -export const SEMATTRS_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; +export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; /** * Removed, no replacement at this time. @@ -1558,7 +1549,7 @@ export const SEMATTRS_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; * * @deprecated Removed as not used. */ -export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; +export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; /** * Deprecated, use `network.protocol.name` instead. @@ -1567,7 +1558,7 @@ export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; * * @deprecated Replaced by `network.protocol.name`. */ -export const SEMATTRS_HTTP_FLAVOR = 'http.flavor'; +export const ATTR_HTTP_FLAVOR = 'http.flavor'; /** * Deprecated, use `http.request.method` instead. @@ -1576,7 +1567,7 @@ export const SEMATTRS_HTTP_FLAVOR = 'http.flavor'; * * @deprecated Replaced by `http.request.method`. */ -export const SEMATTRS_HTTP_METHOD = 'http.method'; +export const ATTR_HTTP_METHOD = 'http.method'; /** * Deprecated, use `http.request.header.content-length` instead. @@ -1585,8 +1576,7 @@ export const SEMATTRS_HTTP_METHOD = 'http.method'; * * @deprecated Replaced by `http.request.header.content-length`. */ -export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH = - 'http.request_content_length'; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; /** * Deprecated, use `http.response.header.content-length` instead. @@ -1595,8 +1585,7 @@ export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH = * * @deprecated Replaced by `http.response.header.content-length`. */ -export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH = - 'http.response_content_length'; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; /** * Deprecated, use `url.scheme` instead. @@ -1605,7 +1594,7 @@ export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH = * * @deprecated Replaced by `url.scheme` instead. */ -export const SEMATTRS_HTTP_SCHEME = 'http.scheme'; +export const ATTR_HTTP_SCHEME = 'http.scheme'; /** * Deprecated, use `http.response.status_code` instead. @@ -1614,7 +1603,7 @@ export const SEMATTRS_HTTP_SCHEME = 'http.scheme'; * * @deprecated Replaced by `http.response.status_code`. */ -export const SEMATTRS_HTTP_STATUS_CODE = 'http.status_code'; +export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; /** * Deprecated, use `url.path` and `url.query` instead. @@ -1623,7 +1612,7 @@ export const SEMATTRS_HTTP_STATUS_CODE = 'http.status_code'; * * @deprecated Split to `url.path` and `url.query. */ -export const SEMATTRS_HTTP_TARGET = 'http.target'; +export const ATTR_HTTP_TARGET = 'http.target'; /** * Deprecated, use `url.full` instead. @@ -1632,7 +1621,7 @@ export const SEMATTRS_HTTP_TARGET = 'http.target'; * * @deprecated Replaced by `url.full`. */ -export const SEMATTRS_HTTP_URL = 'http.url'; +export const ATTR_HTTP_URL = 'http.url'; /** * Deprecated, use `user_agent.original` instead. @@ -1641,7 +1630,7 @@ export const SEMATTRS_HTTP_URL = 'http.url'; * * @deprecated Replaced by `user_agent.original`. */ -export const SEMATTRS_HTTP_USER_AGENT = 'http.user_agent'; +export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; /** * "Deprecated, use `messaging.destination.partition.id` instead.". @@ -1650,7 +1639,7 @@ export const SEMATTRS_HTTP_USER_AGENT = 'http.user_agent'; * * @deprecated Replaced by `messaging.destination.partition.id`. */ -export const SEMATTRS_MESSAGING_KAFKA_DESTINATION_PARTITION = +export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition'; /** @@ -1660,7 +1649,7 @@ export const SEMATTRS_MESSAGING_KAFKA_DESTINATION_PARTITION = * * @deprecated Replaced by `server.address`. */ -export const SEMATTRS_NET_HOST_NAME = 'net.host.name'; +export const ATTR_NET_HOST_NAME = 'net.host.name'; /** * Deprecated, use `server.port`. @@ -1669,7 +1658,7 @@ export const SEMATTRS_NET_HOST_NAME = 'net.host.name'; * * @deprecated Replaced by `server.port`. */ -export const SEMATTRS_NET_HOST_PORT = 'net.host.port'; +export const ATTR_NET_HOST_PORT = 'net.host.port'; /** * Deprecated, use `server.address` on client spans and `client.address` on server spans. @@ -1678,7 +1667,7 @@ export const SEMATTRS_NET_HOST_PORT = 'net.host.port'; * * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans. */ -export const SEMATTRS_NET_PEER_NAME = 'net.peer.name'; +export const ATTR_NET_PEER_NAME = 'net.peer.name'; /** * Deprecated, use `server.port` on client spans and `client.port` on server spans. @@ -1687,7 +1676,7 @@ export const SEMATTRS_NET_PEER_NAME = 'net.peer.name'; * * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans. */ -export const SEMATTRS_NET_PEER_PORT = 'net.peer.port'; +export const ATTR_NET_PEER_PORT = 'net.peer.port'; /** * Deprecated, use `network.protocol.name`. @@ -1696,7 +1685,7 @@ export const SEMATTRS_NET_PEER_PORT = 'net.peer.port'; * * @deprecated Replaced by `network.protocol.name`. */ -export const SEMATTRS_NET_PROTOCOL_NAME = 'net.protocol.name'; +export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; /** * Deprecated, use `network.protocol.version`. @@ -1705,7 +1694,7 @@ export const SEMATTRS_NET_PROTOCOL_NAME = 'net.protocol.name'; * * @deprecated Replaced by `network.protocol.version`. */ -export const SEMATTRS_NET_PROTOCOL_VERSION = 'net.protocol.version'; +export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; /** * Deprecated, use `network.transport` and `network.type`. @@ -1714,7 +1703,7 @@ export const SEMATTRS_NET_PROTOCOL_VERSION = 'net.protocol.version'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const SEMATTRS_NET_SOCK_FAMILY = 'net.sock.family'; +export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; /** * Deprecated, use `network.local.address`. @@ -1723,7 +1712,7 @@ export const SEMATTRS_NET_SOCK_FAMILY = 'net.sock.family'; * * @deprecated Replaced by `network.local.address`. */ -export const SEMATTRS_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; +export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; /** * Deprecated, use `network.local.port`. @@ -1732,7 +1721,7 @@ export const SEMATTRS_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; * * @deprecated Replaced by `network.local.port`. */ -export const SEMATTRS_NET_SOCK_HOST_PORT = 'net.sock.host.port'; +export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; /** * Deprecated, use `network.peer.address`. @@ -1741,7 +1730,7 @@ export const SEMATTRS_NET_SOCK_HOST_PORT = 'net.sock.host.port'; * * @deprecated Replaced by `network.peer.address`. */ -export const SEMATTRS_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; +export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; /** * Deprecated, no replacement at this time. @@ -1750,7 +1739,7 @@ export const SEMATTRS_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; * * @deprecated Removed. */ -export const SEMATTRS_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; +export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; /** * Deprecated, use `network.peer.port`. @@ -1759,7 +1748,7 @@ export const SEMATTRS_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; * * @deprecated Replaced by `network.peer.port`. */ -export const SEMATTRS_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; +export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; /** * Deprecated, use `network.transport`. @@ -1768,7 +1757,7 @@ export const SEMATTRS_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; * * @deprecated Replaced by `network.transport`. */ -export const SEMATTRS_NET_TRANSPORT = 'net.transport'; +export const ATTR_NET_TRANSPORT = 'net.transport'; /** * Deprecated, use `system.process.status` instead. @@ -1777,7 +1766,7 @@ export const SEMATTRS_NET_TRANSPORT = 'net.transport'; * * @deprecated Replaced by `system.process.status`. */ -export const SEMATTRS_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; +export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -1786,14 +1775,14 @@ export const SEMATTRS_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DESTINATION_ADDRESS = 'destination.address'; +export const ATTR_DESTINATION_ADDRESS = 'destination.address'; /** * Destination port number. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DESTINATION_PORT = 'destination.port'; +export const ATTR_DESTINATION_PORT = 'destination.port'; /** * A unique identifier representing the device. @@ -1802,7 +1791,7 @@ export const SEMATTRS_DESTINATION_PORT = 'destination.port'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DEVICE_ID = 'device.id'; +export const ATTR_DEVICE_ID = 'device.id'; /** * The name of the device manufacturer. @@ -1811,7 +1800,7 @@ export const SEMATTRS_DEVICE_ID = 'device.id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DEVICE_MANUFACTURER = 'device.manufacturer'; +export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; /** * The model identifier for the device. @@ -1820,7 +1809,7 @@ export const SEMATTRS_DEVICE_MANUFACTURER = 'device.manufacturer'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; +export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; /** * The marketing name for the device model. @@ -1829,14 +1818,14 @@ export const SEMATTRS_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DEVICE_MODEL_NAME = 'device.model.name'; +export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; /** * The disk IO operation direction. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DISK_IO_DIRECTION = 'disk.io.direction'; +export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; /** * The name being queried. @@ -1845,70 +1834,70 @@ export const SEMATTRS_DISK_IO_DIRECTION = 'disk.io.direction'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_DNS_QUESTION_NAME = 'dns.question.name'; +export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; /** * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_ENDUSER_ID = 'enduser.id'; +export const ATTR_ENDUSER_ID = 'enduser.id'; /** * Actual/assumed role the client is making the request under extracted from token or application security context. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_ENDUSER_ROLE = 'enduser.role'; +export const ATTR_ENDUSER_ROLE = 'enduser.role'; /** * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_ENDUSER_SCOPE = 'enduser.scope'; +export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_COLDSTART = 'faas.coldstart'; +export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; /** * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_CRON = 'faas.cron'; +export const ATTR_FAAS_CRON = 'faas.cron'; /** * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; +export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_DOCUMENT_NAME = 'faas.document.name'; +export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; /** * Describes the type of the operation that was performed on the data. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; +export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_DOCUMENT_TIME = 'faas.document.time'; +export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; /** * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. @@ -1917,14 +1906,14 @@ export const SEMATTRS_FAAS_DOCUMENT_TIME = 'faas.document.time'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_INSTANCE = 'faas.instance'; +export const ATTR_FAAS_INSTANCE = 'faas.instance'; /** * The invocation ID of the current function invocation. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_INVOCATION_ID = 'faas.invocation_id'; +export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; /** * The name of the invoked function. @@ -1933,7 +1922,7 @@ export const SEMATTRS_FAAS_INVOCATION_ID = 'faas.invocation_id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_INVOKED_NAME = 'faas.invoked_name'; +export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; /** * The cloud provider of the invoked function. @@ -1942,7 +1931,7 @@ export const SEMATTRS_FAAS_INVOKED_NAME = 'faas.invoked_name'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; +export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; /** * The cloud region of the invoked function. @@ -1951,7 +1940,7 @@ export const SEMATTRS_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_INVOKED_REGION = 'faas.invoked_region'; +export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; /** * The amount of memory available to the serverless function converted to Bytes. @@ -1960,7 +1949,7 @@ export const SEMATTRS_FAAS_INVOKED_REGION = 'faas.invoked_region'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_MAX_MEMORY = 'faas.max_memory'; +export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; /** * The name of the single function that this runtime instance executes. @@ -1984,21 +1973,21 @@ definition of function name MUST be used for this attribute * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_NAME = 'faas.name'; +export const ATTR_FAAS_NAME = 'faas.name'; /** * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_TIME = 'faas.time'; +export const ATTR_FAAS_TIME = 'faas.time'; /** * Type of the trigger which caused this function invocation. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_TRIGGER = 'faas.trigger'; +export const ATTR_FAAS_TRIGGER = 'faas.trigger'; /** * The immutable version of the function being executed. @@ -2015,21 +2004,21 @@ export const SEMATTRS_FAAS_TRIGGER = 'faas.trigger'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FAAS_VERSION = 'faas.version'; +export const ATTR_FAAS_VERSION = 'faas.version'; /** * The unique identifier of the feature flag. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FEATURE_FLAG_KEY = 'feature_flag.key'; +export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; /** * The name of the service provider that performs the flag evaluation. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; +export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; /** * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. @@ -2045,14 +2034,14 @@ should be determined by the implementer. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; +export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; /** * Directory where the file is located. It should include the drive letter, when appropriate. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FILE_DIRECTORY = 'file.directory'; +export const ATTR_FILE_DIRECTORY = 'file.directory'; /** * File extension, excluding the leading dot. @@ -2061,100 +2050,98 @@ export const SEMATTRS_FILE_DIRECTORY = 'file.directory'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FILE_EXTENSION = 'file.extension'; +export const ATTR_FILE_EXTENSION = 'file.extension'; /** * Name of the file including the extension, without the directory. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FILE_NAME = 'file.name'; +export const ATTR_FILE_NAME = 'file.name'; /** * Full path to the file, including the file name. It should include the drive letter, when appropriate. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FILE_PATH = 'file.path'; +export const ATTR_FILE_PATH = 'file.path'; /** * File size in bytes. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_FILE_SIZE = 'file.size'; +export const ATTR_FILE_SIZE = 'file.size'; /** * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GCP_CLOUD_RUN_JOB_EXECUTION = - 'gcp.cloud_run.job.execution'; +export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GCP_CLOUD_RUN_JOB_TASK_INDEX = - 'gcp.cloud_run.job.task_index'; +export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; +export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; /** * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; +export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; /** * The CPU architecture the host system is running on. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_ARCH = 'host.arch'; +export const ATTR_HOST_ARCH = 'host.arch'; /** * The amount of level 2 memory cache available to the processor (in Bytes). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; +export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; /** * Family or generation of the CPU. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_CPU_FAMILY = 'host.cpu.family'; +export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; /** * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; +export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; /** * Model designation of the processor. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; +export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; /** * Stepping or core revisions. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_CPU_STEPPING = 'host.cpu.stepping'; +export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; /** * Processor manufacturer identifier. A maximum 12-character string. @@ -2163,35 +2150,35 @@ export const SEMATTRS_HOST_CPU_STEPPING = 'host.cpu.stepping'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; +export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; /** * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_ID = 'host.id'; +export const ATTR_HOST_ID = 'host.id'; /** * VM image ID or host OS image ID. For Cloud, this value is from the provider. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_IMAGE_ID = 'host.image.id'; +export const ATTR_HOST_IMAGE_ID = 'host.image.id'; /** * Name of the VM image or OS install the host was instantiated from. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_IMAGE_NAME = 'host.image.name'; +export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; /** * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_IMAGE_VERSION = 'host.image.version'; +export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; /** * Available IP addresses of the host, excluding loopback interfaces. @@ -2200,7 +2187,7 @@ export const SEMATTRS_HOST_IMAGE_VERSION = 'host.image.version'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_IP = 'host.ip'; +export const ATTR_HOST_IP = 'host.ip'; /** * Available MAC addresses of the host, excluding loopback interfaces. @@ -2209,63 +2196,63 @@ export const SEMATTRS_HOST_IP = 'host.ip'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_MAC = 'host.mac'; +export const ATTR_HOST_MAC = 'host.mac'; /** * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_NAME = 'host.name'; +export const ATTR_HOST_NAME = 'host.name'; /** * Type of host. For Cloud, this must be the machine type. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HOST_TYPE = 'host.type'; +export const ATTR_HOST_TYPE = 'host.type'; /** * State of the HTTP connection in the HTTP connection pool. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HTTP_CONNECTION_STATE = 'http.connection.state'; +export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; +export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; /** * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HTTP_REQUEST_SIZE = 'http.request.size'; +export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; /** * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; +export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; /** * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HTTP_RESPONSE_SIZE = 'http.response.size'; +export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; /** * The name of the cluster. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_CLUSTER_NAME = 'k8s.cluster.name'; +export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; /** * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. @@ -2295,141 +2282,140 @@ conflict. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_CLUSTER_UID = 'k8s.cluster.uid'; +export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; /** * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_CONTAINER_NAME = 'k8s.container.name'; +export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; /** * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_CONTAINER_RESTART_COUNT = - 'k8s.container.restart_count'; +export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; /** * The name of the CronJob. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; +export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; /** * The UID of the CronJob. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; +export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; /** * The name of the DaemonSet. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; +export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; /** * The UID of the DaemonSet. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; +export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; /** * The name of the Deployment. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; +export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; /** * The UID of the Deployment. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; +export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; /** * The name of the Job. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_JOB_NAME = 'k8s.job.name'; +export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; /** * The UID of the Job. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_JOB_UID = 'k8s.job.uid'; +export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; /** * The name of the namespace that the pod is running in. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; +export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; /** * The name of the Node. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_NODE_NAME = 'k8s.node.name'; +export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; /** * The UID of the Node. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_NODE_UID = 'k8s.node.uid'; +export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; /** * The name of the Pod. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_POD_NAME = 'k8s.pod.name'; +export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; /** * The UID of the Pod. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_POD_UID = 'k8s.pod.uid'; +export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; /** * The name of the ReplicaSet. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; +export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; /** * The UID of the ReplicaSet. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; +export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; /** * The name of the StatefulSet. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; +export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; /** * The UID of the StatefulSet. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; +export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; /** * The number of messages sent, received, or processed in the scope of the batching operation. @@ -2438,7 +2424,7 @@ export const SEMATTRS_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_BATCH_MESSAGE_COUNT = +export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; /** @@ -2446,14 +2432,14 @@ export const SEMATTRS_MESSAGING_BATCH_MESSAGE_COUNT = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_CLIENT_ID = 'messaging.client_id'; +export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id'; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_ANONYMOUS = +export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; /** @@ -2464,14 +2450,14 @@ the broker doesn't have such notion, the destination name SHOULD uniquely id * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; +export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; /** * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_PARTITION_ID = +export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; /** @@ -2481,7 +2467,7 @@ export const SEMATTRS_MESSAGING_DESTINATION_PARTITION_ID = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_TEMPLATE = +export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; /** @@ -2489,7 +2475,7 @@ export const SEMATTRS_MESSAGING_DESTINATION_TEMPLATE = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_TEMPORARY = +export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; /** @@ -2497,7 +2483,7 @@ export const SEMATTRS_MESSAGING_DESTINATION_TEMPORARY = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = +export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; /** @@ -2508,7 +2494,7 @@ the broker doesn't have such notion, the original destination name SHOULD un * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_DESTINATION_PUBLISH_NAME = +export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; /** @@ -2516,7 +2502,7 @@ export const SEMATTRS_MESSAGING_DESTINATION_PUBLISH_NAME = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_EVENTHUBS_CONSUMER_GROUP = +export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; /** @@ -2524,7 +2510,7 @@ export const SEMATTRS_MESSAGING_EVENTHUBS_CONSUMER_GROUP = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; /** @@ -2532,7 +2518,7 @@ export const SEMATTRS_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; /** @@ -2540,7 +2526,7 @@ export const SEMATTRS_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP = +export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; /** @@ -2550,15 +2536,14 @@ export const SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY = - 'messaging.kafka.message.key'; +export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; /** * The offset of a record in the corresponding Kafka partition. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_OFFSET = +export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; /** @@ -2566,7 +2551,7 @@ export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_OFFSET = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = +export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; /** @@ -2577,15 +2562,14 @@ body size should be used. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_MESSAGE_BODY_SIZE = - 'messaging.message.body.size'; +export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; /** * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_MESSAGE_CONVERSATION_ID = +export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; /** @@ -2596,7 +2580,7 @@ size should be used. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_MESSAGE_ENVELOPE_SIZE = +export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; /** @@ -2604,7 +2588,7 @@ export const SEMATTRS_MESSAGING_MESSAGE_ENVELOPE_SIZE = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_MESSAGE_ID = 'messaging.message.id'; +export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; /** * A string identifying the kind of messaging operation. @@ -2613,14 +2597,14 @@ export const SEMATTRS_MESSAGING_MESSAGE_ID = 'messaging.message.id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_OPERATION = 'messaging.operation'; +export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; /** * RabbitMQ message routing key. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; /** @@ -2628,7 +2612,7 @@ export const SEMATTRS_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; /** @@ -2636,7 +2620,7 @@ export const SEMATTRS_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_CLIENT_GROUP = +export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; /** @@ -2644,7 +2628,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_CLIENT_GROUP = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; /** @@ -2652,7 +2636,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; /** @@ -2660,7 +2644,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; /** @@ -2668,7 +2652,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_GROUP = +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; /** @@ -2676,7 +2660,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_GROUP = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_KEYS = +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; /** @@ -2684,7 +2668,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_KEYS = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_TAG = +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; /** @@ -2692,7 +2676,7 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_TAG = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_TYPE = +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; /** @@ -2700,15 +2684,14 @@ export const SEMATTRS_MESSAGING_ROCKETMQ_MESSAGE_TYPE = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_ROCKETMQ_NAMESPACE = - 'messaging.rocketmq.namespace'; +export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; /** * The name of the subscription in the topic messages are received from. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; /** @@ -2716,7 +2699,7 @@ export const SEMATTRS_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; /** @@ -2724,7 +2707,7 @@ export const SEMATTRS_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; /** @@ -2732,7 +2715,7 @@ export const SEMATTRS_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; /** @@ -2740,56 +2723,56 @@ export const SEMATTRS_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGING_SYSTEM = 'messaging.system'; +export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_CARRIER_ICC = 'network.carrier.icc'; +export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; /** * The mobile carrier country code. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; +export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; /** * The mobile carrier network code. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; +export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; /** * The name of the mobile carrier. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_CARRIER_NAME = 'network.carrier.name'; +export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; /** * The internet connection type. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_CONNECTION_TYPE = 'network.connection.type'; +export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; /** * The network IO operation direction. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_NETWORK_IO_DIRECTION = 'network.io.direction'; +export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. @@ -2799,169 +2782,168 @@ An example can be found in [Example Image Manifest](https://docs.docker.com/regi * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; +export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; /** * Unique identifier for a particular build or compilation of the operating system. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OS_BUILD_ID = 'os.build_id'; +export const ATTR_OS_BUILD_ID = 'os.build_id'; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OS_DESCRIPTION = 'os.description'; +export const ATTR_OS_DESCRIPTION = 'os.description'; /** * Human readable operating system name. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OS_NAME = 'os.name'; +export const ATTR_OS_NAME = 'os.name'; /** * The operating system type. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OS_TYPE = 'os.type'; +export const ATTR_OS_TYPE = 'os.type'; /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OS_VERSION = 'os.version'; +export const ATTR_OS_VERSION = 'os.version'; /** * The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PEER_SERVICE = 'peer.service'; +export const ATTR_PEER_SERVICE = 'peer.service'; /** * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_COMMAND = 'process.command'; +export const ATTR_PROCESS_COMMAND = 'process.command'; /** * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_COMMAND_ARGS = 'process.command_args'; +export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_COMMAND_LINE = 'process.command_line'; +export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; +export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; /** * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; +export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; /** * The username of the user that owns the process. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_OWNER = 'process.owner'; +export const ATTR_PROCESS_OWNER = 'process.owner'; /** * Parent Process identifier (PPID). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_PARENT_PID = 'process.parent_pid'; +export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; /** * Process identifier (PID). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_PID = 'process.pid'; +export const ATTR_PROCESS_PID = 'process.pid'; /** * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_RUNTIME_DESCRIPTION = - 'process.runtime.description'; +export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; /** * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_RUNTIME_NAME = 'process.runtime.name'; +export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; /** * The version of the runtime of this process, as returned by the runtime without modification. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; +export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; /** * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; +export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; /** * `error.code` property of response if it is an error response. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; +export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; /** * `error.message` property of response if it is an error response. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; +export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; +export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; +export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; /** * The name of the (logical) method being called, must be equal to the $method part in the span name. @@ -2970,7 +2952,7 @@ export const SEMATTRS_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_METHOD = 'rpc.method'; +export const ATTR_RPC_METHOD = 'rpc.method'; /** * The full (logical) name of the service being called, including its package name, if applicable. @@ -2979,14 +2961,14 @@ export const SEMATTRS_RPC_METHOD = 'rpc.method'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_SERVICE = 'rpc.service'; +export const ATTR_RPC_SERVICE = 'rpc.service'; /** * A string identifying the remoting system. See below for a list of well-known identifiers. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_RPC_SYSTEM = 'rpc.system'; +export const ATTR_RPC_SYSTEM = 'rpc.system'; /** * The string ID of the service instance. @@ -3020,7 +3002,7 @@ port. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SERVICE_INSTANCE_ID = 'service.instance.id'; +export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; /** * A namespace for `service.name`. @@ -3029,21 +3011,21 @@ export const SEMATTRS_SERVICE_INSTANCE_ID = 'service.instance.id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SERVICE_NAMESPACE = 'service.namespace'; +export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; /** * A unique id to identify a session. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SESSION_ID = 'session.id'; +export const ATTR_SESSION_ID = 'session.id'; /** * The previous `session.id` for this user, when known. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SESSION_PREVIOUS_ID = 'session.previous_id'; +export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; /** * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -3052,14 +3034,14 @@ export const SEMATTRS_SESSION_PREVIOUS_ID = 'session.previous_id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SOURCE_ADDRESS = 'source.address'; +export const ATTR_SOURCE_ADDRESS = 'source.address'; /** * Source port number. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_SOURCE_PORT = 'source.port'; +export const ATTR_SOURCE_PORT = 'source.port'; /** * The name of the auto instrumentation agent or distribution, if used. @@ -3069,28 +3051,28 @@ a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentatio * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; +export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; /** * The version string of the auto instrumentation agent or distribution, if used. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; +export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; /** * Current "managed" thread ID (as opposed to OS thread ID). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_THREAD_ID = 'thread.id'; +export const ATTR_THREAD_ID = 'thread.id'; /** * Current thread name. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_THREAD_NAME = 'thread.name'; +export const ATTR_THREAD_NAME = 'thread.name'; /** * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. @@ -3099,206 +3081,203 @@ export const SEMATTRS_THREAD_NAME = 'thread.name'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CIPHER = 'tls.cipher'; +export const ATTR_TLS_CIPHER = 'tls.cipher'; /** * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; +export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_CERTIFICATE_CHAIN = - 'tls.client.certificate_chain'; +export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; +export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; +export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; +export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_ISSUER = 'tls.client.issuer'; +export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; /** * A hash that identifies clients based on how they perform an SSL/TLS handshake. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_JA3 = 'tls.client.ja3'; +export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; /** * Date/Time indicating when client certificate is no longer considered valid. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; +export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; /** * Date/Time indicating when client certificate is first considered valid. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; +export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; /** * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; +export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; /** * Distinguished name of subject of the x.509 certificate presented by the client. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_SUBJECT = 'tls.client.subject'; +export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; /** * Array of ciphers offered by the client during the client hello. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CLIENT_SUPPORTED_CIPHERS = - 'tls.client.supported_ciphers'; +export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; /** * String indicating the curve used for the given cipher, when applicable. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_CURVE = 'tls.curve'; +export const ATTR_TLS_CURVE = 'tls.curve'; /** * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_ESTABLISHED = 'tls.established'; +export const ATTR_TLS_ESTABLISHED = 'tls.established'; /** * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; +export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_PROTOCOL_NAME = 'tls.protocol.name'; +export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; +export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; /** * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_RESUMED = 'tls.resumed'; +export const ATTR_TLS_RESUMED = 'tls.resumed'; /** * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; +export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_CERTIFICATE_CHAIN = - 'tls.server.certificate_chain'; +export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; +export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; +export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; +export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_ISSUER = 'tls.server.issuer'; +export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; /** * A hash that identifies servers based on how they perform an SSL/TLS handshake. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_JA3S = 'tls.server.ja3s'; +export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; /** * Date/Time indicating when server certificate is no longer considered valid. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; +export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; /** * Date/Time indicating when server certificate is first considered valid. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; +export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; /** * Distinguished name of subject of the x.509 certificate presented by the server. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_TLS_SERVER_SUBJECT = 'tls.server.subject'; +export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; /** * Domain extracted from the `url.full`, such as "opentelemetry.io". @@ -3307,7 +3286,7 @@ export const SEMATTRS_TLS_SERVER_SUBJECT = 'tls.server.subject'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_DOMAIN = 'url.domain'; +export const ATTR_URL_DOMAIN = 'url.domain'; /** * The file extension extracted from the `url.full`, excluding the leading dot. @@ -3316,7 +3295,7 @@ export const SEMATTRS_URL_DOMAIN = 'url.domain'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_EXTENSION = 'url.extension'; +export const ATTR_URL_EXTENSION = 'url.extension'; /** * Unmodified original URL as seen in the event source. @@ -3326,14 +3305,14 @@ export const SEMATTRS_URL_EXTENSION = 'url.extension'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_ORIGINAL = 'url.original'; +export const ATTR_URL_ORIGINAL = 'url.original'; /** * Port extracted from the `url.full`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_PORT = 'url.port'; +export const ATTR_URL_PORT = 'url.port'; /** * The highest registered url domain, stripped of the subdomain. @@ -3342,7 +3321,7 @@ export const SEMATTRS_URL_PORT = 'url.port'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_REGISTERED_DOMAIN = 'url.registered_domain'; +export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; /** * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. @@ -3351,7 +3330,7 @@ export const SEMATTRS_URL_REGISTERED_DOMAIN = 'url.registered_domain'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_SUBDOMAIN = 'url.subdomain'; +export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; /** * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. @@ -3360,7 +3339,7 @@ export const SEMATTRS_URL_SUBDOMAIN = 'url.subdomain'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; +export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; /** * Name of the user-agent extracted from original. Usually refers to the browser's name. @@ -3369,7 +3348,7 @@ export const SEMATTRS_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_USER_AGENT_NAME = 'user_agent.name'; +export const ATTR_USER_AGENT_NAME = 'user_agent.name'; /** * Version of the user-agent extracted from original. Usually refers to the browser's version. @@ -3378,63 +3357,63 @@ export const SEMATTRS_USER_AGENT_NAME = 'user_agent.name'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_USER_AGENT_VERSION = 'user_agent.version'; +export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; /** * The ID of a running ECS task. The ID MUST be extracted from `task.arn`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; +export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; /** * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; +export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; /** * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; +export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; +export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; +export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; /** * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; +export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; /** * The revision for the task definition used to create the ECS task. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; +export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; /** * The ARN of an EKS cluster. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; +export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; /** * The Amazon Resource Name(s) (ARN) of the AWS log group(s). @@ -3443,7 +3422,7 @@ export const SEMATTRS_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; +export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; /** * The name(s) of the AWS log group(s) an application is writing to. @@ -3452,7 +3431,7 @@ export const SEMATTRS_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; +export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; /** * The ARN(s) of the AWS log stream(s). @@ -3461,35 +3440,35 @@ export const SEMATTRS_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; +export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; /** * The name(s) of the AWS log stream(s) an application is writing to. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; +export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; /** * Unique identifier for the application. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HEROKU_APP_ID = 'heroku.app.id'; +export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; /** * Commit hash for the current release. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; +export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; /** * Time and date the release was created. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_HEROKU_RELEASE_CREATION_TIMESTAMP = +export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp'; /** @@ -3497,21 +3476,21 @@ export const SEMATTRS_HEROKU_RELEASE_CREATION_TIMESTAMP = * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_WEBENGINE_NAME = 'webengine.name'; +export const ATTR_WEBENGINE_NAME = 'webengine.name'; /** * Additional description of the web engine (e.g. detailed version and edition information). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_WEBENGINE_DESCRIPTION = 'webengine.description'; +export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; /** * The version of the web engine. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_WEBENGINE_VERSION = 'webengine.version'; +export const ATTR_WEBENGINE_VERSION = 'webengine.version'; /** * None. @@ -3520,7 +3499,7 @@ export const SEMATTRS_WEBENGINE_VERSION = 'webengine.version'; * * @deprecated use the `otel.scope.name` attribute. */ -export const SEMATTRS_OTEL_LIBRARY_NAME = 'otel.library.name'; +export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; /** * None. @@ -3529,7 +3508,7 @@ export const SEMATTRS_OTEL_LIBRARY_NAME = 'otel.library.name'; * * @deprecated use the `otel.scope.version` attribute. */ -export const SEMATTRS_OTEL_LIBRARY_VERSION = 'otel.library.version'; +export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; /** * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). @@ -3538,7 +3517,7 @@ export const SEMATTRS_OTEL_LIBRARY_VERSION = 'otel.library.version'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; +export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; /** * Parent-child Reference type. @@ -3547,14 +3526,14 @@ export const SEMATTRS_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; +export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; /** * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_REQUEST_ID = 'aws.request_id'; +export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; /** * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -3564,7 +3543,7 @@ This applies to almost all S3 operations except `list-buckets`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_S3_BUCKET = 'aws.s3.bucket'; +export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; /** * The source object (in the form `bucket`/`key`) for the copy operation. @@ -3578,7 +3557,7 @@ This applies in particular to the following operations: * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; +export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; /** * The delete request container that specifies the objects to be deleted. @@ -3589,7 +3568,7 @@ The `delete` attribute corresponds to the `--delete` parameter of the * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_S3_DELETE = 'aws.s3.delete'; +export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; /** * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -3613,7 +3592,7 @@ This applies in particular to the following operations: * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_S3_KEY = 'aws.s3.key'; +export const ATTR_AWS_S3_KEY = 'aws.s3.key'; /** * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. @@ -3625,7 +3604,7 @@ The `part_number` attribute corresponds to the `--part-number` parameter of the * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; +export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; /** * Upload ID that identifies the multipart upload. @@ -3642,7 +3621,7 @@ This applies in particular to the following operations: * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; +export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; /** * The GraphQL document being executed. @@ -3651,28 +3630,28 @@ export const SEMATTRS_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GRAPHQL_DOCUMENT = 'graphql.document'; +export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; /** * The name of the operation being executed. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; +export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; /** * The type of the operation being executed. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; +export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; /** * Compressed size of the message in bytes. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; +export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; /** * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. @@ -3681,21 +3660,21 @@ export const SEMATTRS_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGE_ID = 'message.id'; +export const ATTR_MESSAGE_ID = 'message.id'; /** * Whether this is a received or sent message. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGE_TYPE = 'message.type'; +export const ATTR_MESSAGE_TYPE = 'message.type'; /** * Uncompressed size of the message in bytes. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; +export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; /** * The stream associated with the log. See below for a list of well-known values. diff --git a/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts b/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts index dab5ad44d6..2383ae97bb 100644 --- a/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts @@ -25,7 +25,7 @@ import { createConstMap } from '../internal/utils'; //---------------------------------------------------------------------------------------------------------- // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_CLOUD_PROVIDER = 'cloud.provider'; const TMP_CLOUD_ACCOUNT_ID = 'cloud.account.id'; const TMP_CLOUD_REGION = 'cloud.region'; @@ -110,16 +110,22 @@ const TMP_WEBENGINE_DESCRIPTION = 'webengine.description'; /** * Name of the cloud provider. + * + * @deprecated use ATTR_CLOUD_PROVIDER */ export const SEMRESATTRS_CLOUD_PROVIDER = TMP_CLOUD_PROVIDER; /** * The cloud account ID the resource is assigned to. + * + * @deprecated use ATTR_CLOUD_ACCOUNT_ID */ export const SEMRESATTRS_CLOUD_ACCOUNT_ID = TMP_CLOUD_ACCOUNT_ID; /** * The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations). + * + * @deprecated use ATTR_CLOUD_REGION */ export const SEMRESATTRS_CLOUD_REGION = TMP_CLOUD_REGION; @@ -127,6 +133,8 @@ export const SEMRESATTRS_CLOUD_REGION = TMP_CLOUD_REGION; * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. * * Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud. + * + * @deprecated use ATTR_CLOUD_AVAILABILITY_ZONE */ export const SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = TMP_CLOUD_AVAILABILITY_ZONE; @@ -134,41 +142,57 @@ export const SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = TMP_CLOUD_AVAILABILITY_ZONE; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated use ATTR_CLOUD_PLATFORM */ export const SEMRESATTRS_CLOUD_PLATFORM = TMP_CLOUD_PLATFORM; /** * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). + * + * @deprecated use ATTR_AWS_ECS_CONTAINER_ARN */ export const SEMRESATTRS_AWS_ECS_CONTAINER_ARN = TMP_AWS_ECS_CONTAINER_ARN; /** * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). + * + * @deprecated use ATTR_AWS_ECS_CLUSTER_ARN */ export const SEMRESATTRS_AWS_ECS_CLUSTER_ARN = TMP_AWS_ECS_CLUSTER_ARN; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @deprecated use ATTR_AWS_ECS_LAUNCHTYPE */ export const SEMRESATTRS_AWS_ECS_LAUNCHTYPE = TMP_AWS_ECS_LAUNCHTYPE; /** * The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html). + * + * @deprecated use ATTR_AWS_ECS_TASK_ARN */ export const SEMRESATTRS_AWS_ECS_TASK_ARN = TMP_AWS_ECS_TASK_ARN; /** * The task definition family this task definition is a member of. + * + * @deprecated use ATTR_AWS_ECS_TASK_FAMILY */ export const SEMRESATTRS_AWS_ECS_TASK_FAMILY = TMP_AWS_ECS_TASK_FAMILY; /** * The revision for this task definition. + * + * @deprecated use ATTR_AWS_ECS_TASK_REVISION */ export const SEMRESATTRS_AWS_ECS_TASK_REVISION = TMP_AWS_ECS_TASK_REVISION; /** * The ARN of an EKS cluster. + * + * @deprecated use ATTR_AWS_EKS_CLUSTER_ARN */ export const SEMRESATTRS_AWS_EKS_CLUSTER_ARN = TMP_AWS_EKS_CLUSTER_ARN; @@ -176,6 +200,8 @@ export const SEMRESATTRS_AWS_EKS_CLUSTER_ARN = TMP_AWS_EKS_CLUSTER_ARN; * The name(s) of the AWS log group(s) an application is writing to. * * Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. + * + * @deprecated use ATTR_AWS_LOG_GROUP_NAMES */ export const SEMRESATTRS_AWS_LOG_GROUP_NAMES = TMP_AWS_LOG_GROUP_NAMES; @@ -183,11 +209,15 @@ export const SEMRESATTRS_AWS_LOG_GROUP_NAMES = TMP_AWS_LOG_GROUP_NAMES; * The Amazon Resource Name(s) (ARN) of the AWS log group(s). * * Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). + * + * @deprecated use ATTR_AWS_LOG_GROUP_ARNS */ export const SEMRESATTRS_AWS_LOG_GROUP_ARNS = TMP_AWS_LOG_GROUP_ARNS; /** * The name(s) of the AWS log stream(s) an application is writing to. + * + * @deprecated use ATTR_AWS_LOG_STREAM_NAMES */ export const SEMRESATTRS_AWS_LOG_STREAM_NAMES = TMP_AWS_LOG_STREAM_NAMES; @@ -195,36 +225,50 @@ export const SEMRESATTRS_AWS_LOG_STREAM_NAMES = TMP_AWS_LOG_STREAM_NAMES; * The ARN(s) of the AWS log stream(s). * * Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. + * + * @deprecated use ATTR_AWS_LOG_STREAM_ARNS */ export const SEMRESATTRS_AWS_LOG_STREAM_ARNS = TMP_AWS_LOG_STREAM_ARNS; /** * Container name. + * + * @deprecated use ATTR_CONTAINER_NAME */ export const SEMRESATTRS_CONTAINER_NAME = TMP_CONTAINER_NAME; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. + * + * @deprecated use ATTR_CONTAINER_ID */ export const SEMRESATTRS_CONTAINER_ID = TMP_CONTAINER_ID; /** * The container runtime managing this container. + * + * @deprecated use ATTR_CONTAINER_RUNTIME */ export const SEMRESATTRS_CONTAINER_RUNTIME = TMP_CONTAINER_RUNTIME; /** * Name of the image the container was built on. + * + * @deprecated use ATTR_CONTAINER_IMAGE_NAME */ export const SEMRESATTRS_CONTAINER_IMAGE_NAME = TMP_CONTAINER_IMAGE_NAME; /** * Container image tag. + * + * @deprecated use ATTR_CONTAINER_IMAGE_TAG */ export const SEMRESATTRS_CONTAINER_IMAGE_TAG = TMP_CONTAINER_IMAGE_TAG; /** * Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier). + * + * @deprecated use ATTR_DEPLOYMENT_ENVIRONMENT */ export const SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = TMP_DEPLOYMENT_ENVIRONMENT; @@ -232,6 +276,8 @@ export const SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = TMP_DEPLOYMENT_ENVIRONMENT; * A unique identifier representing the device. * * Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. + * + * @deprecated use ATTR_DEVICE_ID */ export const SEMRESATTRS_DEVICE_ID = TMP_DEVICE_ID; @@ -239,6 +285,8 @@ export const SEMRESATTRS_DEVICE_ID = TMP_DEVICE_ID; * The model identifier for the device. * * Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device. + * + * @deprecated use ATTR_DEVICE_MODEL_IDENTIFIER */ export const SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = TMP_DEVICE_MODEL_IDENTIFIER; @@ -246,6 +294,8 @@ export const SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = TMP_DEVICE_MODEL_IDENTIFIER; * The marketing name for the device model. * * Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative. + * + * @deprecated use ATTR_DEVICE_MODEL_NAME */ export const SEMRESATTRS_DEVICE_MODEL_NAME = TMP_DEVICE_MODEL_NAME; @@ -253,6 +303,8 @@ export const SEMRESATTRS_DEVICE_MODEL_NAME = TMP_DEVICE_MODEL_NAME; * The name of the single function that this runtime instance executes. * * Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes). + * + * @deprecated use ATTR_FAAS_NAME */ export const SEMRESATTRS_FAAS_NAME = TMP_FAAS_NAME; @@ -273,6 +325,8 @@ which is why this field cannot be made required. For example, on AWS the account part of the ARN is not available without calling another AWS API which may be deemed too slow for a short-running lambda function. As an alternative, consider setting `faas.id` as a span attribute instead. +* +* @deprecated use ATTR_FAAS_ID */ export const SEMRESATTRS_FAAS_ID = TMP_FAAS_ID; @@ -288,6 +342,8 @@ export const SEMRESATTRS_FAAS_ID = TMP_FAAS_ID; * **Google Cloud Functions:** The value of the [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). * **Azure Functions:** Not applicable. Do not set this attribute. +* +* @deprecated use ATTR_FAAS_VERSION */ export const SEMRESATTRS_FAAS_VERSION = TMP_FAAS_VERSION; @@ -295,6 +351,8 @@ export const SEMRESATTRS_FAAS_VERSION = TMP_FAAS_VERSION; * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. * * Note: * **AWS Lambda:** Use the (full) log stream name. + * + * @deprecated use ATTR_FAAS_INSTANCE */ export const SEMRESATTRS_FAAS_INSTANCE = TMP_FAAS_INSTANCE; @@ -302,206 +360,288 @@ export const SEMRESATTRS_FAAS_INSTANCE = TMP_FAAS_INSTANCE; * The amount of memory available to the serverless function in MiB. * * Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information. + * + * @deprecated use ATTR_FAAS_MAX_MEMORY */ export const SEMRESATTRS_FAAS_MAX_MEMORY = TMP_FAAS_MAX_MEMORY; /** * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. + * + * @deprecated use ATTR_HOST_ID */ export const SEMRESATTRS_HOST_ID = TMP_HOST_ID; /** * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. + * + * @deprecated use ATTR_HOST_NAME */ export const SEMRESATTRS_HOST_NAME = TMP_HOST_NAME; /** * Type of host. For Cloud, this must be the machine type. + * + * @deprecated use ATTR_HOST_TYPE */ export const SEMRESATTRS_HOST_TYPE = TMP_HOST_TYPE; /** * The CPU architecture the host system is running on. + * + * @deprecated use ATTR_HOST_ARCH */ export const SEMRESATTRS_HOST_ARCH = TMP_HOST_ARCH; /** * Name of the VM image or OS install the host was instantiated from. + * + * @deprecated use ATTR_HOST_IMAGE_NAME */ export const SEMRESATTRS_HOST_IMAGE_NAME = TMP_HOST_IMAGE_NAME; /** * VM image ID. For Cloud, this value is from the provider. + * + * @deprecated use ATTR_HOST_IMAGE_ID */ export const SEMRESATTRS_HOST_IMAGE_ID = TMP_HOST_IMAGE_ID; /** * The version string of the VM image as defined in [Version Attributes](README.md#version-attributes). + * + * @deprecated use ATTR_HOST_IMAGE_VERSION */ export const SEMRESATTRS_HOST_IMAGE_VERSION = TMP_HOST_IMAGE_VERSION; /** * The name of the cluster. + * + * @deprecated use ATTR_K8S_CLUSTER_NAME */ export const SEMRESATTRS_K8S_CLUSTER_NAME = TMP_K8S_CLUSTER_NAME; /** * The name of the Node. + * + * @deprecated use ATTR_K8S_NODE_NAME */ export const SEMRESATTRS_K8S_NODE_NAME = TMP_K8S_NODE_NAME; /** * The UID of the Node. + * + * @deprecated use ATTR_K8S_NODE_UID */ export const SEMRESATTRS_K8S_NODE_UID = TMP_K8S_NODE_UID; /** * The name of the namespace that the pod is running in. + * + * @deprecated use ATTR_K8S_NAMESPACE_NAME */ export const SEMRESATTRS_K8S_NAMESPACE_NAME = TMP_K8S_NAMESPACE_NAME; /** * The UID of the Pod. + * + * @deprecated use ATTR_K8S_POD_UID */ export const SEMRESATTRS_K8S_POD_UID = TMP_K8S_POD_UID; /** * The name of the Pod. + * + * @deprecated use ATTR_K8S_POD_NAME */ export const SEMRESATTRS_K8S_POD_NAME = TMP_K8S_POD_NAME; /** * The name of the Container in a Pod template. + * + * @deprecated use ATTR_K8S_CONTAINER_NAME */ export const SEMRESATTRS_K8S_CONTAINER_NAME = TMP_K8S_CONTAINER_NAME; /** * The UID of the ReplicaSet. + * + * @deprecated use ATTR_K8S_REPLICASET_UID */ export const SEMRESATTRS_K8S_REPLICASET_UID = TMP_K8S_REPLICASET_UID; /** * The name of the ReplicaSet. + * + * @deprecated use ATTR_K8S_REPLICASET_NAME */ export const SEMRESATTRS_K8S_REPLICASET_NAME = TMP_K8S_REPLICASET_NAME; /** * The UID of the Deployment. + * + * @deprecated use ATTR_K8S_DEPLOYMENT_UID */ export const SEMRESATTRS_K8S_DEPLOYMENT_UID = TMP_K8S_DEPLOYMENT_UID; /** * The name of the Deployment. + * + * @deprecated use ATTR_K8S_DEPLOYMENT_NAME */ export const SEMRESATTRS_K8S_DEPLOYMENT_NAME = TMP_K8S_DEPLOYMENT_NAME; /** * The UID of the StatefulSet. + * + * @deprecated use ATTR_K8S_STATEFULSET_UID */ export const SEMRESATTRS_K8S_STATEFULSET_UID = TMP_K8S_STATEFULSET_UID; /** * The name of the StatefulSet. + * + * @deprecated use ATTR_K8S_STATEFULSET_NAME */ export const SEMRESATTRS_K8S_STATEFULSET_NAME = TMP_K8S_STATEFULSET_NAME; /** * The UID of the DaemonSet. + * + * @deprecated use ATTR_K8S_DAEMONSET_UID */ export const SEMRESATTRS_K8S_DAEMONSET_UID = TMP_K8S_DAEMONSET_UID; /** * The name of the DaemonSet. + * + * @deprecated use ATTR_K8S_DAEMONSET_NAME */ export const SEMRESATTRS_K8S_DAEMONSET_NAME = TMP_K8S_DAEMONSET_NAME; /** * The UID of the Job. + * + * @deprecated use ATTR_K8S_JOB_UID */ export const SEMRESATTRS_K8S_JOB_UID = TMP_K8S_JOB_UID; /** * The name of the Job. + * + * @deprecated use ATTR_K8S_JOB_NAME */ export const SEMRESATTRS_K8S_JOB_NAME = TMP_K8S_JOB_NAME; /** * The UID of the CronJob. + * + * @deprecated use ATTR_K8S_CRONJOB_UID */ export const SEMRESATTRS_K8S_CRONJOB_UID = TMP_K8S_CRONJOB_UID; /** * The name of the CronJob. + * + * @deprecated use ATTR_K8S_CRONJOB_NAME */ export const SEMRESATTRS_K8S_CRONJOB_NAME = TMP_K8S_CRONJOB_NAME; /** * The operating system type. + * + * @deprecated use ATTR_OS_TYPE */ export const SEMRESATTRS_OS_TYPE = TMP_OS_TYPE; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. + * + * @deprecated use ATTR_OS_DESCRIPTION */ export const SEMRESATTRS_OS_DESCRIPTION = TMP_OS_DESCRIPTION; /** * Human readable operating system name. + * + * @deprecated use ATTR_OS_NAME */ export const SEMRESATTRS_OS_NAME = TMP_OS_NAME; /** * The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes). + * + * @deprecated use ATTR_OS_VERSION */ export const SEMRESATTRS_OS_VERSION = TMP_OS_VERSION; /** * Process identifier (PID). + * + * @deprecated use ATTR_PROCESS_PID */ export const SEMRESATTRS_PROCESS_PID = TMP_PROCESS_PID; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. + * + * @deprecated use ATTR_PROCESS_EXECUTABLE_NAME */ export const SEMRESATTRS_PROCESS_EXECUTABLE_NAME = TMP_PROCESS_EXECUTABLE_NAME; /** * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. + * + * @deprecated use ATTR_PROCESS_EXECUTABLE_PATH */ export const SEMRESATTRS_PROCESS_EXECUTABLE_PATH = TMP_PROCESS_EXECUTABLE_PATH; /** * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. + * + * @deprecated use ATTR_PROCESS_COMMAND */ export const SEMRESATTRS_PROCESS_COMMAND = TMP_PROCESS_COMMAND; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. + * + * @deprecated use ATTR_PROCESS_COMMAND_LINE */ export const SEMRESATTRS_PROCESS_COMMAND_LINE = TMP_PROCESS_COMMAND_LINE; /** * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. + * + * @deprecated use ATTR_PROCESS_COMMAND_ARGS */ export const SEMRESATTRS_PROCESS_COMMAND_ARGS = TMP_PROCESS_COMMAND_ARGS; /** * The username of the user that owns the process. + * + * @deprecated use ATTR_PROCESS_OWNER */ export const SEMRESATTRS_PROCESS_OWNER = TMP_PROCESS_OWNER; /** * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. + * + * @deprecated use ATTR_PROCESS_RUNTIME_NAME */ export const SEMRESATTRS_PROCESS_RUNTIME_NAME = TMP_PROCESS_RUNTIME_NAME; /** * The version of the runtime of this process, as returned by the runtime without modification. + * + * @deprecated use ATTR_PROCESS_RUNTIME_VERSION */ export const SEMRESATTRS_PROCESS_RUNTIME_VERSION = TMP_PROCESS_RUNTIME_VERSION; /** * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. + * + * @deprecated use ATTR_PROCESS_RUNTIME_DESCRIPTION */ export const SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = TMP_PROCESS_RUNTIME_DESCRIPTION; @@ -510,6 +650,8 @@ export const SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = * Logical name of the service. * * Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. + * + * @deprecated use ATTR_SERVICE_NAME */ export const SEMRESATTRS_SERVICE_NAME = TMP_SERVICE_NAME; @@ -517,6 +659,8 @@ export const SEMRESATTRS_SERVICE_NAME = TMP_SERVICE_NAME; * A namespace for `service.name`. * * Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. + * + * @deprecated use ATTR_SERVICE_NAMESPACE */ export const SEMRESATTRS_SERVICE_NAMESPACE = TMP_SERVICE_NAMESPACE; @@ -524,46 +668,64 @@ export const SEMRESATTRS_SERVICE_NAMESPACE = TMP_SERVICE_NAMESPACE; * The string ID of the service instance. * * Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations). + * + * @deprecated use ATTR_SERVICE_INSTANCE_ID */ export const SEMRESATTRS_SERVICE_INSTANCE_ID = TMP_SERVICE_INSTANCE_ID; /** * The version string of the service API or implementation. + * + * @deprecated use ATTR_SERVICE_VERSION */ export const SEMRESATTRS_SERVICE_VERSION = TMP_SERVICE_VERSION; /** * The name of the telemetry SDK as defined above. + * + * @deprecated use ATTR_TELEMETRY_SDK_NAME */ export const SEMRESATTRS_TELEMETRY_SDK_NAME = TMP_TELEMETRY_SDK_NAME; /** * The language of the telemetry SDK. + * + * @deprecated use ATTR_TELEMETRY_SDK_LANGUAGE */ export const SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = TMP_TELEMETRY_SDK_LANGUAGE; /** * The version string of the telemetry SDK. + * + * @deprecated use ATTR_TELEMETRY_SDK_VERSION */ export const SEMRESATTRS_TELEMETRY_SDK_VERSION = TMP_TELEMETRY_SDK_VERSION; /** * The version string of the auto instrumentation agent, if used. + * + * @deprecated use ATTR_TELEMETRY_AUTO_VERSION */ export const SEMRESATTRS_TELEMETRY_AUTO_VERSION = TMP_TELEMETRY_AUTO_VERSION; /** * The name of the web engine. + * + * @deprecated use ATTR_WEBENGINE_NAME */ export const SEMRESATTRS_WEBENGINE_NAME = TMP_WEBENGINE_NAME; /** * The version of the web engine. + * + * @deprecated use ATTR_WEBENGINE_VERSION */ export const SEMRESATTRS_WEBENGINE_VERSION = TMP_WEBENGINE_VERSION; /** * Additional description of the web engine (e.g. detailed version and edition information). + * + * @deprecated use ATTR_WEBENGINE_DESCRIPTION */ export const SEMRESATTRS_WEBENGINE_DESCRIPTION = TMP_WEBENGINE_DESCRIPTION; @@ -1130,7 +1292,7 @@ export const SemanticResourceAttributes: SemanticResourceAttributes = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD = 'alibaba_cloud'; const TMP_CLOUDPROVIDERVALUES_AWS = 'aws'; const TMP_CLOUDPROVIDERVALUES_AZURE = 'azure'; @@ -1138,22 +1300,30 @@ const TMP_CLOUDPROVIDERVALUES_GCP = 'gcp'; /** * Name of the cloud provider. + * + * @deprecated Use CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD. */ export const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD; /** * Name of the cloud provider. + * + * @deprecated Use CLOUD_PROVIDER_VALUES_AWS. */ export const CLOUDPROVIDERVALUES_AWS = TMP_CLOUDPROVIDERVALUES_AWS; /** * Name of the cloud provider. + * + * @deprecated Use CLOUD_PROVIDER_VALUES_AZURE. */ export const CLOUDPROVIDERVALUES_AZURE = TMP_CLOUDPROVIDERVALUES_AZURE; /** * Name of the cloud provider. + * + * @deprecated Use CLOUD_PROVIDER_VALUES_GCP. */ export const CLOUDPROVIDERVALUES_GCP = TMP_CLOUDPROVIDERVALUES_GCP; @@ -1198,7 +1368,7 @@ export const CloudProviderValues: CloudProviderValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; const TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; const TMP_CLOUDPLATFORMVALUES_AWS_EC2 = 'aws_ec2'; @@ -1222,6 +1392,8 @@ const TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE = 'gcp_app_engine'; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS. */ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS; @@ -1230,6 +1402,8 @@ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC. */ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC; @@ -1238,6 +1412,8 @@ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_EC2. */ export const CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2; @@ -1245,6 +1421,8 @@ export const CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_ECS. */ export const CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS; @@ -1252,6 +1430,8 @@ export const CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_EKS. */ export const CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS; @@ -1259,6 +1439,8 @@ export const CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_LAMBDA. */ export const CLOUDPLATFORMVALUES_AWS_LAMBDA = TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA; @@ -1267,6 +1449,8 @@ export const CLOUDPLATFORMVALUES_AWS_LAMBDA = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK. */ export const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK; @@ -1275,6 +1459,8 @@ export const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_VM. */ export const CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM; @@ -1282,6 +1468,8 @@ export const CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES. */ export const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES; @@ -1290,6 +1478,8 @@ export const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_AKS. */ export const CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS; @@ -1297,6 +1487,8 @@ export const CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS; * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS. */ export const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS; @@ -1305,6 +1497,8 @@ export const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE. */ export const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE; @@ -1313,6 +1507,8 @@ export const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE. */ export const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE; @@ -1321,6 +1517,8 @@ export const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN. */ export const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN; @@ -1329,6 +1527,8 @@ export const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE. */ export const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE; @@ -1337,6 +1537,8 @@ export const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS. */ export const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS; @@ -1345,6 +1547,8 @@ export const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = * The cloud platform in use. * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * + * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE. */ export const CLOUDPLATFORMVALUES_GCP_APP_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE; @@ -1442,17 +1646,21 @@ export const CloudPlatformValues: CloudPlatformValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_AWSECSLAUNCHTYPEVALUES_EC2 = 'ec2'; const TMP_AWSECSLAUNCHTYPEVALUES_FARGATE = 'fargate'; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @deprecated Use AWS_ECS_LAUNCHTYPE_VALUES_EC2. */ export const AWSECSLAUNCHTYPEVALUES_EC2 = TMP_AWSECSLAUNCHTYPEVALUES_EC2; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @deprecated Use AWS_ECS_LAUNCHTYPE_VALUES_FARGATE. */ export const AWSECSLAUNCHTYPEVALUES_FARGATE = TMP_AWSECSLAUNCHTYPEVALUES_FARGATE; @@ -1488,7 +1696,7 @@ export const AwsEcsLaunchtypeValues: AwsEcsLaunchtypeValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_HOSTARCHVALUES_AMD64 = 'amd64'; const TMP_HOSTARCHVALUES_ARM32 = 'arm32'; const TMP_HOSTARCHVALUES_ARM64 = 'arm64'; @@ -1499,36 +1707,50 @@ const TMP_HOSTARCHVALUES_X86 = 'x86'; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_AMD64. */ export const HOSTARCHVALUES_AMD64 = TMP_HOSTARCHVALUES_AMD64; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_ARM32. */ export const HOSTARCHVALUES_ARM32 = TMP_HOSTARCHVALUES_ARM32; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_ARM64. */ export const HOSTARCHVALUES_ARM64 = TMP_HOSTARCHVALUES_ARM64; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_IA64. */ export const HOSTARCHVALUES_IA64 = TMP_HOSTARCHVALUES_IA64; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_PPC32. */ export const HOSTARCHVALUES_PPC32 = TMP_HOSTARCHVALUES_PPC32; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_PPC64. */ export const HOSTARCHVALUES_PPC64 = TMP_HOSTARCHVALUES_PPC64; /** * The CPU architecture the host system is running on. + * + * @deprecated Use HOST_ARCH_VALUES_X86. */ export const HOSTARCHVALUES_X86 = TMP_HOSTARCHVALUES_X86; @@ -1583,7 +1805,7 @@ export const HostArchValues: HostArchValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_OSTYPEVALUES_WINDOWS = 'windows'; const TMP_OSTYPEVALUES_LINUX = 'linux'; const TMP_OSTYPEVALUES_DARWIN = 'darwin'; @@ -1598,56 +1820,78 @@ const TMP_OSTYPEVALUES_Z_OS = 'z_os'; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_WINDOWS. */ export const OSTYPEVALUES_WINDOWS = TMP_OSTYPEVALUES_WINDOWS; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_LINUX. */ export const OSTYPEVALUES_LINUX = TMP_OSTYPEVALUES_LINUX; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_DARWIN. */ export const OSTYPEVALUES_DARWIN = TMP_OSTYPEVALUES_DARWIN; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_FREEBSD. */ export const OSTYPEVALUES_FREEBSD = TMP_OSTYPEVALUES_FREEBSD; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_NETBSD. */ export const OSTYPEVALUES_NETBSD = TMP_OSTYPEVALUES_NETBSD; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_OPENBSD. */ export const OSTYPEVALUES_OPENBSD = TMP_OSTYPEVALUES_OPENBSD; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_DRAGONFLYBSD. */ export const OSTYPEVALUES_DRAGONFLYBSD = TMP_OSTYPEVALUES_DRAGONFLYBSD; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_HPUX. */ export const OSTYPEVALUES_HPUX = TMP_OSTYPEVALUES_HPUX; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_AIX. */ export const OSTYPEVALUES_AIX = TMP_OSTYPEVALUES_AIX; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_SOLARIS. */ export const OSTYPEVALUES_SOLARIS = TMP_OSTYPEVALUES_SOLARIS; /** * The operating system type. + * + * @deprecated Use OS_TYPE_VALUES_Z_OS. */ export const OSTYPEVALUES_Z_OS = TMP_OSTYPEVALUES_Z_OS; @@ -1718,7 +1962,7 @@ export const OsTypeValues: OsTypeValues = * ---------------------------------------------------------------------------------------------------------- */ // Temporary local constants to assign to the individual exports and the namespaced version -// Required to avoid the namespace exports using the unminifable export names for some package types +// Required to avoid the namespace exports using the unminifiable export names for some package types const TMP_TELEMETRYSDKLANGUAGEVALUES_CPP = 'cpp'; const TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET = 'dotnet'; const TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG = 'erlang'; @@ -1732,59 +1976,79 @@ const TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS = 'webjs'; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_CPP. */ export const TELEMETRYSDKLANGUAGEVALUES_CPP = TMP_TELEMETRYSDKLANGUAGEVALUES_CPP; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET. */ export const TELEMETRYSDKLANGUAGEVALUES_DOTNET = TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG. */ export const TELEMETRYSDKLANGUAGEVALUES_ERLANG = TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_GO. */ export const TELEMETRYSDKLANGUAGEVALUES_GO = TMP_TELEMETRYSDKLANGUAGEVALUES_GO; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_JAVA. */ export const TELEMETRYSDKLANGUAGEVALUES_JAVA = TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS. */ export const TELEMETRYSDKLANGUAGEVALUES_NODEJS = TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_PHP. */ export const TELEMETRYSDKLANGUAGEVALUES_PHP = TMP_TELEMETRYSDKLANGUAGEVALUES_PHP; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON. */ export const TELEMETRYSDKLANGUAGEVALUES_PYTHON = TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_RUBY. */ export const TELEMETRYSDKLANGUAGEVALUES_RUBY = TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY; /** * The language of the telemetry SDK. + * + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS. */ export const TELEMETRYSDKLANGUAGEVALUES_WEBJS = TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index 3ddab5457b..1df33a8c6c 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -209,104 +209,104 @@ export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = /** * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. */ -export const SEMATTRS_ASPNETCORE_RATE_LIMITING_RESULT = +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result'; /** * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. */ -export const SEMATTRS_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = +export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type'; /** * Rate limiting policy name. */ -export const SEMATTRS_ASPNETCORE_RATE_LIMITING_POLICY = +export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy'; /** * Flag indicating if request was handled by the application pipeline. */ -export const SEMATTRS_ASPNETCORE_REQUEST_IS_UNHANDLED = +export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled'; /** * A value that indicates whether the matched route is a fallback route. */ -export const SEMATTRS_ASPNETCORE_ROUTING_IS_FALLBACK = +export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback'; /** * Match result - success or failure. */ -export const SEMATTRS_ASPNETCORE_ROUTING_MATCH_STATUS = +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'; /** * ASP.NET Core exception middleware handling result. */ -export const SEMATTRS_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result'; /** * SignalR HTTP connection closure status. */ -export const SEMATTRS_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; +export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). */ -export const SEMATTRS_SIGNALR_TRANSPORT = 'signalr.transport'; +export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; /** * Name of the memory pool. * * Note: Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). */ -export const SEMATTRS_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; +export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; /** * The type of memory. */ -export const SEMATTRS_JVM_MEMORY_TYPE = 'jvm.memory.type'; +export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; /** * Name of the garbage collector action. * * Note: Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). */ -export const SEMATTRS_JVM_GC_ACTION = 'jvm.gc.action'; +export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; /** * Name of the garbage collector. * * Note: Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). */ -export const SEMATTRS_JVM_GC_NAME = 'jvm.gc.name'; +export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; /** * Whether the thread is daemon or not. */ -export const SEMATTRS_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; +export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; /** * State of the thread. */ -export const SEMATTRS_JVM_THREAD_STATE = 'jvm.thread.state'; +export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * * Note: When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available. */ -export const SEMATTRS_CLIENT_ADDRESS = 'client.address'; +export const ATTR_CLIENT_ADDRESS = 'client.address'; /** * Client port number. * * Note: When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available. */ -export const SEMATTRS_CLIENT_PORT = 'client.port'; +export const ATTR_CLIENT_PORT = 'client.port'; /** * Describes a class of error the operation ended with. @@ -327,7 +327,7 @@ it's RECOMMENDED to: * Use a domain-specific attribute * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. */ -export const SEMATTRS_ERROR_TYPE = 'error.type'; +export const ATTR_ERROR_TYPE = 'error.type'; /** * SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. @@ -349,22 +349,22 @@ even if the `exception.escaped` attribute was not set or set to false, since the event might have been recorded at a time where it was not clear whether the exception will escape. */ -export const SEMATTRS_EXCEPTION_ESCAPED = 'exception.escaped'; +export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; /** * The exception message. */ -export const SEMATTRS_EXCEPTION_MESSAGE = 'exception.message'; +export const ATTR_EXCEPTION_MESSAGE = 'exception.message'; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. */ -export const SEMATTRS_EXCEPTION_STACKTRACE = 'exception.stacktrace'; +export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; /** * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. */ -export const SEMATTRS_EXCEPTION_TYPE = 'exception.type'; +export const ATTR_EXCEPTION_TYPE = 'exception.type'; /** * HTTP request method. @@ -384,25 +384,24 @@ HTTP method names are case-sensitive and `http.request.method` attribute value M Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. */ -export const SEMATTRS_HTTP_REQUEST_METHOD = 'http.request.method'; +export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; /** * Original HTTP method sent by the client in the request line. */ -export const SEMATTRS_HTTP_REQUEST_METHOD_ORIGINAL = - 'http.request.method_original'; +export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; /** * The ordinal number of request resending attempt (for any reason, including redirects). * * Note: The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ -export const SEMATTRS_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; +export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). */ -export const SEMATTRS_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; +export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; /** * The matched route, that is, the path template in the format used by the respective server framework. @@ -410,41 +409,41 @@ export const SEMATTRS_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; * Note: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. */ -export const SEMATTRS_HTTP_ROUTE = 'http.route'; +export const ATTR_HTTP_ROUTE = 'http.route'; /** * Local address of the network connection - IP address or Unix domain socket name. */ -export const SEMATTRS_NETWORK_LOCAL_ADDRESS = 'network.local.address'; +export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address'; /** * Local port number of the network connection. */ -export const SEMATTRS_NETWORK_LOCAL_PORT = 'network.local.port'; +export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port'; /** * Peer address of the network connection - IP address or Unix domain socket name. */ -export const SEMATTRS_NETWORK_PEER_ADDRESS = 'network.peer.address'; +export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address'; /** * Peer port number of the network connection. */ -export const SEMATTRS_NETWORK_PEER_PORT = 'network.peer.port'; +export const ATTR_NETWORK_PEER_PORT = 'network.peer.port'; /** * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. * * Note: The value SHOULD be normalized to lowercase. */ -export const SEMATTRS_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; +export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; /** * The actual version of the protocol used for network communication. * * Note: If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set. */ -export const SEMATTRS_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; +export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; /** * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). @@ -455,45 +454,45 @@ Consider always setting the transport when setting a port number, since a port number is ambiguous without knowing the transport. For example different processes could be listening on TCP port 12345 and UDP port 12345. */ -export const SEMATTRS_NETWORK_TRANSPORT = 'network.transport'; +export const ATTR_NETWORK_TRANSPORT = 'network.transport'; /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. * * Note: The value SHOULD be normalized to lowercase. */ -export const SEMATTRS_NETWORK_TYPE = 'network.type'; +export const ATTR_NETWORK_TYPE = 'network.type'; /** * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * * Note: When observed from the client side, and when communicating through an intermediary, `server.address` SHOULD represent the server address behind any intermediaries, for example proxies, if it's available. */ -export const SEMATTRS_SERVER_ADDRESS = 'server.address'; +export const ATTR_SERVER_ADDRESS = 'server.address'; /** * Server port number. * * Note: When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available. */ -export const SEMATTRS_SERVER_PORT = 'server.port'; +export const ATTR_SERVER_PORT = 'server.port'; /** * Logical name of the service. * * Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. */ -export const SEMATTRS_SERVICE_NAME = 'service.name'; +export const ATTR_SERVICE_NAME = 'service.name'; /** * The version string of the service API or implementation. The format is not defined by these conventions. */ -export const SEMATTRS_SERVICE_VERSION = 'service.version'; +export const ATTR_SERVICE_VERSION = 'service.version'; /** * The language of the telemetry SDK. */ -export const SEMATTRS_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; +export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; /** * The name of the telemetry SDK as defined above. @@ -505,17 +504,17 @@ or another suitable identifier depending on the language. The identifier `opentelemetry` is reserved and MUST NOT be used in this case. All custom identifiers SHOULD be stable across different versions of an implementation. */ -export const SEMATTRS_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; +export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; /** * The version string of the telemetry SDK. */ -export const SEMATTRS_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; +export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component. */ -export const SEMATTRS_URL_FRAGMENT = 'url.fragment'; +export const ATTR_URL_FRAGMENT = 'url.fragment'; /** * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). @@ -524,51 +523,51 @@ export const SEMATTRS_URL_FRAGMENT = 'url.fragment'; `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`. `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it. */ -export const SEMATTRS_URL_FULL = 'url.full'; +export const ATTR_URL_FULL = 'url.full'; /** * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component. * * Note: Sensitive content provided in `url.path` SHOULD be scrubbed when instrumentations can identify it. */ -export const SEMATTRS_URL_PATH = 'url.path'; +export const ATTR_URL_PATH = 'url.path'; /** * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component. * * Note: Sensitive content provided in `url.query` SHOULD be scrubbed when instrumentations can identify it. */ -export const SEMATTRS_URL_QUERY = 'url.query'; +export const ATTR_URL_QUERY = 'url.query'; /** * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. */ -export const SEMATTRS_URL_SCHEME = 'url.scheme'; +export const ATTR_URL_SCHEME = 'url.scheme'; /** * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. */ -export const SEMATTRS_USER_AGENT_ORIGINAL = 'user_agent.original'; +export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original'; /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). */ -export const SEMATTRS_OTEL_SCOPE_NAME = 'otel.scope.name'; +export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name'; /** * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). */ -export const SEMATTRS_OTEL_SCOPE_VERSION = 'otel.scope.version'; +export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version'; /** * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. */ -export const SEMATTRS_OTEL_STATUS_CODE = 'otel.status_code'; +export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; /** * Description of the Status if it has a value, otherwise not set. */ -export const SEMATTRS_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; +export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; /** * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. diff --git a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts index 225288d580..441e9aa015 100644 --- a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts @@ -172,26 +172,36 @@ const TMP_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). * * Note: This may be different from `faas.id` if an alias is involved. + * + * @deprecated use ATTR_AWS_LAMBDA_INVOKED_ARN */ export const SEMATTRS_AWS_LAMBDA_INVOKED_ARN = TMP_AWS_LAMBDA_INVOKED_ARN; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @deprecated use ATTR_DB_SYSTEM */ export const SEMATTRS_DB_SYSTEM = TMP_DB_SYSTEM; /** * The connection string used to connect to the database. It is recommended to remove embedded credentials. + * + * @deprecated use ATTR_DB_CONNECTION_STRING */ export const SEMATTRS_DB_CONNECTION_STRING = TMP_DB_CONNECTION_STRING; /** * Username for accessing the database. + * + * @deprecated use ATTR_DB_USER */ export const SEMATTRS_DB_USER = TMP_DB_USER; /** * The fully-qualified class name of the [Java Database Connectivity (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver used to connect. + * + * @deprecated use ATTR_DB_JDBC_DRIVER_CLASSNAME */ export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = TMP_DB_JDBC_DRIVER_CLASSNAME; @@ -199,6 +209,8 @@ export const SEMATTRS_DB_JDBC_DRIVER_CLASSNAME = TMP_DB_JDBC_DRIVER_CLASSNAME; * If no [tech-specific attribute](#call-level-attributes-for-specific-technologies) is defined, this attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). * * Note: In some SQL databases, the database name to be used is called "schema name". + * + * @deprecated use ATTR_DB_NAME */ export const SEMATTRS_DB_NAME = TMP_DB_NAME; @@ -206,6 +218,8 @@ export const SEMATTRS_DB_NAME = TMP_DB_NAME; * The database statement being executed. * * Note: The value may be sanitized to exclude sensitive information. + * + * @deprecated use ATTR_DB_STATEMENT */ export const SEMATTRS_DB_STATEMENT = TMP_DB_STATEMENT; @@ -213,6 +227,8 @@ export const SEMATTRS_DB_STATEMENT = TMP_DB_STATEMENT; * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. * * Note: When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. + * + * @deprecated use ATTR_DB_OPERATION */ export const SEMATTRS_DB_OPERATION = TMP_DB_OPERATION; @@ -220,21 +236,29 @@ export const SEMATTRS_DB_OPERATION = TMP_DB_OPERATION; * The Microsoft SQL Server [instance name](https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. * * Note: If setting a `db.mssql.instance_name`, `net.peer.port` is no longer required (but still recommended if non-standard). + * + * @deprecated use ATTR_DB_MSSQL_INSTANCE_NAME */ export const SEMATTRS_DB_MSSQL_INSTANCE_NAME = TMP_DB_MSSQL_INSTANCE_NAME; /** * The name of the keyspace being accessed. To be used instead of the generic `db.name` attribute. + * + * @deprecated use ATTR_DB_CASSANDRA_KEYSPACE */ export const SEMATTRS_DB_CASSANDRA_KEYSPACE = TMP_DB_CASSANDRA_KEYSPACE; /** * The fetch size used for paging, i.e. how many rows will be returned at once. + * + * @deprecated use ATTR_DB_CASSANDRA_PAGE_SIZE */ export const SEMATTRS_DB_CASSANDRA_PAGE_SIZE = TMP_DB_CASSANDRA_PAGE_SIZE; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @deprecated use ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL */ export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = TMP_DB_CASSANDRA_CONSISTENCY_LEVEL; @@ -243,44 +267,60 @@ export const SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL = * The name of the primary table that the operation is acting upon, including the schema name (if applicable). * * Note: This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. + * + * @deprecated use ATTR_DB_CASSANDRA_TABLE */ export const SEMATTRS_DB_CASSANDRA_TABLE = TMP_DB_CASSANDRA_TABLE; /** * Whether or not the query is idempotent. + * + * @deprecated use ATTR_DB_CASSANDRA_IDEMPOTENCE */ export const SEMATTRS_DB_CASSANDRA_IDEMPOTENCE = TMP_DB_CASSANDRA_IDEMPOTENCE; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. + * + * @deprecated use ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT */ export const SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = TMP_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT; /** * The ID of the coordinating node for a query. + * + * @deprecated use ATTR_DB_CASSANDRA_COORDINATOR_ID */ export const SEMATTRS_DB_CASSANDRA_COORDINATOR_ID = TMP_DB_CASSANDRA_COORDINATOR_ID; /** * The data center of the coordinating node for a query. + * + * @deprecated use ATTR_DB_CASSANDRA_COORDINATOR_DC */ export const SEMATTRS_DB_CASSANDRA_COORDINATOR_DC = TMP_DB_CASSANDRA_COORDINATOR_DC; /** * The [HBase namespace](https://hbase.apache.org/book.html#_namespace) being accessed. To be used instead of the generic `db.name` attribute. + * + * @deprecated use ATTR_DB_HBASE_NAMESPACE */ export const SEMATTRS_DB_HBASE_NAMESPACE = TMP_DB_HBASE_NAMESPACE; /** * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. + * + * @deprecated use ATTR_DB_REDIS_DATABASE_INDEX */ export const SEMATTRS_DB_REDIS_DATABASE_INDEX = TMP_DB_REDIS_DATABASE_INDEX; /** * The collection being accessed within the database stated in `db.name`. + * + * @deprecated use ATTR_DB_MONGODB_COLLECTION */ export const SEMATTRS_DB_MONGODB_COLLECTION = TMP_DB_MONGODB_COLLECTION; @@ -288,21 +328,29 @@ export const SEMATTRS_DB_MONGODB_COLLECTION = TMP_DB_MONGODB_COLLECTION; * The name of the primary table that the operation is acting upon, including the schema name (if applicable). * * Note: It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. + * + * @deprecated use ATTR_DB_SQL_TABLE */ export const SEMATTRS_DB_SQL_TABLE = TMP_DB_SQL_TABLE; /** * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. + * + * @deprecated use ATTR_EXCEPTION_TYPE */ export const SEMATTRS_EXCEPTION_TYPE = TMP_EXCEPTION_TYPE; /** * The exception message. + * + * @deprecated use ATTR_EXCEPTION_MESSAGE */ export const SEMATTRS_EXCEPTION_MESSAGE = TMP_EXCEPTION_MESSAGE; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + * + * @deprecated use ATTR_EXCEPTION_STACKTRACE */ export const SEMATTRS_EXCEPTION_STACKTRACE = TMP_EXCEPTION_STACKTRACE; @@ -325,51 +373,71 @@ It follows that an exception may still escape the scope of the span even if the `exception.escaped` attribute was not set or set to false, since the event might have been recorded at a time where it was not clear whether the exception will escape. +* +* @deprecated use ATTR_EXCEPTION_ESCAPED */ export const SEMATTRS_EXCEPTION_ESCAPED = TMP_EXCEPTION_ESCAPED; /** * Type of the trigger on which the function is executed. + * + * @deprecated use ATTR_FAAS_TRIGGER */ export const SEMATTRS_FAAS_TRIGGER = TMP_FAAS_TRIGGER; /** * The execution ID of the current function execution. + * + * @deprecated use ATTR_FAAS_EXECUTION */ export const SEMATTRS_FAAS_EXECUTION = TMP_FAAS_EXECUTION; /** * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. + * + * @deprecated use ATTR_FAAS_DOCUMENT_COLLECTION */ export const SEMATTRS_FAAS_DOCUMENT_COLLECTION = TMP_FAAS_DOCUMENT_COLLECTION; /** * Describes the type of the operation that was performed on the data. + * + * @deprecated use ATTR_FAAS_DOCUMENT_OPERATION */ export const SEMATTRS_FAAS_DOCUMENT_OPERATION = TMP_FAAS_DOCUMENT_OPERATION; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + * + * @deprecated use ATTR_FAAS_DOCUMENT_TIME */ export const SEMATTRS_FAAS_DOCUMENT_TIME = TMP_FAAS_DOCUMENT_TIME; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. + * + * @deprecated use ATTR_FAAS_DOCUMENT_NAME */ export const SEMATTRS_FAAS_DOCUMENT_NAME = TMP_FAAS_DOCUMENT_NAME; /** * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + * + * @deprecated use ATTR_FAAS_TIME */ export const SEMATTRS_FAAS_TIME = TMP_FAAS_TIME; /** * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). + * + * @deprecated use ATTR_FAAS_CRON */ export const SEMATTRS_FAAS_CRON = TMP_FAAS_CRON; /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). + * + * @deprecated use ATTR_FAAS_COLDSTART */ export const SEMATTRS_FAAS_COLDSTART = TMP_FAAS_COLDSTART; @@ -377,6 +445,8 @@ export const SEMATTRS_FAAS_COLDSTART = TMP_FAAS_COLDSTART; * The name of the invoked function. * * Note: SHOULD be equal to the `faas.name` resource attribute of the invoked function. + * + * @deprecated use ATTR_FAAS_INVOKED_NAME */ export const SEMATTRS_FAAS_INVOKED_NAME = TMP_FAAS_INVOKED_NAME; @@ -384,6 +454,8 @@ export const SEMATTRS_FAAS_INVOKED_NAME = TMP_FAAS_INVOKED_NAME; * The cloud provider of the invoked function. * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @deprecated use ATTR_FAAS_INVOKED_PROVIDER */ export const SEMATTRS_FAAS_INVOKED_PROVIDER = TMP_FAAS_INVOKED_PROVIDER; @@ -391,127 +463,177 @@ export const SEMATTRS_FAAS_INVOKED_PROVIDER = TMP_FAAS_INVOKED_PROVIDER; * The cloud region of the invoked function. * * Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked function. + * + * @deprecated use ATTR_FAAS_INVOKED_REGION */ export const SEMATTRS_FAAS_INVOKED_REGION = TMP_FAAS_INVOKED_REGION; /** * Transport protocol used. See note below. + * + * @deprecated use ATTR_NET_TRANSPORT */ export const SEMATTRS_NET_TRANSPORT = TMP_NET_TRANSPORT; /** * Remote address of the peer (dotted decimal for IPv4 or [RFC5952](https://tools.ietf.org/html/rfc5952) for IPv6). + * + * @deprecated use ATTR_NET_PEER_IP */ export const SEMATTRS_NET_PEER_IP = TMP_NET_PEER_IP; /** * Remote port number. + * + * @deprecated use ATTR_NET_PEER_PORT */ export const SEMATTRS_NET_PEER_PORT = TMP_NET_PEER_PORT; /** * Remote hostname or similar, see note below. + * + * @deprecated use ATTR_NET_PEER_NAME */ export const SEMATTRS_NET_PEER_NAME = TMP_NET_PEER_NAME; /** * Like `net.peer.ip` but for the host IP. Useful in case of a multi-IP host. + * + * @deprecated use ATTR_NET_HOST_IP */ export const SEMATTRS_NET_HOST_IP = TMP_NET_HOST_IP; /** * Like `net.peer.port` but for the host port. + * + * @deprecated use ATTR_NET_HOST_PORT */ export const SEMATTRS_NET_HOST_PORT = TMP_NET_HOST_PORT; /** * Local hostname or similar, see note below. + * + * @deprecated use ATTR_NET_HOST_NAME */ export const SEMATTRS_NET_HOST_NAME = TMP_NET_HOST_NAME; /** * The internet connection type currently being used by the host. + * + * @deprecated use ATTR_NET_HOST_CONNECTION_TYPE */ export const SEMATTRS_NET_HOST_CONNECTION_TYPE = TMP_NET_HOST_CONNECTION_TYPE; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @deprecated use ATTR_NET_HOST_CONNECTION_SUBTYPE */ export const SEMATTRS_NET_HOST_CONNECTION_SUBTYPE = TMP_NET_HOST_CONNECTION_SUBTYPE; /** * The name of the mobile carrier. + * + * @deprecated use ATTR_NET_HOST_CARRIER_NAME */ export const SEMATTRS_NET_HOST_CARRIER_NAME = TMP_NET_HOST_CARRIER_NAME; /** * The mobile carrier country code. + * + * @deprecated use ATTR_NET_HOST_CARRIER_MCC */ export const SEMATTRS_NET_HOST_CARRIER_MCC = TMP_NET_HOST_CARRIER_MCC; /** * The mobile carrier network code. + * + * @deprecated use ATTR_NET_HOST_CARRIER_MNC */ export const SEMATTRS_NET_HOST_CARRIER_MNC = TMP_NET_HOST_CARRIER_MNC; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. + * + * @deprecated use ATTR_NET_HOST_CARRIER_ICC */ export const SEMATTRS_NET_HOST_CARRIER_ICC = TMP_NET_HOST_CARRIER_ICC; /** * The [`service.name`](../../resource/semantic_conventions/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. + * + * @deprecated use ATTR_PEER_SERVICE */ export const SEMATTRS_PEER_SERVICE = TMP_PEER_SERVICE; /** * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. + * + * @deprecated use ATTR_ENDUSER_ID */ export const SEMATTRS_ENDUSER_ID = TMP_ENDUSER_ID; /** * Actual/assumed role the client is making the request under extracted from token or application security context. + * + * @deprecated use ATTR_ENDUSER_ROLE */ export const SEMATTRS_ENDUSER_ROLE = TMP_ENDUSER_ROLE; /** * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). + * + * @deprecated use ATTR_ENDUSER_SCOPE */ export const SEMATTRS_ENDUSER_SCOPE = TMP_ENDUSER_SCOPE; /** * Current "managed" thread ID (as opposed to OS thread ID). + * + * @deprecated use ATTR_THREAD_ID */ export const SEMATTRS_THREAD_ID = TMP_THREAD_ID; /** * Current thread name. + * + * @deprecated use ATTR_THREAD_NAME */ export const SEMATTRS_THREAD_NAME = TMP_THREAD_NAME; /** * The method or function name, or equivalent (usually rightmost part of the code unit's name). + * + * @deprecated use ATTR_CODE_FUNCTION */ export const SEMATTRS_CODE_FUNCTION = TMP_CODE_FUNCTION; /** * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. + * + * @deprecated use ATTR_CODE_NAMESPACE */ export const SEMATTRS_CODE_NAMESPACE = TMP_CODE_NAMESPACE; /** * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). + * + * @deprecated use ATTR_CODE_FILEPATH */ export const SEMATTRS_CODE_FILEPATH = TMP_CODE_FILEPATH; /** * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. + * + * @deprecated use ATTR_CODE_LINENO */ export const SEMATTRS_CODE_LINENO = TMP_CODE_LINENO; /** * HTTP request method. + * + * @deprecated use ATTR_HTTP_METHOD */ export const SEMATTRS_HTTP_METHOD = TMP_HTTP_METHOD; @@ -519,11 +641,15 @@ export const SEMATTRS_HTTP_METHOD = TMP_HTTP_METHOD; * Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. * * Note: `http.url` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case the attribute's value should be `https://www.example.com/`. + * + * @deprecated use ATTR_HTTP_URL */ export const SEMATTRS_HTTP_URL = TMP_HTTP_URL; /** * The full request target as passed in a HTTP request line or equivalent. + * + * @deprecated use ATTR_HTTP_TARGET */ export const SEMATTRS_HTTP_TARGET = TMP_HTTP_TARGET; @@ -531,16 +657,22 @@ export const SEMATTRS_HTTP_TARGET = TMP_HTTP_TARGET; * The value of the [HTTP host header](https://tools.ietf.org/html/rfc7230#section-5.4). An empty Host header should also be reported, see note. * * Note: When the header is present but empty the attribute SHOULD be set to the empty string. Note that this is a valid situation that is expected in certain cases, according the aforementioned [section of RFC 7230](https://tools.ietf.org/html/rfc7230#section-5.4). When the header is not set the attribute MUST NOT be set. + * + * @deprecated use ATTR_HTTP_HOST */ export const SEMATTRS_HTTP_HOST = TMP_HTTP_HOST; /** * The URI scheme identifying the used protocol. + * + * @deprecated use ATTR_HTTP_SCHEME */ export const SEMATTRS_HTTP_SCHEME = TMP_HTTP_SCHEME; /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). + * + * @deprecated use ATTR_HTTP_STATUS_CODE */ export const SEMATTRS_HTTP_STATUS_CODE = TMP_HTTP_STATUS_CODE; @@ -548,34 +680,46 @@ export const SEMATTRS_HTTP_STATUS_CODE = TMP_HTTP_STATUS_CODE; * Kind of HTTP protocol used. * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. + * + * @deprecated use ATTR_HTTP_FLAVOR */ export const SEMATTRS_HTTP_FLAVOR = TMP_HTTP_FLAVOR; /** * Value of the [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3) header sent by the client. + * + * @deprecated use ATTR_HTTP_USER_AGENT */ export const SEMATTRS_HTTP_USER_AGENT = TMP_HTTP_USER_AGENT; /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://tools.ietf.org/html/rfc7230#section-3.3.2) header. For requests using transport encoding, this should be the compressed size. + * + * @deprecated use ATTR_HTTP_REQUEST_CONTENT_LENGTH */ export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH = TMP_HTTP_REQUEST_CONTENT_LENGTH; /** * The size of the uncompressed request payload body after transport decoding. Not set if transport encoding not used. + * + * @deprecated use ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED */ export const SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = TMP_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED; /** * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://tools.ietf.org/html/rfc7230#section-3.3.2) header. For requests using transport encoding, this should be the compressed size. + * + * @deprecated use ATTR_HTTP_RESPONSE_CONTENT_LENGTH */ export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH = TMP_HTTP_RESPONSE_CONTENT_LENGTH; /** * The size of the uncompressed response payload body after transport decoding. Not set if transport encoding not used. + * + * @deprecated use ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED */ export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = TMP_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED; @@ -584,11 +728,15 @@ export const SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = * The primary server name of the matched virtual host. This should be obtained via configuration. If no such configuration can be obtained, this attribute MUST NOT be set ( `net.host.name` should be used instead). * * Note: `http.url` is usually not readily available on the server side but would have to be assembled in a cumbersome and sometimes lossy process from other information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus preferred to supply the raw data that is available. + * + * @deprecated use ATTR_HTTP_SERVER_NAME */ export const SEMATTRS_HTTP_SERVER_NAME = TMP_HTTP_SERVER_NAME; /** * The matched route (path template). + * + * @deprecated use ATTR_HTTP_ROUTE */ export const SEMATTRS_HTTP_ROUTE = TMP_HTTP_ROUTE; @@ -606,204 +754,278 @@ comes from a proxy, reverse proxy, or the actual client. Setting `http.client_ip` when it's the same as `net.peer.ip` means that one is at least somewhat confident that the address is not that of the closest proxy. +* +* @deprecated use ATTR_HTTP_CLIENT_IP */ export const SEMATTRS_HTTP_CLIENT_IP = TMP_HTTP_CLIENT_IP; /** * The keys in the `RequestItems` object field. + * + * @deprecated use ATTR_AWS_DYNAMODB_TABLE_NAMES */ export const SEMATTRS_AWS_DYNAMODB_TABLE_NAMES = TMP_AWS_DYNAMODB_TABLE_NAMES; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. + * + * @deprecated use ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY */ export const SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY = TMP_AWS_DYNAMODB_CONSUMED_CAPACITY; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. + * + * @deprecated use ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS */ export const SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = TMP_AWS_DYNAMODB_ITEM_COLLECTION_METRICS; /** * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY */ export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = TMP_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY; /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY */ export const SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = TMP_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY; /** * The value of the `ConsistentRead` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_CONSISTENT_READ */ export const SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ = TMP_AWS_DYNAMODB_CONSISTENT_READ; /** * The value of the `ProjectionExpression` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_PROJECTION */ export const SEMATTRS_AWS_DYNAMODB_PROJECTION = TMP_AWS_DYNAMODB_PROJECTION; /** * The value of the `Limit` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_LIMIT */ export const SEMATTRS_AWS_DYNAMODB_LIMIT = TMP_AWS_DYNAMODB_LIMIT; /** * The value of the `AttributesToGet` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET */ export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET = TMP_AWS_DYNAMODB_ATTRIBUTES_TO_GET; /** * The value of the `IndexName` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_INDEX_NAME */ export const SEMATTRS_AWS_DYNAMODB_INDEX_NAME = TMP_AWS_DYNAMODB_INDEX_NAME; /** * The value of the `Select` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_SELECT */ export const SEMATTRS_AWS_DYNAMODB_SELECT = TMP_AWS_DYNAMODB_SELECT; /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. + * + * @deprecated use ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES */ export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES; /** * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. + * + * @deprecated use ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES */ export const SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = TMP_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES; /** * The value of the `ExclusiveStartTableName` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE */ export const SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = TMP_AWS_DYNAMODB_EXCLUSIVE_START_TABLE; /** * The the number of items in the `TableNames` response parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_TABLE_COUNT */ export const SEMATTRS_AWS_DYNAMODB_TABLE_COUNT = TMP_AWS_DYNAMODB_TABLE_COUNT; /** * The value of the `ScanIndexForward` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_SCAN_FORWARD */ export const SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD = TMP_AWS_DYNAMODB_SCAN_FORWARD; /** * The value of the `Segment` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_SEGMENT */ export const SEMATTRS_AWS_DYNAMODB_SEGMENT = TMP_AWS_DYNAMODB_SEGMENT; /** * The value of the `TotalSegments` request parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS */ export const SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS = TMP_AWS_DYNAMODB_TOTAL_SEGMENTS; /** * The value of the `Count` response parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_COUNT */ export const SEMATTRS_AWS_DYNAMODB_COUNT = TMP_AWS_DYNAMODB_COUNT; /** * The value of the `ScannedCount` response parameter. + * + * @deprecated use ATTR_AWS_DYNAMODB_SCANNED_COUNT */ export const SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT = TMP_AWS_DYNAMODB_SCANNED_COUNT; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. + * + * @deprecated use ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS */ export const SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = TMP_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS; /** * The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates` request field. + * + * @deprecated use ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES */ export const SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = TMP_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES; /** * A string identifying the messaging system. + * + * @deprecated use ATTR_MESSAGING_SYSTEM */ export const SEMATTRS_MESSAGING_SYSTEM = TMP_MESSAGING_SYSTEM; /** * The message destination name. This might be equal to the span name but is required nevertheless. + * + * @deprecated use ATTR_MESSAGING_DESTINATION */ export const SEMATTRS_MESSAGING_DESTINATION = TMP_MESSAGING_DESTINATION; /** * The kind of message destination. + * + * @deprecated use ATTR_MESSAGING_DESTINATION_KIND */ export const SEMATTRS_MESSAGING_DESTINATION_KIND = TMP_MESSAGING_DESTINATION_KIND; /** * A boolean that is true if the message destination is temporary. + * + * @deprecated use ATTR_MESSAGING_TEMP_DESTINATION */ export const SEMATTRS_MESSAGING_TEMP_DESTINATION = TMP_MESSAGING_TEMP_DESTINATION; /** * The name of the transport protocol. + * + * @deprecated use ATTR_MESSAGING_PROTOCOL */ export const SEMATTRS_MESSAGING_PROTOCOL = TMP_MESSAGING_PROTOCOL; /** * The version of the transport protocol. + * + * @deprecated use ATTR_MESSAGING_PROTOCOL_VERSION */ export const SEMATTRS_MESSAGING_PROTOCOL_VERSION = TMP_MESSAGING_PROTOCOL_VERSION; /** * Connection string. + * + * @deprecated use ATTR_MESSAGING_URL */ export const SEMATTRS_MESSAGING_URL = TMP_MESSAGING_URL; /** * A value used by the messaging system as an identifier for the message, represented as a string. + * + * @deprecated use ATTR_MESSAGING_MESSAGE_ID */ export const SEMATTRS_MESSAGING_MESSAGE_ID = TMP_MESSAGING_MESSAGE_ID; /** * The [conversation ID](#conversations) identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". + * + * @deprecated use ATTR_MESSAGING_CONVERSATION_ID */ export const SEMATTRS_MESSAGING_CONVERSATION_ID = TMP_MESSAGING_CONVERSATION_ID; /** * The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported. + * + * @deprecated use ATTR_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES */ export const SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES = TMP_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES; /** * The compressed size of the message payload in bytes. + * + * @deprecated use ATTR_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES */ export const SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES = TMP_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES; /** * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. + * + * @deprecated use ATTR_MESSAGING_OPERATION */ export const SEMATTRS_MESSAGING_OPERATION = TMP_MESSAGING_OPERATION; /** * The identifier for the consumer receiving a message. For Kafka, set it to `{messaging.kafka.consumer_group} - {messaging.kafka.client_id}`, if both are present, or only `messaging.kafka.consumer_group`. For brokers, such as RabbitMQ and Artemis, set it to the `client_id` of the client consuming the message. + * + * @deprecated use ATTR_MESSAGING_CONSUMER_ID */ export const SEMATTRS_MESSAGING_CONSUMER_ID = TMP_MESSAGING_CONSUMER_ID; /** * RabbitMQ message routing key. + * + * @deprecated use ATTR_MESSAGING_RABBITMQ_ROUTING_KEY */ export const SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY = TMP_MESSAGING_RABBITMQ_ROUTING_KEY; @@ -812,33 +1034,45 @@ export const SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY = * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message_id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. * * Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. + * + * @deprecated use ATTR_MESSAGING_KAFKA_MESSAGE_KEY */ export const SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY = TMP_MESSAGING_KAFKA_MESSAGE_KEY; /** * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. + * + * @deprecated use ATTR_MESSAGING_KAFKA_CONSUMER_GROUP */ export const SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP = TMP_MESSAGING_KAFKA_CONSUMER_GROUP; /** * Client Id for the Consumer or Producer that is handling the message. + * + * @deprecated use ATTR_MESSAGING_KAFKA_CLIENT_ID */ export const SEMATTRS_MESSAGING_KAFKA_CLIENT_ID = TMP_MESSAGING_KAFKA_CLIENT_ID; /** * Partition the message is sent to. + * + * @deprecated use ATTR_MESSAGING_KAFKA_PARTITION */ export const SEMATTRS_MESSAGING_KAFKA_PARTITION = TMP_MESSAGING_KAFKA_PARTITION; /** * A boolean that is true if the message is a tombstone. + * + * @deprecated use ATTR_MESSAGING_KAFKA_TOMBSTONE */ export const SEMATTRS_MESSAGING_KAFKA_TOMBSTONE = TMP_MESSAGING_KAFKA_TOMBSTONE; /** * A string identifying the remoting system. + * + * @deprecated use ATTR_RPC_SYSTEM */ export const SEMATTRS_RPC_SYSTEM = TMP_RPC_SYSTEM; @@ -846,6 +1080,8 @@ export const SEMATTRS_RPC_SYSTEM = TMP_RPC_SYSTEM; * The full (logical) name of the service being called, including its package name, if applicable. * * Note: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). + * + * @deprecated use ATTR_RPC_SERVICE */ export const SEMATTRS_RPC_SERVICE = TMP_RPC_SERVICE; @@ -853,36 +1089,50 @@ export const SEMATTRS_RPC_SERVICE = TMP_RPC_SERVICE; * The name of the (logical) method being called, must be equal to the $method part in the span name. * * Note: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). + * + * @deprecated use ATTR_RPC_METHOD */ export const SEMATTRS_RPC_METHOD = TMP_RPC_METHOD; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @deprecated use ATTR_RPC_GRPC_STATUS_CODE */ export const SEMATTRS_RPC_GRPC_STATUS_CODE = TMP_RPC_GRPC_STATUS_CODE; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 does not specify this, the value can be omitted. + * + * @deprecated use ATTR_RPC_JSONRPC_VERSION */ export const SEMATTRS_RPC_JSONRPC_VERSION = TMP_RPC_JSONRPC_VERSION; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. + * + * @deprecated use ATTR_RPC_JSONRPC_REQUEST_ID */ export const SEMATTRS_RPC_JSONRPC_REQUEST_ID = TMP_RPC_JSONRPC_REQUEST_ID; /** * `error.code` property of response if it is an error response. + * + * @deprecated use ATTR_RPC_JSONRPC_ERROR_CODE */ export const SEMATTRS_RPC_JSONRPC_ERROR_CODE = TMP_RPC_JSONRPC_ERROR_CODE; /** * `error.message` property of response if it is an error response. + * + * @deprecated use ATTR_RPC_JSONRPC_ERROR_MESSAGE */ export const SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE = TMP_RPC_JSONRPC_ERROR_MESSAGE; /** * Whether this is a received or sent message. + * + * @deprecated use ATTR_MESSAGE_TYPE */ export const SEMATTRS_MESSAGE_TYPE = TMP_MESSAGE_TYPE; @@ -890,16 +1140,22 @@ export const SEMATTRS_MESSAGE_TYPE = TMP_MESSAGE_TYPE; * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. * * Note: This way we guarantee that the values will be consistent between different implementations. + * + * @deprecated use ATTR_MESSAGE_ID */ export const SEMATTRS_MESSAGE_ID = TMP_MESSAGE_ID; /** * Compressed size of the message in bytes. + * + * @deprecated use ATTR_MESSAGE_COMPRESSED_SIZE */ export const SEMATTRS_MESSAGE_COMPRESSED_SIZE = TMP_MESSAGE_COMPRESSED_SIZE; /** * Uncompressed size of the message in bytes. + * + * @deprecated use ATTR_MESSAGE_UNCOMPRESSED_SIZE */ export const SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE = TMP_MESSAGE_UNCOMPRESSED_SIZE; diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index 5ca8aeb34a..c8e6071d4c 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -33,7 +33,6 @@ docker run --rm --platform linux/amd64 \ --template /templates/SemanticAttributes.ts.j2 \ --output /output/stable.ts \ -Dclass=SemanticAttributes \ - -Dcls_prefix=SEMATTRS \ -Dfilter=is_stable docker run --rm --platform linux/amd64 \ @@ -46,7 +45,6 @@ docker run --rm --platform linux/amd64 \ --template /templates/SemanticAttributes.ts.j2 \ --output /output/experimental.ts \ -Dclass=SemanticAttributes \ - -Dcls_prefix=SEMATTRS \ -Dfilter=is_experimental # docker run --rm --platform linux/amd64 \ diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 7f8afa94f2..964a904a8d 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -66,7 +66,7 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st * @deprecated {{attribute.deprecated | to_doc_brief}}. {%- endif %} */ -export const {{cls_prefix}}_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }}; +export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }}; {%- endfor %} From f782cb6d6c34e96d9459fd2c476314ee247b9eee Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 9 May 2024 11:35:55 -0400 Subject: [PATCH 04/47] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67c447ab70..76f2dbd633 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ * feat: support node 22 [#4666](https://github.com/open-telemetry/opentelemetry-js/pull/4666) @dyladan * feat(sdk-trace-node): support `xray` Propagator via `OTEL_PROPAGATORS` environment variable [#4602](https://github.com/open-telemetry/opentelemetry-js/pull/4602) @anuraags +* feat(semconv): update semantic conventions to 1.25 and include metric names [#4690](https://github.com/open-telemetry/opentelemetry-js/pull/4690) @dyladan ### :bug: (Bug Fix) From dc3f50ab08522115346b8b2d88946735abb39485 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 10 May 2024 09:00:50 -0400 Subject: [PATCH 05/47] Improve enum docs --- .../.size-limit.json | 1 + .../src/experimental.ts | 768 ++++++++---------- .../src/stable.ts | 304 ++----- .../templates/SemanticAttributes.ts.j2 | 6 +- 4 files changed, 393 insertions(+), 686 deletions(-) create mode 100644 packages/opentelemetry-semantic-conventions/.size-limit.json diff --git a/packages/opentelemetry-semantic-conventions/.size-limit.json b/packages/opentelemetry-semantic-conventions/.size-limit.json new file mode 100644 index 0000000000..8728a4f848 --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/.size-limit.json @@ -0,0 +1 @@ +[{"path":"./build/esm/index.js","import":"{ SEMATTRS_NET_TRANSPORT, SEMATTRS_NET_PEER_IP, SEMATTRS_NET_PEER_PORT, SEMATTRS_NET_PEER_NAME, SEMATTRS_NET_HOST_IP, SEMATTRS_NET_HOST_PORT, SEMATTRS_NET_HOST_NAME, SEMATTRS_NET_HOST_CONNECTION_TYPE, SEMATTRS_NET_HOST_CONNECTION_SUBTYPE, SEMATTRS_NET_HOST_CARRIER_NAME, SEMATTRS_NET_HOST_CARRIER_MCC, SEMATTRS_NET_HOST_CARRIER_MNC, SEMATTRS_NET_HOST_CARRIER_ICC, NETTRANSPORTVALUES_IP_TCP, NETTRANSPORTVALUES_IP_UDP, NETTRANSPORTVALUES_IP, NETTRANSPORTVALUES_UNIX, NETTRANSPORTVALUES_PIPE, NETTRANSPORTVALUES_INPROC, NETTRANSPORTVALUES_OTHER, NETHOSTCONNECTIONTYPEVALUES_WIFI, NETHOSTCONNECTIONTYPEVALUES_WIRED, NETHOSTCONNECTIONTYPEVALUES_CELL, NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE, NETHOSTCONNECTIONTYPEVALUES_UNKNOWN, NETHOSTCONNECTIONSUBTYPEVALUES_GPRS, NETHOSTCONNECTIONSUBTYPEVALUES_EDGE, NETHOSTCONNECTIONSUBTYPEVALUES_UMTS, NETHOSTCONNECTIONSUBTYPEVALUES_CDMA, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A, NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT, NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA, NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA, NETHOSTCONNECTIONSUBTYPEVALUES_HSPA, NETHOSTCONNECTIONSUBTYPEVALUES_IDEN, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B, NETHOSTCONNECTIONSUBTYPEVALUES_LTE, NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD, NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP, NETHOSTCONNECTIONSUBTYPEVALUES_GSM, NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA, NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN, NETHOSTCONNECTIONSUBTYPEVALUES_NR, NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA, NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA }","name":"esm-net","gzip":false,"brotli":false}] \ No newline at end of file diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index d1a23af95f..efcb443778 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -3677,477 +3677,455 @@ export const ATTR_MESSAGE_TYPE = 'message.type'; export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; /** - * The stream associated with the log. See below for a list of well-known values. + * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const LOG_IOSTREAM_VALUES_STDOUT = 'stdout'; /** - * The stream associated with the log. See below for a list of well-known values. + * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const LOG_IOSTREAM_VALUES_STDERR = 'stderr'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_ACTIVE = 'active'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_INACTIVE = 'inactive'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_BACKGROUND = 'background'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_FOREGROUND = 'foreground'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. + * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_TERMINATE = 'terminate'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ANDROID_STATE_VALUES_CREATED = 'created'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ANDROID_STATE_VALUES_BACKGROUND = 'background'; /** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ANDROID_STATE_VALUES_FOREGROUND = 'foreground'; /** - * The state of a connection in the pool. + * Enum value 'idle' for attribute {@link ATTR_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const STATE_VALUES_IDLE = 'idle'; /** - * The state of a connection in the pool. + * Enum value 'used' for attribute {@link ATTR_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const STATE_VALUES_USED = 'used'; /** - * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CPU_STATE_VALUES_SYSTEM = 'system'; /** - * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CPU_STATE_VALUES_USER = 'user'; /** - * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. + * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CPU_STATE_VALUES_WAIT = 'wait'; /** - * Specifies whether the context switches for this data point were voluntary or involuntary. + * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY = 'voluntary'; /** - * Specifies whether the context switches for this data point were voluntary or involuntary. + * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_INVOLUNTARY = 'involuntary'; /** - * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR = 'major'; /** - * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_PAGING_FAULT_TYPE_VALUES_MINOR = 'minor'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_USER = 'user'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_SYSTEM = 'system'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_NICE = 'nice'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_IDLE = 'idle'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_IOWAIT = 'iowait'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_INTERRUPT = 'interrupt'; /** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. + * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_STEAL = 'steal'; /** - * The memory state. + * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_USED = 'used'; /** - * The memory state. + * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_FREE = 'free'; /** - * The memory state. + * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_SHARED = 'shared'; /** - * The memory state. + * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_BUFFERS = 'buffers'; /** - * The memory state. + * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_CACHED = 'cached'; /** - * The paging access direction. + * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_DIRECTION_VALUES_IN = 'in'; /** - * The paging access direction. + * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_DIRECTION_VALUES_OUT = 'out'; /** - * The memory paging state. + * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_STATE_VALUES_USED = 'used'; /** - * The memory paging state. + * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_STATE_VALUES_FREE = 'free'; /** - * The memory paging type. + * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_TYPE_VALUES_MAJOR = 'major'; /** - * The memory paging type. + * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_TYPE_VALUES_MINOR = 'minor'; /** - * The filesystem state. + * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_STATE_VALUES_USED = 'used'; /** - * The filesystem state. + * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_STATE_VALUES_FREE = 'free'; /** - * The filesystem state. + * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_STATE_VALUES_RESERVED = 'reserved'; /** - * The filesystem type. + * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_FAT32 = 'fat32'; /** - * The filesystem type. + * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXFAT = 'exfat'; /** - * The filesystem type. + * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_NTFS = 'ntfs'; /** - * The filesystem type. + * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_REFS = 'refs'; /** - * The filesystem type. + * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_HFSPLUS = 'hfsplus'; /** - * The filesystem type. + * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXT4 = 'ext4'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_CLOSE = 'close'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_CLOSE_WAIT = 'close_wait'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_CLOSING = 'closing'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_DELETE = 'delete'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_ESTABLISHED = 'established'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_1 = 'fin_wait_1'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_2 = 'fin_wait_2'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_LAST_ACK = 'last_ack'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_LISTEN = 'listen'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_SYN_RECV = 'syn_recv'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_SYN_SENT = 'syn_sent'; /** - * A stateless protocol MUST NOT set this attribute. + * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_TIME_WAIT = 'time_wait'; /** - * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_RUNNING = 'running'; /** - * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_SLEEPING = 'sleeping'; /** - * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_STOPPED = 'stopped'; /** - * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). + * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_DEFUNCT = 'defunct'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4155,45 +4133,35 @@ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_EC2 = 'aws_ec2'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_ECS = 'aws_ecs'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_EKS = 'aws_eks'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_LAMBDA = 'aws_lambda'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4201,36 +4169,28 @@ export const CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_APP_RUNNER = 'aws_app_runner'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_OPENSHIFT = 'aws_openshift'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_VM = 'azure_vm'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4238,9 +4198,7 @@ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS = 'azure_container_apps'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4248,45 +4206,35 @@ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES = 'azure_container_instances'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_AKS = 'azure_aks'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS = 'azure_functions'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE = 'azure_app_service'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_OPENSHIFT = 'azure_openshift'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4294,27 +4242,21 @@ export const CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN = 'gcp_cloud_run'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4322,161 +4264,147 @@ export const CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE = 'gcp_app_engine'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_OPENSHIFT = 'gcp_openshift'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; /** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. + * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; /** - * Name of the cloud provider. + * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; /** - * Name of the cloud provider. + * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_AWS = 'aws'; /** - * Name of the cloud provider. + * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_AZURE = 'azure'; /** - * Name of the cloud provider. + * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_GCP = 'gcp'; /** - * Name of the cloud provider. + * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_HEROKU = 'heroku'; /** - * Name of the cloud provider. + * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_IBM_CLOUD = 'ibm_cloud'; /** - * Name of the cloud provider. + * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; /** - * The CPU state for this data point. + * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CONTAINER_CPU_STATE_VALUES_USER = 'user'; /** - * The CPU state for this data point. + * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CONTAINER_CPU_STATE_VALUES_SYSTEM = 'system'; /** - * The CPU state for this data point. + * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CONTAINER_CPU_STATE_VALUES_KERNEL = 'kernel'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL = 'all'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM = 'each_quorum'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM = 'quorum'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4484,49 +4412,49 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM = 'local_quorum'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE = 'one'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO = 'two'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE = 'three'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE = 'local_one'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY = 'any'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL = 'serial'; /** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4534,119 +4462,119 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL = 'local_serial'; /** - * Cosmos client connection mode. + * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY = 'gateway'; /** - * Cosmos client connection mode. + * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_CONNECTION_MODE_VALUES_DIRECT = 'direct'; /** - * CosmosDB Operation Type. + * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID = 'Invalid'; /** - * CosmosDB Operation Type. + * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_CREATE = 'Create'; /** - * CosmosDB Operation Type. + * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_PATCH = 'Patch'; /** - * CosmosDB Operation Type. + * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ = 'Read'; /** - * CosmosDB Operation Type. + * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ_FEED = 'ReadFeed'; /** - * CosmosDB Operation Type. + * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_DELETE = 'Delete'; /** - * CosmosDB Operation Type. + * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_REPLACE = 'Replace'; /** - * CosmosDB Operation Type. + * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE = 'Execute'; /** - * CosmosDB Operation Type. + * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY = 'Query'; /** - * CosmosDB Operation Type. + * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD = 'Head'; /** - * CosmosDB Operation Type. + * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD_FEED = 'HeadFeed'; /** - * CosmosDB Operation Type. + * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_UPSERT = 'Upsert'; /** - * CosmosDB Operation Type. + * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_BATCH = 'Batch'; /** - * CosmosDB Operation Type. + * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY_PLAN = 'QueryPlan'; /** - * CosmosDB Operation Type. + * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -4654,371 +4582,371 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_OTHER_SQL = 'other_sql'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MSSQL = 'mssql'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MSSQLCOMPACT = 'mssqlcompact'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MYSQL = 'mysql'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_ORACLE = 'oracle'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_DB2 = 'db2'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_POSTGRESQL = 'postgresql'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_REDSHIFT = 'redshift'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HIVE = 'hive'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CLOUDSCAPE = 'cloudscape'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HSQLDB = 'hsqldb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_PROGRESS = 'progress'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MAXDB = 'maxdb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HANADB = 'hanadb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INGRES = 'ingres'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_FIRSTSQL = 'firstsql'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_EDB = 'edb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CACHE = 'cache'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_ADABAS = 'adabas'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_FIREBIRD = 'firebird'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_DERBY = 'derby'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_FILEMAKER = 'filemaker'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INFORMIX = 'informix'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INSTANTDB = 'instantdb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INTERBASE = 'interbase'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MARIADB = 'mariadb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_NETEZZA = 'netezza'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_PERVASIVE = 'pervasive'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_POINTBASE = 'pointbase'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_SQLITE = 'sqlite'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_SYBASE = 'sybase'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_TERADATA = 'teradata'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_VERTICA = 'vertica'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_H2 = 'h2'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COLDFUSION = 'coldfusion'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CASSANDRA = 'cassandra'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HBASE = 'hbase'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MONGODB = 'mongodb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_REDIS = 'redis'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COUCHBASE = 'couchbase'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COUCHDB = 'couchdb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COSMOSDB = 'cosmosdb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_DYNAMODB = 'dynamodb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_NEO4J = 'neo4j'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_GEODE = 'geode'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_ELASTICSEARCH = 'elasticsearch'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MEMCACHED = 'memcached'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COCKROACHDB = 'cockroachdb'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_OPENSEARCH = 'opensearch'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CLICKHOUSE = 'clickhouse'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_SPANNER = 'spanner'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_TRINO = 'trino'; /** - * Deprecated, use `network.protocol.name` instead. + * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5027,7 +4955,7 @@ export const DB_SYSTEM_VALUES_TRINO = 'trino'; export const HTTP_FLAVOR_VALUES_HTTP_1_0 = '1.0'; /** - * Deprecated, use `network.protocol.name` instead. + * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5036,7 +4964,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_1_0 = '1.0'; export const HTTP_FLAVOR_VALUES_HTTP_1_1 = '1.1'; /** - * Deprecated, use `network.protocol.name` instead. + * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5045,7 +4973,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_1_1 = '1.1'; export const HTTP_FLAVOR_VALUES_HTTP_2_0 = '2.0'; /** - * Deprecated, use `network.protocol.name` instead. + * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5054,7 +4982,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_2_0 = '2.0'; export const HTTP_FLAVOR_VALUES_HTTP_3_0 = '3.0'; /** - * Deprecated, use `network.protocol.name` instead. + * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5063,7 +4991,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_3_0 = '3.0'; export const HTTP_FLAVOR_VALUES_SPDY = 'SPDY'; /** - * Deprecated, use `network.protocol.name` instead. + * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5072,7 +5000,7 @@ export const HTTP_FLAVOR_VALUES_SPDY = 'SPDY'; export const HTTP_FLAVOR_VALUES_QUIC = 'QUIC'; /** - * Deprecated, use `network.transport` and `network.type`. + * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5081,7 +5009,7 @@ export const HTTP_FLAVOR_VALUES_QUIC = 'QUIC'; export const NET_SOCK_FAMILY_VALUES_INET = 'inet'; /** - * Deprecated, use `network.transport` and `network.type`. + * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5090,7 +5018,7 @@ export const NET_SOCK_FAMILY_VALUES_INET = 'inet'; export const NET_SOCK_FAMILY_VALUES_INET6 = 'inet6'; /** - * Deprecated, use `network.transport` and `network.type`. + * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5099,7 +5027,7 @@ export const NET_SOCK_FAMILY_VALUES_INET6 = 'inet6'; export const NET_SOCK_FAMILY_VALUES_UNIX = 'unix'; /** - * Deprecated, use `network.transport`. + * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5108,7 +5036,7 @@ export const NET_SOCK_FAMILY_VALUES_UNIX = 'unix'; export const NET_TRANSPORT_VALUES_IP_TCP = 'ip_tcp'; /** - * Deprecated, use `network.transport`. + * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5117,7 +5045,7 @@ export const NET_TRANSPORT_VALUES_IP_TCP = 'ip_tcp'; export const NET_TRANSPORT_VALUES_IP_UDP = 'ip_udp'; /** - * Deprecated, use `network.transport`. + * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5126,7 +5054,7 @@ export const NET_TRANSPORT_VALUES_IP_UDP = 'ip_udp'; export const NET_TRANSPORT_VALUES_PIPE = 'pipe'; /** - * Deprecated, use `network.transport`. + * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5135,7 +5063,7 @@ export const NET_TRANSPORT_VALUES_PIPE = 'pipe'; export const NET_TRANSPORT_VALUES_INPROC = 'inproc'; /** - * Deprecated, use `network.transport`. + * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5144,7 +5072,7 @@ export const NET_TRANSPORT_VALUES_INPROC = 'inproc'; export const NET_TRANSPORT_VALUES_OTHER = 'other'; /** - * Deprecated, use `system.process.status` instead. + * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5153,7 +5081,7 @@ export const NET_TRANSPORT_VALUES_OTHER = 'other'; export const SYSTEM_PROCESSES_STATUS_VALUES_RUNNING = 'running'; /** - * Deprecated, use `system.process.status` instead. + * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5162,7 +5090,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_RUNNING = 'running'; export const SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING = 'sleeping'; /** - * Deprecated, use `system.process.status` instead. + * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5171,7 +5099,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING = 'sleeping'; export const SYSTEM_PROCESSES_STATUS_VALUES_STOPPED = 'stopped'; /** - * Deprecated, use `system.process.status` instead. + * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -5180,237 +5108,217 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_STOPPED = 'stopped'; export const SYSTEM_PROCESSES_STATUS_VALUES_DEFUNCT = 'defunct'; /** - * The disk IO operation direction. + * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DISK_IO_DIRECTION_VALUES_READ = 'read'; /** - * The disk IO operation direction. + * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DISK_IO_DIRECTION_VALUES_WRITE = 'write'; /** - * Describes the type of the operation that was performed on the data. + * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_DOCUMENT_OPERATION_VALUES_INSERT = 'insert'; /** - * Describes the type of the operation that was performed on the data. + * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_DOCUMENT_OPERATION_VALUES_EDIT = 'edit'; /** - * Describes the type of the operation that was performed on the data. + * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_DOCUMENT_OPERATION_VALUES_DELETE = 'delete'; /** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; /** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_AWS = 'aws'; /** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_AZURE = 'azure'; /** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_GCP = 'gcp'; /** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; /** - * Type of the trigger which caused this function invocation. + * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_DATASOURCE = 'datasource'; /** - * Type of the trigger which caused this function invocation. + * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_HTTP = 'http'; /** - * Type of the trigger which caused this function invocation. + * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_PUBSUB = 'pubsub'; /** - * Type of the trigger which caused this function invocation. + * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_TIMER = 'timer'; /** - * Type of the trigger which caused this function invocation. + * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_OTHER = 'other'; /** - * The CPU architecture the host system is running on. + * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_AMD64 = 'amd64'; /** - * The CPU architecture the host system is running on. + * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_ARM32 = 'arm32'; /** - * The CPU architecture the host system is running on. + * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_ARM64 = 'arm64'; /** - * The CPU architecture the host system is running on. + * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_IA64 = 'ia64'; /** - * The CPU architecture the host system is running on. + * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_PPC32 = 'ppc32'; /** - * The CPU architecture the host system is running on. + * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_PPC64 = 'ppc64'; /** - * The CPU architecture the host system is running on. + * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_S390X = 's390x'; /** - * The CPU architecture the host system is running on. + * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_X86 = 'x86'; /** - * State of the HTTP connection in the HTTP connection pool. + * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HTTP_CONNECTION_STATE_VALUES_ACTIVE = 'active'; /** - * State of the HTTP connection in the HTTP connection pool. + * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HTTP_CONNECTION_STATE_VALUES_IDLE = 'idle'; /** - * A string identifying the kind of messaging operation. - * - * Note: If a custom value is used, it MUST be of low cardinality. + * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_PUBLISH = 'publish'; /** - * A string identifying the kind of messaging operation. - * - * Note: If a custom value is used, it MUST be of low cardinality. + * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_CREATE = 'create'; /** - * A string identifying the kind of messaging operation. - * - * Note: If a custom value is used, it MUST be of low cardinality. + * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_RECEIVE = 'receive'; /** - * A string identifying the kind of messaging operation. - * - * Note: If a custom value is used, it MUST be of low cardinality. + * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_DELIVER = 'process'; /** - * A string identifying the kind of messaging operation. - * - * Note: If a custom value is used, it MUST be of low cardinality. + * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_SETTLE = 'settle'; /** - * Model of message consumption. This only applies to consumer spans. + * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5418,7 +5326,7 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING = 'clustering'; /** - * Model of message consumption. This only applies to consumer spans. + * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5426,35 +5334,35 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING = 'broadcasting'; /** - * Type of message. + * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL = 'normal'; /** - * Type of message. + * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_FIFO = 'fifo'; /** - * Type of message. + * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_DELAY = 'delay'; /** - * Type of message. + * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_TRANSACTION = 'transaction'; /** - * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5462,14 +5370,14 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE = 'complete'; /** - * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_ABANDON = 'abandon'; /** - * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5477,126 +5385,126 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER = 'dead_letter'; /** - * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEFER = 'defer'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_ACTIVEMQ = 'activemq'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_AWS_SQS = 'aws_sqs'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_EVENTGRID = 'eventgrid'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_EVENTHUBS = 'eventhubs'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_SERVICEBUS = 'servicebus'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_GCP_PUBSUB = 'gcp_pubsub'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_JMS = 'jms'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_KAFKA = 'kafka'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_RABBITMQ = 'rabbitmq'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_ROCKETMQ = 'rocketmq'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS = 'gprs'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EDGE = 'edge'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_UMTS = 'umts'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA = 'cdma'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_0 = 'evdo_0'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_A = 'evdo_a'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5604,245 +5512,245 @@ export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT = 'cdma2000_1xrtt'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSDPA = 'hsdpa'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSUPA = 'hsupa'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPA = 'hspa'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_IDEN = 'iden'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_B = 'evdo_b'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE = 'lte'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EHRPD = 'ehrpd'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPAP = 'hspap'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_GSM = 'gsm'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_TD_SCDMA = 'td_scdma'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_IWLAN = 'iwlan'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_NR = 'nr'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_NRNSA = 'nrnsa'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE_CA = 'lte_ca'; /** - * The internet connection type. + * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_WIFI = 'wifi'; /** - * The internet connection type. + * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_WIRED = 'wired'; /** - * The internet connection type. + * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_CELL = 'cell'; /** - * The internet connection type. + * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_UNAVAILABLE = 'unavailable'; /** - * The internet connection type. + * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_UNKNOWN = 'unknown'; /** - * The network IO operation direction. + * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_IO_DIRECTION_VALUES_TRANSMIT = 'transmit'; /** - * The network IO operation direction. + * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_IO_DIRECTION_VALUES_RECEIVE = 'receive'; /** - * The operating system type. + * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_WINDOWS = 'windows'; /** - * The operating system type. + * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_LINUX = 'linux'; /** - * The operating system type. + * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_DARWIN = 'darwin'; /** - * The operating system type. + * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_FREEBSD = 'freebsd'; /** - * The operating system type. + * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_NETBSD = 'netbsd'; /** - * The operating system type. + * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_OPENBSD = 'openbsd'; /** - * The operating system type. + * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_DRAGONFLYBSD = 'dragonflybsd'; /** - * The operating system type. + * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_HPUX = 'hpux'; /** - * The operating system type. + * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_AIX = 'aix'; /** - * The operating system type. + * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_SOLARIS = 'solaris'; /** - * The operating system type. + * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_Z_OS = 'z_os'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED = 'cancelled'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNKNOWN = 'unknown'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5850,7 +5758,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT = 'invalid_argument'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5858,14 +5766,14 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED = 'deadline_exceeded'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_NOT_FOUND = 'not_found'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5873,7 +5781,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS = 'already_exists'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5881,7 +5789,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED = 'permission_denied'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5889,7 +5797,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED = 'resource_exhausted'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5897,49 +5805,49 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION = 'failed_precondition'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ABORTED = 'aborted'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_OUT_OF_RANGE = 'out_of_range'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNIMPLEMENTED = 'unimplemented'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INTERNAL = 'internal'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAVAILABLE = 'unavailable'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DATA_LOSS = 'data_loss'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -5947,235 +5855,231 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED = 'unauthenticated'; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_OK = 0; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_CANCELLED = 1; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN = 2; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT = 3; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED = 4; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND = 5; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS = 6; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED = 7; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED = 8; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION = 9; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_ABORTED = 10; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE = 11; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED = 12; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_INTERNAL = 13; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE = 14; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS = 15; /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED = 16; /** - * A string identifying the remoting system. See below for a list of well-known identifiers. + * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_GRPC = 'grpc'; /** - * A string identifying the remoting system. See below for a list of well-known identifiers. + * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_JAVA_RMI = 'java_rmi'; /** - * A string identifying the remoting system. See below for a list of well-known identifiers. + * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_DOTNET_WCF = 'dotnet_wcf'; /** - * A string identifying the remoting system. See below for a list of well-known identifiers. + * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_APACHE_DUBBO = 'apache_dubbo'; /** - * A string identifying the remoting system. See below for a list of well-known identifiers. + * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_CONNECT_RPC = 'connect_rpc'; /** - * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). + * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const TLS_PROTOCOL_NAME_VALUES_SSL = 'ssl'; /** - * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). + * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const TLS_PROTOCOL_NAME_VALUES_TLS = 'tls'; /** - * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const AWS_ECS_LAUNCHTYPE_VALUES_EC2 = 'ec2'; /** - * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const AWS_ECS_LAUNCHTYPE_VALUES_FARGATE = 'fargate'; /** - * Parent-child Reference type. - * - * Note: The causal relationship between a child Span and a parent Span. + * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OPENTRACING_REF_TYPE_VALUES_CHILD_OF = 'child_of'; /** - * Parent-child Reference type. - * - * Note: The causal relationship between a child Span and a parent Span. + * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OPENTRACING_REF_TYPE_VALUES_FOLLOWS_FROM = 'follows_from'; /** - * The type of the operation being executed. + * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const GRAPHQL_OPERATION_TYPE_VALUES_QUERY = 'query'; /** - * The type of the operation being executed. + * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const GRAPHQL_OPERATION_TYPE_VALUES_MUTATION = 'mutation'; /** - * The type of the operation being executed. + * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const GRAPHQL_OPERATION_TYPE_VALUES_SUBSCRIPTION = 'subscription'; /** - * Whether this is a received or sent message. + * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGE_TYPE_VALUES_SENT = 'SENT'; /** - * Whether this is a received or sent message. + * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index 1df33a8c6c..e2fce3f4e8 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -570,474 +570,280 @@ export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; /** - * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_ACQUIRED = 'acquired'; /** - * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_ENDPOINT_LIMITER = 'endpoint_limiter'; /** - * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_GLOBAL_LIMITER = 'global_limiter'; /** - * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. + * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_REQUEST_CANCELED = 'request_canceled'; /** - * Match result - success or failure. + * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUES_SUCCESS = 'success'; /** - * Match result - success or failure. + * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUES_FAILURE = 'failure'; /** - * ASP.NET Core exception middleware handling result. + * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_HANDLED = 'handled'; /** - * ASP.NET Core exception middleware handling result. + * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_UNHANDLED = 'unhandled'; /** - * ASP.NET Core exception middleware handling result. + * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_SKIPPED = 'skipped'; /** - * ASP.NET Core exception middleware handling result. + * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_ABORTED = 'aborted'; /** - * SignalR HTTP connection closure status. + * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ export const SIGNALR_CONNECTION_STATUS_VALUES_NORMAL_CLOSURE = 'normal_closure'; /** - * SignalR HTTP connection closure status. + * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ export const SIGNALR_CONNECTION_STATUS_VALUES_TIMEOUT = 'timeout'; /** - * SignalR HTTP connection closure status. + * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ export const SIGNALR_CONNECTION_STATUS_VALUES_APP_SHUTDOWN = 'app_shutdown'; /** - * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ export const SIGNALR_TRANSPORT_VALUES_SERVER_SENT_EVENTS = 'server_sent_events'; /** - * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ export const SIGNALR_TRANSPORT_VALUES_LONG_POLLING = 'long_polling'; /** - * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). + * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ export const SIGNALR_TRANSPORT_VALUES_WEB_SOCKETS = 'web_sockets'; /** - * The type of memory. + * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ export const JVM_MEMORY_TYPE_VALUES_HEAP = 'heap'; /** - * The type of memory. + * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ export const JVM_MEMORY_TYPE_VALUES_NON_HEAP = 'non_heap'; /** - * State of the thread. + * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. */ export const JVM_THREAD_STATE_VALUES_NEW = 'new'; /** - * State of the thread. + * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. */ export const JVM_THREAD_STATE_VALUES_RUNNABLE = 'runnable'; /** - * State of the thread. + * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. */ export const JVM_THREAD_STATE_VALUES_BLOCKED = 'blocked'; /** - * State of the thread. + * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ export const JVM_THREAD_STATE_VALUES_WAITING = 'waiting'; /** - * State of the thread. + * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ export const JVM_THREAD_STATE_VALUES_TIMED_WAITING = 'timed_waiting'; /** - * State of the thread. + * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. */ export const JVM_THREAD_STATE_VALUES_TERMINATED = 'terminated'; /** - * Describes a class of error the operation ended with. - * - * Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. -Instrumentations SHOULD document the list of errors they report. - -The cardinality of `error.type` within one instrumentation library SHOULD be low. -Telemetry consumers that aggregate data from multiple instrumentation libraries and applications -should be prepared for `error.type` to have high cardinality at query time when no -additional filters are applied. - -If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. - -If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), -it's RECOMMENDED to: - -* Use a domain-specific attribute -* Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. + * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. */ export const ERROR_TYPE_VALUES_OTHER = '_OTHER'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_CONNECT = 'CONNECT'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_DELETE = 'DELETE'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_GET = 'GET'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_HEAD = 'HEAD'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_OPTIONS = 'OPTIONS'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_PATCH = 'PATCH'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_POST = 'POST'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_PUT = 'PUT'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_TRACE = 'TRACE'; /** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ export const HTTP_REQUEST_METHOD_VALUES_OTHER = '_OTHER'; /** - * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). - * - * Note: The value SHOULD be normalized to lowercase. - -Consider always setting the transport when setting a port number, since -a port number is ambiguous without knowing the transport. For example -different processes could be listening on TCP port 12345 and UDP port 12345. + * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ export const NETWORK_TRANSPORT_VALUES_TCP = 'tcp'; /** - * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). - * - * Note: The value SHOULD be normalized to lowercase. - -Consider always setting the transport when setting a port number, since -a port number is ambiguous without knowing the transport. For example -different processes could be listening on TCP port 12345 and UDP port 12345. + * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ export const NETWORK_TRANSPORT_VALUES_UDP = 'udp'; /** - * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). - * - * Note: The value SHOULD be normalized to lowercase. - -Consider always setting the transport when setting a port number, since -a port number is ambiguous without knowing the transport. For example -different processes could be listening on TCP port 12345 and UDP port 12345. + * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ export const NETWORK_TRANSPORT_VALUES_PIPE = 'pipe'; /** - * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). - * - * Note: The value SHOULD be normalized to lowercase. - -Consider always setting the transport when setting a port number, since -a port number is ambiguous without knowing the transport. For example -different processes could be listening on TCP port 12345 and UDP port 12345. + * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ export const NETWORK_TRANSPORT_VALUES_UNIX = 'unix'; /** - * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. - * - * Note: The value SHOULD be normalized to lowercase. + * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. */ export const NETWORK_TYPE_VALUES_IPV4 = 'ipv4'; /** - * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. - * - * Note: The value SHOULD be normalized to lowercase. + * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. */ export const NETWORK_TYPE_VALUES_IPV6 = 'ipv6'; /** - * The language of the telemetry SDK. + * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_CPP = 'cpp'; /** - * The language of the telemetry SDK. + * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET = 'dotnet'; /** - * The language of the telemetry SDK. + * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG = 'erlang'; /** - * The language of the telemetry SDK. + * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_GO = 'go'; /** - * The language of the telemetry SDK. + * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_JAVA = 'java'; /** - * The language of the telemetry SDK. + * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS = 'nodejs'; /** - * The language of the telemetry SDK. + * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_PHP = 'php'; /** - * The language of the telemetry SDK. + * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON = 'python'; /** - * The language of the telemetry SDK. + * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_RUBY = 'ruby'; /** - * The language of the telemetry SDK. + * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_RUST = 'rust'; /** - * The language of the telemetry SDK. + * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_SWIFT = 'swift'; /** - * The language of the telemetry SDK. + * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ export const TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS = 'webjs'; /** - * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. + * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ export const OTEL_STATUS_CODE_VALUES_OK = 'OK'; /** - * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. + * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ export const OTEL_STATUS_CODE_VALUES_ERROR = 'ERROR'; diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 964a904a8d..c18d8ab3a8 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -80,11 +80,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", {%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} /** - * {% filter escape %}{{attribute.brief | to_doc_brief}}.{% endfilter %} - {%- if attribute.note %} - * - * Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} - {%- endif %} + * Enum value {{ print_value(type, member.value) }} for attribute {@link ATTR_{{ attribute.fqn | to_const_name }}}. {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. From f72598e93e18d5ec3be53c4d3bd18b6fccb018a6 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 10 May 2024 09:11:01 -0400 Subject: [PATCH 06/47] Remove commented code --- scripts/semconv/generate.sh | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index c8e6071d4c..da26a1ccb8 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -47,32 +47,6 @@ docker run --rm --platform linux/amd64 \ -Dclass=SemanticAttributes \ -Dfilter=is_experimental -# docker run --rm --platform linux/amd64 \ -# -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ -# -v ${SCRIPT_DIR}/templates:/templates \ -# -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/resource/:/output \ -# otel/semconvgen:${GENERATOR_VERSION} \ -# --only resource \ -# --yaml-root /source \ -# code \ -# --template /templates/SemanticAttributes.ts.j2 \ -# --output /output/SemanticResourceAttributes.ts \ -# -Dclass=SemanticResourceAttributes \ -# -Dcls_prefix=SEMRESATTRS - -# docker run --rm --platform linux/amd64 \ -# -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ -# -v ${SCRIPT_DIR}/templates:/templates \ -# -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/metric/:/output \ -# otel/semconvgen:${GENERATOR_VERSION} \ -# --only metric \ -# --yaml-root /source \ -# code \ -# --template /templates/SemanticAttributes.ts.j2 \ -# --output /output/SemanticMetricAttributes.ts \ -# -Dclass=SemanticMetricAttributes \ -# -Dcls_prefix=SEMMTRCSATTRS - # Run the automatic linting fixing task to ensure it will pass eslint cd "$ROOT_DIR" From 7036118fedf8f9ca06ed7f731235895b61b6e247 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 21 May 2024 14:16:54 -0400 Subject: [PATCH 07/47] Remove errant file --- packages/opentelemetry-semantic-conventions/.size-limit.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 packages/opentelemetry-semantic-conventions/.size-limit.json diff --git a/packages/opentelemetry-semantic-conventions/.size-limit.json b/packages/opentelemetry-semantic-conventions/.size-limit.json deleted file mode 100644 index 8728a4f848..0000000000 --- a/packages/opentelemetry-semantic-conventions/.size-limit.json +++ /dev/null @@ -1 +0,0 @@ -[{"path":"./build/esm/index.js","import":"{ SEMATTRS_NET_TRANSPORT, SEMATTRS_NET_PEER_IP, SEMATTRS_NET_PEER_PORT, SEMATTRS_NET_PEER_NAME, SEMATTRS_NET_HOST_IP, SEMATTRS_NET_HOST_PORT, SEMATTRS_NET_HOST_NAME, SEMATTRS_NET_HOST_CONNECTION_TYPE, SEMATTRS_NET_HOST_CONNECTION_SUBTYPE, SEMATTRS_NET_HOST_CARRIER_NAME, SEMATTRS_NET_HOST_CARRIER_MCC, SEMATTRS_NET_HOST_CARRIER_MNC, SEMATTRS_NET_HOST_CARRIER_ICC, NETTRANSPORTVALUES_IP_TCP, NETTRANSPORTVALUES_IP_UDP, NETTRANSPORTVALUES_IP, NETTRANSPORTVALUES_UNIX, NETTRANSPORTVALUES_PIPE, NETTRANSPORTVALUES_INPROC, NETTRANSPORTVALUES_OTHER, NETHOSTCONNECTIONTYPEVALUES_WIFI, NETHOSTCONNECTIONTYPEVALUES_WIRED, NETHOSTCONNECTIONTYPEVALUES_CELL, NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE, NETHOSTCONNECTIONTYPEVALUES_UNKNOWN, NETHOSTCONNECTIONSUBTYPEVALUES_GPRS, NETHOSTCONNECTIONSUBTYPEVALUES_EDGE, NETHOSTCONNECTIONSUBTYPEVALUES_UMTS, NETHOSTCONNECTIONSUBTYPEVALUES_CDMA, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A, NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT, NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA, NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA, NETHOSTCONNECTIONSUBTYPEVALUES_HSPA, NETHOSTCONNECTIONSUBTYPEVALUES_IDEN, NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B, NETHOSTCONNECTIONSUBTYPEVALUES_LTE, NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD, NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP, NETHOSTCONNECTIONSUBTYPEVALUES_GSM, NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA, NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN, NETHOSTCONNECTIONSUBTYPEVALUES_NR, NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA, NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA }","name":"esm-net","gzip":false,"brotli":false}] \ No newline at end of file From 07278dff8471256dbb221353433122ebb2cf1e6e Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 21 May 2024 14:21:04 -0400 Subject: [PATCH 08/47] Remove class name --- scripts/semconv/generate.sh | 2 -- scripts/semconv/templates/SemanticAttributes.ts.j2 | 4 ---- 2 files changed, 6 deletions(-) diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index da26a1ccb8..c0365698da 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -32,7 +32,6 @@ docker run --rm --platform linux/amd64 \ code \ --template /templates/SemanticAttributes.ts.j2 \ --output /output/stable.ts \ - -Dclass=SemanticAttributes \ -Dfilter=is_stable docker run --rm --platform linux/amd64 \ @@ -44,7 +43,6 @@ docker run --rm --platform linux/amd64 \ code \ --template /templates/SemanticAttributes.ts.j2 \ --output /output/experimental.ts \ - -Dclass=SemanticAttributes \ -Dfilter=is_experimental # Run the automatic linting fixing task to ensure it will pass eslint diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index c18d8ab3a8..ee5c0cc473 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -22,10 +22,6 @@ // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/{{template}} //---------------------------------------------------------------------------------------------------------- -//---------------------------------------------------------------------------------------------------------- -// Constant values for {{class}} -//---------------------------------------------------------------------------------------------------------- - {%- set filtered_attributes = attributes | select(filter) | list %} {%- set filtered_metrics = metrics | select(filter) | list %} From 727d23e4d8c4671a82a64f7ac0088bbd76a3eaf4 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 21 May 2024 14:27:26 -0400 Subject: [PATCH 09/47] Blank line between metrics --- .../src/experimental.ts | 92 ++++++++++++++++++- .../src/stable.ts | 33 ++++++- scripts/semconv/generate.sh | 1 - .../templates/SemanticAttributes.ts.j2 | 1 + 4 files changed, 120 insertions(+), 7 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index efcb443778..3b70d4424f 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -18,9 +18,6 @@ // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- -//---------------------------------------------------------------------------------------------------------- -// Constant values for SemanticAttributes -//---------------------------------------------------------------------------------------------------------- /** * Total CPU time consumed. * @@ -29,6 +26,7 @@ * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; + /** * Disk bytes for the container. * @@ -37,6 +35,7 @@ export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; + /** * Memory usage of the container. * @@ -45,6 +44,7 @@ export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; + /** * Network bytes for the container. * @@ -53,6 +53,7 @@ export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; + /** * The time it took to create a new connection. * @@ -60,6 +61,7 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; */ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; + /** * The maximum number of idle open connections allowed. * @@ -67,6 +69,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; + /** * The minimum number of idle open connections allowed. * @@ -74,12 +77,14 @@ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; + /** * The maximum number of open connections allowed. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; + /** * The number of pending requests for an open connection, cumulative for the entire pool. * @@ -87,6 +92,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; */ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; + /** * The number of connection timeouts that have occurred trying to obtain a connection from the pool. * @@ -94,12 +100,14 @@ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = */ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; + /** * The number of connections that are currently in state described by the `state` attribute. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; + /** * The time between borrowing a connection and returning it to the pool. * @@ -107,6 +115,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; */ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; + /** * The time it took to obtain an open connection from the pool. * @@ -114,72 +123,84 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = */ export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time'; + /** * Measures the time taken to perform a DNS lookup. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; + /** * Number of invocation cold starts. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; + /** * Distribution of CPU usage per invocation. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage'; + /** * Number of invocation errors. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_ERRORS = 'faas.errors'; + /** * Measures the duration of the function's initialization, such as a cold start. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration'; + /** * Number of successful invocations. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; + /** * Measures the duration of the function's logic execution. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration'; + /** * Distribution of max memory usage per invocation. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage'; + /** * Distribution of net I/O usage per invocation. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_NET_IO = 'faas.net_io'; + /** * Number of invocation timeouts. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; + /** * Number of active HTTP requests. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; + /** * The duration of the successfully established outbound HTTP connections. * @@ -187,6 +208,7 @@ export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; */ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration'; + /** * Number of outbound HTTP connections that are currently active or idle on the client. * @@ -194,6 +216,7 @@ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = */ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections'; + /** * Size of HTTP client request bodies. * @@ -203,6 +226,7 @@ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = */ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size'; + /** * Size of HTTP client response bodies. * @@ -212,12 +236,14 @@ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = */ export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size'; + /** * Number of active HTTP server requests. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; + /** * Size of HTTP server request bodies. * @@ -227,6 +253,7 @@ export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; */ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size'; + /** * Size of HTTP server response bodies. * @@ -236,30 +263,35 @@ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = */ export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size'; + /** * Number of buffers in the pool. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; + /** * Measure of total memory capacity of buffers. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; + /** * Measure of memory used by buffers. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; + /** * Measure of initial memory requested. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; + /** * Average CPU load of the whole system for the last minute as reported by the JVM. * @@ -268,6 +300,7 @@ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; + /** * Recent CPU utilization for the whole system as reported by the JVM. * @@ -276,84 +309,98 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; + /** * Measures the duration of process operation. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; + /** * Measures the number of processed messages. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; + /** * Measures the duration of publish operation. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; + /** * Measures the number of published messages. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; + /** * Measures the duration of receive operation. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; + /** * Measures the number of received messages. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; + /** * Number of times the process has been context switched. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches'; + /** * Total CPU seconds broken down by different states. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time'; + /** * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization'; + /** * Disk bytes transferred. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_DISK_IO = 'process.disk.io'; + /** * The amount of physical memory in use. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; + /** * The amount of committed virtual memory. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; + /** * Network bytes transferred. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_NETWORK_IO = 'process.network.io'; + /** * Number of file descriptors in use by the process. * @@ -361,18 +408,21 @@ export const METRIC_PROCESS_NETWORK_IO = 'process.network.io'; */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; + /** * Process threads count. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; + /** * Measures the duration of outbound RPC. * @@ -384,6 +434,7 @@ to end-of-batch, it's hard to interpret in practice. * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; + /** * Measures the size of RPC request messages (uncompressed). * @@ -392,6 +443,7 @@ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; + /** * Measures the number of messages received per RPC. * @@ -402,6 +454,7 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; + /** * Measures the size of RPC response messages (uncompressed). * @@ -410,6 +463,7 @@ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; + /** * Measures the number of messages sent per RPC. * @@ -421,6 +475,7 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; */ export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc'; + /** * Measures the duration of inbound RPC. * @@ -432,6 +487,7 @@ to end-of-batch, it's hard to interpret in practice. * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; + /** * Measures the size of RPC request messages (uncompressed). * @@ -440,6 +496,7 @@ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; + /** * Measures the number of messages received per RPC. * @@ -450,6 +507,7 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; + /** * Measures the size of RPC response messages (uncompressed). * @@ -458,6 +516,7 @@ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; + /** * Measures the number of messages sent per RPC. * @@ -469,42 +528,49 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; + /** * Time disk spent activated. * @@ -518,12 +584,14 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; + /** * Sum of the time each operation took to complete. * @@ -535,18 +603,21 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; + /** * . * @@ -554,6 +625,7 @@ export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; */ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization'; + /** * An estimate of how much memory is available for starting new applications, without causing swapping. * @@ -567,6 +639,7 @@ See also `MemAvailable` in [/proc/meminfo](https://man7.org/linux/man-pages/man5 */ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available'; + /** * Total memory available in the system. * @@ -575,6 +648,7 @@ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; + /** * Reports memory in use by state. * @@ -584,18 +658,21 @@ available on the system, that is `system.memory.limit`. * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; + /** * Count of packets that are dropped or discarded even though there was no error. * @@ -608,6 +685,7 @@ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; + /** * Count of network errors detected. * @@ -620,48 +698,56 @@ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; + /** * Unix swap or windows pagefile usage. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; + /** * . * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; + /** * Total number of processes in each state. * * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count'; + /** * Total number of processes created over uptime of the host. * diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index e2fce3f4e8..b2870a55d7 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -18,9 +18,6 @@ // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- -//---------------------------------------------------------------------------------------------------------- -// Constant values for SemanticAttributes -//---------------------------------------------------------------------------------------------------------- /** * Number of exceptions caught by exception handling middleware. * @@ -28,6 +25,7 @@ */ export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions'; + /** * Number of requests that are currently active on the server that hold a rate limiting lease. * @@ -35,6 +33,7 @@ export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = */ export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases'; + /** * Number of requests that are currently queued, waiting to acquire a rate limiting lease. * @@ -42,6 +41,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = */ export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests'; + /** * The time the request spent in a queue waiting to acquire a rate limiting lease. * @@ -49,6 +49,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue'; + /** * The duration of rate limiting lease held by requests on the server. * @@ -56,6 +57,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'; + /** * Number of requests that tried to acquire a rate limiting lease. * @@ -68,6 +70,7 @@ Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'; + /** * Number of requests that were attempted to be matched to an endpoint. * @@ -75,73 +78,89 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = */ export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts'; + /** * Duration of HTTP client requests. */ export const METRIC_HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration'; + /** * Duration of HTTP server requests. */ export const METRIC_HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration'; + /** * Number of classes currently loaded. */ export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count'; + /** * Number of classes loaded since JVM start. */ export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded'; + /** * Number of classes unloaded since JVM start. */ export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded'; + /** * Number of processors available to the Java virtual machine. */ export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count'; + /** * Recent CPU utilization for the process as reported by the JVM. * * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). */ export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization'; + /** * CPU time used by the process as reported by the JVM. */ export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time'; + /** * Duration of JVM garbage collection actions. */ export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration'; + /** * Measure of memory committed. */ export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed'; + /** * Measure of max obtainable memory. */ export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit'; + /** * Measure of memory used. */ export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used'; + /** * Measure of memory used, as measured after the most recent garbage collection event on this pool. */ export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = 'jvm.memory.used_after_last_gc'; + /** * Number of executing platform threads. */ export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count'; + /** * Number of connections that are currently active on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; + /** * Number of TLS handshakes that are currently in progress on the server. * @@ -149,24 +168,28 @@ export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; */ export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = 'kestrel.active_tls_handshakes'; + /** * The duration of connections on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration'; + /** * Number of connections that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections'; + /** * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; + /** * Number of connections rejected by the server. * @@ -175,6 +198,7 @@ Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections'; + /** * The duration of TLS handshakes on the server. * @@ -182,6 +206,7 @@ export const METRIC_KESTREL_REJECTED_CONNECTIONS = */ export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration'; + /** * Number of connections that are currently upgraded (WebSockets). . * @@ -191,6 +216,7 @@ Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections'; + /** * Number of connections that are currently active on the server. * @@ -198,6 +224,7 @@ export const METRIC_KESTREL_UPGRADED_CONNECTIONS = */ export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_connections'; + /** * The duration of connections on the server. * diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index c0365698da..73acc7662b 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -52,4 +52,3 @@ npm run lint:fix:changed # Run the size checks for the generated files cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" -npm run size-check \ No newline at end of file diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index ee5c0cc473..26e24e0e19 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -26,6 +26,7 @@ {%- set filtered_metrics = metrics | select(filter) | list %} {%- for metric in filtered_metrics %} + /** * {% filter escape %}{{metric.brief | to_doc_brief}}.{% endfilter %} {%- if metric.note %} From 79738a4a477cf78075633e83a616c14026f33086 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 21 May 2024 14:36:03 -0400 Subject: [PATCH 10/47] Fix newlines --- .../src/experimental.ts | 636 +++++++++--------- .../src/stable.ts | 204 +++--- .../templates/SemanticAttributes.ts.j2 | 14 +- 3 files changed, 427 insertions(+), 427 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index 3b70d4424f..177da81d68 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -424,15 +424,15 @@ export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; /** -* 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. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; /** @@ -445,14 +445,14 @@ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; export const 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. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; /** @@ -465,27 +465,27 @@ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; export const 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. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const 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. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; /** @@ -498,14 +498,14 @@ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; export const 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. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; /** @@ -518,14 +518,14 @@ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; export const 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. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc'; @@ -572,17 +572,17 @@ export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; export const 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`. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; /** @@ -593,15 +593,15 @@ export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; export const 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). + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; /** @@ -627,16 +627,16 @@ export const 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). + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available'; @@ -650,13 +650,13 @@ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; /** -* 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`. + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; /** @@ -674,29 +674,29 @@ export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; export const 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). + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const 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). + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; /** @@ -765,13 +765,13 @@ export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; export const ATTR_EVENT_NAME = 'event.name'; /** -* A unique identifier for the Log Record. -* -* Note: If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. -The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. + * A unique identifier for the Log Record. + * + * Note: If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. + * The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_LOG_RECORD_UID = 'log.record.uid'; /** @@ -1161,13 +1161,13 @@ export const ATTR_BROWSER_LANGUAGE = 'browser.language'; export const ATTR_BROWSER_MOBILE = 'browser.mobile'; /** -* The platform on which the browser is running. -* -* Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent. -The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. + * The platform on which the browser is running. + * + * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent. + * The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_BROWSER_PLATFORM = 'browser.platform'; /** @@ -1212,28 +1212,28 @@ export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; export const ATTR_CLOUD_REGION = 'cloud.region'; /** -* Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP). -* -* Note: On some cloud providers, it may not be possible to determine the full ID at startup, -so it may be necessary to set `cloud.resource_id` as a span attribute instead. - -The exact value to use for `cloud.resource_id` depends on the cloud provider. -The following well-known definitions MUST be used if you set this attribute and they apply: - -* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). - Take care not to use the "invoked ARN" directly but replace any - [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) - with the resolved function version, as the same runtime instance may be invokable with - multiple different aliases. -* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names) -* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function, - *not* the function app, having the form - `/subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`. - This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share - a TracerProvider. + * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP). + * + * Note: On some cloud providers, it may not be possible to determine the full ID at startup, + * so it may be necessary to set `cloud.resource_id` as a span attribute instead. + * + * The exact value to use for `cloud.resource_id` depends on the cloud provider. + * The following well-known definitions MUST be used if you set this attribute and they apply: + * + * * **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + * Take care not to use the "invoked ARN" directly but replace any + * [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) + * with the resolved function version, as the same runtime instance may be invokable with + * multiple different aliases. + * * **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names) + * * **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function, + * *not* the function app, having the form + * `/subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`. + * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share + * a TracerProvider. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; /** @@ -1352,14 +1352,14 @@ export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; export const ATTR_CONTAINER_ID = 'container.id'; /** -* Runtime specific image identifier. Usually a hash algorithm followed by a UUID. -* -* Note: Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. -K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. -The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. + * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. + * + * Note: Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. + * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. + * The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; /** @@ -1596,18 +1596,18 @@ export const ATTR_DB_SYSTEM = 'db.system'; export const ATTR_DB_USER = 'db.user'; /** -* Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). -* -* Note: `deployment.environment` does not affect the uniqueness constraints defined through -the `service.namespace`, `service.name` and `service.instance.id` resource attributes. -This implies that resources carrying the following attribute combinations MUST be -considered to be identifying the same service: - -* `service.name=frontend`, `deployment.environment=production` -* `service.name=frontend`, `deployment.environment=staging`. + * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). + * + * Note: `deployment.environment` does not affect the uniqueness constraints defined through + * the `service.namespace`, `service.name` and `service.instance.id` resource attributes. + * This implies that resources carrying the following attribute combinations MUST be + * considered to be identifying the same service: + * + * * `service.name=frontend`, `deployment.environment=production` + * * `service.name=frontend`, `deployment.environment=staging`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; /** @@ -2038,27 +2038,27 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; /** -* The name of the single function that this runtime instance executes. -* -* Note: This is the name of the function as configured/deployed on the FaaS -platform and is usually different from the name of the callback -function (which may be stored in the -[`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes) -span attributes). - -For some cloud providers, the above definition is ambiguous. The following -definition of function name MUST be used for this attribute -(and consequently the span name) for the listed cloud providers/products: - -* **Azure:** The full name `<FUNCAPP>/<FUNC>`, i.e., function app name - followed by a forward slash followed by the function name (this form - can also be seen in the resource JSON for the function). - This means that a span attribute MUST be used, as an Azure function - app can host multiple functions that would usually share - a TracerProvider (see also the `cloud.resource_id` attribute). + * The name of the single function that this runtime instance executes. + * + * Note: This is the name of the function as configured/deployed on the FaaS + * platform and is usually different from the name of the callback + * function (which may be stored in the + * [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes) + * span attributes). + * + * For some cloud providers, the above definition is ambiguous. The following + * definition of function name MUST be used for this attribute + * (and consequently the span name) for the listed cloud providers/products: + * + * * **Azure:** The full name `<FUNCAPP>/<FUNC>`, i.e., function app name + * followed by a forward slash followed by the function name (this form + * can also be seen in the resource JSON for the function). + * This means that a span attribute MUST be used, as an Azure function + * app can host multiple functions that would usually share + * a TracerProvider (see also the `cloud.resource_id` attribute). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_FAAS_NAME = 'faas.name'; /** @@ -2076,20 +2076,20 @@ export const ATTR_FAAS_TIME = 'faas.time'; export const ATTR_FAAS_TRIGGER = 'faas.trigger'; /** -* The immutable version of the function being executed. -* -* Note: Depending on the cloud provider and platform, use: - -* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) - (an integer represented as a decimal string). -* **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) - (i.e., the function name plus the revision suffix). -* **Google Cloud Functions:** The value of the - [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). -* **Azure Functions:** Not applicable. Do not set this attribute. + * The immutable version of the function being executed. + * + * Note: Depending on the cloud provider and platform, use: + * + * * **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) + * (an integer represented as a decimal string). + * * **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) + * (i.e., the function name plus the revision suffix). + * * **Google Cloud Functions:** The value of the + * [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). + * * **Azure Functions:** Not applicable. Do not set this attribute. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_FAAS_VERSION = 'faas.version'; /** @@ -2107,19 +2107,19 @@ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; /** -* SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. -* -* Note: A semantic identifier, commonly referred to as a variant, provides a means -for referring to a value without including the value itself. This can -provide additional context for understanding the meaning behind a value. -For example, the variant `red` maybe be used for the value `#c05543`. - -A stringified version of the value can be used in situations where a -semantic identifier is unavailable. String representation of the value -should be determined by the implementer. + * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. + * + * Note: A semantic identifier, commonly referred to as a variant, provides a means + * for referring to a value without including the value itself. This can + * provide additional context for understanding the meaning behind a value. + * For example, the variant `red` maybe be used for the value `#c05543`. + * + * A stringified version of the value can be used in situations where a + * semantic identifier is unavailable. String representation of the value + * should be determined by the implementer. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; /** @@ -2341,33 +2341,33 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; /** -* A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. -* -* Note: K8s doesn't have support for obtaining a cluster ID. If this is ever -added, we will recommend collecting the `k8s.cluster.uid` through the -official APIs. In the meantime, we are able to use the `uid` of the -`kube-system` namespace as a proxy for cluster ID. Read on for the -rationale. - -Every object created in a K8s cluster is assigned a distinct UID. The -`kube-system` namespace is used by Kubernetes itself and will exist -for the lifetime of the cluster. Using the `uid` of the `kube-system` -namespace is a reasonable proxy for the K8s ClusterID as it will only -change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are -UUIDs as standardized by -[ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). -Which states: - -> If generated according to one of the mechanisms defined in Rec. - ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be - different from all other UUIDs generated before 3603 A.D., or is - extremely likely to be different (depending on the mechanism chosen). - -Therefore, UIDs between clusters should be extremely unlikely to -conflict. + * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. + * + * Note: K8s doesn't have support for obtaining a cluster ID. If this is ever + * added, we will recommend collecting the `k8s.cluster.uid` through the + * official APIs. In the meantime, we are able to use the `uid` of the + * `kube-system` namespace as a proxy for cluster ID. Read on for the + * rationale. + * + * Every object created in a K8s cluster is assigned a distinct UID. The + * `kube-system` namespace is used by Kubernetes itself and will exist + * for the lifetime of the cluster. Using the `uid` of the `kube-system` + * namespace is a reasonable proxy for the K8s ClusterID as it will only + * change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are + * UUIDs as standardized by + * [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). + * Which states: + * + * > If generated according to one of the mechanisms defined in Rec. + * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be + * different from all other UUIDs generated before 3603 A.D., or is + * extremely likely to be different (depending on the mechanism chosen). + * + * Therefore, UIDs between clusters should be extremely unlikely to + * conflict. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; /** @@ -2529,13 +2529,13 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; /** -* The message destination name. -* -* Note: Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If -the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker. + * The message destination name. + * + * Note: Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If + * the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; /** @@ -2573,13 +2573,13 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; /** -* The name of the original destination the message was published to. -* -* Note: The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If -the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker. + * The name of the original destination the message was published to. + * + * Note: The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If + * the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; @@ -2641,13 +2641,13 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; /** -* The size of the message body in bytes. -* -* Note: This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed -body size should be used. + * The size of the message body in bytes. + * + * Note: This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed + * body size should be used. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; /** @@ -2659,13 +2659,13 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; /** -* The size of the message body and metadata in bytes. -* -* Note: This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed -size should be used. + * The size of the message body and metadata in bytes. + * + * Note: This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed + * size should be used. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; @@ -2861,13 +2861,13 @@ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; /** -* The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. -* -* Note: Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). -An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). + * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. + * + * Note: Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). + * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; /** @@ -3057,37 +3057,37 @@ export const ATTR_RPC_SERVICE = 'rpc.service'; export const ATTR_RPC_SYSTEM = 'rpc.system'; /** -* The string ID of the service instance. -* -* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words -`service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to -distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled -service). - -Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC -4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of -this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and -SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. - -UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is -needed. Similar to what can be seen in the man page for the -[`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying -data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it -or not via another resource attribute. - -For applications running behind an application server (like unicorn), we do not recommend using one identifier -for all processes participating in the application. Instead, it's recommended each division (e.g. a worker -thread in unicorn) to have its own instance.id. - -It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the -service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will -likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. -However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance -for that telemetry. This is typically the case for scraping receivers, as they know the target address and -port. + * The string ID of the service instance. + * + * Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words + * `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to + * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled + * service). + * + * Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC + * 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of + * this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and + * SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. + * + * UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is + * needed. Similar to what can be seen in the man page for the + * [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying + * data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it + * or not via another resource attribute. + * + * For applications running behind an application server (like unicorn), we do not recommend using one identifier + * for all processes participating in the application. Instead, it's recommended each division (e.g. a worker + * thread in unicorn) to have its own instance.id. + * + * It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the + * service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will + * likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. + * However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance + * for that telemetry. This is typically the case for scraping receivers, as they know the target address and + * port. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; /** @@ -3130,13 +3130,13 @@ export const ATTR_SOURCE_ADDRESS = 'source.address'; export const ATTR_SOURCE_PORT = 'source.port'; /** -* The name of the auto instrumentation agent or distribution, if used. -* -* Note: Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to -a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. + * The name of the auto instrumentation agent or distribution, if used. + * + * Note: Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to + * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; /** @@ -3384,13 +3384,13 @@ export const ATTR_URL_DOMAIN = 'url.domain'; export const ATTR_URL_EXTENSION = 'url.extension'; /** -* Unmodified original URL as seen in the event source. -* -* Note: In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. -`url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same. + * Unmodified original URL as seen in the event source. + * + * Note: In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. + * `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_URL_ORIGINAL = 'url.original'; /** @@ -3622,91 +3622,91 @@ export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; /** -* The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. -* -* Note: The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. -This applies to almost all S3 operations except `list-buckets`. + * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. + * + * Note: The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. + * This applies to almost all S3 operations except `list-buckets`. * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; /** -* The source object (in the form `bucket`/`key`) for the copy operation. -* -* Note: The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter -of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). -This applies in particular to the following operations: - -- [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) -- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). + * The source object (in the form `bucket`/`key`) for the copy operation. + * + * Note: The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter + * of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). + * This applies in particular to the following operations: + * + * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) + * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; /** -* The delete request container that specifies the objects to be deleted. -* -* Note: The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. -The `delete` attribute corresponds to the `--delete` parameter of the -[delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). + * The delete request container that specifies the objects to be deleted. + * + * Note: The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. + * The `delete` attribute corresponds to the `--delete` parameter of the + * [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; /** -* The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. -* -* Note: The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. -This applies in particular to the following operations: - -- [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) -- [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) -- [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) -- [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html) -- [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html) -- [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html) -- [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html) -- [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) -- [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) -- [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html) -- [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) -- [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) -- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). + * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. + * + * Note: The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. + * This applies in particular to the following operations: + * + * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) + * - [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) + * - [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) + * - [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html) + * - [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html) + * - [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html) + * - [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html) + * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) + * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) + * - [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html) + * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) + * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) + * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_AWS_S3_KEY = 'aws.s3.key'; /** -* The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. -* -* Note: The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) -and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. -The `part_number` attribute corresponds to the `--part-number` parameter of the -[upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). + * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. + * + * Note: The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) + * and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. + * The `part_number` attribute corresponds to the `--part-number` parameter of the + * [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; /** -* Upload ID that identifies the multipart upload. -* -* Note: The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter -of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. -This applies in particular to the following operations: - -- [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) -- [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) -- [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) -- [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) -- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). + * Upload ID that identifies the multipart upload. + * + * Note: The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter + * of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. + * This applies in particular to the following operations: + * + * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) + * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) + * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) + * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) + * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. -*/ + */ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; /** diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index b2870a55d7..5f31df1c65 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -59,15 +59,15 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'; /** -* Number of requests that tried to acquire a rate limiting lease. -* -* Note: Requests could be: - -* Rejected by global or endpoint rate limiting policies -* Canceled while waiting for the lease. - -Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. -*/ + * Number of requests that tried to acquire a rate limiting lease. + * + * Note: Requests could be: + * + * * Rejected by global or endpoint rate limiting policies + * * Canceled while waiting for the lease. + * + * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. + */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'; @@ -191,11 +191,11 @@ export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections'; export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; /** -* Number of connections rejected by the server. -* -* Note: Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. -Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. -*/ + * Number of connections rejected by the server. + * + * Note: Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. + * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections'; @@ -208,12 +208,12 @@ export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration'; /** -* Number of connections that are currently upgraded (WebSockets). . -* -* Note: The counter only tracks HTTP/1.1 connections. - -Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. -*/ + * Number of connections that are currently upgraded (WebSockets). . + * + * Note: The counter only tracks HTTP/1.1 connections. + * + * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. + */ export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections'; @@ -336,46 +336,46 @@ export const ATTR_CLIENT_ADDRESS = 'client.address'; export const ATTR_CLIENT_PORT = 'client.port'; /** -* Describes a class of error the operation ended with. -* -* Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. -Instrumentations SHOULD document the list of errors they report. - -The cardinality of `error.type` within one instrumentation library SHOULD be low. -Telemetry consumers that aggregate data from multiple instrumentation libraries and applications -should be prepared for `error.type` to have high cardinality at query time when no -additional filters are applied. - -If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. - -If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), -it's RECOMMENDED to: - -* Use a domain-specific attribute -* Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. -*/ + * Describes a class of error the operation ended with. + * + * Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. + * Instrumentations SHOULD document the list of errors they report. + * + * The cardinality of `error.type` within one instrumentation library SHOULD be low. + * Telemetry consumers that aggregate data from multiple instrumentation libraries and applications + * should be prepared for `error.type` to have high cardinality at query time when no + * additional filters are applied. + * + * If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. + * + * If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), + * it's RECOMMENDED to: + * + * * Use a domain-specific attribute + * * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. + */ export const ATTR_ERROR_TYPE = 'error.type'; /** -* SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. -* -* Note: An exception is considered to have escaped (or left) the scope of a span, -if that span is ended while the exception is still logically "in flight". -This may be actually "in flight" in some languages (e.g. if the exception -is passed to a Context manager's `__exit__` method in Python) but will -usually be caught at the point of recording the exception in most languages. - -It is usually not possible to determine at the point where an exception is thrown -whether it will escape the scope of a span. -However, it is trivial to know that an exception -will escape, if one checks for an active exception just before ending the span, -as done in the [example for recording span exceptions](#recording-an-exception). - -It follows that an exception may still escape the scope of the span -even if the `exception.escaped` attribute was not set or set to false, -since the event might have been recorded at a time where it was not -clear whether the exception will escape. -*/ + * SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. + * + * Note: An exception is considered to have escaped (or left) the scope of a span, + * if that span is ended while the exception is still logically "in flight". + * This may be actually "in flight" in some languages (e.g. if the exception + * is passed to a Context manager's `__exit__` method in Python) but will + * usually be caught at the point of recording the exception in most languages. + * + * It is usually not possible to determine at the point where an exception is thrown + * whether it will escape the scope of a span. + * However, it is trivial to know that an exception + * will escape, if one checks for an active exception just before ending the span, + * as done in the [example for recording span exceptions](#recording-an-exception). + * + * It follows that an exception may still escape the scope of the span + * even if the `exception.escaped` attribute was not set or set to false, + * since the event might have been recorded at a time where it was not + * clear whether the exception will escape. + */ export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; /** @@ -394,23 +394,23 @@ export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; export const ATTR_EXCEPTION_TYPE = 'exception.type'; /** -* HTTP request method. -* -* Note: HTTP request method value SHOULD be "known" to the instrumentation. -By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) -and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - -If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - -If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override -the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named -OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods -(this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - -HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. -Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. -Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. -*/ + * HTTP request method. + * + * Note: HTTP request method value SHOULD be "known" to the instrumentation. + * By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) + * and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + * + * If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. + * + * If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override + * the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named + * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods + * (this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). + * + * HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. + * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. + * Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. + */ export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; /** @@ -431,11 +431,11 @@ export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; /** -* The matched route, that is, the path template in the format used by the respective server framework. -* -* Note: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. -SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. -*/ + * The matched route, that is, the path template in the format used by the respective server framework. + * + * Note: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. + * SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. + */ export const ATTR_HTTP_ROUTE = 'http.route'; /** @@ -473,14 +473,14 @@ export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; /** -* [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). -* -* Note: The value SHOULD be normalized to lowercase. - -Consider always setting the transport when setting a port number, since -a port number is ambiguous without knowing the transport. For example -different processes could be listening on TCP port 12345 and UDP port 12345. -*/ + * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). + * + * Note: The value SHOULD be normalized to lowercase. + * + * Consider always setting the transport when setting a port number, since + * a port number is ambiguous without knowing the transport. For example + * different processes could be listening on TCP port 12345 and UDP port 12345. + */ export const ATTR_NETWORK_TRANSPORT = 'network.transport'; /** @@ -522,15 +522,15 @@ export const ATTR_SERVICE_VERSION = 'service.version'; export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; /** -* The name of the telemetry SDK as defined above. -* -* Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`. -If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the -`telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point -or another suitable identifier depending on the language. -The identifier `opentelemetry` is reserved and MUST NOT be used in this case. -All custom identifiers SHOULD be stable across different versions of an implementation. -*/ + * The name of the telemetry SDK as defined above. + * + * Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`. + * If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the + * `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point + * or another suitable identifier depending on the language. + * The identifier `opentelemetry` is reserved and MUST NOT be used in this case. + * All custom identifiers SHOULD be stable across different versions of an implementation. + */ export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; /** @@ -544,12 +544,12 @@ export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; export const ATTR_URL_FRAGMENT = 'url.fragment'; /** -* Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). -* -* Note: For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless. -`url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`. -`url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it. -*/ + * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). + * + * Note: For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless. + * `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`. + * `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it. + */ export const ATTR_URL_FULL = 'url.full'; /** diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 26e24e0e19..170b73a7e6 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -28,10 +28,10 @@ {%- for metric in filtered_metrics %} /** -* {% filter escape %}{{metric.brief | to_doc_brief}}.{% endfilter %} +* {% filter escape %}{{metric.brief | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} {%- if metric.note %} * -* Note: {% filter escape %}{{metric.note | to_doc_brief}}.{% endfilter %} +* Note: {% filter escape %}{{metric.note | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} {%- endif %} {%- if (metric.stability | string()) != "StabilityLevel.STABLE" %} * @@ -39,7 +39,7 @@ {%- endif %} {%- if metric.deprecated %} * -* @deprecated {{metric.deprecated | to_doc_brief}}. +* @deprecated {{metric.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("string", metric.metric_name) }}; @@ -49,10 +49,10 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st {%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} /** -* {% filter escape %}{{attribute.brief | to_doc_brief}}.{% endfilter %} +* {% filter escape %}{{attribute.brief | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} {%- if attribute.note %} * -* Note: {% filter escape %}{{attribute.note | to_doc_brief}}.{% endfilter %} +* Note: {% filter escape %}{{attribute.note | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} {%- endif %} {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} * @@ -60,7 +60,7 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st {%- endif %} {%- if attribute.deprecated %} * -* @deprecated {{attribute.deprecated | to_doc_brief}}. +* @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }}; @@ -84,7 +84,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", {%- endif %} {%- if attribute.deprecated %} * - * @deprecated {{attribute.deprecated | to_doc_brief}}. + * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ export const {{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }}; From c982f3e9f57631f238bbf5d836080727908a0afc Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 21 May 2024 14:41:01 -0400 Subject: [PATCH 11/47] Fix casing --- .../src/experimental.ts | 1596 ++++++++--------- .../templates/SemanticAttributes.ts.j2 | 6 +- 2 files changed, 801 insertions(+), 801 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index 177da81d68..3786ee2e8d 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -23,7 +23,7 @@ * * Note: Total CPU time consumed by the specific container on all available CPU cores. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; @@ -32,7 +32,7 @@ export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; * * Note: The total number of bytes read/written successfully (aggregated from all disks). * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; @@ -41,7 +41,7 @@ export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; * * Note: Memory usage of the container. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; @@ -50,14 +50,14 @@ export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; * * Note: The number of bytes sent/received on all network interfaces by the container. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; /** * The time it took to create a new connection. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; @@ -65,7 +65,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = /** * The maximum number of idle open connections allowed. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; @@ -73,7 +73,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = /** * The minimum number of idle open connections allowed. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; @@ -81,14 +81,14 @@ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = /** * The maximum number of open connections allowed. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; /** * The number of pending requests for an open connection, cumulative for the entire pool. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; @@ -96,7 +96,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; @@ -104,14 +104,14 @@ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = /** * The number of connections that are currently in state described by the `state` attribute. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; /** * The time between borrowing a connection and returning it to the pool. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; @@ -119,7 +119,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = /** * The time it took to obtain an open connection from the pool. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time'; @@ -127,84 +127,84 @@ export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = /** * Measures the time taken to perform a DNS lookup. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; /** * Number of invocation cold starts. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; /** * Distribution of CPU usage per invocation. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage'; /** * Number of invocation errors. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_ERRORS = 'faas.errors'; /** * Measures the duration of the function's initialization, such as a cold start. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration'; /** * Number of successful invocations. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; /** * Measures the duration of the function's logic execution. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration'; /** * Distribution of max memory usage per invocation. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage'; /** * Distribution of net I/O usage per invocation. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_NET_IO = 'faas.net_io'; /** * Number of invocation timeouts. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; /** * Number of active HTTP requests. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; /** * The duration of the successfully established outbound HTTP connections. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration'; @@ -212,7 +212,7 @@ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = /** * Number of outbound HTTP connections that are currently active or idle on the client. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections'; @@ -222,7 +222,7 @@ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = * * Note: The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size'; @@ -232,7 +232,7 @@ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = * * Note: The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size'; @@ -240,7 +240,7 @@ export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = /** * Number of active HTTP server requests. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; @@ -249,7 +249,7 @@ export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; * * Note: The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size'; @@ -259,7 +259,7 @@ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = * * Note: The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size'; @@ -267,28 +267,28 @@ export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = /** * Number of buffers in the pool. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; /** * Measure of total memory capacity of buffers. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; /** * Measure of memory used by buffers. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; /** * Measure of initial memory requested. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; @@ -297,7 +297,7 @@ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; * * Note: The value range is [0,n], where n is the number of CPU cores - or a negative number if the value is not available. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()). * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; @@ -306,105 +306,105 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; * * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()). * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; /** * Measures the duration of process operation. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; /** * Measures the number of processed messages. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; /** * Measures the duration of publish operation. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; /** * Measures the number of published messages. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; /** * Measures the duration of receive operation. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; /** * Measures the number of received messages. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; /** * Number of times the process has been context switched. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches'; /** * Total CPU seconds broken down by different states. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time'; /** * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization'; /** * Disk bytes transferred. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_DISK_IO = 'process.disk.io'; /** * The amount of physical memory in use. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; /** * The amount of committed virtual memory. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; /** * Network bytes transferred. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count'; @@ -412,14 +412,14 @@ export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = /** * Number of page faults the process has made. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; /** * Process threads count. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; @@ -431,7 +431,7 @@ export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; * * **Streaming**: N/A. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; @@ -440,7 +440,7 @@ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; * * Note: **Streaming**: Recorded per message in a streaming batch. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; @@ -451,7 +451,7 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; * * **Streaming**: This metric is required for server and client streaming RPCs. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; @@ -460,7 +460,7 @@ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; * * Note: **Streaming**: Recorded per response in a streaming batch. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; @@ -471,7 +471,7 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; * * **Streaming**: This metric is required for server and client streaming RPCs. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc'; @@ -484,7 +484,7 @@ export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = * * **Streaming**: N/A. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; @@ -493,7 +493,7 @@ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; * * Note: **Streaming**: Recorded per message in a streaming batch. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; @@ -504,7 +504,7 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; * * **Streaming** : This metric is required for server and client streaming RPCs. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; @@ -513,7 +513,7 @@ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; * * Note: **Streaming**: Recorded per response in a streaming batch. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; @@ -524,7 +524,7 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; * * **Streaming**: This metric is required for server and client streaming RPCs. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc'; @@ -532,42 +532,42 @@ export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = /** * Reports the current frequency of the CPU in Hz. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; @@ -581,14 +581,14 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; * ["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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; @@ -600,28 +600,28 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; * - 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization'; @@ -635,7 +635,7 @@ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available'; @@ -645,7 +645,7 @@ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = * * Note: Its value SHOULD equal the sum of `system.memory.state` over all states. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; @@ -655,21 +655,21 @@ export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; @@ -682,7 +682,7 @@ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; * - 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; @@ -695,63 +695,63 @@ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; * - 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; /** * Unix swap or windows pagefile usage. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; /** * . * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; /** * Total number of processes in each state. * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; @@ -760,7 +760,7 @@ export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; * * Note: Event names are subject to the same rules as [attribute names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.31.0/specification/common/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_EVENT_NAME = 'event.name'; @@ -770,42 +770,42 @@ export const ATTR_EVENT_NAME = 'event.name'; * Note: If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. * The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_RECORD_UID = 'log.record.uid'; /** * The stream associated with the log. See below for a list of well-known values. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_IOSTREAM = 'log.iostream'; /** * The basename of the file. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_NAME = 'log.file.name'; /** * The basename of the file, with symlinks resolved. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; /** * The full path to the file. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_PATH = 'log.file.path'; /** * The full path to the file, with symlinks resolved. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; @@ -814,7 +814,7 @@ export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; * * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_IOS_STATE = 'ios.state'; @@ -823,21 +823,21 @@ export const ATTR_IOS_STATE = 'ios.state'; * * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ANDROID_STATE = 'android.state'; /** * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_POOL_NAME = 'pool.name'; /** * The state of a connection in the pool. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_STATE = 'state'; @@ -846,133 +846,133 @@ export const ATTR_STATE = 'state'; * * Note: Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; /** * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; /** * Specifies whether the context switches for this data point were voluntary or involuntary. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; /** * The device identifier. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_DEVICE = 'system.device'; /** * The logical CPU number [0..n-1]. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; /** * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; /** * The memory state. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; /** * The paging access direction. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; /** * The memory paging state. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; /** * The memory paging type. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; /** * The filesystem mode. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; /** * The filesystem mount path. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; /** * The filesystem state. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; /** * The filesystem type. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; /** * A stateless protocol MUST NOT set this attribute. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; /** * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions'; @@ -980,7 +980,7 @@ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = /** * The value of the `AttributesToGet` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get'; @@ -988,14 +988,14 @@ export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = /** * The value of the `ConsistentRead` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity'; @@ -1003,14 +1003,14 @@ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = /** * The value of the `Count` response parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; /** * The value of the `ExclusiveStartTableName` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table'; @@ -1018,7 +1018,7 @@ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates'; @@ -1026,7 +1026,7 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes'; @@ -1034,14 +1034,14 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = /** * The value of the `IndexName` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics'; @@ -1049,14 +1049,14 @@ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = /** * The value of the `Limit` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; /** * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes'; @@ -1064,14 +1064,14 @@ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = /** * The value of the `ProjectionExpression` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; /** * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity'; @@ -1079,7 +1079,7 @@ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity'; @@ -1087,49 +1087,49 @@ export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = /** * The value of the `ScanIndexForward` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; /** * The value of the `ScannedCount` response parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; /** * The value of the `Segment` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; /** * The value of the `Select` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; /** * The number of items in the `TableNames` response parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; /** * The keys in the `RequestItems` object field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; /** * The value of the `TotalSegments` request parameter. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; @@ -1138,7 +1138,7 @@ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; * * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_BRANDS = 'browser.brands'; @@ -1147,7 +1147,7 @@ export const ATTR_BROWSER_BRANDS = 'browser.brands'; * * Note: This value is intended to be taken from the Navigator API `navigator.language`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_LANGUAGE = 'browser.language'; @@ -1156,7 +1156,7 @@ export const ATTR_BROWSER_LANGUAGE = 'browser.language'; * * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_MOBILE = 'browser.mobile'; @@ -1166,14 +1166,14 @@ export const ATTR_BROWSER_MOBILE = 'browser.mobile'; * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent. * The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_PLATFORM = 'browser.platform'; /** * The cloud account ID the resource is assigned to. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; @@ -1182,7 +1182,7 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; * * Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; @@ -1191,14 +1191,14 @@ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; /** * Name of the cloud provider. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; @@ -1207,7 +1207,7 @@ export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; * * Note: Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_REGION = 'cloud.region'; @@ -1232,28 +1232,28 @@ export const ATTR_CLOUD_REGION = 'cloud.region'; * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share * a TracerProvider. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'; @@ -1261,56 +1261,56 @@ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; /** * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_COLUMN = 'code.column'; /** * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_FILEPATH = 'code.filepath'; /** * The method or function name, or equivalent (usually rightmost part of the code unit's name). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_FUNCTION = 'code.function'; /** * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_LINENO = 'code.lineno'; /** * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_NAMESPACE = 'code.namespace'; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; @@ -1319,35 +1319,35 @@ export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; * * Note: If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND = 'container.command'; /** * All the command arguments (including the command/executable itself) run by the container. [2]. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; /** * The full command run by the container as a single string representing the full command. [2]. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; /** * The CPU state for this data point. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_ID = 'container.id'; @@ -1358,14 +1358,14 @@ export const ATTR_CONTAINER_ID = 'container.id'; * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. * The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; /** * Name of the image the container was built on. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; @@ -1374,35 +1374,35 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; * * Note: [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; /** * Container name used by container runtime. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_NAME = 'container.name'; /** * The container runtime managing this container. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'; @@ -1410,35 +1410,35 @@ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = /** * The data center of the coordinating node for a query. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; /** * The ID of the coordinating node for a query. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; /** * Whether or not the query is idempotent. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; /** * The fetch size used for paging, i.e. how many rows will be returned at once. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; @@ -1448,49 +1448,49 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = * * Note: This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; /** * Unique Cosmos client instance id. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; /** * Cosmos client connection mode. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; /** * Cosmos DB container name. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; /** * CosmosDB Operation Type. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; /** * RU consumed for that operation. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; /** * Request payload size in bytes. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length'; @@ -1498,21 +1498,21 @@ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = /** * Cosmos DB status code. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; /** * Cosmos DB sub status code. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; /** * Represents the identifier of an Elasticsearch cluster. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; @@ -1520,14 +1520,14 @@ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = /** * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; /** * The MongoDB collection being accessed within the database stated in `db.name`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; @@ -1536,7 +1536,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; * * Note: If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; @@ -1545,7 +1545,7 @@ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; * * Note: In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_NAME = 'db.name'; @@ -1554,14 +1554,14 @@ export const ATTR_DB_NAME = 'db.name'; * * Note: When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_OPERATION = 'db.operation'; /** * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; @@ -1570,28 +1570,28 @@ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; * * Note: It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; /** * The database statement being executed. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_STATEMENT = 'db.statement'; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_SYSTEM = 'db.system'; /** * Username for accessing the database. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_USER = 'db.user'; @@ -1606,14 +1606,14 @@ export const ATTR_DB_USER = 'db.user'; * * `service.name=frontend`, `deployment.environment=production` * * `service.name=frontend`, `deployment.environment=staging`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; /** * Deprecated, use `server.address`, `server.port` attributes instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated "Replaced by `server.address` and `server.port`.". */ @@ -1622,7 +1622,7 @@ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; /** * Deprecated, use `db.instance.id` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `db.instance.id`. */ @@ -1631,7 +1631,7 @@ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; /** * Removed, no replacement at this time. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Removed as not used. */ @@ -1640,7 +1640,7 @@ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; /** * Deprecated, use `network.protocol.name` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -1649,7 +1649,7 @@ export const ATTR_HTTP_FLAVOR = 'http.flavor'; /** * Deprecated, use `http.request.method` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `http.request.method`. */ @@ -1658,7 +1658,7 @@ export const ATTR_HTTP_METHOD = 'http.method'; /** * Deprecated, use `http.request.header.content-length` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `http.request.header.content-length`. */ @@ -1667,7 +1667,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; /** * Deprecated, use `http.response.header.content-length` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `http.response.header.content-length`. */ @@ -1676,7 +1676,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; /** * Deprecated, use `url.scheme` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `url.scheme` instead. */ @@ -1685,7 +1685,7 @@ export const ATTR_HTTP_SCHEME = 'http.scheme'; /** * Deprecated, use `http.response.status_code` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `http.response.status_code`. */ @@ -1694,7 +1694,7 @@ export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; /** * Deprecated, use `url.path` and `url.query` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Split to `url.path` and `url.query. */ @@ -1703,7 +1703,7 @@ export const ATTR_HTTP_TARGET = 'http.target'; /** * Deprecated, use `url.full` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `url.full`. */ @@ -1712,7 +1712,7 @@ export const ATTR_HTTP_URL = 'http.url'; /** * Deprecated, use `user_agent.original` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `user_agent.original`. */ @@ -1721,7 +1721,7 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; /** * "Deprecated, use `messaging.destination.partition.id` instead.". * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `messaging.destination.partition.id`. */ @@ -1731,7 +1731,7 @@ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = /** * Deprecated, use `server.address`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `server.address`. */ @@ -1740,7 +1740,7 @@ export const ATTR_NET_HOST_NAME = 'net.host.name'; /** * Deprecated, use `server.port`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `server.port`. */ @@ -1749,7 +1749,7 @@ export const ATTR_NET_HOST_PORT = 'net.host.port'; /** * Deprecated, use `server.address` on client spans and `client.address` on server spans. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans. */ @@ -1758,7 +1758,7 @@ export const ATTR_NET_PEER_NAME = 'net.peer.name'; /** * Deprecated, use `server.port` on client spans and `client.port` on server spans. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans. */ @@ -1767,7 +1767,7 @@ export const ATTR_NET_PEER_PORT = 'net.peer.port'; /** * Deprecated, use `network.protocol.name`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -1776,7 +1776,7 @@ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; /** * Deprecated, use `network.protocol.version`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.version`. */ @@ -1785,7 +1785,7 @@ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; /** * Deprecated, use `network.transport` and `network.type`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Split to `network.transport` and `network.type`. */ @@ -1794,7 +1794,7 @@ export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; /** * Deprecated, use `network.local.address`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.local.address`. */ @@ -1803,7 +1803,7 @@ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; /** * Deprecated, use `network.local.port`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.local.port`. */ @@ -1812,7 +1812,7 @@ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; /** * Deprecated, use `network.peer.address`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.peer.address`. */ @@ -1821,7 +1821,7 @@ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; /** * Deprecated, no replacement at this time. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Removed. */ @@ -1830,7 +1830,7 @@ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; /** * Deprecated, use `network.peer.port`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.peer.port`. */ @@ -1839,7 +1839,7 @@ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; /** * Deprecated, use `network.transport`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.transport`. */ @@ -1848,7 +1848,7 @@ export const ATTR_NET_TRANSPORT = 'net.transport'; /** * Deprecated, use `system.process.status` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `system.process.status`. */ @@ -1859,14 +1859,14 @@ export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; * * Note: When observed from the source side, and when communicating through an intermediary, `destination.address` SHOULD represent the destination address behind any intermediaries, for example proxies, if it's available. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DESTINATION_ADDRESS = 'destination.address'; /** * Destination port number. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DESTINATION_PORT = 'destination.port'; @@ -1875,7 +1875,7 @@ export const ATTR_DESTINATION_PORT = 'destination.port'; * * Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_ID = 'device.id'; @@ -1884,7 +1884,7 @@ export const ATTR_DEVICE_ID = 'device.id'; * * Note: The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps SHOULD hardcode the value `Apple`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; @@ -1893,7 +1893,7 @@ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; * * Note: It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; @@ -1902,14 +1902,14 @@ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; * * Note: It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; /** * The disk IO operation direction. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; @@ -1918,70 +1918,70 @@ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; * * Note: If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; /** * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ENDUSER_ID = 'enduser.id'; /** * Actual/assumed role the client is making the request under extracted from token or application security context. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ENDUSER_ROLE = 'enduser.role'; /** * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; /** * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_CRON = 'faas.cron'; /** * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; /** * Describes the type of the operation that was performed on the data. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; @@ -1990,14 +1990,14 @@ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; * * Note: * **AWS Lambda:** Use the (full) log stream name. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INSTANCE = 'faas.instance'; /** * The invocation ID of the current function invocation. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; @@ -2006,7 +2006,7 @@ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; * * Note: SHOULD be equal to the `faas.name` resource attribute of the invoked function. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; @@ -2015,7 +2015,7 @@ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; @@ -2024,7 +2024,7 @@ export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; * * Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked function. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; @@ -2033,7 +2033,7 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; * * Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; @@ -2057,21 +2057,21 @@ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; * app can host multiple functions that would usually share * a TracerProvider (see also the `cloud.resource_id` attribute). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_NAME = 'faas.name'; /** * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_TIME = 'faas.time'; /** * Type of the trigger which caused this function invocation. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_TRIGGER = 'faas.trigger'; @@ -2088,21 +2088,21 @@ export const ATTR_FAAS_TRIGGER = 'faas.trigger'; * [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). * * **Azure Functions:** Not applicable. Do not set this attribute. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_VERSION = 'faas.version'; /** * The unique identifier of the feature flag. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; /** * The name of the service provider that performs the flag evaluation. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; @@ -2118,14 +2118,14 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; * semantic identifier is unavailable. String representation of the value * should be determined by the implementer. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; /** * Directory where the file is located. It should include the drive letter, when appropriate. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_DIRECTORY = 'file.directory'; @@ -2134,98 +2134,98 @@ export const ATTR_FILE_DIRECTORY = 'file.directory'; * * Note: When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz"). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_EXTENSION = 'file.extension'; /** * Name of the file including the extension, without the directory. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_NAME = 'file.name'; /** * Full path to the file, including the file name. It should include the drive letter, when appropriate. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_PATH = 'file.path'; /** * File size in bytes. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_SIZE = 'file.size'; /** * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; /** * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; /** * The CPU architecture the host system is running on. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_ARCH = 'host.arch'; /** * The amount of level 2 memory cache available to the processor (in Bytes). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; /** * Family or generation of the CPU. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; /** * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; /** * Model designation of the processor. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; /** * Stepping or core revisions. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; @@ -2234,35 +2234,35 @@ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; * * Note: [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; /** * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_ID = 'host.id'; /** * VM image ID or host OS image ID. For Cloud, this value is from the provider. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_ID = 'host.image.id'; /** * Name of the VM image or OS install the host was instantiated from. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; /** * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; @@ -2271,7 +2271,7 @@ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; * * Note: IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IP = 'host.ip'; @@ -2280,63 +2280,63 @@ export const ATTR_HOST_IP = 'host.ip'; * * Note: MAC Addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_MAC = 'host.mac'; /** * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_NAME = 'host.name'; /** * Type of host. For Cloud, this must be the machine type. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_TYPE = 'host.type'; /** * State of the HTTP connection in the HTTP connection pool. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; /** * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; /** * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; /** * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; /** * The name of the cluster. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; @@ -2366,140 +2366,140 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; * Therefore, UIDs between clusters should be extremely unlikely to * conflict. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; /** * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; /** * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; /** * The name of the CronJob. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; /** * The UID of the CronJob. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; /** * The name of the DaemonSet. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; /** * The UID of the DaemonSet. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; /** * The name of the Deployment. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; /** * The UID of the Deployment. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; /** * The name of the Job. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; /** * The UID of the Job. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; /** * The name of the namespace that the pod is running in. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; /** * The name of the Node. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; /** * The UID of the Node. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; /** * The name of the Pod. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; /** * The UID of the Pod. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; /** * The name of the ReplicaSet. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; /** * The UID of the ReplicaSet. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; /** * The name of the StatefulSet. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; /** * The UID of the StatefulSet. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; @@ -2508,7 +2508,7 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; * * Note: Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.message_count` for batching APIs and SHOULD NOT use it for single-message APIs. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; @@ -2516,14 +2516,14 @@ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = /** * A unique identifier for the client that consumes or produces a message. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id'; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; @@ -2534,14 +2534,14 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = * Note: Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If * the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; /** * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; @@ -2551,7 +2551,7 @@ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = * * Note: Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; @@ -2559,7 +2559,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPLATE = /** * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; @@ -2567,7 +2567,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = /** * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; @@ -2578,7 +2578,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = * Note: The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If * the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; @@ -2586,7 +2586,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = /** * The name of the consumer group the event consumer is associated with. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; @@ -2594,7 +2594,7 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; @@ -2602,7 +2602,7 @@ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; @@ -2610,7 +2610,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = /** * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; @@ -2620,14 +2620,14 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = * * Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; /** * The offset of a record in the corresponding Kafka partition. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; @@ -2635,7 +2635,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = /** * A boolean that is true if the message is a tombstone. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; @@ -2646,14 +2646,14 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = * Note: This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed * body size should be used. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; /** * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; @@ -2664,7 +2664,7 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = * Note: This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed * size should be used. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; @@ -2672,7 +2672,7 @@ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = /** * A value used by the messaging system as an identifier for the message, represented as a string. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; @@ -2681,14 +2681,14 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; * * Note: If a custom value is used, it MUST be of low cardinality. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; /** * RabbitMQ message routing key. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; @@ -2696,7 +2696,7 @@ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = /** * RabbitMQ message delivery tag. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; @@ -2704,7 +2704,7 @@ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = /** * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; @@ -2712,7 +2712,7 @@ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = /** * Model of message consumption. This only applies to consumer spans. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; @@ -2720,7 +2720,7 @@ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = /** * The delay time level for delay message, which determines the message delay time. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; @@ -2728,7 +2728,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; @@ -2736,7 +2736,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; @@ -2744,7 +2744,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = /** * Key(s) of message, another way to mark message besides message id. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; @@ -2752,7 +2752,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = /** * The secondary classifier of message besides topic. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; @@ -2760,7 +2760,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = /** * Type of message. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; @@ -2768,14 +2768,14 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = /** * Namespace of RocketMQ resources, resources in different namespaces are individual. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; /** * The name of the subscription in the topic messages are received from. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; @@ -2783,7 +2783,7 @@ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; @@ -2791,7 +2791,7 @@ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = /** * Number of deliveries that have been attempted for this message. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; @@ -2799,7 +2799,7 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; @@ -2807,56 +2807,56 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = /** * An identifier for the messaging system being used. See below for a list of well-known identifiers. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; /** * The mobile carrier country code. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; /** * The mobile carrier network code. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; /** * The name of the mobile carrier. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; /** * The internet connection type. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; /** * The network IO operation direction. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; @@ -2866,168 +2866,168 @@ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; * Note: Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; /** * Unique identifier for a particular build or compilation of the operating system. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_BUILD_ID = 'os.build_id'; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_DESCRIPTION = 'os.description'; /** * Human readable operating system name. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_NAME = 'os.name'; /** * The operating system type. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_TYPE = 'os.type'; /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_VERSION = 'os.version'; /** * The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PEER_SERVICE = 'peer.service'; /** * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND = 'process.command'; /** * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; /** * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; /** * The username of the user that owns the process. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_OWNER = 'process.owner'; /** * Parent Process identifier (PPID). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; /** * Process identifier (PID). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PID = 'process.pid'; /** * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; /** * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; /** * The version of the runtime of this process, as returned by the runtime without modification. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; /** * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; /** * `error.code` property of response if it is an error response. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; /** * `error.message` property of response if it is an error response. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; @@ -3036,7 +3036,7 @@ export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; * * Note: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_METHOD = 'rpc.method'; @@ -3045,14 +3045,14 @@ export const ATTR_RPC_METHOD = 'rpc.method'; * * Note: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_SERVICE = 'rpc.service'; /** * A string identifying the remoting system. See below for a list of well-known identifiers. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_SYSTEM = 'rpc.system'; @@ -3086,7 +3086,7 @@ export const ATTR_RPC_SYSTEM = 'rpc.system'; * for that telemetry. This is typically the case for scraping receivers, as they know the target address and * port. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; @@ -3095,21 +3095,21 @@ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; * * Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; /** * A unique id to identify a session. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SESSION_ID = 'session.id'; /** * The previous `session.id` for this user, when known. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; @@ -3118,14 +3118,14 @@ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; * * Note: When observed from the destination side, and when communicating through an intermediary, `source.address` SHOULD represent the source address behind any intermediaries, for example proxies, if it's available. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SOURCE_ADDRESS = 'source.address'; /** * Source port number. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SOURCE_PORT = 'source.port'; @@ -3135,28 +3135,28 @@ export const ATTR_SOURCE_PORT = 'source.port'; * Note: Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; /** * The version string of the auto instrumentation agent or distribution, if used. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; /** * Current "managed" thread ID (as opposed to OS thread ID). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_THREAD_ID = 'thread.id'; /** * Current thread name. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_THREAD_NAME = 'thread.name'; @@ -3165,203 +3165,203 @@ export const ATTR_THREAD_NAME = 'thread.name'; * * Note: The values allowed for `tls.cipher` MUST be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CIPHER = 'tls.cipher'; /** * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; /** * A hash that identifies clients based on how they perform an SSL/TLS handshake. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; /** * Date/Time indicating when client certificate is no longer considered valid. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; /** * Date/Time indicating when client certificate is first considered valid. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; /** * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; /** * Distinguished name of subject of the x.509 certificate presented by the client. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; /** * Array of ciphers offered by the client during the client hello. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; /** * String indicating the curve used for the given cipher, when applicable. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CURVE = 'tls.curve'; /** * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_ESTABLISHED = 'tls.established'; /** * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; /** * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_RESUMED = 'tls.resumed'; /** * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; /** * A hash that identifies servers based on how they perform an SSL/TLS handshake. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; /** * Date/Time indicating when server certificate is no longer considered valid. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; /** * Date/Time indicating when server certificate is first considered valid. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; /** * Distinguished name of subject of the x.509 certificate presented by the server. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; @@ -3370,7 +3370,7 @@ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; * * Note: In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_DOMAIN = 'url.domain'; @@ -3379,7 +3379,7 @@ export const ATTR_URL_DOMAIN = 'url.domain'; * * Note: The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_EXTENSION = 'url.extension'; @@ -3389,14 +3389,14 @@ export const ATTR_URL_EXTENSION = 'url.extension'; * Note: In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. * `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_ORIGINAL = 'url.original'; /** * Port extracted from the `url.full`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_PORT = 'url.port'; @@ -3405,7 +3405,7 @@ export const ATTR_URL_PORT = 'url.port'; * * Note: This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; @@ -3414,7 +3414,7 @@ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; * * Note: The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; @@ -3423,7 +3423,7 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; * * Note: This value can be determined precisely with the [public suffix list](http://publicsuffix.org). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; @@ -3432,7 +3432,7 @@ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; * * Note: [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name SHOULD be selected. In such a scenario it should align with `user_agent.version`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_AGENT_NAME = 'user_agent.name'; @@ -3441,63 +3441,63 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name'; * * Note: [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version SHOULD be selected. In such a scenario it should align with `user_agent.name`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; /** * The ID of a running ECS task. The ID MUST be extracted from `task.arn`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; /** * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; /** * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; /** * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; /** * The revision for the task definition used to create the ECS task. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; /** * The ARN of an EKS cluster. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; @@ -3506,7 +3506,7 @@ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; * * Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; @@ -3515,7 +3515,7 @@ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; * * Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; @@ -3524,35 +3524,35 @@ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; * * Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; /** * The name(s) of the AWS log stream(s) an application is writing to. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; /** * Unique identifier for the application. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; /** * Commit hash for the current release. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; /** * Time and date the release was created. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp'; @@ -3560,28 +3560,28 @@ export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = /** * The name of the web engine. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_NAME = 'webengine.name'; /** * Additional description of the web engine (e.g. detailed version and edition information). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; /** * The version of the web engine. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_VERSION = 'webengine.version'; /** * None. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated use the `otel.scope.name` attribute. */ @@ -3590,7 +3590,7 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; /** * None. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated use the `otel.scope.version` attribute. */ @@ -3601,7 +3601,7 @@ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; * * Note: This may be different from `cloud.resource_id` if an alias is involved. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; @@ -3610,14 +3610,14 @@ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; * * Note: The causal relationship between a child Span and a parent Span. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; /** * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; @@ -3627,7 +3627,7 @@ export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; * Note: The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. * This applies to almost all S3 operations except `list-buckets`. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; @@ -3641,7 +3641,7 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; @@ -3652,7 +3652,7 @@ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; * The `delete` attribute corresponds to the `--delete` parameter of the * [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; @@ -3676,7 +3676,7 @@ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_KEY = 'aws.s3.key'; @@ -3688,7 +3688,7 @@ export const ATTR_AWS_S3_KEY = 'aws.s3.key'; * The `part_number` attribute corresponds to the `--part-number` parameter of the * [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; @@ -3705,7 +3705,7 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; @@ -3714,28 +3714,28 @@ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; * * Note: The value may be sanitized to exclude sensitive information. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; /** * The name of the operation being executed. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; /** * The type of the operation being executed. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; /** * Compressed size of the message in bytes. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; @@ -3744,476 +3744,476 @@ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; * * Note: This way we guarantee that the values will be consistent between different implementations. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGE_ID = 'message.id'; /** * Whether this is a received or sent message. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGE_TYPE = 'message.type'; /** * Uncompressed size of the message in bytes. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; /** * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const LOG_IOSTREAM_VALUES_STDOUT = 'stdout'; /** * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const LOG_IOSTREAM_VALUES_STDERR = 'stderr'; /** * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_ACTIVE = 'active'; /** * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_INACTIVE = 'inactive'; /** * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_BACKGROUND = 'background'; /** * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_FOREGROUND = 'foreground'; /** * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const IOS_STATE_VALUES_TERMINATE = 'terminate'; /** * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ANDROID_STATE_VALUES_CREATED = 'created'; /** * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ANDROID_STATE_VALUES_BACKGROUND = 'background'; /** * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ANDROID_STATE_VALUES_FOREGROUND = 'foreground'; /** * Enum value 'idle' for attribute {@link ATTR_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const STATE_VALUES_IDLE = 'idle'; /** * Enum value 'used' for attribute {@link ATTR_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const STATE_VALUES_USED = 'used'; /** * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CPU_STATE_VALUES_SYSTEM = 'system'; /** * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CPU_STATE_VALUES_USER = 'user'; /** * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CPU_STATE_VALUES_WAIT = 'wait'; /** * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY = 'voluntary'; /** * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_INVOLUNTARY = 'involuntary'; /** * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR = 'major'; /** * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const PROCESS_PAGING_FAULT_TYPE_VALUES_MINOR = 'minor'; /** * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_USER = 'user'; /** * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_SYSTEM = 'system'; /** * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_NICE = 'nice'; /** * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_IDLE = 'idle'; /** * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_IOWAIT = 'iowait'; /** * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_INTERRUPT = 'interrupt'; /** * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_CPU_STATE_VALUES_STEAL = 'steal'; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_USED = 'used'; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_FREE = 'free'; /** * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_SHARED = 'shared'; /** * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_BUFFERS = 'buffers'; /** * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_MEMORY_STATE_VALUES_CACHED = 'cached'; /** * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_DIRECTION_VALUES_IN = 'in'; /** * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_DIRECTION_VALUES_OUT = 'out'; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_STATE_VALUES_USED = 'used'; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_STATE_VALUES_FREE = 'free'; /** * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_TYPE_VALUES_MAJOR = 'major'; /** * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PAGING_TYPE_VALUES_MINOR = 'minor'; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_STATE_VALUES_USED = 'used'; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_STATE_VALUES_FREE = 'free'; /** * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_STATE_VALUES_RESERVED = 'reserved'; /** * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_FAT32 = 'fat32'; /** * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXFAT = 'exfat'; /** * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_NTFS = 'ntfs'; /** * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_REFS = 'refs'; /** * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_HFSPLUS = 'hfsplus'; /** * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXT4 = 'ext4'; /** * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_CLOSE = 'close'; /** * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_CLOSE_WAIT = 'close_wait'; /** * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_CLOSING = 'closing'; /** * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_DELETE = 'delete'; /** * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_ESTABLISHED = 'established'; /** * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_1 = 'fin_wait_1'; /** * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_2 = 'fin_wait_2'; /** * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_LAST_ACK = 'last_ack'; /** * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_LISTEN = 'listen'; /** * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_SYN_RECV = 'syn_recv'; /** * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_SYN_SENT = 'syn_sent'; /** * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_NETWORK_STATE_VALUES_TIME_WAIT = 'time_wait'; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_RUNNING = 'running'; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_SLEEPING = 'sleeping'; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_STOPPED = 'stopped'; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const SYSTEM_PROCESS_STATUS_VALUES_DEFUNCT = 'defunct'; /** * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; /** * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; /** * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift'; @@ -4221,35 +4221,35 @@ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT = /** * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_EC2 = 'aws_ec2'; /** * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_ECS = 'aws_ecs'; /** * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_EKS = 'aws_eks'; /** * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_LAMBDA = 'aws_lambda'; /** * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk'; @@ -4257,28 +4257,28 @@ export const CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK = /** * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_APP_RUNNER = 'aws_app_runner'; /** * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AWS_OPENSHIFT = 'aws_openshift'; /** * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_VM = 'azure_vm'; /** * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS = 'azure_container_apps'; @@ -4286,7 +4286,7 @@ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS = /** * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES = 'azure_container_instances'; @@ -4294,35 +4294,35 @@ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES = /** * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_AKS = 'azure_aks'; /** * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS = 'azure_functions'; /** * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE = 'azure_app_service'; /** * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_AZURE_OPENSHIFT = 'azure_openshift'; /** * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution'; @@ -4330,21 +4330,21 @@ export const CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION = /** * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; /** * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN = 'gcp_cloud_run'; /** * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine'; @@ -4352,147 +4352,147 @@ export const CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE = /** * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; /** * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE = 'gcp_app_engine'; /** * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_GCP_OPENSHIFT = 'gcp_openshift'; /** * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; /** * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; /** * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; /** * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; /** * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_AWS = 'aws'; /** * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_AZURE = 'azure'; /** * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_GCP = 'gcp'; /** * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_HEROKU = 'heroku'; /** * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_IBM_CLOUD = 'ibm_cloud'; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; /** * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CONTAINER_CPU_STATE_VALUES_USER = 'user'; /** * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CONTAINER_CPU_STATE_VALUES_SYSTEM = 'system'; /** * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CONTAINER_CPU_STATE_VALUES_KERNEL = 'kernel'; /** * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL = 'all'; /** * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM = 'each_quorum'; /** * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM = 'quorum'; /** * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM = 'local_quorum'; @@ -4500,49 +4500,49 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM = /** * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE = 'one'; /** * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO = 'two'; /** * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE = 'three'; /** * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE = 'local_one'; /** * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY = 'any'; /** * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL = 'serial'; /** * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL = 'local_serial'; @@ -4550,119 +4550,119 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL = /** * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY = 'gateway'; /** * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_CONNECTION_MODE_VALUES_DIRECT = 'direct'; /** * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID = 'Invalid'; /** * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_CREATE = 'Create'; /** * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_PATCH = 'Patch'; /** * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ = 'Read'; /** * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ_FEED = 'ReadFeed'; /** * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_DELETE = 'Delete'; /** * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_REPLACE = 'Replace'; /** * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE = 'Execute'; /** * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY = 'Query'; /** * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD = 'Head'; /** * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD_FEED = 'HeadFeed'; /** * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_UPSERT = 'Upsert'; /** * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_BATCH = 'Batch'; /** * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY_PLAN = 'QueryPlan'; /** * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript'; @@ -4670,371 +4670,371 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT = /** * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_OTHER_SQL = 'other_sql'; /** * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MSSQL = 'mssql'; /** * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MSSQLCOMPACT = 'mssqlcompact'; /** * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MYSQL = 'mysql'; /** * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_ORACLE = 'oracle'; /** * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_DB2 = 'db2'; /** * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_POSTGRESQL = 'postgresql'; /** * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_REDSHIFT = 'redshift'; /** * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HIVE = 'hive'; /** * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CLOUDSCAPE = 'cloudscape'; /** * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HSQLDB = 'hsqldb'; /** * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_PROGRESS = 'progress'; /** * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MAXDB = 'maxdb'; /** * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HANADB = 'hanadb'; /** * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INGRES = 'ingres'; /** * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_FIRSTSQL = 'firstsql'; /** * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_EDB = 'edb'; /** * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CACHE = 'cache'; /** * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_ADABAS = 'adabas'; /** * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_FIREBIRD = 'firebird'; /** * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_DERBY = 'derby'; /** * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_FILEMAKER = 'filemaker'; /** * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INFORMIX = 'informix'; /** * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INSTANTDB = 'instantdb'; /** * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_INTERBASE = 'interbase'; /** * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MARIADB = 'mariadb'; /** * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_NETEZZA = 'netezza'; /** * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_PERVASIVE = 'pervasive'; /** * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_POINTBASE = 'pointbase'; /** * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_SQLITE = 'sqlite'; /** * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_SYBASE = 'sybase'; /** * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_TERADATA = 'teradata'; /** * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_VERTICA = 'vertica'; /** * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_H2 = 'h2'; /** * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COLDFUSION = 'coldfusion'; /** * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CASSANDRA = 'cassandra'; /** * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_HBASE = 'hbase'; /** * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MONGODB = 'mongodb'; /** * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_REDIS = 'redis'; /** * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COUCHBASE = 'couchbase'; /** * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COUCHDB = 'couchdb'; /** * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COSMOSDB = 'cosmosdb'; /** * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_DYNAMODB = 'dynamodb'; /** * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_NEO4J = 'neo4j'; /** * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_GEODE = 'geode'; /** * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_ELASTICSEARCH = 'elasticsearch'; /** * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_MEMCACHED = 'memcached'; /** * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_COCKROACHDB = 'cockroachdb'; /** * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_OPENSEARCH = 'opensearch'; /** * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_CLICKHOUSE = 'clickhouse'; /** * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_SPANNER = 'spanner'; /** * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_SYSTEM_VALUES_TRINO = 'trino'; /** * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -5043,7 +5043,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_1_0 = '1.0'; /** * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -5052,7 +5052,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_1_1 = '1.1'; /** * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -5061,7 +5061,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_2_0 = '2.0'; /** * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -5070,7 +5070,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_3_0 = '3.0'; /** * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -5079,7 +5079,7 @@ export const HTTP_FLAVOR_VALUES_SPDY = 'SPDY'; /** * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.protocol.name`. */ @@ -5088,7 +5088,7 @@ export const HTTP_FLAVOR_VALUES_QUIC = 'QUIC'; /** * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Split to `network.transport` and `network.type`. */ @@ -5097,7 +5097,7 @@ export const NET_SOCK_FAMILY_VALUES_INET = 'inet'; /** * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Split to `network.transport` and `network.type`. */ @@ -5106,7 +5106,7 @@ export const NET_SOCK_FAMILY_VALUES_INET6 = 'inet6'; /** * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Split to `network.transport` and `network.type`. */ @@ -5115,7 +5115,7 @@ export const NET_SOCK_FAMILY_VALUES_UNIX = 'unix'; /** * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.transport`. */ @@ -5124,7 +5124,7 @@ export const NET_TRANSPORT_VALUES_IP_TCP = 'ip_tcp'; /** * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.transport`. */ @@ -5133,7 +5133,7 @@ export const NET_TRANSPORT_VALUES_IP_UDP = 'ip_udp'; /** * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.transport`. */ @@ -5142,7 +5142,7 @@ export const NET_TRANSPORT_VALUES_PIPE = 'pipe'; /** * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.transport`. */ @@ -5151,7 +5151,7 @@ export const NET_TRANSPORT_VALUES_INPROC = 'inproc'; /** * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `network.transport`. */ @@ -5160,7 +5160,7 @@ export const NET_TRANSPORT_VALUES_OTHER = 'other'; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `system.process.status`. */ @@ -5169,7 +5169,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_RUNNING = 'running'; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `system.process.status`. */ @@ -5178,7 +5178,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING = 'sleeping'; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `system.process.status`. */ @@ -5187,7 +5187,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_STOPPED = 'stopped'; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated Replaced by `system.process.status`. */ @@ -5196,217 +5196,217 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_DEFUNCT = 'defunct'; /** * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DISK_IO_DIRECTION_VALUES_READ = 'read'; /** * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DISK_IO_DIRECTION_VALUES_WRITE = 'write'; /** * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_DOCUMENT_OPERATION_VALUES_INSERT = 'insert'; /** * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_DOCUMENT_OPERATION_VALUES_EDIT = 'edit'; /** * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_DOCUMENT_OPERATION_VALUES_DELETE = 'delete'; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; /** * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_AWS = 'aws'; /** * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_AZURE = 'azure'; /** * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_GCP = 'gcp'; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_INVOKED_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; /** * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_DATASOURCE = 'datasource'; /** * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_HTTP = 'http'; /** * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_PUBSUB = 'pubsub'; /** * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_TIMER = 'timer'; /** * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const FAAS_TRIGGER_VALUES_OTHER = 'other'; /** * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_AMD64 = 'amd64'; /** * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_ARM32 = 'arm32'; /** * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_ARM64 = 'arm64'; /** * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_IA64 = 'ia64'; /** * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_PPC32 = 'ppc32'; /** * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_PPC64 = 'ppc64'; /** * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_S390X = 's390x'; /** * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HOST_ARCH_VALUES_X86 = 'x86'; /** * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HTTP_CONNECTION_STATE_VALUES_ACTIVE = 'active'; /** * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const HTTP_CONNECTION_STATE_VALUES_IDLE = 'idle'; /** * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_PUBLISH = 'publish'; /** * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_CREATE = 'create'; /** * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_RECEIVE = 'receive'; /** * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_DELIVER = 'process'; /** * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_OPERATION_VALUES_SETTLE = 'settle'; /** * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING = 'clustering'; @@ -5414,7 +5414,7 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING = /** * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING = 'broadcasting'; @@ -5422,35 +5422,35 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING = /** * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL = 'normal'; /** * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_FIFO = 'fifo'; /** * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_DELAY = 'delay'; /** * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_TRANSACTION = 'transaction'; /** * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE = 'complete'; @@ -5458,14 +5458,14 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE = /** * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_ABANDON = 'abandon'; /** * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER = 'dead_letter'; @@ -5473,126 +5473,126 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER = /** * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEFER = 'defer'; /** * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_ACTIVEMQ = 'activemq'; /** * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_AWS_SQS = 'aws_sqs'; /** * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_EVENTGRID = 'eventgrid'; /** * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_EVENTHUBS = 'eventhubs'; /** * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_SERVICEBUS = 'servicebus'; /** * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_GCP_PUBSUB = 'gcp_pubsub'; /** * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_JMS = 'jms'; /** * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_KAFKA = 'kafka'; /** * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_RABBITMQ = 'rabbitmq'; /** * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SYSTEM_VALUES_ROCKETMQ = 'rocketmq'; /** * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS = 'gprs'; /** * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EDGE = 'edge'; /** * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_UMTS = 'umts'; /** * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA = 'cdma'; /** * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_0 = 'evdo_0'; /** * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_A = 'evdo_a'; /** * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT = 'cdma2000_1xrtt'; @@ -5600,245 +5600,245 @@ export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT = /** * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSDPA = 'hsdpa'; /** * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSUPA = 'hsupa'; /** * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPA = 'hspa'; /** * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_IDEN = 'iden'; /** * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_B = 'evdo_b'; /** * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE = 'lte'; /** * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_EHRPD = 'ehrpd'; /** * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPAP = 'hspap'; /** * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_GSM = 'gsm'; /** * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_TD_SCDMA = 'td_scdma'; /** * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_IWLAN = 'iwlan'; /** * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_NR = 'nr'; /** * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_NRNSA = 'nrnsa'; /** * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE_CA = 'lte_ca'; /** * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_WIFI = 'wifi'; /** * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_WIRED = 'wired'; /** * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_CELL = 'cell'; /** * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_UNAVAILABLE = 'unavailable'; /** * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_CONNECTION_TYPE_VALUES_UNKNOWN = 'unknown'; /** * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_IO_DIRECTION_VALUES_TRANSMIT = 'transmit'; /** * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const NETWORK_IO_DIRECTION_VALUES_RECEIVE = 'receive'; /** * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_WINDOWS = 'windows'; /** * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_LINUX = 'linux'; /** * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_DARWIN = 'darwin'; /** * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_FREEBSD = 'freebsd'; /** * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_NETBSD = 'netbsd'; /** * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_OPENBSD = 'openbsd'; /** * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_DRAGONFLYBSD = 'dragonflybsd'; /** * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_HPUX = 'hpux'; /** * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_AIX = 'aix'; /** * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_SOLARIS = 'solaris'; /** * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OS_TYPE_VALUES_Z_OS = 'z_os'; /** * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED = 'cancelled'; /** * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNKNOWN = 'unknown'; /** * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT = 'invalid_argument'; @@ -5846,7 +5846,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT = /** * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED = 'deadline_exceeded'; @@ -5854,14 +5854,14 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED = /** * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_NOT_FOUND = 'not_found'; /** * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS = 'already_exists'; @@ -5869,7 +5869,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS = /** * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED = 'permission_denied'; @@ -5877,7 +5877,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED = /** * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED = 'resource_exhausted'; @@ -5885,7 +5885,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED = /** * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION = 'failed_precondition'; @@ -5893,49 +5893,49 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION = /** * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ABORTED = 'aborted'; /** * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_OUT_OF_RANGE = 'out_of_range'; /** * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNIMPLEMENTED = 'unimplemented'; /** * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INTERNAL = 'internal'; /** * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAVAILABLE = 'unavailable'; /** * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DATA_LOSS = 'data_loss'; /** * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED = 'unauthenticated'; @@ -5943,230 +5943,230 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED = /** * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_OK = 0; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_CANCELLED = 1; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN = 2; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT = 3; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED = 4; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND = 5; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS = 6; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED = 7; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED = 8; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION = 9; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_ABORTED = 10; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE = 11; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED = 12; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_INTERNAL = 13; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE = 14; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS = 15; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED = 16; /** * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_GRPC = 'grpc'; /** * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_JAVA_RMI = 'java_rmi'; /** * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_DOTNET_WCF = 'dotnet_wcf'; /** * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_APACHE_DUBBO = 'apache_dubbo'; /** * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_SYSTEM_VALUES_CONNECT_RPC = 'connect_rpc'; /** * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const TLS_PROTOCOL_NAME_VALUES_SSL = 'ssl'; /** * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const TLS_PROTOCOL_NAME_VALUES_TLS = 'tls'; /** * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const AWS_ECS_LAUNCHTYPE_VALUES_EC2 = 'ec2'; /** * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const AWS_ECS_LAUNCHTYPE_VALUES_FARGATE = 'fargate'; /** * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OPENTRACING_REF_TYPE_VALUES_CHILD_OF = 'child_of'; /** * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const OPENTRACING_REF_TYPE_VALUES_FOLLOWS_FROM = 'follows_from'; /** * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const GRAPHQL_OPERATION_TYPE_VALUES_QUERY = 'query'; /** * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const GRAPHQL_OPERATION_TYPE_VALUES_MUTATION = 'mutation'; /** * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const GRAPHQL_OPERATION_TYPE_VALUES_SUBSCRIPTION = 'subscription'; /** * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGE_TYPE_VALUES_SENT = 'SENT'; /** * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGE_TYPE_VALUES_RECEIVED = 'RECEIVED'; diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 170b73a7e6..f37a2f9d58 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -35,7 +35,7 @@ {%- endif %} {%- if (metric.stability | string()) != "StabilityLevel.STABLE" %} * - * @experimental this metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if metric.deprecated %} * @@ -56,7 +56,7 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st {%- endif %} {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if attribute.deprecated %} * @@ -80,7 +80,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", * Enum value {{ print_value(type, member.value) }} for attribute {@link ATTR_{{ attribute.fqn | to_const_name }}}. {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} * - * @experimental this attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if attribute.deprecated %} * From a827bb79e7d6a13ec09607588b328028797b9ab5 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 22 May 2024 11:05:54 -0400 Subject: [PATCH 12/47] main export should be stable only --- .../package.json | 33 +++++++++++++++++++ .../src/index.ts | 1 - 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index d6b483feb6..d1b4e97b83 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -6,6 +6,39 @@ "module": "build/esm/index.js", "esnext": "build/esnext/index.js", "types": "build/src/index.d.ts", + "exports": { + ".": { + "module": "./build/esm/index.js", + "esnext": "./build/esnext/index.js", + "types": "./build/src/index.d.ts", + "default": "./build/src/index.js" + }, + "./experimental": { + "module": "./build/esm/index-experimental.js", + "esnext": "./build/esnext/index-experimental.js", + "types": "./build/src/index-experimental.d.ts", + "default": "./build/src/index-experimental.js" + }, + "./stable": { + "module": "./build/esm/stable.js", + "esnext": "./build/esnext/stable.js", + "types": "./build/src/stable.d.ts", + "default": "./build/src/stable.js" + } + }, + "typesVersions": { + "*": { + "*": [ + "./build/src/index.d.ts" + ], + "experimental": [ + "./build/src/index-experimental.d.ts" + ], + "stable": [ + "./build/src/stable.d.ts" + ] + } + }, "repository": "open-telemetry/opentelemetry-js", "scripts": { "prepublishOnly": "npm run compile", diff --git a/packages/opentelemetry-semantic-conventions/src/index.ts b/packages/opentelemetry-semantic-conventions/src/index.ts index 6a6aff547e..1788d3bf11 100644 --- a/packages/opentelemetry-semantic-conventions/src/index.ts +++ b/packages/opentelemetry-semantic-conventions/src/index.ts @@ -19,5 +19,4 @@ export * from './trace'; export * from './resource'; // Use these instead -export * from './experimental'; export * from './stable'; From fbc64dab8468f87b972a62a481901e2e84213027 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 22 May 2024 16:06:16 -0400 Subject: [PATCH 13/47] Add experimental index --- .../src/index-experimental.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/opentelemetry-semantic-conventions/src/index-experimental.ts diff --git a/packages/opentelemetry-semantic-conventions/src/index-experimental.ts b/packages/opentelemetry-semantic-conventions/src/index-experimental.ts new file mode 100644 index 0000000000..1d44bccf75 --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/index-experimental.ts @@ -0,0 +1,20 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Experimental export also contains stable constants in order to maintain +// backward compatibility between minor version releases +export * from './stable'; +export * from './experimental'; From 72561bad059cafb95c3661552a95025499af465b Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 22 May 2024 16:07:13 -0400 Subject: [PATCH 14/47] Use singular value infix --- .../src/experimental.ts | 677 +++++++++--------- .../src/stable.ts | 110 +-- .../templates/SemanticAttributes.ts.j2 | 2 +- 3 files changed, 392 insertions(+), 397 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index 3786ee2e8d..0fa735de98 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -3767,455 +3767,455 @@ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const LOG_IOSTREAM_VALUES_STDOUT = 'stdout'; +export const LOG_IOSTREAM_VALUE_STDOUT = 'stdout'; /** * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const LOG_IOSTREAM_VALUES_STDERR = 'stderr'; +export const LOG_IOSTREAM_VALUE_STDERR = 'stderr'; /** * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUES_ACTIVE = 'active'; +export const IOS_STATE_VALUE_ACTIVE = 'active'; /** * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUES_INACTIVE = 'inactive'; +export const IOS_STATE_VALUE_INACTIVE = 'inactive'; /** * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUES_BACKGROUND = 'background'; +export const IOS_STATE_VALUE_BACKGROUND = 'background'; /** * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUES_FOREGROUND = 'foreground'; +export const IOS_STATE_VALUE_FOREGROUND = 'foreground'; /** * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUES_TERMINATE = 'terminate'; +export const IOS_STATE_VALUE_TERMINATE = 'terminate'; /** * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUES_CREATED = 'created'; +export const ANDROID_STATE_VALUE_CREATED = 'created'; /** * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUES_BACKGROUND = 'background'; +export const ANDROID_STATE_VALUE_BACKGROUND = 'background'; /** * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUES_FOREGROUND = 'foreground'; +export const ANDROID_STATE_VALUE_FOREGROUND = 'foreground'; /** * Enum value 'idle' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const STATE_VALUES_IDLE = 'idle'; +export const STATE_VALUE_IDLE = 'idle'; /** * Enum value 'used' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const STATE_VALUES_USED = 'used'; +export const STATE_VALUE_USED = 'used'; /** * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUES_SYSTEM = 'system'; +export const PROCESS_CPU_STATE_VALUE_SYSTEM = 'system'; /** * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUES_USER = 'user'; +export const PROCESS_CPU_STATE_VALUE_USER = 'user'; /** * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUES_WAIT = 'wait'; +export const PROCESS_CPU_STATE_VALUE_WAIT = 'wait'; /** * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_VOLUNTARY = 'voluntary'; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary'; /** * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUES_INVOLUNTARY = 'involuntary'; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = 'involuntary'; /** * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUES_MAJOR = 'major'; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major'; /** * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUES_MINOR = 'minor'; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor'; /** * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_USER = 'user'; +export const SYSTEM_CPU_STATE_VALUE_USER = 'user'; /** * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_SYSTEM = 'system'; +export const SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system'; /** * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_NICE = 'nice'; +export const SYSTEM_CPU_STATE_VALUE_NICE = 'nice'; /** * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_IDLE = 'idle'; +export const SYSTEM_CPU_STATE_VALUE_IDLE = 'idle'; /** * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_IOWAIT = 'iowait'; +export const SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait'; /** * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_INTERRUPT = 'interrupt'; +export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt'; /** * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUES_STEAL = 'steal'; +export const SYSTEM_CPU_STATE_VALUE_STEAL = 'steal'; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUES_USED = 'used'; +export const SYSTEM_MEMORY_STATE_VALUE_USED = 'used'; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUES_FREE = 'free'; +export const SYSTEM_MEMORY_STATE_VALUE_FREE = 'free'; /** * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUES_SHARED = 'shared'; +export const SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared'; /** * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUES_BUFFERS = 'buffers'; +export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers'; /** * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUES_CACHED = 'cached'; +export const SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached'; /** * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_DIRECTION_VALUES_IN = 'in'; +export const SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in'; /** * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_DIRECTION_VALUES_OUT = 'out'; +export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out'; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_STATE_VALUES_USED = 'used'; +export const SYSTEM_PAGING_STATE_VALUE_USED = 'used'; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_STATE_VALUES_FREE = 'free'; +export const SYSTEM_PAGING_STATE_VALUE_FREE = 'free'; /** * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_TYPE_VALUES_MAJOR = 'major'; +export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major'; /** * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_TYPE_VALUES_MINOR = 'minor'; +export const SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor'; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUES_USED = 'used'; +export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used'; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUES_FREE = 'free'; +export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free'; /** * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUES_RESERVED = 'reserved'; +export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved'; /** * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUES_FAT32 = 'fat32'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32'; /** * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXFAT = 'exfat'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat'; /** * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUES_NTFS = 'ntfs'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs'; /** * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUES_REFS = 'refs'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs'; /** * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUES_HFSPLUS = 'hfsplus'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus'; /** * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUES_EXT4 = 'ext4'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4'; /** * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_CLOSE = 'close'; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close'; /** * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_CLOSE_WAIT = 'close_wait'; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait'; /** * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_CLOSING = 'closing'; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing'; /** * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_DELETE = 'delete'; +export const SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete'; /** * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_ESTABLISHED = 'established'; +export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established'; /** * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_1 = 'fin_wait_1'; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1'; /** * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_FIN_WAIT_2 = 'fin_wait_2'; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2'; /** * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_LAST_ACK = 'last_ack'; +export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack'; /** * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_LISTEN = 'listen'; +export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen'; /** * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_SYN_RECV = 'syn_recv'; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv'; /** * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_SYN_SENT = 'syn_sent'; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent'; /** * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUES_TIME_WAIT = 'time_wait'; +export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait'; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUES_RUNNING = 'running'; +export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running'; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUES_SLEEPING = 'sleeping'; +export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping'; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUES_STOPPED = 'stopped'; +export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped'; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUES_DEFUNCT = 'defunct'; +export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct'; /** * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; /** * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; /** * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT = +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift'; /** @@ -4223,35 +4223,35 @@ export const CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_OPENSHIFT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_EC2 = 'aws_ec2'; +export const CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2'; /** * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_ECS = 'aws_ecs'; +export const CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs'; /** * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_EKS = 'aws_eks'; +export const CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks'; /** * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_LAMBDA = 'aws_lambda'; +export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda'; /** * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK = +export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk'; /** @@ -4259,36 +4259,35 @@ export const CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_APP_RUNNER = 'aws_app_runner'; +export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner'; /** * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AWS_OPENSHIFT = 'aws_openshift'; +export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift'; /** * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_VM = 'azure_vm'; +export const CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm'; /** * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_APPS = - 'azure_container_apps'; +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps'; /** * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES = +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = 'azure_container_instances'; /** @@ -4296,35 +4295,35 @@ export const CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_AKS = 'azure_aks'; +export const CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks'; /** * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS = 'azure_functions'; +export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions'; /** * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE = 'azure_app_service'; +export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = 'azure_app_service'; /** * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_AZURE_OPENSHIFT = 'azure_openshift'; +export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift'; /** * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION = +export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution'; /** @@ -4332,21 +4331,21 @@ export const CLOUD_PLATFORM_VALUES_GCP_BARE_METAL_SOLUTION = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; +export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; /** * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN = 'gcp_cloud_run'; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run'; /** * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE = +export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine'; /** @@ -4354,317 +4353,315 @@ export const CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; /** * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE = 'gcp_app_engine'; +export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine'; /** * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_GCP_OPENSHIFT = 'gcp_openshift'; +export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift'; /** * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; +export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; /** * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; /** * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; /** * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUES_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; +export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; /** * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_AWS = 'aws'; +export const CLOUD_PROVIDER_VALUE_AWS = 'aws'; /** * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_AZURE = 'azure'; +export const CLOUD_PROVIDER_VALUE_AZURE = 'azure'; /** * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_GCP = 'gcp'; +export const CLOUD_PROVIDER_VALUE_GCP = 'gcp'; /** * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_HEROKU = 'heroku'; +export const CLOUD_PROVIDER_VALUE_HEROKU = 'heroku'; /** * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_IBM_CLOUD = 'ibm_cloud'; +export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud'; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; +export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; /** * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUES_USER = 'user'; +export const CONTAINER_CPU_STATE_VALUE_USER = 'user'; /** * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUES_SYSTEM = 'system'; +export const CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system'; /** * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUES_KERNEL = 'kernel'; +export const CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel'; /** * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL = 'all'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all'; /** * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM = 'each_quorum'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = 'each_quorum'; /** * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM = 'quorum'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum'; /** * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM = - 'local_quorum'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = 'local_quorum'; /** * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE = 'one'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one'; /** * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO = 'two'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two'; /** * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE = 'three'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three'; /** * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE = 'local_one'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = 'local_one'; /** * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY = 'any'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any'; /** * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL = 'serial'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial'; /** * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL = - 'local_serial'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = 'local_serial'; /** * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUES_GATEWAY = 'gateway'; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway'; /** * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUES_DIRECT = 'direct'; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct'; /** * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_INVALID = 'Invalid'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid'; /** * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_CREATE = 'Create'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create'; /** * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_PATCH = 'Patch'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch'; /** * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ = 'Read'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read'; /** * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_READ_FEED = 'ReadFeed'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed'; /** * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_DELETE = 'Delete'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete'; /** * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_REPLACE = 'Replace'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace'; /** * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE = 'Execute'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute'; /** * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY = 'Query'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query'; /** * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD = 'Head'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head'; /** * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_HEAD_FEED = 'HeadFeed'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed'; /** * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_UPSERT = 'Upsert'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert'; /** * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_BATCH = 'Batch'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch'; /** * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_QUERY_PLAN = 'QueryPlan'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan'; /** * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT = +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript'; /** @@ -4672,364 +4669,364 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUES_EXECUTE_JAVASCRIPT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_OTHER_SQL = 'other_sql'; +export const DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql'; /** * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MSSQL = 'mssql'; +export const DB_SYSTEM_VALUE_MSSQL = 'mssql'; /** * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MSSQLCOMPACT = 'mssqlcompact'; +export const DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact'; /** * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MYSQL = 'mysql'; +export const DB_SYSTEM_VALUE_MYSQL = 'mysql'; /** * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_ORACLE = 'oracle'; +export const DB_SYSTEM_VALUE_ORACLE = 'oracle'; /** * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_DB2 = 'db2'; +export const DB_SYSTEM_VALUE_DB2 = 'db2'; /** * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_POSTGRESQL = 'postgresql'; +export const DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql'; /** * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_REDSHIFT = 'redshift'; +export const DB_SYSTEM_VALUE_REDSHIFT = 'redshift'; /** * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_HIVE = 'hive'; +export const DB_SYSTEM_VALUE_HIVE = 'hive'; /** * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_CLOUDSCAPE = 'cloudscape'; +export const DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape'; /** * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_HSQLDB = 'hsqldb'; +export const DB_SYSTEM_VALUE_HSQLDB = 'hsqldb'; /** * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_PROGRESS = 'progress'; +export const DB_SYSTEM_VALUE_PROGRESS = 'progress'; /** * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MAXDB = 'maxdb'; +export const DB_SYSTEM_VALUE_MAXDB = 'maxdb'; /** * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_HANADB = 'hanadb'; +export const DB_SYSTEM_VALUE_HANADB = 'hanadb'; /** * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_INGRES = 'ingres'; +export const DB_SYSTEM_VALUE_INGRES = 'ingres'; /** * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_FIRSTSQL = 'firstsql'; +export const DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql'; /** * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_EDB = 'edb'; +export const DB_SYSTEM_VALUE_EDB = 'edb'; /** * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_CACHE = 'cache'; +export const DB_SYSTEM_VALUE_CACHE = 'cache'; /** * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_ADABAS = 'adabas'; +export const DB_SYSTEM_VALUE_ADABAS = 'adabas'; /** * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_FIREBIRD = 'firebird'; +export const DB_SYSTEM_VALUE_FIREBIRD = 'firebird'; /** * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_DERBY = 'derby'; +export const DB_SYSTEM_VALUE_DERBY = 'derby'; /** * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_FILEMAKER = 'filemaker'; +export const DB_SYSTEM_VALUE_FILEMAKER = 'filemaker'; /** * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_INFORMIX = 'informix'; +export const DB_SYSTEM_VALUE_INFORMIX = 'informix'; /** * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_INSTANTDB = 'instantdb'; +export const DB_SYSTEM_VALUE_INSTANTDB = 'instantdb'; /** * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_INTERBASE = 'interbase'; +export const DB_SYSTEM_VALUE_INTERBASE = 'interbase'; /** * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MARIADB = 'mariadb'; +export const DB_SYSTEM_VALUE_MARIADB = 'mariadb'; /** * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_NETEZZA = 'netezza'; +export const DB_SYSTEM_VALUE_NETEZZA = 'netezza'; /** * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_PERVASIVE = 'pervasive'; +export const DB_SYSTEM_VALUE_PERVASIVE = 'pervasive'; /** * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_POINTBASE = 'pointbase'; +export const DB_SYSTEM_VALUE_POINTBASE = 'pointbase'; /** * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_SQLITE = 'sqlite'; +export const DB_SYSTEM_VALUE_SQLITE = 'sqlite'; /** * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_SYBASE = 'sybase'; +export const DB_SYSTEM_VALUE_SYBASE = 'sybase'; /** * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_TERADATA = 'teradata'; +export const DB_SYSTEM_VALUE_TERADATA = 'teradata'; /** * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_VERTICA = 'vertica'; +export const DB_SYSTEM_VALUE_VERTICA = 'vertica'; /** * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_H2 = 'h2'; +export const DB_SYSTEM_VALUE_H2 = 'h2'; /** * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_COLDFUSION = 'coldfusion'; +export const DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion'; /** * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_CASSANDRA = 'cassandra'; +export const DB_SYSTEM_VALUE_CASSANDRA = 'cassandra'; /** * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_HBASE = 'hbase'; +export const DB_SYSTEM_VALUE_HBASE = 'hbase'; /** * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MONGODB = 'mongodb'; +export const DB_SYSTEM_VALUE_MONGODB = 'mongodb'; /** * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_REDIS = 'redis'; +export const DB_SYSTEM_VALUE_REDIS = 'redis'; /** * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_COUCHBASE = 'couchbase'; +export const DB_SYSTEM_VALUE_COUCHBASE = 'couchbase'; /** * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_COUCHDB = 'couchdb'; +export const DB_SYSTEM_VALUE_COUCHDB = 'couchdb'; /** * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_COSMOSDB = 'cosmosdb'; +export const DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb'; /** * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_DYNAMODB = 'dynamodb'; +export const DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb'; /** * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_NEO4J = 'neo4j'; +export const DB_SYSTEM_VALUE_NEO4J = 'neo4j'; /** * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_GEODE = 'geode'; +export const DB_SYSTEM_VALUE_GEODE = 'geode'; /** * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_ELASTICSEARCH = 'elasticsearch'; +export const DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch'; /** * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_MEMCACHED = 'memcached'; +export const DB_SYSTEM_VALUE_MEMCACHED = 'memcached'; /** * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_COCKROACHDB = 'cockroachdb'; +export const DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb'; /** * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_OPENSEARCH = 'opensearch'; +export const DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch'; /** * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_CLICKHOUSE = 'clickhouse'; +export const DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse'; /** * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_SPANNER = 'spanner'; +export const DB_SYSTEM_VALUE_SPANNER = 'spanner'; /** * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUES_TRINO = 'trino'; +export const DB_SYSTEM_VALUE_TRINO = 'trino'; /** * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5038,7 +5035,7 @@ export const DB_SYSTEM_VALUES_TRINO = 'trino'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUES_HTTP_1_0 = '1.0'; +export const HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0'; /** * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5047,7 +5044,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_1_0 = '1.0'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUES_HTTP_1_1 = '1.1'; +export const HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1'; /** * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5056,7 +5053,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_1_1 = '1.1'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUES_HTTP_2_0 = '2.0'; +export const HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0'; /** * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5065,7 +5062,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_2_0 = '2.0'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUES_HTTP_3_0 = '3.0'; +export const HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0'; /** * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5074,7 +5071,7 @@ export const HTTP_FLAVOR_VALUES_HTTP_3_0 = '3.0'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUES_SPDY = 'SPDY'; +export const HTTP_FLAVOR_VALUE_SPDY = 'SPDY'; /** * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5083,7 +5080,7 @@ export const HTTP_FLAVOR_VALUES_SPDY = 'SPDY'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUES_QUIC = 'QUIC'; +export const HTTP_FLAVOR_VALUE_QUIC = 'QUIC'; /** * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5092,7 +5089,7 @@ export const HTTP_FLAVOR_VALUES_QUIC = 'QUIC'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUES_INET = 'inet'; +export const NET_SOCK_FAMILY_VALUE_INET = 'inet'; /** * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5101,7 +5098,7 @@ export const NET_SOCK_FAMILY_VALUES_INET = 'inet'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUES_INET6 = 'inet6'; +export const NET_SOCK_FAMILY_VALUE_INET6 = 'inet6'; /** * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5110,7 +5107,7 @@ export const NET_SOCK_FAMILY_VALUES_INET6 = 'inet6'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUES_UNIX = 'unix'; +export const NET_SOCK_FAMILY_VALUE_UNIX = 'unix'; /** * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5119,7 +5116,7 @@ export const NET_SOCK_FAMILY_VALUES_UNIX = 'unix'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUES_IP_TCP = 'ip_tcp'; +export const NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp'; /** * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5128,7 +5125,7 @@ export const NET_TRANSPORT_VALUES_IP_TCP = 'ip_tcp'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUES_IP_UDP = 'ip_udp'; +export const NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp'; /** * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5137,7 +5134,7 @@ export const NET_TRANSPORT_VALUES_IP_UDP = 'ip_udp'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUES_PIPE = 'pipe'; +export const NET_TRANSPORT_VALUE_PIPE = 'pipe'; /** * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5146,7 +5143,7 @@ export const NET_TRANSPORT_VALUES_PIPE = 'pipe'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUES_INPROC = 'inproc'; +export const NET_TRANSPORT_VALUE_INPROC = 'inproc'; /** * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5155,7 +5152,7 @@ export const NET_TRANSPORT_VALUES_INPROC = 'inproc'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUES_OTHER = 'other'; +export const NET_TRANSPORT_VALUE_OTHER = 'other'; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5164,7 +5161,7 @@ export const NET_TRANSPORT_VALUES_OTHER = 'other'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUES_RUNNING = 'running'; +export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running'; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5173,7 +5170,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_RUNNING = 'running'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING = 'sleeping'; +export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping'; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5182,7 +5179,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_SLEEPING = 'sleeping'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUES_STOPPED = 'stopped'; +export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped'; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5191,224 +5188,224 @@ export const SYSTEM_PROCESSES_STATUS_VALUES_STOPPED = 'stopped'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUES_DEFUNCT = 'defunct'; +export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct'; /** * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DISK_IO_DIRECTION_VALUES_READ = 'read'; +export const DISK_IO_DIRECTION_VALUE_READ = 'read'; /** * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DISK_IO_DIRECTION_VALUES_WRITE = 'write'; +export const DISK_IO_DIRECTION_VALUE_WRITE = 'write'; /** * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUES_INSERT = 'insert'; +export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert'; /** * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUES_EDIT = 'edit'; +export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit'; /** * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUES_DELETE = 'delete'; +export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete'; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD = 'alibaba_cloud'; +export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; /** * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUES_AWS = 'aws'; +export const FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws'; /** * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUES_AZURE = 'azure'; +export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure'; /** * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUES_GCP = 'gcp'; +export const FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp'; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUES_TENCENT_CLOUD = 'tencent_cloud'; +export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; /** * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUES_DATASOURCE = 'datasource'; +export const FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource'; /** * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUES_HTTP = 'http'; +export const FAAS_TRIGGER_VALUE_HTTP = 'http'; /** * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUES_PUBSUB = 'pubsub'; +export const FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub'; /** * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUES_TIMER = 'timer'; +export const FAAS_TRIGGER_VALUE_TIMER = 'timer'; /** * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUES_OTHER = 'other'; +export const FAAS_TRIGGER_VALUE_OTHER = 'other'; /** * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_AMD64 = 'amd64'; +export const HOST_ARCH_VALUE_AMD64 = 'amd64'; /** * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_ARM32 = 'arm32'; +export const HOST_ARCH_VALUE_ARM32 = 'arm32'; /** * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_ARM64 = 'arm64'; +export const HOST_ARCH_VALUE_ARM64 = 'arm64'; /** * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_IA64 = 'ia64'; +export const HOST_ARCH_VALUE_IA64 = 'ia64'; /** * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_PPC32 = 'ppc32'; +export const HOST_ARCH_VALUE_PPC32 = 'ppc32'; /** * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_PPC64 = 'ppc64'; +export const HOST_ARCH_VALUE_PPC64 = 'ppc64'; /** * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_S390X = 's390x'; +export const HOST_ARCH_VALUE_S390X = 's390x'; /** * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUES_X86 = 'x86'; +export const HOST_ARCH_VALUE_X86 = 'x86'; /** * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HTTP_CONNECTION_STATE_VALUES_ACTIVE = 'active'; +export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active'; /** * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HTTP_CONNECTION_STATE_VALUES_IDLE = 'idle'; +export const HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; /** * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUES_PUBLISH = 'publish'; +export const MESSAGING_OPERATION_VALUE_PUBLISH = 'publish'; /** * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUES_CREATE = 'create'; +export const MESSAGING_OPERATION_VALUE_CREATE = 'create'; /** * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUES_RECEIVE = 'receive'; +export const MESSAGING_OPERATION_VALUE_RECEIVE = 'receive'; /** * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUES_DELIVER = 'process'; +export const MESSAGING_OPERATION_VALUE_DELIVER = 'process'; /** * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUES_SETTLE = 'settle'; +export const MESSAGING_OPERATION_VALUE_SETTLE = 'settle'; /** * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING = +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering'; /** @@ -5416,7 +5413,7 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_CLUSTERING = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING = +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting'; /** @@ -5424,35 +5421,35 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUES_BROADCASTING = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_NORMAL = 'normal'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal'; /** * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_FIFO = 'fifo'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo'; /** * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_DELAY = 'delay'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay'; /** * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUES_TRANSACTION = 'transaction'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; /** * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE = +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete'; /** @@ -5460,14 +5457,14 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_COMPLETE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_ABANDON = 'abandon'; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; /** * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER = +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter'; /** @@ -5475,372 +5472,371 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEAD_LETTER = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUES_DEFER = 'defer'; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer'; /** * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_ACTIVEMQ = 'activemq'; +export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq'; /** * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_AWS_SQS = 'aws_sqs'; +export const MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs'; /** * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_EVENTGRID = 'eventgrid'; +export const MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid'; /** * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_EVENTHUBS = 'eventhubs'; +export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs'; /** * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_SERVICEBUS = 'servicebus'; +export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus'; /** * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_GCP_PUBSUB = 'gcp_pubsub'; +export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub'; /** * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_JMS = 'jms'; +export const MESSAGING_SYSTEM_VALUE_JMS = 'jms'; /** * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_KAFKA = 'kafka'; +export const MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka'; /** * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_RABBITMQ = 'rabbitmq'; +export const MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq'; /** * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUES_ROCKETMQ = 'rocketmq'; +export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq'; /** * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_GPRS = 'gprs'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs'; /** * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_EDGE = 'edge'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge'; /** * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_UMTS = 'umts'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; /** * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA = 'cdma'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma'; /** * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_0 = 'evdo_0'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0'; /** * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_A = 'evdo_a'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a'; /** * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT = - 'cdma2000_1xrtt'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt'; /** * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSDPA = 'hsdpa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa'; /** * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSUPA = 'hsupa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa'; /** * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPA = 'hspa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa'; /** * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_IDEN = 'iden'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden'; /** * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_EVDO_B = 'evdo_b'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b'; /** * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE = 'lte'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte'; /** * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_EHRPD = 'ehrpd'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd'; /** * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_HSPAP = 'hspap'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap'; /** * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_GSM = 'gsm'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm'; /** * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_TD_SCDMA = 'td_scdma'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma'; /** * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_IWLAN = 'iwlan'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan'; /** * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_NR = 'nr'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr'; /** * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_NRNSA = 'nrnsa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa'; /** * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUES_LTE_CA = 'lte_ca'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca'; /** * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUES_WIFI = 'wifi'; +export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi'; /** * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUES_WIRED = 'wired'; +export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; /** * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUES_CELL = 'cell'; +export const NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell'; /** * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUES_UNAVAILABLE = 'unavailable'; +export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable'; /** * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUES_UNKNOWN = 'unknown'; +export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown'; /** * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_IO_DIRECTION_VALUES_TRANSMIT = 'transmit'; +export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit'; /** * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_IO_DIRECTION_VALUES_RECEIVE = 'receive'; +export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive'; /** * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_WINDOWS = 'windows'; +export const OS_TYPE_VALUE_WINDOWS = 'windows'; /** * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_LINUX = 'linux'; +export const OS_TYPE_VALUE_LINUX = 'linux'; /** * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_DARWIN = 'darwin'; +export const OS_TYPE_VALUE_DARWIN = 'darwin'; /** * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_FREEBSD = 'freebsd'; +export const OS_TYPE_VALUE_FREEBSD = 'freebsd'; /** * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_NETBSD = 'netbsd'; +export const OS_TYPE_VALUE_NETBSD = 'netbsd'; /** * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_OPENBSD = 'openbsd'; +export const OS_TYPE_VALUE_OPENBSD = 'openbsd'; /** * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_DRAGONFLYBSD = 'dragonflybsd'; +export const OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd'; /** * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_HPUX = 'hpux'; +export const OS_TYPE_VALUE_HPUX = 'hpux'; /** * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_AIX = 'aix'; +export const OS_TYPE_VALUE_AIX = 'aix'; /** * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_SOLARIS = 'solaris'; +export const OS_TYPE_VALUE_SOLARIS = 'solaris'; /** * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUES_Z_OS = 'z_os'; +export const OS_TYPE_VALUE_Z_OS = 'z_os'; /** * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_CANCELLED = 'cancelled'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled'; /** * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNKNOWN = 'unknown'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; /** * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT = +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument'; /** @@ -5848,7 +5844,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INVALID_ARGUMENT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED = +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded'; /** @@ -5856,22 +5852,21 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DEADLINE_EXCEEDED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_NOT_FOUND = 'not_found'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found'; /** * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ALREADY_EXISTS = - 'already_exists'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; /** * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED = +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied'; /** @@ -5879,7 +5874,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_PERMISSION_DENIED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED = +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted'; /** @@ -5887,7 +5882,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_RESOURCE_EXHAUSTED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION = +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition'; /** @@ -5895,49 +5890,49 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_FAILED_PRECONDITION = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_ABORTED = 'aborted'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted'; /** * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_OUT_OF_RANGE = 'out_of_range'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range'; /** * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNIMPLEMENTED = 'unimplemented'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented'; /** * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_INTERNAL = 'internal'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal'; /** * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAVAILABLE = 'unavailable'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable'; /** * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_DATA_LOSS = 'data_loss'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; /** * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED = +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated'; /** @@ -5945,228 +5940,228 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUES_UNAUTHENTICATED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_OK = 0; +export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_CANCELLED = 1; +export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN = 2; +export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT = 3; +export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED = 4; +export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND = 5; +export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS = 6; +export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED = 7; +export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED = 8; +export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION = 9; +export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_ABORTED = 10; +export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE = 11; +export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED = 12; +export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_INTERNAL = 13; +export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE = 14; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS = 15; +export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED = 16; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; /** * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUES_GRPC = 'grpc'; +export const RPC_SYSTEM_VALUE_GRPC = 'grpc'; /** * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUES_JAVA_RMI = 'java_rmi'; +export const RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi'; /** * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUES_DOTNET_WCF = 'dotnet_wcf'; +export const RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf'; /** * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUES_APACHE_DUBBO = 'apache_dubbo'; +export const RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo'; /** * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUES_CONNECT_RPC = 'connect_rpc'; +export const RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc'; /** * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const TLS_PROTOCOL_NAME_VALUES_SSL = 'ssl'; +export const TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl'; /** * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const TLS_PROTOCOL_NAME_VALUES_TLS = 'tls'; +export const TLS_PROTOCOL_NAME_VALUE_TLS = 'tls'; /** * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const AWS_ECS_LAUNCHTYPE_VALUES_EC2 = 'ec2'; +export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2'; /** * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const AWS_ECS_LAUNCHTYPE_VALUES_FARGATE = 'fargate'; +export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate'; /** * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OPENTRACING_REF_TYPE_VALUES_CHILD_OF = 'child_of'; +export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of'; /** * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OPENTRACING_REF_TYPE_VALUES_FOLLOWS_FROM = 'follows_from'; +export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from'; /** * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUES_QUERY = 'query'; +export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query'; /** * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUES_MUTATION = 'mutation'; +export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation'; /** * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUES_SUBSCRIPTION = 'subscription'; +export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = 'subscription'; /** * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGE_TYPE_VALUES_SENT = 'SENT'; +export const MESSAGE_TYPE_VALUE_SENT = 'SENT'; /** * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGE_TYPE_VALUES_RECEIVED = 'RECEIVED'; +export const MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index 5f31df1c65..ce4dfb2ed6 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -599,278 +599,278 @@ export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; /** * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_ACQUIRED = 'acquired'; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = 'acquired'; /** * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_ENDPOINT_LIMITER = +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = 'endpoint_limiter'; /** * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_GLOBAL_LIMITER = +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = 'global_limiter'; /** * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUES_REQUEST_CANCELED = +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = 'request_canceled'; /** * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUES_SUCCESS = 'success'; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success'; /** * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUES_FAILURE = 'failure'; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure'; /** * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_HANDLED = 'handled'; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = 'handled'; /** * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_UNHANDLED = +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = 'unhandled'; /** * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_SKIPPED = 'skipped'; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = 'skipped'; /** * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUES_ABORTED = 'aborted'; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'aborted'; /** * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUES_NORMAL_CLOSURE = 'normal_closure'; +export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = 'normal_closure'; /** * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUES_TIMEOUT = 'timeout'; +export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout'; /** * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUES_APP_SHUTDOWN = 'app_shutdown'; +export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = 'app_shutdown'; /** * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUES_SERVER_SENT_EVENTS = 'server_sent_events'; +export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = 'server_sent_events'; /** * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUES_LONG_POLLING = 'long_polling'; +export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling'; /** * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUES_WEB_SOCKETS = 'web_sockets'; +export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets'; /** * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUES_HEAP = 'heap'; +export const JVM_MEMORY_TYPE_VALUE_HEAP = 'heap'; /** * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUES_NON_HEAP = 'non_heap'; +export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap'; /** * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUES_NEW = 'new'; +export const JVM_THREAD_STATE_VALUE_NEW = 'new'; /** * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUES_RUNNABLE = 'runnable'; +export const JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable'; /** * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUES_BLOCKED = 'blocked'; +export const JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked'; /** * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUES_WAITING = 'waiting'; +export const JVM_THREAD_STATE_VALUE_WAITING = 'waiting'; /** * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUES_TIMED_WAITING = 'timed_waiting'; +export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting'; /** * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUES_TERMINATED = 'terminated'; +export const JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated'; /** * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. */ -export const ERROR_TYPE_VALUES_OTHER = '_OTHER'; +export const ERROR_TYPE_VALUE_OTHER = '_OTHER'; /** * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_CONNECT = 'CONNECT'; +export const HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT'; /** * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_DELETE = 'DELETE'; +export const HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE'; /** * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_GET = 'GET'; +export const HTTP_REQUEST_METHOD_VALUE_GET = 'GET'; /** * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_HEAD = 'HEAD'; +export const HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD'; /** * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_OPTIONS = 'OPTIONS'; +export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS'; /** * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_PATCH = 'PATCH'; +export const HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH'; /** * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_POST = 'POST'; +export const HTTP_REQUEST_METHOD_VALUE_POST = 'POST'; /** * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_PUT = 'PUT'; +export const HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT'; /** * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_TRACE = 'TRACE'; +export const HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE'; /** * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUES_OTHER = '_OTHER'; +export const HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER'; /** * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUES_TCP = 'tcp'; +export const NETWORK_TRANSPORT_VALUE_TCP = 'tcp'; /** * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUES_UDP = 'udp'; +export const NETWORK_TRANSPORT_VALUE_UDP = 'udp'; /** * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUES_PIPE = 'pipe'; +export const NETWORK_TRANSPORT_VALUE_PIPE = 'pipe'; /** * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUES_UNIX = 'unix'; +export const NETWORK_TRANSPORT_VALUE_UNIX = 'unix'; /** * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUES_IPV4 = 'ipv4'; +export const NETWORK_TYPE_VALUE_IPV4 = 'ipv4'; /** * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUES_IPV6 = 'ipv6'; +export const NETWORK_TYPE_VALUE_IPV6 = 'ipv6'; /** * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_CPP = 'cpp'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp'; /** * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET = 'dotnet'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet'; /** * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG = 'erlang'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang'; /** * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_GO = 'go'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go'; /** * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_JAVA = 'java'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java'; /** * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS = 'nodejs'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs'; /** * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_PHP = 'php'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php'; /** * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON = 'python'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python'; /** * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_RUBY = 'ruby'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby'; /** * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_RUST = 'rust'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust'; /** * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_SWIFT = 'swift'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift'; /** * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS = 'webjs'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs'; /** * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUES_OK = 'OK'; +export const OTEL_STATUS_CODE_VALUE_OK = 'OK'; /** * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUES_ERROR = 'ERROR'; +export const OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR'; diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index f37a2f9d58..3e5ee134d4 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -69,7 +69,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", {%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} {%- if attribute.is_enum %} -{%- set class_name = attribute.fqn | to_const_name ~ "_VALUES" %} +{%- set class_name = attribute.fqn | to_const_name ~ "_VALUE" %} {%- set type = attribute.attr_type.enum_type %} {%- if attribute.attr_type.members is defined and attribute.attr_type.members|length > 0 %} From 31da43d108ceb32d7045bbc08c65dc81e0de6075 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 23 May 2024 09:41:10 -0400 Subject: [PATCH 15/47] Add const types to semconv --- .../src/experimental.ts | 1694 +++++++++-------- .../src/stable.ts | 293 +-- .../templates/SemanticAttributes.ts.j2 | 6 +- 3 files changed, 1054 insertions(+), 939 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index 0fa735de98..f4f7e60402 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -25,7 +25,7 @@ * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; +export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time' as const; /** * Disk bytes for the container. @@ -34,7 +34,7 @@ export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; +export const METRIC_CONTAINER_DISK_IO = 'container.disk.io' as const; /** * Memory usage of the container. @@ -43,7 +43,7 @@ export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; +export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage' as const; /** * Network bytes for the container. @@ -52,7 +52,7 @@ export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; +export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io' as const; /** * The time it took to create a new connection. @@ -60,7 +60,7 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = - 'db.client.connections.create_time'; + 'db.client.connections.create_time' as const; /** * The maximum number of idle open connections allowed. @@ -68,7 +68,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = - 'db.client.connections.idle.max'; + 'db.client.connections.idle.max' as const; /** * The minimum number of idle open connections allowed. @@ -76,14 +76,15 @@ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = - 'db.client.connections.idle.min'; + 'db.client.connections.idle.min' as const; /** * The maximum number of open connections allowed. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; +export const METRIC_DB_CLIENT_CONNECTIONS_MAX = + 'db.client.connections.max' as const; /** * The number of pending requests for an open connection, cumulative for the entire pool. @@ -91,7 +92,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = - 'db.client.connections.pending_requests'; + 'db.client.connections.pending_requests' as const; /** * The number of connection timeouts that have occurred trying to obtain a connection from the pool. @@ -99,14 +100,15 @@ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = - 'db.client.connections.timeouts'; + 'db.client.connections.timeouts' as const; /** * The number of connections that are currently in state described by the `state` attribute. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; +export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = + 'db.client.connections.usage' as const; /** * The time between borrowing a connection and returning it to the pool. @@ -114,7 +116,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = - 'db.client.connections.use_time'; + 'db.client.connections.use_time' as const; /** * The time it took to obtain an open connection from the pool. @@ -122,84 +124,85 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = - 'db.client.connections.wait_time'; + 'db.client.connections.wait_time' as const; /** * Measures the time taken to perform a DNS lookup. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; +export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration' as const; /** * Number of invocation cold starts. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; +export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts' as const; /** * Distribution of CPU usage per invocation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage'; +export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage' as const; /** * Number of invocation errors. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_ERRORS = 'faas.errors'; +export const METRIC_FAAS_ERRORS = 'faas.errors' as const; /** * Measures the duration of the function's initialization, such as a cold start. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration'; +export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration' as const; /** * Number of successful invocations. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; +export const METRIC_FAAS_INVOCATIONS = 'faas.invocations' as const; /** * Measures the duration of the function's logic execution. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration'; +export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration' as const; /** * Distribution of max memory usage per invocation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage'; +export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage' as const; /** * Distribution of net I/O usage per invocation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_NET_IO = 'faas.net_io'; +export const METRIC_FAAS_NET_IO = 'faas.net_io' as const; /** * Number of invocation timeouts. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; +export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts' as const; /** * Number of active HTTP requests. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; +export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = + 'http.client.active_requests' as const; /** * The duration of the successfully established outbound HTTP connections. @@ -207,7 +210,7 @@ export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = - 'http.client.connection.duration'; + 'http.client.connection.duration' as const; /** * Number of outbound HTTP connections that are currently active or idle on the client. @@ -215,7 +218,7 @@ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = - 'http.client.open_connections'; + 'http.client.open_connections' as const; /** * Size of HTTP client request bodies. @@ -225,7 +228,7 @@ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = - 'http.client.request.body.size'; + 'http.client.request.body.size' as const; /** * Size of HTTP client response bodies. @@ -235,14 +238,15 @@ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = - 'http.client.response.body.size'; + 'http.client.response.body.size' as const; /** * Number of active HTTP server requests. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; +export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = + 'http.server.active_requests' as const; /** * Size of HTTP server request bodies. @@ -252,7 +256,7 @@ export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = - 'http.server.request.body.size'; + 'http.server.request.body.size' as const; /** * Size of HTTP server response bodies. @@ -262,35 +266,37 @@ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = - 'http.server.response.body.size'; + 'http.server.response.body.size' as const; /** * Number of buffers in the pool. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; +export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count' as const; /** * Measure of total memory capacity of buffers. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; +export const METRIC_JVM_BUFFER_MEMORY_LIMIT = + 'jvm.buffer.memory.limit' as const; /** * Measure of memory used by buffers. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; +export const METRIC_JVM_BUFFER_MEMORY_USAGE = + 'jvm.buffer.memory.usage' as const; /** * Measure of initial memory requested. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; +export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init' as const; /** * Average CPU load of the whole system for the last minute as reported by the JVM. @@ -299,7 +305,7 @@ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; +export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m' as const; /** * Recent CPU utilization for the whole system as reported by the JVM. @@ -308,98 +314,107 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; +export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = + 'jvm.system.cpu.utilization' as const; /** * Measures the duration of process operation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; +export const METRIC_MESSAGING_PROCESS_DURATION = + 'messaging.process.duration' as const; /** * Measures the number of processed messages. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; +export const METRIC_MESSAGING_PROCESS_MESSAGES = + 'messaging.process.messages' as const; /** * Measures the duration of publish operation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; +export const METRIC_MESSAGING_PUBLISH_DURATION = + 'messaging.publish.duration' as const; /** * Measures the number of published messages. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; +export const METRIC_MESSAGING_PUBLISH_MESSAGES = + 'messaging.publish.messages' as const; /** * Measures the duration of receive operation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; +export const METRIC_MESSAGING_RECEIVE_DURATION = + 'messaging.receive.duration' as const; /** * Measures the number of received messages. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; +export const METRIC_MESSAGING_RECEIVE_MESSAGES = + 'messaging.receive.messages' as const; /** * Number of times the process has been context switched. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches'; +export const METRIC_PROCESS_CONTEXT_SWITCHES = + 'process.context_switches' as const; /** * Total CPU seconds broken down by different states. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time'; +export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time' as const; /** * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization'; +export const METRIC_PROCESS_CPU_UTILIZATION = + 'process.cpu.utilization' as const; /** * Disk bytes transferred. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_DISK_IO = 'process.disk.io'; +export const METRIC_PROCESS_DISK_IO = 'process.disk.io' as const; /** * The amount of physical memory in use. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; +export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage' as const; /** * The amount of committed virtual memory. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; +export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual' as const; /** * Network bytes transferred. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_NETWORK_IO = 'process.network.io'; +export const METRIC_PROCESS_NETWORK_IO = 'process.network.io' as const; /** * Number of file descriptors in use by the process. @@ -407,21 +422,21 @@ export const METRIC_PROCESS_NETWORK_IO = 'process.network.io'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = - 'process.open_file_descriptor.count'; + 'process.open_file_descriptor.count' as const; /** * Number of page faults the process has made. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; +export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults' as const; /** * Process threads count. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; +export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count' as const; /** * Measures the duration of outbound RPC. @@ -433,7 +448,7 @@ export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; +export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration' as const; /** * Measures the size of RPC request messages (uncompressed). @@ -442,7 +457,8 @@ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; +export const METRIC_RPC_CLIENT_REQUEST_SIZE = + 'rpc.client.request.size' as const; /** * Measures the number of messages received per RPC. @@ -453,7 +469,8 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; +export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = + 'rpc.client.requests_per_rpc' as const; /** * Measures the size of RPC response messages (uncompressed). @@ -462,7 +479,8 @@ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; +export const METRIC_RPC_CLIENT_RESPONSE_SIZE = + 'rpc.client.response.size' as const; /** * Measures the number of messages sent per RPC. @@ -474,7 +492,7 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = - 'rpc.client.responses_per_rpc'; + 'rpc.client.responses_per_rpc' as const; /** * Measures the duration of inbound RPC. @@ -486,7 +504,7 @@ export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; +export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration' as const; /** * Measures the size of RPC request messages (uncompressed). @@ -495,7 +513,8 @@ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; +export const METRIC_RPC_SERVER_REQUEST_SIZE = + 'rpc.server.request.size' as const; /** * Measures the number of messages received per RPC. @@ -506,7 +525,8 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; +export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = + 'rpc.server.requests_per_rpc' as const; /** * Measures the size of RPC response messages (uncompressed). @@ -515,7 +535,8 @@ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; +export const METRIC_RPC_SERVER_RESPONSE_SIZE = + 'rpc.server.response.size' as const; /** * Measures the number of messages sent per RPC. @@ -527,49 +548,51 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = - 'rpc.server.responses_per_rpc'; + 'rpc.server.responses_per_rpc' as const; /** * Reports the current frequency of the CPU in Hz. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency'; +export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count'; +export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = + 'system.cpu.logical.count' as const; /** * Reports the number of actual physical processor cores on the hardware. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count'; +export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = + 'system.cpu.physical.count' as const; /** * Seconds each logical CPU spent on each mode. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time'; +export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; +export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; +export const METRIC_SYSTEM_DISK_IO = 'system.disk.io' as const; /** * Time disk spent activated. @@ -583,14 +606,14 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; +export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; +export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged' as const; /** * Sum of the time each operation took to complete. @@ -602,21 +625,23 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; +export const METRIC_SYSTEM_DISK_OPERATION_TIME = + 'system.disk.operation_time' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; +export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; +export const METRIC_SYSTEM_FILESYSTEM_USAGE = + 'system.filesystem.usage' as const; /** * . @@ -624,7 +649,7 @@ export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = - 'system.filesystem.utilization'; + 'system.filesystem.utilization' as const; /** * An estimate of how much memory is available for starting new applications, without causing swapping. @@ -638,7 +663,7 @@ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = - 'system.linux.memory.available'; + 'system.linux.memory.available' as const; /** * Total memory available in the system. @@ -647,7 +672,7 @@ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; +export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit' as const; /** * Reports memory in use by state. @@ -657,21 +682,23 @@ export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; +export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; +export const METRIC_SYSTEM_MEMORY_UTILIZATION = + 'system.memory.utilization' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; +export const METRIC_SYSTEM_NETWORK_CONNECTIONS = + 'system.network.connections' as const; /** * Count of packets that are dropped or discarded even though there was no error. @@ -684,7 +711,7 @@ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; +export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped' as const; /** * Count of network errors detected. @@ -697,63 +724,65 @@ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; +export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; +export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; +export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; +export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; +export const METRIC_SYSTEM_PAGING_OPERATIONS = + 'system.paging.operations' as const; /** * Unix swap or windows pagefile usage. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; +export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; +export const METRIC_SYSTEM_PAGING_UTILIZATION = + 'system.paging.utilization' as const; /** * Total number of processes in each state. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count'; +export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count' as const; /** * Total number of processes created over uptime of the host. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; +export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created' as const; /** * Identifies the class / type of event. @@ -762,7 +791,7 @@ export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_EVENT_NAME = 'event.name'; +export const ATTR_EVENT_NAME = 'event.name' as const; /** * A unique identifier for the Log Record. @@ -772,42 +801,42 @@ export const ATTR_EVENT_NAME = 'event.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_RECORD_UID = 'log.record.uid'; +export const ATTR_LOG_RECORD_UID = 'log.record.uid' as const; /** * The stream associated with the log. See below for a list of well-known values. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_IOSTREAM = 'log.iostream'; +export const ATTR_LOG_IOSTREAM = 'log.iostream' as const; /** * The basename of the file. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_NAME = 'log.file.name'; +export const ATTR_LOG_FILE_NAME = 'log.file.name' as const; /** * The basename of the file, with symlinks resolved. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; +export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved' as const; /** * The full path to the file. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_PATH = 'log.file.path'; +export const ATTR_LOG_FILE_PATH = 'log.file.path' as const; /** * The full path to the file, with symlinks resolved. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; +export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved' as const; /** * This attribute represents the state the application has transitioned into at the occurrence of the event. @@ -816,7 +845,7 @@ export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_IOS_STATE = 'ios.state'; +export const ATTR_IOS_STATE = 'ios.state' as const; /** * This attribute represents the state the application has transitioned into at the occurrence of the event. @@ -825,21 +854,21 @@ export const ATTR_IOS_STATE = 'ios.state'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ANDROID_STATE = 'android.state'; +export const ATTR_ANDROID_STATE = 'android.state' as const; /** * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_POOL_NAME = 'pool.name'; +export const ATTR_POOL_NAME = 'pool.name' as const; /** * The state of a connection in the pool. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_STATE = 'state'; +export const ATTR_STATE = 'state' as const; /** * Name of the buffer pool. @@ -848,126 +877,130 @@ export const ATTR_STATE = 'state'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; +export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name' as const; /** * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; +export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state' as const; /** * Specifies whether the context switches for this data point were voluntary or involuntary. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = + 'process.context_switch_type' as const; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; +export const ATTR_PROCESS_PAGING_FAULT_TYPE = + 'process.paging.fault_type' as const; /** * The device identifier. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_DEVICE = 'system.device'; +export const ATTR_SYSTEM_DEVICE = 'system.device' as const; /** * The logical CPU number [0..n-1]. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; +export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = + 'system.cpu.logical_number' as const; /** * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; +export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state' as const; /** * The memory state. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; +export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state' as const; /** * The paging access direction. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; +export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction' as const; /** * The memory paging state. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; +export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state' as const; /** * The memory paging type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; +export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type' as const; /** * The filesystem mode. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; +export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode' as const; /** * The filesystem mount path. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; +export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = + 'system.filesystem.mountpoint' as const; /** * The filesystem state. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; +export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state' as const; /** * The filesystem type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type' as const; /** * A stateless protocol MUST NOT set this attribute. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; +export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state' as const; /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; +export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status' as const; /** * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; +export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level' as const; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. @@ -975,7 +1008,7 @@ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = - 'aws.dynamodb.attribute_definitions'; + 'aws.dynamodb.attribute_definitions' as const; /** * The value of the `AttributesToGet` request parameter. @@ -983,14 +1016,15 @@ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = - 'aws.dynamodb.attributes_to_get'; + 'aws.dynamodb.attributes_to_get' as const; /** * The value of the `ConsistentRead` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; +export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = + 'aws.dynamodb.consistent_read' as const; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. @@ -998,14 +1032,14 @@ export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = - 'aws.dynamodb.consumed_capacity'; + 'aws.dynamodb.consumed_capacity' as const; /** * The value of the `Count` response parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; +export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; /** * The value of the `ExclusiveStartTableName` request parameter. @@ -1013,7 +1047,7 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = - 'aws.dynamodb.exclusive_start_table'; + 'aws.dynamodb.exclusive_start_table' as const; /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. @@ -1021,7 +1055,7 @@ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = - 'aws.dynamodb.global_secondary_index_updates'; + 'aws.dynamodb.global_secondary_index_updates' as const; /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. @@ -1029,14 +1063,14 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = - 'aws.dynamodb.global_secondary_indexes'; + 'aws.dynamodb.global_secondary_indexes' as const; /** * The value of the `IndexName` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; +export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name' as const; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. @@ -1044,14 +1078,14 @@ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = - 'aws.dynamodb.item_collection_metrics'; + 'aws.dynamodb.item_collection_metrics' as const; /** * The value of the `Limit` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; +export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; /** * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. @@ -1059,14 +1093,14 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = - 'aws.dynamodb.local_secondary_indexes'; + 'aws.dynamodb.local_secondary_indexes' as const; /** * The value of the `ProjectionExpression` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; +export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; /** * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. @@ -1074,7 +1108,7 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = - 'aws.dynamodb.provisioned_read_capacity'; + 'aws.dynamodb.provisioned_read_capacity' as const; /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. @@ -1082,56 +1116,61 @@ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = - 'aws.dynamodb.provisioned_write_capacity'; + 'aws.dynamodb.provisioned_write_capacity' as const; /** * The value of the `ScanIndexForward` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; +export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = + 'aws.dynamodb.scan_forward' as const; /** * The value of the `ScannedCount` response parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; +export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = + 'aws.dynamodb.scanned_count' as const; /** * The value of the `Segment` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; +export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment' as const; /** * The value of the `Select` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; +export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; /** * The number of items in the `TableNames` response parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; +export const ATTR_AWS_DYNAMODB_TABLE_COUNT = + 'aws.dynamodb.table_count' as const; /** * The keys in the `RequestItems` object field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; +export const ATTR_AWS_DYNAMODB_TABLE_NAMES = + 'aws.dynamodb.table_names' as const; /** * The value of the `TotalSegments` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; +export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = + 'aws.dynamodb.total_segments' as const; /** * Array of brand name and version separated by a space. @@ -1140,7 +1179,7 @@ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_BRANDS = 'browser.brands'; +export const ATTR_BROWSER_BRANDS = 'browser.brands' as const; /** * Preferred language of the user using the browser. @@ -1149,7 +1188,7 @@ export const ATTR_BROWSER_BRANDS = 'browser.brands'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_LANGUAGE = 'browser.language'; +export const ATTR_BROWSER_LANGUAGE = 'browser.language' as const; /** * A boolean that is true if the browser is running on a mobile device. @@ -1158,7 +1197,7 @@ export const ATTR_BROWSER_LANGUAGE = 'browser.language'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_MOBILE = 'browser.mobile'; +export const ATTR_BROWSER_MOBILE = 'browser.mobile' as const; /** * The platform on which the browser is running. @@ -1168,14 +1207,14 @@ export const ATTR_BROWSER_MOBILE = 'browser.mobile'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_PLATFORM = 'browser.platform'; +export const ATTR_BROWSER_PLATFORM = 'browser.platform' as const; /** * The cloud account ID the resource is assigned to. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; +export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id' as const; /** * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. @@ -1184,7 +1223,7 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; +export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone' as const; /** * The cloud platform in use. @@ -1193,14 +1232,14 @@ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; +export const ATTR_CLOUD_PLATFORM = 'cloud.platform' as const; /** * Name of the cloud provider. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; +export const ATTR_CLOUD_PROVIDER = 'cloud.provider' as const; /** * The geographical region the resource is running. @@ -1209,7 +1248,7 @@ export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_REGION = 'cloud.region'; +export const ATTR_CLOUD_REGION = 'cloud.region' as const; /** * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP). @@ -1234,21 +1273,22 @@ export const ATTR_CLOUD_REGION = 'cloud.region'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; +export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id' as const; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; +export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id' as const; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; +export const ATTR_CLOUDEVENTS_EVENT_SOURCE = + 'cloudevents.event_source' as const; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. @@ -1256,63 +1296,64 @@ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = - 'cloudevents.event_spec_version'; + 'cloudevents.event_spec_version' as const; /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; +export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = + 'cloudevents.event_subject' as const; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; +export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type' as const; /** * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_COLUMN = 'code.column'; +export const ATTR_CODE_COLUMN = 'code.column' as const; /** * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_FILEPATH = 'code.filepath'; +export const ATTR_CODE_FILEPATH = 'code.filepath' as const; /** * The method or function name, or equivalent (usually rightmost part of the code unit's name). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_FUNCTION = 'code.function'; +export const ATTR_CODE_FUNCTION = 'code.function' as const; /** * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_LINENO = 'code.lineno'; +export const ATTR_CODE_LINENO = 'code.lineno' as const; /** * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_NAMESPACE = 'code.namespace'; +export const ATTR_CODE_NAMESPACE = 'code.namespace' as const; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; +export const ATTR_CODE_STACKTRACE = 'code.stacktrace' as const; /** * The command used to run the container (i.e. the command name). @@ -1321,35 +1362,35 @@ export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND = 'container.command'; +export const ATTR_CONTAINER_COMMAND = 'container.command' as const; /** * All the command arguments (including the command/executable itself) run by the container. [2]. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; +export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args' as const; /** * The full command run by the container as a single string representing the full command. [2]. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; +export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line' as const; /** * The CPU state for this data point. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; +export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state' as const; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_ID = 'container.id'; +export const ATTR_CONTAINER_ID = 'container.id' as const; /** * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. @@ -1360,14 +1401,14 @@ export const ATTR_CONTAINER_ID = 'container.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; +export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id' as const; /** * Name of the image the container was built on. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; +export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; /** * Repo digests of the container image as provided by the container runtime. @@ -1376,28 +1417,29 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; +export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = + 'container.image.repo_digests' as const; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; +export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags' as const; /** * Container name used by container runtime. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_NAME = 'container.name'; +export const ATTR_CONTAINER_NAME = 'container.name' as const; /** * The container runtime managing this container. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; +export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). @@ -1405,35 +1447,38 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = - 'db.cassandra.consistency_level'; + 'db.cassandra.consistency_level' as const; /** * The data center of the coordinating node for a query. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; +export const ATTR_DB_CASSANDRA_COORDINATOR_DC = + 'db.cassandra.coordinator.dc' as const; /** * The ID of the coordinating node for a query. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; +export const ATTR_DB_CASSANDRA_COORDINATOR_ID = + 'db.cassandra.coordinator.id' as const; /** * Whether or not the query is idempotent. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; +export const ATTR_DB_CASSANDRA_IDEMPOTENCE = + 'db.cassandra.idempotence' as const; /** * The fetch size used for paging, i.e. how many rows will be returned at once. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; +export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size' as const; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. @@ -1441,7 +1486,7 @@ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = - 'db.cassandra.speculative_execution_count'; + 'db.cassandra.speculative_execution_count' as const; /** * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). @@ -1450,42 +1495,45 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; +export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table' as const; /** * Unique Cosmos client instance id. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; +export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id' as const; /** * Cosmos client connection mode. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE = + 'db.cosmosdb.connection_mode' as const; /** * Cosmos DB container name. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; +export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container' as const; /** * CosmosDB Operation Type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE = + 'db.cosmosdb.operation_type' as const; /** * RU consumed for that operation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; +export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = + 'db.cosmosdb.request_charge' as const; /** * Request payload size in bytes. @@ -1493,21 +1541,22 @@ export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = - 'db.cosmosdb.request_content_length'; + 'db.cosmosdb.request_content_length' as const; /** * Cosmos DB status code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; +export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' as const; /** * Cosmos DB sub status code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; +export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = + 'db.cosmosdb.sub_status_code' as const; /** * Represents the identifier of an Elasticsearch cluster. @@ -1515,21 +1564,21 @@ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = - 'db.elasticsearch.cluster.name'; + 'db.elasticsearch.cluster.name' as const; /** * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; +export const ATTR_DB_INSTANCE_ID = 'db.instance.id' as const; /** * The MongoDB collection being accessed within the database stated in `db.name`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; +export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection' as const; /** * The Microsoft SQL Server [instance name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. @@ -1538,7 +1587,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; +export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name' as const; /** * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). @@ -1547,7 +1596,7 @@ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_NAME = 'db.name'; +export const ATTR_DB_NAME = 'db.name' as const; /** * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. @@ -1556,14 +1605,14 @@ export const ATTR_DB_NAME = 'db.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_OPERATION = 'db.operation'; +export const ATTR_DB_OPERATION = 'db.operation' as const; /** * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; +export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index' as const; /** * The name of the primary table that the operation is acting upon, including the database name (if applicable). @@ -1572,28 +1621,28 @@ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_SQL_TABLE = 'db.sql.table'; +export const ATTR_DB_SQL_TABLE = 'db.sql.table' as const; /** * The database statement being executed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_STATEMENT = 'db.statement'; +export const ATTR_DB_STATEMENT = 'db.statement' as const; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_SYSTEM = 'db.system'; +export const ATTR_DB_SYSTEM = 'db.system' as const; /** * Username for accessing the database. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_USER = 'db.user'; +export const ATTR_DB_USER = 'db.user' as const; /** * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). @@ -1608,7 +1657,7 @@ export const ATTR_DB_USER = 'db.user'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; +export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment' as const; /** * Deprecated, use `server.address`, `server.port` attributes instead. @@ -1617,7 +1666,7 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; * * @deprecated "Replaced by `server.address` and `server.port`.". */ -export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; +export const ATTR_DB_CONNECTION_STRING = 'db.connection_string' as const; /** * Deprecated, use `db.instance.id` instead. @@ -1626,7 +1675,8 @@ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; * * @deprecated Replaced by `db.instance.id`. */ -export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; +export const ATTR_DB_ELASTICSEARCH_NODE_NAME = + 'db.elasticsearch.node.name' as const; /** * Removed, no replacement at this time. @@ -1635,7 +1685,8 @@ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; * * @deprecated Removed as not used. */ -export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; +export const ATTR_DB_JDBC_DRIVER_CLASSNAME = + 'db.jdbc.driver_classname' as const; /** * Deprecated, use `network.protocol.name` instead. @@ -1644,7 +1695,7 @@ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; * * @deprecated Replaced by `network.protocol.name`. */ -export const ATTR_HTTP_FLAVOR = 'http.flavor'; +export const ATTR_HTTP_FLAVOR = 'http.flavor' as const; /** * Deprecated, use `http.request.method` instead. @@ -1653,7 +1704,7 @@ export const ATTR_HTTP_FLAVOR = 'http.flavor'; * * @deprecated Replaced by `http.request.method`. */ -export const ATTR_HTTP_METHOD = 'http.method'; +export const ATTR_HTTP_METHOD = 'http.method' as const; /** * Deprecated, use `http.request.header.content-length` instead. @@ -1662,7 +1713,8 @@ export const ATTR_HTTP_METHOD = 'http.method'; * * @deprecated Replaced by `http.request.header.content-length`. */ -export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = + 'http.request_content_length' as const; /** * Deprecated, use `http.response.header.content-length` instead. @@ -1671,7 +1723,8 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; * * @deprecated Replaced by `http.response.header.content-length`. */ -export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = + 'http.response_content_length' as const; /** * Deprecated, use `url.scheme` instead. @@ -1680,7 +1733,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; * * @deprecated Replaced by `url.scheme` instead. */ -export const ATTR_HTTP_SCHEME = 'http.scheme'; +export const ATTR_HTTP_SCHEME = 'http.scheme' as const; /** * Deprecated, use `http.response.status_code` instead. @@ -1689,7 +1742,7 @@ export const ATTR_HTTP_SCHEME = 'http.scheme'; * * @deprecated Replaced by `http.response.status_code`. */ -export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; +export const ATTR_HTTP_STATUS_CODE = 'http.status_code' as const; /** * Deprecated, use `url.path` and `url.query` instead. @@ -1698,7 +1751,7 @@ export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; * * @deprecated Split to `url.path` and `url.query. */ -export const ATTR_HTTP_TARGET = 'http.target'; +export const ATTR_HTTP_TARGET = 'http.target' as const; /** * Deprecated, use `url.full` instead. @@ -1707,7 +1760,7 @@ export const ATTR_HTTP_TARGET = 'http.target'; * * @deprecated Replaced by `url.full`. */ -export const ATTR_HTTP_URL = 'http.url'; +export const ATTR_HTTP_URL = 'http.url' as const; /** * Deprecated, use `user_agent.original` instead. @@ -1716,7 +1769,7 @@ export const ATTR_HTTP_URL = 'http.url'; * * @deprecated Replaced by `user_agent.original`. */ -export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; +export const ATTR_HTTP_USER_AGENT = 'http.user_agent' as const; /** * "Deprecated, use `messaging.destination.partition.id` instead.". @@ -1726,7 +1779,7 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; * @deprecated Replaced by `messaging.destination.partition.id`. */ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = - 'messaging.kafka.destination.partition'; + 'messaging.kafka.destination.partition' as const; /** * Deprecated, use `server.address`. @@ -1735,7 +1788,7 @@ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = * * @deprecated Replaced by `server.address`. */ -export const ATTR_NET_HOST_NAME = 'net.host.name'; +export const ATTR_NET_HOST_NAME = 'net.host.name' as const; /** * Deprecated, use `server.port`. @@ -1744,7 +1797,7 @@ export const ATTR_NET_HOST_NAME = 'net.host.name'; * * @deprecated Replaced by `server.port`. */ -export const ATTR_NET_HOST_PORT = 'net.host.port'; +export const ATTR_NET_HOST_PORT = 'net.host.port' as const; /** * Deprecated, use `server.address` on client spans and `client.address` on server spans. @@ -1753,7 +1806,7 @@ export const ATTR_NET_HOST_PORT = 'net.host.port'; * * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans. */ -export const ATTR_NET_PEER_NAME = 'net.peer.name'; +export const ATTR_NET_PEER_NAME = 'net.peer.name' as const; /** * Deprecated, use `server.port` on client spans and `client.port` on server spans. @@ -1762,7 +1815,7 @@ export const ATTR_NET_PEER_NAME = 'net.peer.name'; * * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans. */ -export const ATTR_NET_PEER_PORT = 'net.peer.port'; +export const ATTR_NET_PEER_PORT = 'net.peer.port' as const; /** * Deprecated, use `network.protocol.name`. @@ -1771,7 +1824,7 @@ export const ATTR_NET_PEER_PORT = 'net.peer.port'; * * @deprecated Replaced by `network.protocol.name`. */ -export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; +export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name' as const; /** * Deprecated, use `network.protocol.version`. @@ -1780,7 +1833,7 @@ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; * * @deprecated Replaced by `network.protocol.version`. */ -export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; +export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version' as const; /** * Deprecated, use `network.transport` and `network.type`. @@ -1789,7 +1842,7 @@ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; +export const ATTR_NET_SOCK_FAMILY = 'net.sock.family' as const; /** * Deprecated, use `network.local.address`. @@ -1798,7 +1851,7 @@ export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; * * @deprecated Replaced by `network.local.address`. */ -export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; +export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr' as const; /** * Deprecated, use `network.local.port`. @@ -1807,7 +1860,7 @@ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; * * @deprecated Replaced by `network.local.port`. */ -export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; +export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port' as const; /** * Deprecated, use `network.peer.address`. @@ -1816,7 +1869,7 @@ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; * * @deprecated Replaced by `network.peer.address`. */ -export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; +export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr' as const; /** * Deprecated, no replacement at this time. @@ -1825,7 +1878,7 @@ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; * * @deprecated Removed. */ -export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; +export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name' as const; /** * Deprecated, use `network.peer.port`. @@ -1834,7 +1887,7 @@ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; * * @deprecated Replaced by `network.peer.port`. */ -export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; +export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port' as const; /** * Deprecated, use `network.transport`. @@ -1843,7 +1896,7 @@ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; * * @deprecated Replaced by `network.transport`. */ -export const ATTR_NET_TRANSPORT = 'net.transport'; +export const ATTR_NET_TRANSPORT = 'net.transport' as const; /** * Deprecated, use `system.process.status` instead. @@ -1852,7 +1905,7 @@ export const ATTR_NET_TRANSPORT = 'net.transport'; * * @deprecated Replaced by `system.process.status`. */ -export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; +export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status' as const; /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -1861,14 +1914,14 @@ export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DESTINATION_ADDRESS = 'destination.address'; +export const ATTR_DESTINATION_ADDRESS = 'destination.address' as const; /** * Destination port number. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DESTINATION_PORT = 'destination.port'; +export const ATTR_DESTINATION_PORT = 'destination.port' as const; /** * A unique identifier representing the device. @@ -1877,7 +1930,7 @@ export const ATTR_DESTINATION_PORT = 'destination.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_ID = 'device.id'; +export const ATTR_DEVICE_ID = 'device.id' as const; /** * The name of the device manufacturer. @@ -1886,7 +1939,7 @@ export const ATTR_DEVICE_ID = 'device.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; +export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer' as const; /** * The model identifier for the device. @@ -1895,7 +1948,7 @@ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; +export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier' as const; /** * The marketing name for the device model. @@ -1904,14 +1957,14 @@ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; +export const ATTR_DEVICE_MODEL_NAME = 'device.model.name' as const; /** * The disk IO operation direction. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; +export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction' as const; /** * The name being queried. @@ -1920,70 +1973,71 @@ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; +export const ATTR_DNS_QUESTION_NAME = 'dns.question.name' as const; /** * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ENDUSER_ID = 'enduser.id'; +export const ATTR_ENDUSER_ID = 'enduser.id' as const; /** * Actual/assumed role the client is making the request under extracted from token or application security context. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ENDUSER_ROLE = 'enduser.role'; +export const ATTR_ENDUSER_ROLE = 'enduser.role' as const; /** * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; +export const ATTR_ENDUSER_SCOPE = 'enduser.scope' as const; /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; +export const ATTR_FAAS_COLDSTART = 'faas.coldstart' as const; /** * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_CRON = 'faas.cron'; +export const ATTR_FAAS_CRON = 'faas.cron' as const; /** * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; +export const ATTR_FAAS_DOCUMENT_COLLECTION = + 'faas.document.collection' as const; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; +export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name' as const; /** * Describes the type of the operation that was performed on the data. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; +export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation' as const; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; +export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time' as const; /** * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. @@ -1992,14 +2046,14 @@ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INSTANCE = 'faas.instance'; +export const ATTR_FAAS_INSTANCE = 'faas.instance' as const; /** * The invocation ID of the current function invocation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; +export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id' as const; /** * The name of the invoked function. @@ -2008,7 +2062,7 @@ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; +export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name' as const; /** * The cloud provider of the invoked function. @@ -2017,7 +2071,7 @@ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; +export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider' as const; /** * The cloud region of the invoked function. @@ -2026,7 +2080,7 @@ export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; +export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region' as const; /** * The amount of memory available to the serverless function converted to Bytes. @@ -2035,7 +2089,7 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; +export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const; /** * The name of the single function that this runtime instance executes. @@ -2059,21 +2113,21 @@ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_NAME = 'faas.name'; +export const ATTR_FAAS_NAME = 'faas.name' as const; /** * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_TIME = 'faas.time'; +export const ATTR_FAAS_TIME = 'faas.time' as const; /** * Type of the trigger which caused this function invocation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_TRIGGER = 'faas.trigger'; +export const ATTR_FAAS_TRIGGER = 'faas.trigger' as const; /** * The immutable version of the function being executed. @@ -2090,21 +2144,22 @@ export const ATTR_FAAS_TRIGGER = 'faas.trigger'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_VERSION = 'faas.version'; +export const ATTR_FAAS_VERSION = 'faas.version' as const; /** * The unique identifier of the feature flag. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; +export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key' as const; /** * The name of the service provider that performs the flag evaluation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; +export const ATTR_FEATURE_FLAG_PROVIDER_NAME = + 'feature_flag.provider_name' as const; /** * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. @@ -2120,14 +2175,14 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; +export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant' as const; /** * Directory where the file is located. It should include the drive letter, when appropriate. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_DIRECTORY = 'file.directory'; +export const ATTR_FILE_DIRECTORY = 'file.directory' as const; /** * File extension, excluding the leading dot. @@ -2136,98 +2191,101 @@ export const ATTR_FILE_DIRECTORY = 'file.directory'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_EXTENSION = 'file.extension'; +export const ATTR_FILE_EXTENSION = 'file.extension' as const; /** * Name of the file including the extension, without the directory. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_NAME = 'file.name'; +export const ATTR_FILE_NAME = 'file.name' as const; /** * Full path to the file, including the file name. It should include the drive letter, when appropriate. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_PATH = 'file.path'; +export const ATTR_FILE_PATH = 'file.path' as const; /** * File size in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_SIZE = 'file.size'; +export const ATTR_FILE_SIZE = 'file.size' as const; /** * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; +export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = + 'gcp.cloud_run.job.execution' as const; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; +export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = + 'gcp.cloud_run.job.task_index' as const; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; +export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = + 'gcp.gce.instance.hostname' as const; /** * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; +export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name' as const; /** * The CPU architecture the host system is running on. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_ARCH = 'host.arch'; +export const ATTR_HOST_ARCH = 'host.arch' as const; /** * The amount of level 2 memory cache available to the processor (in Bytes). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; +export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size' as const; /** * Family or generation of the CPU. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; +export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family' as const; /** * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; +export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id' as const; /** * Model designation of the processor. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; +export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name' as const; /** * Stepping or core revisions. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; +export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping' as const; /** * Processor manufacturer identifier. A maximum 12-character string. @@ -2236,35 +2294,35 @@ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; +export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id' as const; /** * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_ID = 'host.id'; +export const ATTR_HOST_ID = 'host.id' as const; /** * VM image ID or host OS image ID. For Cloud, this value is from the provider. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_ID = 'host.image.id'; +export const ATTR_HOST_IMAGE_ID = 'host.image.id' as const; /** * Name of the VM image or OS install the host was instantiated from. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; +export const ATTR_HOST_IMAGE_NAME = 'host.image.name' as const; /** * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; +export const ATTR_HOST_IMAGE_VERSION = 'host.image.version' as const; /** * Available IP addresses of the host, excluding loopback interfaces. @@ -2273,7 +2331,7 @@ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IP = 'host.ip'; +export const ATTR_HOST_IP = 'host.ip' as const; /** * Available MAC addresses of the host, excluding loopback interfaces. @@ -2282,63 +2340,63 @@ export const ATTR_HOST_IP = 'host.ip'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_MAC = 'host.mac'; +export const ATTR_HOST_MAC = 'host.mac' as const; /** * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_NAME = 'host.name'; +export const ATTR_HOST_NAME = 'host.name' as const; /** * Type of host. For Cloud, this must be the machine type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_TYPE = 'host.type'; +export const ATTR_HOST_TYPE = 'host.type' as const; /** * State of the HTTP connection in the HTTP connection pool. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; +export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state' as const; /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; +export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size' as const; /** * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; +export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size' as const; /** * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; +export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size' as const; /** * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; +export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size' as const; /** * The name of the cluster. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; +export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; /** * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. @@ -2368,140 +2426,141 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; +export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid' as const; /** * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; +export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name' as const; /** * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; +export const ATTR_K8S_CONTAINER_RESTART_COUNT = + 'k8s.container.restart_count' as const; /** * The name of the CronJob. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; +export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name' as const; /** * The UID of the CronJob. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; +export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid' as const; /** * The name of the DaemonSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; +export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name' as const; /** * The UID of the DaemonSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; +export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid' as const; /** * The name of the Deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; +export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name' as const; /** * The UID of the Deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; +export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const; /** * The name of the Job. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; +export const ATTR_K8S_JOB_NAME = 'k8s.job.name' as const; /** * The UID of the Job. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; +export const ATTR_K8S_JOB_UID = 'k8s.job.uid' as const; /** * The name of the namespace that the pod is running in. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; +export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name' as const; /** * The name of the Node. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; +export const ATTR_K8S_NODE_NAME = 'k8s.node.name' as const; /** * The UID of the Node. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; +export const ATTR_K8S_NODE_UID = 'k8s.node.uid' as const; /** * The name of the Pod. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; +export const ATTR_K8S_POD_NAME = 'k8s.pod.name' as const; /** * The UID of the Pod. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; +export const ATTR_K8S_POD_UID = 'k8s.pod.uid' as const; /** * The name of the ReplicaSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; +export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name' as const; /** * The UID of the ReplicaSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; +export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid' as const; /** * The name of the StatefulSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; +export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name' as const; /** * The UID of the StatefulSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; +export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; /** * The number of messages sent, received, or processed in the scope of the batching operation. @@ -2511,14 +2570,14 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = - 'messaging.batch.message_count'; + 'messaging.batch.message_count' as const; /** * A unique identifier for the client that consumes or produces a message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id'; +export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id' as const; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). @@ -2526,7 +2585,7 @@ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = - 'messaging.destination.anonymous'; + 'messaging.destination.anonymous' as const; /** * The message destination name. @@ -2536,7 +2595,8 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; +export const ATTR_MESSAGING_DESTINATION_NAME = + 'messaging.destination.name' as const; /** * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. @@ -2544,7 +2604,7 @@ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = - 'messaging.destination.partition.id'; + 'messaging.destination.partition.id' as const; /** * Low cardinality representation of the messaging destination name. @@ -2554,7 +2614,7 @@ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_TEMPLATE = - 'messaging.destination.template'; + 'messaging.destination.template' as const; /** * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. @@ -2562,7 +2622,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPLATE = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = - 'messaging.destination.temporary'; + 'messaging.destination.temporary' as const; /** * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). @@ -2570,7 +2630,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = - 'messaging.destination_publish.anonymous'; + 'messaging.destination_publish.anonymous' as const; /** * The name of the original destination the message was published to. @@ -2581,7 +2641,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = - 'messaging.destination_publish.name'; + 'messaging.destination_publish.name' as const; /** * The name of the consumer group the event consumer is associated with. @@ -2589,7 +2649,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = - 'messaging.eventhubs.consumer.group'; + 'messaging.eventhubs.consumer.group' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. @@ -2597,7 +2657,7 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = - 'messaging.eventhubs.message.enqueued_time'; + 'messaging.eventhubs.message.enqueued_time' as const; /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. @@ -2605,7 +2665,7 @@ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = - 'messaging.gcp_pubsub.message.ordering_key'; + 'messaging.gcp_pubsub.message.ordering_key' as const; /** * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. @@ -2613,7 +2673,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = - 'messaging.kafka.consumer.group'; + 'messaging.kafka.consumer.group' as const; /** * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. @@ -2622,7 +2682,8 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; +export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = + 'messaging.kafka.message.key' as const; /** * The offset of a record in the corresponding Kafka partition. @@ -2630,7 +2691,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = - 'messaging.kafka.message.offset'; + 'messaging.kafka.message.offset' as const; /** * A boolean that is true if the message is a tombstone. @@ -2638,7 +2699,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = - 'messaging.kafka.message.tombstone'; + 'messaging.kafka.message.tombstone' as const; /** * The size of the message body in bytes. @@ -2648,7 +2709,8 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; +export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = + 'messaging.message.body.size' as const; /** * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". @@ -2656,7 +2718,7 @@ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = - 'messaging.message.conversation_id'; + 'messaging.message.conversation_id' as const; /** * The size of the message body and metadata in bytes. @@ -2667,14 +2729,14 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = - 'messaging.message.envelope.size'; + 'messaging.message.envelope.size' as const; /** * A value used by the messaging system as an identifier for the message, represented as a string. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; +export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id' as const; /** * A string identifying the kind of messaging operation. @@ -2683,7 +2745,7 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; +export const ATTR_MESSAGING_OPERATION = 'messaging.operation' as const; /** * RabbitMQ message routing key. @@ -2691,7 +2753,7 @@ export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = - 'messaging.rabbitmq.destination.routing_key'; + 'messaging.rabbitmq.destination.routing_key' as const; /** * RabbitMQ message delivery tag. @@ -2699,7 +2761,7 @@ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = - 'messaging.rabbitmq.message.delivery_tag'; + 'messaging.rabbitmq.message.delivery_tag' as const; /** * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. @@ -2707,7 +2769,7 @@ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = - 'messaging.rocketmq.client_group'; + 'messaging.rocketmq.client_group' as const; /** * Model of message consumption. This only applies to consumer spans. @@ -2715,7 +2777,7 @@ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = - 'messaging.rocketmq.consumption_model'; + 'messaging.rocketmq.consumption_model' as const; /** * The delay time level for delay message, which determines the message delay time. @@ -2723,7 +2785,7 @@ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = - 'messaging.rocketmq.message.delay_time_level'; + 'messaging.rocketmq.message.delay_time_level' as const; /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. @@ -2731,7 +2793,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = - 'messaging.rocketmq.message.delivery_timestamp'; + 'messaging.rocketmq.message.delivery_timestamp' as const; /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. @@ -2739,7 +2801,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = - 'messaging.rocketmq.message.group'; + 'messaging.rocketmq.message.group' as const; /** * Key(s) of message, another way to mark message besides message id. @@ -2747,7 +2809,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = - 'messaging.rocketmq.message.keys'; + 'messaging.rocketmq.message.keys' as const; /** * The secondary classifier of message besides topic. @@ -2755,7 +2817,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = - 'messaging.rocketmq.message.tag'; + 'messaging.rocketmq.message.tag' as const; /** * Type of message. @@ -2763,14 +2825,15 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = - 'messaging.rocketmq.message.type'; + 'messaging.rocketmq.message.type' as const; /** * Namespace of RocketMQ resources, resources in different namespaces are individual. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; +export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = + 'messaging.rocketmq.namespace' as const; /** * The name of the subscription in the topic messages are received from. @@ -2778,7 +2841,7 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = - 'messaging.servicebus.destination.subscription_name'; + 'messaging.servicebus.destination.subscription_name' as const; /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). @@ -2786,7 +2849,7 @@ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = - 'messaging.servicebus.disposition_status'; + 'messaging.servicebus.disposition_status' as const; /** * Number of deliveries that have been attempted for this message. @@ -2794,7 +2857,7 @@ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = - 'messaging.servicebus.message.delivery_count'; + 'messaging.servicebus.message.delivery_count' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. @@ -2802,63 +2865,64 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = - 'messaging.servicebus.message.enqueued_time'; + 'messaging.servicebus.message.enqueued_time' as const; /** * An identifier for the messaging system being used. See below for a list of well-known identifiers. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; +export const ATTR_MESSAGING_SYSTEM = 'messaging.system' as const; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; +export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc' as const; /** * The mobile carrier country code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; +export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc' as const; /** * The mobile carrier network code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; +export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc' as const; /** * The name of the mobile carrier. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; +export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name' as const; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE = + 'network.connection.subtype' as const; /** * The internet connection type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; +export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type' as const; /** * The network IO operation direction. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; +export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction' as const; /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. @@ -2868,168 +2932,171 @@ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; +export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest' as const; /** * Unique identifier for a particular build or compilation of the operating system. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_BUILD_ID = 'os.build_id'; +export const ATTR_OS_BUILD_ID = 'os.build_id' as const; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_DESCRIPTION = 'os.description'; +export const ATTR_OS_DESCRIPTION = 'os.description' as const; /** * Human readable operating system name. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_NAME = 'os.name'; +export const ATTR_OS_NAME = 'os.name' as const; /** * The operating system type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_TYPE = 'os.type'; +export const ATTR_OS_TYPE = 'os.type' as const; /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_VERSION = 'os.version'; +export const ATTR_OS_VERSION = 'os.version' as const; /** * The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PEER_SERVICE = 'peer.service'; +export const ATTR_PEER_SERVICE = 'peer.service' as const; /** * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND = 'process.command'; +export const ATTR_PROCESS_COMMAND = 'process.command' as const; /** * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; +export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args' as const; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; +export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line' as const; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; +export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name' as const; /** * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; +export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path' as const; /** * The username of the user that owns the process. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_OWNER = 'process.owner'; +export const ATTR_PROCESS_OWNER = 'process.owner' as const; /** * Parent Process identifier (PPID). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; +export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid' as const; /** * Process identifier (PID). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PID = 'process.pid'; +export const ATTR_PROCESS_PID = 'process.pid' as const; /** * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; +export const ATTR_PROCESS_RUNTIME_DESCRIPTION = + 'process.runtime.description' as const; /** * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; +export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name' as const; /** * The version of the runtime of this process, as returned by the runtime without modification. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; +export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; /** * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = + 'rpc.connect_rpc.error_code' as const; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; +export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code' as const; /** * `error.code` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; +export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code' as const; /** * `error.message` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; +export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = + 'rpc.jsonrpc.error_message' as const; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; +export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id' as const; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; +export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version' as const; /** * The name of the (logical) method being called, must be equal to the $method part in the span name. @@ -3038,7 +3105,7 @@ export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_METHOD = 'rpc.method'; +export const ATTR_RPC_METHOD = 'rpc.method' as const; /** * The full (logical) name of the service being called, including its package name, if applicable. @@ -3047,14 +3114,14 @@ export const ATTR_RPC_METHOD = 'rpc.method'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_SERVICE = 'rpc.service'; +export const ATTR_RPC_SERVICE = 'rpc.service' as const; /** * A string identifying the remoting system. See below for a list of well-known identifiers. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_SYSTEM = 'rpc.system'; +export const ATTR_RPC_SYSTEM = 'rpc.system' as const; /** * The string ID of the service instance. @@ -3088,7 +3155,7 @@ export const ATTR_RPC_SYSTEM = 'rpc.system'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; +export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id' as const; /** * A namespace for `service.name`. @@ -3097,21 +3164,21 @@ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; +export const ATTR_SERVICE_NAMESPACE = 'service.namespace' as const; /** * A unique id to identify a session. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_ID = 'session.id'; +export const ATTR_SESSION_ID = 'session.id' as const; /** * The previous `session.id` for this user, when known. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; +export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id' as const; /** * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -3120,14 +3187,14 @@ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SOURCE_ADDRESS = 'source.address'; +export const ATTR_SOURCE_ADDRESS = 'source.address' as const; /** * Source port number. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SOURCE_PORT = 'source.port'; +export const ATTR_SOURCE_PORT = 'source.port' as const; /** * The name of the auto instrumentation agent or distribution, if used. @@ -3137,28 +3204,29 @@ export const ATTR_SOURCE_PORT = 'source.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; +export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name' as const; /** * The version string of the auto instrumentation agent or distribution, if used. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; +export const ATTR_TELEMETRY_DISTRO_VERSION = + 'telemetry.distro.version' as const; /** * Current "managed" thread ID (as opposed to OS thread ID). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_THREAD_ID = 'thread.id'; +export const ATTR_THREAD_ID = 'thread.id' as const; /** * Current thread name. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_THREAD_NAME = 'thread.name'; +export const ATTR_THREAD_NAME = 'thread.name' as const; /** * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. @@ -3167,203 +3235,206 @@ export const ATTR_THREAD_NAME = 'thread.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CIPHER = 'tls.cipher'; +export const ATTR_TLS_CIPHER = 'tls.cipher' as const; /** * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; +export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; +export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = + 'tls.client.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; +export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5' as const; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; +export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1' as const; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; +export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256' as const; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; +export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer' as const; /** * A hash that identifies clients based on how they perform an SSL/TLS handshake. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; +export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3' as const; /** * Date/Time indicating when client certificate is no longer considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; +export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after' as const; /** * Date/Time indicating when client certificate is first considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; +export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before' as const; /** * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; +export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name' as const; /** * Distinguished name of subject of the x.509 certificate presented by the client. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; +export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; /** * Array of ciphers offered by the client during the client hello. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; +export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = + 'tls.client.supported_ciphers' as const; /** * String indicating the curve used for the given cipher, when applicable. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CURVE = 'tls.curve'; +export const ATTR_TLS_CURVE = 'tls.curve' as const; /** * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_ESTABLISHED = 'tls.established'; +export const ATTR_TLS_ESTABLISHED = 'tls.established' as const; /** * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; +export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol' as const; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; +export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name' as const; /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; +export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version' as const; /** * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_RESUMED = 'tls.resumed'; +export const ATTR_TLS_RESUMED = 'tls.resumed' as const; /** * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; +export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; +export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = + 'tls.server.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; +export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5' as const; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; +export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1' as const; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; +export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256' as const; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; +export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer' as const; /** * A hash that identifies servers based on how they perform an SSL/TLS handshake. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; +export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s' as const; /** * Date/Time indicating when server certificate is no longer considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; +export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after' as const; /** * Date/Time indicating when server certificate is first considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; +export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before' as const; /** * Distinguished name of subject of the x.509 certificate presented by the server. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; +export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject' as const; /** * Domain extracted from the `url.full`, such as "opentelemetry.io". @@ -3372,7 +3443,7 @@ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_DOMAIN = 'url.domain'; +export const ATTR_URL_DOMAIN = 'url.domain' as const; /** * The file extension extracted from the `url.full`, excluding the leading dot. @@ -3381,7 +3452,7 @@ export const ATTR_URL_DOMAIN = 'url.domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_EXTENSION = 'url.extension'; +export const ATTR_URL_EXTENSION = 'url.extension' as const; /** * Unmodified original URL as seen in the event source. @@ -3391,14 +3462,14 @@ export const ATTR_URL_EXTENSION = 'url.extension'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_ORIGINAL = 'url.original'; +export const ATTR_URL_ORIGINAL = 'url.original' as const; /** * Port extracted from the `url.full`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_PORT = 'url.port'; +export const ATTR_URL_PORT = 'url.port' as const; /** * The highest registered url domain, stripped of the subdomain. @@ -3407,7 +3478,7 @@ export const ATTR_URL_PORT = 'url.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; +export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain' as const; /** * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. @@ -3416,7 +3487,7 @@ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; +export const ATTR_URL_SUBDOMAIN = 'url.subdomain' as const; /** * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. @@ -3425,7 +3496,7 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; +export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain' as const; /** * Name of the user-agent extracted from original. Usually refers to the browser's name. @@ -3434,7 +3505,7 @@ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_AGENT_NAME = 'user_agent.name'; +export const ATTR_USER_AGENT_NAME = 'user_agent.name' as const; /** * Version of the user-agent extracted from original. Usually refers to the browser's version. @@ -3443,63 +3514,63 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; +export const ATTR_USER_AGENT_VERSION = 'user_agent.version' as const; /** * The ID of a running ECS task. The ID MUST be extracted from `task.arn`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; +export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id' as const; /** * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; +export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn' as const; /** * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; +export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn' as const; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; +export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype' as const; /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; +export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn' as const; /** * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; +export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family' as const; /** * The revision for the task definition used to create the ECS task. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; +export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision' as const; /** * The ARN of an EKS cluster. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; +export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn' as const; /** * The Amazon Resource Name(s) (ARN) of the AWS log group(s). @@ -3508,7 +3579,7 @@ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; +export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns' as const; /** * The name(s) of the AWS log group(s) an application is writing to. @@ -3517,7 +3588,7 @@ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; +export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names' as const; /** * The ARN(s) of the AWS log stream(s). @@ -3526,28 +3597,28 @@ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; +export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns' as const; /** * The name(s) of the AWS log stream(s) an application is writing to. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; +export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names' as const; /** * Unique identifier for the application. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; +export const ATTR_HEROKU_APP_ID = 'heroku.app.id' as const; /** * Commit hash for the current release. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; +export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; /** * Time and date the release was created. @@ -3555,28 +3626,28 @@ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = - 'heroku.release.creation_timestamp'; + 'heroku.release.creation_timestamp' as const; /** * The name of the web engine. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_WEBENGINE_NAME = 'webengine.name'; +export const ATTR_WEBENGINE_NAME = 'webengine.name' as const; /** * Additional description of the web engine (e.g. detailed version and edition information). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; +export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description' as const; /** * The version of the web engine. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_WEBENGINE_VERSION = 'webengine.version'; +export const ATTR_WEBENGINE_VERSION = 'webengine.version' as const; /** * None. @@ -3585,7 +3656,7 @@ export const ATTR_WEBENGINE_VERSION = 'webengine.version'; * * @deprecated use the `otel.scope.name` attribute. */ -export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; +export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name' as const; /** * None. @@ -3594,7 +3665,7 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; * * @deprecated use the `otel.scope.version` attribute. */ -export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; +export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version' as const; /** * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). @@ -3603,7 +3674,7 @@ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; +export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' as const; /** * Parent-child Reference type. @@ -3612,14 +3683,14 @@ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; +export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type' as const; /** * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; +export const ATTR_AWS_REQUEST_ID = 'aws.request_id' as const; /** * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -3629,7 +3700,7 @@ export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; +export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; /** * The source object (in the form `bucket`/`key`) for the copy operation. @@ -3643,7 +3714,7 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; +export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source' as const; /** * The delete request container that specifies the objects to be deleted. @@ -3654,7 +3725,7 @@ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; +export const ATTR_AWS_S3_DELETE = 'aws.s3.delete' as const; /** * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -3678,7 +3749,7 @@ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_KEY = 'aws.s3.key'; +export const ATTR_AWS_S3_KEY = 'aws.s3.key' as const; /** * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. @@ -3690,7 +3761,7 @@ export const ATTR_AWS_S3_KEY = 'aws.s3.key'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; +export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; /** * Upload ID that identifies the multipart upload. @@ -3707,7 +3778,7 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; +export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id' as const; /** * The GraphQL document being executed. @@ -3716,28 +3787,28 @@ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; +export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document' as const; /** * The name of the operation being executed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; +export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name' as const; /** * The type of the operation being executed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; +export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type' as const; /** * Compressed size of the message in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; +export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size' as const; /** * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. @@ -3746,469 +3817,473 @@ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_ID = 'message.id'; +export const ATTR_MESSAGE_ID = 'message.id' as const; /** * Whether this is a received or sent message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_TYPE = 'message.type'; +export const ATTR_MESSAGE_TYPE = 'message.type' as const; /** * Uncompressed size of the message in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; +export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = + 'message.uncompressed_size' as const; /** * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const LOG_IOSTREAM_VALUE_STDOUT = 'stdout'; +export const LOG_IOSTREAM_VALUE_STDOUT = 'stdout' as const; /** * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const LOG_IOSTREAM_VALUE_STDERR = 'stderr'; +export const LOG_IOSTREAM_VALUE_STDERR = 'stderr' as const; /** * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_ACTIVE = 'active'; +export const IOS_STATE_VALUE_ACTIVE = 'active' as const; /** * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_INACTIVE = 'inactive'; +export const IOS_STATE_VALUE_INACTIVE = 'inactive' as const; /** * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_BACKGROUND = 'background'; +export const IOS_STATE_VALUE_BACKGROUND = 'background' as const; /** * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_FOREGROUND = 'foreground'; +export const IOS_STATE_VALUE_FOREGROUND = 'foreground' as const; /** * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_TERMINATE = 'terminate'; +export const IOS_STATE_VALUE_TERMINATE = 'terminate' as const; /** * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUE_CREATED = 'created'; +export const ANDROID_STATE_VALUE_CREATED = 'created' as const; /** * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUE_BACKGROUND = 'background'; +export const ANDROID_STATE_VALUE_BACKGROUND = 'background' as const; /** * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUE_FOREGROUND = 'foreground'; +export const ANDROID_STATE_VALUE_FOREGROUND = 'foreground' as const; /** * Enum value 'idle' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const STATE_VALUE_IDLE = 'idle'; +export const STATE_VALUE_IDLE = 'idle' as const; /** * Enum value 'used' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const STATE_VALUE_USED = 'used'; +export const STATE_VALUE_USED = 'used' as const; /** * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUE_SYSTEM = 'system'; +export const PROCESS_CPU_STATE_VALUE_SYSTEM = 'system' as const; /** * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUE_USER = 'user'; +export const PROCESS_CPU_STATE_VALUE_USER = 'user' as const; /** * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUE_WAIT = 'wait'; +export const PROCESS_CPU_STATE_VALUE_WAIT = 'wait' as const; /** * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary'; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary' as const; /** * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = 'involuntary'; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = + 'involuntary' as const; /** * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major'; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major' as const; /** * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor'; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor' as const; /** * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_USER = 'user'; +export const SYSTEM_CPU_STATE_VALUE_USER = 'user' as const; /** * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system'; +export const SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system' as const; /** * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_NICE = 'nice'; +export const SYSTEM_CPU_STATE_VALUE_NICE = 'nice' as const; /** * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_IDLE = 'idle'; +export const SYSTEM_CPU_STATE_VALUE_IDLE = 'idle' as const; /** * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait'; +export const SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait' as const; /** * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt'; +export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt' as const; /** * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_STEAL = 'steal'; +export const SYSTEM_CPU_STATE_VALUE_STEAL = 'steal' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_USED = 'used'; +export const SYSTEM_MEMORY_STATE_VALUE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_FREE = 'free'; +export const SYSTEM_MEMORY_STATE_VALUE_FREE = 'free' as const; /** * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared'; +export const SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared' as const; /** * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers'; +export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers' as const; /** * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached'; +export const SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached' as const; /** * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in'; +export const SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in' as const; /** * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out'; +export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_STATE_VALUE_USED = 'used'; +export const SYSTEM_PAGING_STATE_VALUE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_STATE_VALUE_FREE = 'free'; +export const SYSTEM_PAGING_STATE_VALUE_FREE = 'free' as const; /** * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major'; +export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major' as const; /** * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor'; +export const SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used'; +export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free'; +export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free' as const; /** * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved'; +export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved' as const; /** * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32' as const; /** * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat' as const; /** * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs' as const; /** * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs' as const; /** * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus' as const; /** * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4'; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4' as const; /** * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close'; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close' as const; /** * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait'; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait' as const; /** * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing'; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing' as const; /** * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete'; +export const SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete' as const; /** * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established'; +export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established' as const; /** * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1'; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1' as const; /** * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2'; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2' as const; /** * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack'; +export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack' as const; /** * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen'; +export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen' as const; /** * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv'; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv' as const; /** * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent'; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent' as const; /** * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait'; +export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running'; +export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running' as const; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping'; +export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping' as const; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped'; +export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped' as const; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct'; +export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct' as const; /** * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = + 'alibaba_cloud_ecs' as const; /** * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = + 'alibaba_cloud_fc' as const; /** * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4216,35 +4291,35 @@ export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = - 'alibaba_cloud_openshift'; + 'alibaba_cloud_openshift' as const; /** * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2'; +export const CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2' as const; /** * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs'; +export const CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs' as const; /** * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks'; +export const CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks' as const; /** * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda'; +export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda' as const; /** * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4252,35 +4327,36 @@ export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = - 'aws_elastic_beanstalk'; + 'aws_elastic_beanstalk' as const; /** * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner'; +export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner' as const; /** * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift'; +export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift' as const; /** * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm'; +export const CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm' as const; /** * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps'; +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = + 'azure_container_apps' as const; /** * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4288,35 +4364,36 @@ export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = - 'azure_container_instances'; + 'azure_container_instances' as const; /** * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks'; +export const CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks' as const; /** * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions'; +export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions' as const; /** * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = 'azure_app_service'; +export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = + 'azure_app_service' as const; /** * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift'; +export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift' as const; /** * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4324,21 +4401,22 @@ export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = - 'gcp_bare_metal_solution'; + 'gcp_bare_metal_solution' as const; /** * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; +export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = + 'gcp_compute_engine' as const; /** * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run'; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; /** * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4346,315 +4424,324 @@ export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = - 'gcp_kubernetes_engine'; + 'gcp_kubernetes_engine' as const; /** * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = + 'gcp_cloud_functions' as const; /** * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine'; +export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine' as const; /** * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift'; +export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift' as const; /** * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; +export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = + 'ibm_cloud_openshift' as const; /** * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = + 'tencent_cloud_cvm' as const; /** * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = + 'tencent_cloud_eks' as const; /** * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = + 'tencent_cloud_scf' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; +export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_AWS = 'aws'; +export const CLOUD_PROVIDER_VALUE_AWS = 'aws' as const; /** * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_AZURE = 'azure'; +export const CLOUD_PROVIDER_VALUE_AZURE = 'azure' as const; /** * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_GCP = 'gcp'; +export const CLOUD_PROVIDER_VALUE_GCP = 'gcp' as const; /** * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_HEROKU = 'heroku'; +export const CLOUD_PROVIDER_VALUE_HEROKU = 'heroku' as const; /** * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud'; +export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; +export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud' as const; /** * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUE_USER = 'user'; +export const CONTAINER_CPU_STATE_VALUE_USER = 'user' as const; /** * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system'; +export const CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system' as const; /** * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel'; +export const CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel' as const; /** * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all' as const; /** * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = 'each_quorum'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = + 'each_quorum' as const; /** * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum' as const; /** * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = 'local_quorum'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = + 'local_quorum' as const; /** * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one' as const; /** * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two' as const; /** * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three' as const; /** * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = 'local_one'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = + 'local_one' as const; /** * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any' as const; /** * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial' as const; /** * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = 'local_serial'; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = + 'local_serial' as const; /** * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway'; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway' as const; /** * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct'; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct' as const; /** * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid' as const; /** * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create' as const; /** * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch' as const; /** * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read' as const; /** * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed' as const; /** * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete' as const; /** * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace' as const; /** * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute' as const; /** * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query' as const; /** * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head' as const; /** * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed' as const; /** * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert' as const; /** * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch' as const; /** * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan'; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan' as const; /** * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. @@ -4662,371 +4749,371 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = - 'ExecuteJavaScript'; + 'ExecuteJavaScript' as const; /** * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql'; +export const DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql' as const; /** * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MSSQL = 'mssql'; +export const DB_SYSTEM_VALUE_MSSQL = 'mssql' as const; /** * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact'; +export const DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact' as const; /** * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MYSQL = 'mysql'; +export const DB_SYSTEM_VALUE_MYSQL = 'mysql' as const; /** * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_ORACLE = 'oracle'; +export const DB_SYSTEM_VALUE_ORACLE = 'oracle' as const; /** * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_DB2 = 'db2'; +export const DB_SYSTEM_VALUE_DB2 = 'db2' as const; /** * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql'; +export const DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql' as const; /** * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_REDSHIFT = 'redshift'; +export const DB_SYSTEM_VALUE_REDSHIFT = 'redshift' as const; /** * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HIVE = 'hive'; +export const DB_SYSTEM_VALUE_HIVE = 'hive' as const; /** * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape'; +export const DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape' as const; /** * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HSQLDB = 'hsqldb'; +export const DB_SYSTEM_VALUE_HSQLDB = 'hsqldb' as const; /** * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_PROGRESS = 'progress'; +export const DB_SYSTEM_VALUE_PROGRESS = 'progress' as const; /** * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MAXDB = 'maxdb'; +export const DB_SYSTEM_VALUE_MAXDB = 'maxdb' as const; /** * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HANADB = 'hanadb'; +export const DB_SYSTEM_VALUE_HANADB = 'hanadb' as const; /** * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INGRES = 'ingres'; +export const DB_SYSTEM_VALUE_INGRES = 'ingres' as const; /** * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql'; +export const DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql' as const; /** * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_EDB = 'edb'; +export const DB_SYSTEM_VALUE_EDB = 'edb' as const; /** * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CACHE = 'cache'; +export const DB_SYSTEM_VALUE_CACHE = 'cache' as const; /** * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_ADABAS = 'adabas'; +export const DB_SYSTEM_VALUE_ADABAS = 'adabas' as const; /** * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_FIREBIRD = 'firebird'; +export const DB_SYSTEM_VALUE_FIREBIRD = 'firebird' as const; /** * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_DERBY = 'derby'; +export const DB_SYSTEM_VALUE_DERBY = 'derby' as const; /** * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_FILEMAKER = 'filemaker'; +export const DB_SYSTEM_VALUE_FILEMAKER = 'filemaker' as const; /** * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INFORMIX = 'informix'; +export const DB_SYSTEM_VALUE_INFORMIX = 'informix' as const; /** * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INSTANTDB = 'instantdb'; +export const DB_SYSTEM_VALUE_INSTANTDB = 'instantdb' as const; /** * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INTERBASE = 'interbase'; +export const DB_SYSTEM_VALUE_INTERBASE = 'interbase' as const; /** * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MARIADB = 'mariadb'; +export const DB_SYSTEM_VALUE_MARIADB = 'mariadb' as const; /** * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_NETEZZA = 'netezza'; +export const DB_SYSTEM_VALUE_NETEZZA = 'netezza' as const; /** * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_PERVASIVE = 'pervasive'; +export const DB_SYSTEM_VALUE_PERVASIVE = 'pervasive' as const; /** * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_POINTBASE = 'pointbase'; +export const DB_SYSTEM_VALUE_POINTBASE = 'pointbase' as const; /** * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_SQLITE = 'sqlite'; +export const DB_SYSTEM_VALUE_SQLITE = 'sqlite' as const; /** * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_SYBASE = 'sybase'; +export const DB_SYSTEM_VALUE_SYBASE = 'sybase' as const; /** * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_TERADATA = 'teradata'; +export const DB_SYSTEM_VALUE_TERADATA = 'teradata' as const; /** * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_VERTICA = 'vertica'; +export const DB_SYSTEM_VALUE_VERTICA = 'vertica' as const; /** * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_H2 = 'h2'; +export const DB_SYSTEM_VALUE_H2 = 'h2' as const; /** * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion'; +export const DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion' as const; /** * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CASSANDRA = 'cassandra'; +export const DB_SYSTEM_VALUE_CASSANDRA = 'cassandra' as const; /** * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HBASE = 'hbase'; +export const DB_SYSTEM_VALUE_HBASE = 'hbase' as const; /** * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MONGODB = 'mongodb'; +export const DB_SYSTEM_VALUE_MONGODB = 'mongodb' as const; /** * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_REDIS = 'redis'; +export const DB_SYSTEM_VALUE_REDIS = 'redis' as const; /** * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COUCHBASE = 'couchbase'; +export const DB_SYSTEM_VALUE_COUCHBASE = 'couchbase' as const; /** * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COUCHDB = 'couchdb'; +export const DB_SYSTEM_VALUE_COUCHDB = 'couchdb' as const; /** * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb'; +export const DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb' as const; /** * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb'; +export const DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb' as const; /** * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_NEO4J = 'neo4j'; +export const DB_SYSTEM_VALUE_NEO4J = 'neo4j' as const; /** * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_GEODE = 'geode'; +export const DB_SYSTEM_VALUE_GEODE = 'geode' as const; /** * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch'; +export const DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch' as const; /** * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MEMCACHED = 'memcached'; +export const DB_SYSTEM_VALUE_MEMCACHED = 'memcached' as const; /** * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb'; +export const DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb' as const; /** * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch'; +export const DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch' as const; /** * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse'; +export const DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse' as const; /** * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_SPANNER = 'spanner'; +export const DB_SYSTEM_VALUE_SPANNER = 'spanner' as const; /** * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_TRINO = 'trino'; +export const DB_SYSTEM_VALUE_TRINO = 'trino' as const; /** * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5035,7 +5122,7 @@ export const DB_SYSTEM_VALUE_TRINO = 'trino'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0'; +export const HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0' as const; /** * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5044,7 +5131,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1'; +export const HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1' as const; /** * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5053,7 +5140,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0'; +export const HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0' as const; /** * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5062,7 +5149,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0'; +export const HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0' as const; /** * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5071,7 +5158,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_SPDY = 'SPDY'; +export const HTTP_FLAVOR_VALUE_SPDY = 'SPDY' as const; /** * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5080,7 +5167,7 @@ export const HTTP_FLAVOR_VALUE_SPDY = 'SPDY'; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_QUIC = 'QUIC'; +export const HTTP_FLAVOR_VALUE_QUIC = 'QUIC' as const; /** * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5089,7 +5176,7 @@ export const HTTP_FLAVOR_VALUE_QUIC = 'QUIC'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUE_INET = 'inet'; +export const NET_SOCK_FAMILY_VALUE_INET = 'inet' as const; /** * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5098,7 +5185,7 @@ export const NET_SOCK_FAMILY_VALUE_INET = 'inet'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUE_INET6 = 'inet6'; +export const NET_SOCK_FAMILY_VALUE_INET6 = 'inet6' as const; /** * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5107,7 +5194,7 @@ export const NET_SOCK_FAMILY_VALUE_INET6 = 'inet6'; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUE_UNIX = 'unix'; +export const NET_SOCK_FAMILY_VALUE_UNIX = 'unix' as const; /** * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5116,7 +5203,7 @@ export const NET_SOCK_FAMILY_VALUE_UNIX = 'unix'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp'; +export const NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp' as const; /** * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5125,7 +5212,7 @@ export const NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp'; +export const NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5134,7 +5221,7 @@ export const NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_PIPE = 'pipe'; +export const NET_TRANSPORT_VALUE_PIPE = 'pipe' as const; /** * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5143,7 +5230,7 @@ export const NET_TRANSPORT_VALUE_PIPE = 'pipe'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_INPROC = 'inproc'; +export const NET_TRANSPORT_VALUE_INPROC = 'inproc' as const; /** * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5152,7 +5239,7 @@ export const NET_TRANSPORT_VALUE_INPROC = 'inproc'; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_OTHER = 'other'; +export const NET_TRANSPORT_VALUE_OTHER = 'other' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5161,7 +5248,7 @@ export const NET_TRANSPORT_VALUE_OTHER = 'other'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running'; +export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running' as const; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5170,7 +5257,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping'; +export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping' as const; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5179,7 +5266,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped'; +export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped' as const; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5188,217 +5275,219 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped'; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct'; +export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct' as const; /** * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DISK_IO_DIRECTION_VALUE_READ = 'read'; +export const DISK_IO_DIRECTION_VALUE_READ = 'read' as const; /** * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DISK_IO_DIRECTION_VALUE_WRITE = 'write'; +export const DISK_IO_DIRECTION_VALUE_WRITE = 'write' as const; /** * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert'; +export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert' as const; /** * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit'; +export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit' as const; /** * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete'; +export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; +export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = + 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws'; +export const FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws' as const; /** * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure'; +export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure' as const; /** * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp'; +export const FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; +export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = + 'tencent_cloud' as const; /** * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource'; +export const FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource' as const; /** * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_HTTP = 'http'; +export const FAAS_TRIGGER_VALUE_HTTP = 'http' as const; /** * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub'; +export const FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub' as const; /** * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_TIMER = 'timer'; +export const FAAS_TRIGGER_VALUE_TIMER = 'timer' as const; /** * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_OTHER = 'other'; +export const FAAS_TRIGGER_VALUE_OTHER = 'other' as const; /** * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_AMD64 = 'amd64'; +export const HOST_ARCH_VALUE_AMD64 = 'amd64' as const; /** * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_ARM32 = 'arm32'; +export const HOST_ARCH_VALUE_ARM32 = 'arm32' as const; /** * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_ARM64 = 'arm64'; +export const HOST_ARCH_VALUE_ARM64 = 'arm64' as const; /** * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_IA64 = 'ia64'; +export const HOST_ARCH_VALUE_IA64 = 'ia64' as const; /** * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_PPC32 = 'ppc32'; +export const HOST_ARCH_VALUE_PPC32 = 'ppc32' as const; /** * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_PPC64 = 'ppc64'; +export const HOST_ARCH_VALUE_PPC64 = 'ppc64' as const; /** * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_S390X = 's390x'; +export const HOST_ARCH_VALUE_S390X = 's390x' as const; /** * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_X86 = 'x86'; +export const HOST_ARCH_VALUE_X86 = 'x86' as const; /** * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active'; +export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active' as const; /** * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; +export const HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle' as const; /** * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_PUBLISH = 'publish'; +export const MESSAGING_OPERATION_VALUE_PUBLISH = 'publish' as const; /** * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_CREATE = 'create'; +export const MESSAGING_OPERATION_VALUE_CREATE = 'create' as const; /** * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_RECEIVE = 'receive'; +export const MESSAGING_OPERATION_VALUE_RECEIVE = 'receive' as const; /** * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_DELIVER = 'process'; +export const MESSAGING_OPERATION_VALUE_DELIVER = 'process' as const; /** * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_SETTLE = 'settle'; +export const MESSAGING_OPERATION_VALUE_SETTLE = 'settle' as const; /** * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. @@ -5406,7 +5495,7 @@ export const MESSAGING_OPERATION_VALUE_SETTLE = 'settle'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = - 'clustering'; + 'clustering' as const; /** * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. @@ -5414,35 +5503,36 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = - 'broadcasting'; + 'broadcasting' as const; /** * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal' as const; /** * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo' as const; /** * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay' as const; /** * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = + 'transaction' as const; /** * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. @@ -5450,14 +5540,15 @@ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = - 'complete'; + 'complete' as const; /** * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = + 'abandon' as const; /** * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. @@ -5465,371 +5556,373 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = - 'dead_letter'; + 'dead_letter' as const; /** * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer'; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = + 'defer' as const; /** * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq'; +export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq' as const; /** * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs'; +export const MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs' as const; /** * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid'; +export const MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid' as const; /** * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs'; +export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs' as const; /** * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus'; +export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus' as const; /** * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub'; +export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub' as const; /** * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_JMS = 'jms'; +export const MESSAGING_SYSTEM_VALUE_JMS = 'jms' as const; /** * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka'; +export const MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka' as const; /** * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq'; +export const MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq' as const; /** * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq'; +export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq' as const; /** * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs' as const; /** * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge' as const; /** * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts' as const; /** * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma' as const; /** * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0' as const; /** * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a' as const; /** * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = + 'cdma2000_1xrtt' as const; /** * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa' as const; /** * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa' as const; /** * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa' as const; /** * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden' as const; /** * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b' as const; /** * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte' as const; /** * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd' as const; /** * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap' as const; /** * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm' as const; /** * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma' as const; /** * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan' as const; /** * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr' as const; /** * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa' as const; /** * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca'; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca' as const; /** * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi'; +export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi' as const; /** * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; +export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired' as const; /** * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell'; +export const NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell' as const; /** * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable'; +export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable' as const; /** * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown'; +export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown' as const; /** * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit'; +export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit' as const; /** * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive'; +export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive' as const; /** * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_WINDOWS = 'windows'; +export const OS_TYPE_VALUE_WINDOWS = 'windows' as const; /** * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_LINUX = 'linux'; +export const OS_TYPE_VALUE_LINUX = 'linux' as const; /** * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_DARWIN = 'darwin'; +export const OS_TYPE_VALUE_DARWIN = 'darwin' as const; /** * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_FREEBSD = 'freebsd'; +export const OS_TYPE_VALUE_FREEBSD = 'freebsd' as const; /** * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_NETBSD = 'netbsd'; +export const OS_TYPE_VALUE_NETBSD = 'netbsd' as const; /** * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_OPENBSD = 'openbsd'; +export const OS_TYPE_VALUE_OPENBSD = 'openbsd' as const; /** * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd'; +export const OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd' as const; /** * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_HPUX = 'hpux'; +export const OS_TYPE_VALUE_HPUX = 'hpux' as const; /** * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_AIX = 'aix'; +export const OS_TYPE_VALUE_AIX = 'aix' as const; /** * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_SOLARIS = 'solaris'; +export const OS_TYPE_VALUE_SOLARIS = 'solaris' as const; /** * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_Z_OS = 'z_os'; +export const OS_TYPE_VALUE_Z_OS = 'z_os' as const; /** * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled' as const; /** * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown' as const; /** * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5837,7 +5930,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = - 'invalid_argument'; + 'invalid_argument' as const; /** * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5845,21 +5938,22 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = - 'deadline_exceeded'; + 'deadline_exceeded' as const; /** * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found' as const; /** * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = + 'already_exists' as const; /** * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5867,7 +5961,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = - 'permission_denied'; + 'permission_denied' as const; /** * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5875,7 +5969,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = - 'resource_exhausted'; + 'resource_exhausted' as const; /** * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5883,49 +5977,52 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = - 'failed_precondition'; + 'failed_precondition' as const; /** * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted' as const; /** * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = + 'out_of_range' as const; /** * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = + 'unimplemented' as const; /** * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal' as const; /** * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = + 'unavailable' as const; /** * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss' as const; /** * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5933,235 +6030,236 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = - 'unauthenticated'; + 'unauthenticated' as const; /** * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0; +export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0 as const; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; +export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1 as const; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; +export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2 as const; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; +export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3 as const; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; +export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4 as const; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; +export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5 as const; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; +export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6 as const; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; +export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7 as const; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; +export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8 as const; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; +export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9 as const; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; +export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10 as const; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; +export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11 as const; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; +export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12 as const; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; +export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13 as const; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14 as const; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; +export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15 as const; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16 as const; /** * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_GRPC = 'grpc'; +export const RPC_SYSTEM_VALUE_GRPC = 'grpc' as const; /** * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi'; +export const RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi' as const; /** * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf'; +export const RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf' as const; /** * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo'; +export const RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo' as const; /** * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc'; +export const RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc' as const; /** * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl'; +export const TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl' as const; /** * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const TLS_PROTOCOL_NAME_VALUE_TLS = 'tls'; +export const TLS_PROTOCOL_NAME_VALUE_TLS = 'tls' as const; /** * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2'; +export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2' as const; /** * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate'; +export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate' as const; /** * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of'; +export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of' as const; /** * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from'; +export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from' as const; /** * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query'; +export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query' as const; /** * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation'; +export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation' as const; /** * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = 'subscription'; +export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = + 'subscription' as const; /** * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGE_TYPE_VALUE_SENT = 'SENT'; +export const MESSAGE_TYPE_VALUE_SENT = 'SENT' as const; /** * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED'; +export const MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index ce4dfb2ed6..c2c77d1017 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -24,7 +24,7 @@ * Note: Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = - 'aspnetcore.diagnostics.exceptions'; + 'aspnetcore.diagnostics.exceptions' as const; /** * Number of requests that are currently active on the server that hold a rate limiting lease. @@ -32,7 +32,7 @@ export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = - 'aspnetcore.rate_limiting.active_request_leases'; + 'aspnetcore.rate_limiting.active_request_leases' as const; /** * Number of requests that are currently queued, waiting to acquire a rate limiting lease. @@ -40,7 +40,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = - 'aspnetcore.rate_limiting.queued_requests'; + 'aspnetcore.rate_limiting.queued_requests' as const; /** * The time the request spent in a queue waiting to acquire a rate limiting lease. @@ -48,7 +48,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = - 'aspnetcore.rate_limiting.request.time_in_queue'; + 'aspnetcore.rate_limiting.request.time_in_queue' as const; /** * The duration of rate limiting lease held by requests on the server. @@ -56,7 +56,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = - 'aspnetcore.rate_limiting.request_lease.duration'; + 'aspnetcore.rate_limiting.request_lease.duration' as const; /** * Number of requests that tried to acquire a rate limiting lease. @@ -69,7 +69,7 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = - 'aspnetcore.rate_limiting.requests'; + 'aspnetcore.rate_limiting.requests' as const; /** * Number of requests that were attempted to be matched to an endpoint. @@ -77,89 +77,91 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = * Note: Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0. */ export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = - 'aspnetcore.routing.match_attempts'; + 'aspnetcore.routing.match_attempts' as const; /** * Duration of HTTP client requests. */ export const METRIC_HTTP_CLIENT_REQUEST_DURATION = - 'http.client.request.duration'; + 'http.client.request.duration' as const; /** * Duration of HTTP server requests. */ export const METRIC_HTTP_SERVER_REQUEST_DURATION = - 'http.server.request.duration'; + 'http.server.request.duration' as const; /** * Number of classes currently loaded. */ -export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count'; +export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count' as const; /** * Number of classes loaded since JVM start. */ -export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded'; +export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded' as const; /** * Number of classes unloaded since JVM start. */ -export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded'; +export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded' as const; /** * Number of processors available to the Java virtual machine. */ -export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count'; +export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count' as const; /** * Recent CPU utilization for the process as reported by the JVM. * * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). */ -export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization'; +export const METRIC_JVM_CPU_RECENT_UTILIZATION = + 'jvm.cpu.recent_utilization' as const; /** * CPU time used by the process as reported by the JVM. */ -export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time'; +export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time' as const; /** * Duration of JVM garbage collection actions. */ -export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration'; +export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration' as const; /** * Measure of memory committed. */ -export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed'; +export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed' as const; /** * Measure of max obtainable memory. */ -export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit'; +export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit' as const; /** * Measure of memory used. */ -export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used'; +export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used' as const; /** * Measure of memory used, as measured after the most recent garbage collection event on this pool. */ export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = - 'jvm.memory.used_after_last_gc'; + 'jvm.memory.used_after_last_gc' as const; /** * Number of executing platform threads. */ -export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count'; +export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count' as const; /** * Number of connections that are currently active on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; +export const METRIC_KESTREL_ACTIVE_CONNECTIONS = + 'kestrel.active_connections' as const; /** * Number of TLS handshakes that are currently in progress on the server. @@ -167,28 +169,31 @@ export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = - 'kestrel.active_tls_handshakes'; + 'kestrel.active_tls_handshakes' as const; /** * The duration of connections on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration'; +export const METRIC_KESTREL_CONNECTION_DURATION = + 'kestrel.connection.duration' as const; /** * Number of connections that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections'; +export const METRIC_KESTREL_QUEUED_CONNECTIONS = + 'kestrel.queued_connections' as const; /** * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; +export const METRIC_KESTREL_QUEUED_REQUESTS = + 'kestrel.queued_requests' as const; /** * Number of connections rejected by the server. @@ -197,7 +202,7 @@ export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_REJECTED_CONNECTIONS = - 'kestrel.rejected_connections'; + 'kestrel.rejected_connections' as const; /** * The duration of TLS handshakes on the server. @@ -205,7 +210,7 @@ export const METRIC_KESTREL_REJECTED_CONNECTIONS = * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = - 'kestrel.tls_handshake.duration'; + 'kestrel.tls_handshake.duration' as const; /** * Number of connections that are currently upgraded (WebSockets). . @@ -215,7 +220,7 @@ export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ export const METRIC_KESTREL_UPGRADED_CONNECTIONS = - 'kestrel.upgraded_connections'; + 'kestrel.upgraded_connections' as const; /** * Number of connections that are currently active on the server. @@ -223,7 +228,7 @@ export const METRIC_KESTREL_UPGRADED_CONNECTIONS = * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. */ export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = - 'signalr.server.active_connections'; + 'signalr.server.active_connections' as const; /** * The duration of connections on the server. @@ -231,109 +236,110 @@ export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. */ export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = - 'signalr.server.connection.duration'; + 'signalr.server.connection.duration' as const; /** * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. */ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = - 'aspnetcore.rate_limiting.result'; + 'aspnetcore.rate_limiting.result' as const; /** * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. */ export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = - 'aspnetcore.diagnostics.handler.type'; + 'aspnetcore.diagnostics.handler.type' as const; /** * Rate limiting policy name. */ export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = - 'aspnetcore.rate_limiting.policy'; + 'aspnetcore.rate_limiting.policy' as const; /** * Flag indicating if request was handled by the application pipeline. */ export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = - 'aspnetcore.request.is_unhandled'; + 'aspnetcore.request.is_unhandled' as const; /** * A value that indicates whether the matched route is a fallback route. */ export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = - 'aspnetcore.routing.is_fallback'; + 'aspnetcore.routing.is_fallback' as const; /** * Match result - success or failure. */ export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = - 'aspnetcore.routing.match_status'; + 'aspnetcore.routing.match_status' as const; /** * ASP.NET Core exception middleware handling result. */ export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = - 'aspnetcore.diagnostics.exception.result'; + 'aspnetcore.diagnostics.exception.result' as const; /** * SignalR HTTP connection closure status. */ -export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; +export const ATTR_SIGNALR_CONNECTION_STATUS = + 'signalr.connection.status' as const; /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). */ -export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; +export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport' as const; /** * Name of the memory pool. * * Note: Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). */ -export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; +export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name' as const; /** * The type of memory. */ -export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; +export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type' as const; /** * Name of the garbage collector action. * * Note: Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). */ -export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; +export const ATTR_JVM_GC_ACTION = 'jvm.gc.action' as const; /** * Name of the garbage collector. * * Note: Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). */ -export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; +export const ATTR_JVM_GC_NAME = 'jvm.gc.name' as const; /** * Whether the thread is daemon or not. */ -export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; +export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon' as const; /** * State of the thread. */ -export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; +export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state' as const; /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * * Note: When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_CLIENT_ADDRESS = 'client.address'; +export const ATTR_CLIENT_ADDRESS = 'client.address' as const; /** * Client port number. * * Note: When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_CLIENT_PORT = 'client.port'; +export const ATTR_CLIENT_PORT = 'client.port' as const; /** * Describes a class of error the operation ended with. @@ -354,7 +360,7 @@ export const ATTR_CLIENT_PORT = 'client.port'; * * Use a domain-specific attribute * * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. */ -export const ATTR_ERROR_TYPE = 'error.type'; +export const ATTR_ERROR_TYPE = 'error.type' as const; /** * SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. @@ -376,22 +382,22 @@ export const ATTR_ERROR_TYPE = 'error.type'; * since the event might have been recorded at a time where it was not * clear whether the exception will escape. */ -export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; +export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped' as const; /** * The exception message. */ -export const ATTR_EXCEPTION_MESSAGE = 'exception.message'; +export const ATTR_EXCEPTION_MESSAGE = 'exception.message' as const; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. */ -export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; +export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace' as const; /** * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. */ -export const ATTR_EXCEPTION_TYPE = 'exception.type'; +export const ATTR_EXCEPTION_TYPE = 'exception.type' as const; /** * HTTP request method. @@ -411,24 +417,27 @@ export const ATTR_EXCEPTION_TYPE = 'exception.type'; * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. * Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. */ -export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; +export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method' as const; /** * Original HTTP method sent by the client in the request line. */ -export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; +export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = + 'http.request.method_original' as const; /** * The ordinal number of request resending attempt (for any reason, including redirects). * * Note: The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ -export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; +export const ATTR_HTTP_REQUEST_RESEND_COUNT = + 'http.request.resend_count' as const; /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). */ -export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; +export const ATTR_HTTP_RESPONSE_STATUS_CODE = + 'http.response.status_code' as const; /** * The matched route, that is, the path template in the format used by the respective server framework. @@ -436,41 +445,42 @@ export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; * Note: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. * SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. */ -export const ATTR_HTTP_ROUTE = 'http.route'; +export const ATTR_HTTP_ROUTE = 'http.route' as const; /** * Local address of the network connection - IP address or Unix domain socket name. */ -export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address'; +export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address' as const; /** * Local port number of the network connection. */ -export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port'; +export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port' as const; /** * Peer address of the network connection - IP address or Unix domain socket name. */ -export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address'; +export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address' as const; /** * Peer port number of the network connection. */ -export const ATTR_NETWORK_PEER_PORT = 'network.peer.port'; +export const ATTR_NETWORK_PEER_PORT = 'network.peer.port' as const; /** * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. * * Note: The value SHOULD be normalized to lowercase. */ -export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; +export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name' as const; /** * The actual version of the protocol used for network communication. * * Note: If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set. */ -export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; +export const ATTR_NETWORK_PROTOCOL_VERSION = + 'network.protocol.version' as const; /** * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). @@ -481,45 +491,45 @@ export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; * a port number is ambiguous without knowing the transport. For example * different processes could be listening on TCP port 12345 and UDP port 12345. */ -export const ATTR_NETWORK_TRANSPORT = 'network.transport'; +export const ATTR_NETWORK_TRANSPORT = 'network.transport' as const; /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. * * Note: The value SHOULD be normalized to lowercase. */ -export const ATTR_NETWORK_TYPE = 'network.type'; +export const ATTR_NETWORK_TYPE = 'network.type' as const; /** * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * * Note: When observed from the client side, and when communicating through an intermediary, `server.address` SHOULD represent the server address behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_SERVER_ADDRESS = 'server.address'; +export const ATTR_SERVER_ADDRESS = 'server.address' as const; /** * Server port number. * * Note: When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_SERVER_PORT = 'server.port'; +export const ATTR_SERVER_PORT = 'server.port' as const; /** * Logical name of the service. * * Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. */ -export const ATTR_SERVICE_NAME = 'service.name'; +export const ATTR_SERVICE_NAME = 'service.name' as const; /** * The version string of the service API or implementation. The format is not defined by these conventions. */ -export const ATTR_SERVICE_VERSION = 'service.version'; +export const ATTR_SERVICE_VERSION = 'service.version' as const; /** * The language of the telemetry SDK. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; +export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language' as const; /** * The name of the telemetry SDK as defined above. @@ -531,17 +541,17 @@ export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; * The identifier `opentelemetry` is reserved and MUST NOT be used in this case. * All custom identifiers SHOULD be stable across different versions of an implementation. */ -export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; +export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name' as const; /** * The version string of the telemetry SDK. */ -export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; +export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version' as const; /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component. */ -export const ATTR_URL_FRAGMENT = 'url.fragment'; +export const ATTR_URL_FRAGMENT = 'url.fragment' as const; /** * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). @@ -550,327 +560,334 @@ export const ATTR_URL_FRAGMENT = 'url.fragment'; * `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`. * `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it. */ -export const ATTR_URL_FULL = 'url.full'; +export const ATTR_URL_FULL = 'url.full' as const; /** * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component. * * Note: Sensitive content provided in `url.path` SHOULD be scrubbed when instrumentations can identify it. */ -export const ATTR_URL_PATH = 'url.path'; +export const ATTR_URL_PATH = 'url.path' as const; /** * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component. * * Note: Sensitive content provided in `url.query` SHOULD be scrubbed when instrumentations can identify it. */ -export const ATTR_URL_QUERY = 'url.query'; +export const ATTR_URL_QUERY = 'url.query' as const; /** * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. */ -export const ATTR_URL_SCHEME = 'url.scheme'; +export const ATTR_URL_SCHEME = 'url.scheme' as const; /** * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. */ -export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original'; +export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original' as const; /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). */ -export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name'; +export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name' as const; /** * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). */ -export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version'; +export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version' as const; /** * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. */ -export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; +export const ATTR_OTEL_STATUS_CODE = 'otel.status_code' as const; /** * Description of the Status if it has a value, otherwise not set. */ -export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; +export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description' as const; /** * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = 'acquired'; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = + 'acquired' as const; /** * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = - 'endpoint_limiter'; + 'endpoint_limiter' as const; /** * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = - 'global_limiter'; + 'global_limiter' as const; /** * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = - 'request_canceled'; + 'request_canceled' as const; /** * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success'; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success' as const; /** * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure'; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure' as const; /** * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = 'handled'; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = + 'handled' as const; /** * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = - 'unhandled'; + 'unhandled' as const; /** * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = 'skipped'; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = + 'skipped' as const; /** * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'aborted'; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = + 'aborted' as const; /** * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = 'normal_closure'; +export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = + 'normal_closure' as const; /** * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout'; +export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout' as const; /** * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = 'app_shutdown'; +export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = + 'app_shutdown' as const; /** * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = 'server_sent_events'; +export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = + 'server_sent_events' as const; /** * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling'; +export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling' as const; /** * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets'; +export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets' as const; /** * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUE_HEAP = 'heap'; +export const JVM_MEMORY_TYPE_VALUE_HEAP = 'heap' as const; /** * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap'; +export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap' as const; /** * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_NEW = 'new'; +export const JVM_THREAD_STATE_VALUE_NEW = 'new' as const; /** * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable'; +export const JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable' as const; /** * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked'; +export const JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked' as const; /** * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_WAITING = 'waiting'; +export const JVM_THREAD_STATE_VALUE_WAITING = 'waiting' as const; /** * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting'; +export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting' as const; /** * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated'; +export const JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated' as const; /** * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. */ -export const ERROR_TYPE_VALUE_OTHER = '_OTHER'; +export const ERROR_TYPE_VALUE_OTHER = '_OTHER' as const; /** * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT'; +export const HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT' as const; /** * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE'; +export const HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE' as const; /** * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_GET = 'GET'; +export const HTTP_REQUEST_METHOD_VALUE_GET = 'GET' as const; /** * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD'; +export const HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD' as const; /** * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS'; +export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS' as const; /** * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH'; +export const HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH' as const; /** * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_POST = 'POST'; +export const HTTP_REQUEST_METHOD_VALUE_POST = 'POST' as const; /** * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT'; +export const HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT' as const; /** * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE'; +export const HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE' as const; /** * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER'; +export const HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER' as const; /** * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_TCP = 'tcp'; +export const NETWORK_TRANSPORT_VALUE_TCP = 'tcp' as const; /** * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_UDP = 'udp'; +export const NETWORK_TRANSPORT_VALUE_UDP = 'udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_PIPE = 'pipe'; +export const NETWORK_TRANSPORT_VALUE_PIPE = 'pipe' as const; /** * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_UNIX = 'unix'; +export const NETWORK_TRANSPORT_VALUE_UNIX = 'unix' as const; /** * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUE_IPV4 = 'ipv4'; +export const NETWORK_TYPE_VALUE_IPV4 = 'ipv4' as const; /** * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUE_IPV6 = 'ipv6'; +export const NETWORK_TYPE_VALUE_IPV6 = 'ipv6' as const; /** * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp' as const; /** * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet' as const; /** * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang' as const; /** * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go' as const; /** * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java' as const; /** * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs' as const; /** * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php' as const; /** * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python' as const; /** * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby' as const; /** * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust' as const; /** * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift' as const; /** * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs'; +export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs' as const; /** * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUE_OK = 'OK'; +export const OTEL_STATUS_CODE_VALUE_OK = 'OK' as const; /** * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR'; +export const OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR' as const; diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 3e5ee134d4..8a3e9d31fc 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -42,7 +42,7 @@ * @deprecated {{metric.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ -export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("string", metric.metric_name) }}; +export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("string", metric.metric_name) }} as const; {%- endfor %} @@ -63,7 +63,7 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ -export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }}; +export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }} as const; {%- endfor %} @@ -87,7 +87,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ -export const {{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }}; +export const {{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; {%- endfor %} From 3949f1f090925197628afcb896ff8857a9dffe1d Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 30 May 2024 13:28:02 -0400 Subject: [PATCH 16/47] Use VAL_ prefix for enum values --- .../src/experimental.ts | 676 +++++++++--------- .../src/stable.ts | 111 ++- scripts/semconv/generate.sh | 2 + .../templates/SemanticAttributes.ts.j2 | 4 +- 4 files changed, 395 insertions(+), 398 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index f4f7e60402..b06f74018e 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -3839,119 +3839,119 @@ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const LOG_IOSTREAM_VALUE_STDOUT = 'stdout' as const; +export const VAL_LOG_IOSTREAM_STDOUT = 'stdout' as const; /** * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const LOG_IOSTREAM_VALUE_STDERR = 'stderr' as const; +export const VAL_LOG_IOSTREAM_STDERR = 'stderr' as const; /** * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_ACTIVE = 'active' as const; +export const VAL_IOS_STATE_ACTIVE = 'active' as const; /** * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_INACTIVE = 'inactive' as const; +export const VAL_IOS_STATE_INACTIVE = 'inactive' as const; /** * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_BACKGROUND = 'background' as const; +export const VAL_IOS_STATE_BACKGROUND = 'background' as const; /** * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_FOREGROUND = 'foreground' as const; +export const VAL_IOS_STATE_FOREGROUND = 'foreground' as const; /** * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const IOS_STATE_VALUE_TERMINATE = 'terminate' as const; +export const VAL_IOS_STATE_TERMINATE = 'terminate' as const; /** * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUE_CREATED = 'created' as const; +export const VAL_ANDROID_STATE_CREATED = 'created' as const; /** * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUE_BACKGROUND = 'background' as const; +export const VAL_ANDROID_STATE_BACKGROUND = 'background' as const; /** * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ANDROID_STATE_VALUE_FOREGROUND = 'foreground' as const; +export const VAL_ANDROID_STATE_FOREGROUND = 'foreground' as const; /** * Enum value 'idle' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const STATE_VALUE_IDLE = 'idle' as const; +export const VAL_STATE_IDLE = 'idle' as const; /** * Enum value 'used' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const STATE_VALUE_USED = 'used' as const; +export const VAL_STATE_USED = 'used' as const; /** * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUE_SYSTEM = 'system' as const; +export const VAL_PROCESS_CPU_STATE_SYSTEM = 'system' as const; /** * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUE_USER = 'user' as const; +export const VAL_PROCESS_CPU_STATE_USER = 'user' as const; /** * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CPU_STATE_VALUE_WAIT = 'wait' as const; +export const VAL_PROCESS_CPU_STATE_WAIT = 'wait' as const; /** * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary' as const; +export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_VOLUNTARY = 'voluntary' as const; /** * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = +export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_INVOLUNTARY = 'involuntary' as const; /** @@ -3959,322 +3959,322 @@ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major' as const; +export const VAL_PROCESS_PAGING_FAULT_TYPE_MAJOR = 'major' as const; /** * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor' as const; +export const VAL_PROCESS_PAGING_FAULT_TYPE_MINOR = 'minor' as const; /** * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_USER = 'user' as const; +export const VAL_SYSTEM_CPU_STATE_USER = 'user' as const; /** * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system' as const; +export const VAL_SYSTEM_CPU_STATE_SYSTEM = 'system' as const; /** * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_NICE = 'nice' as const; +export const VAL_SYSTEM_CPU_STATE_NICE = 'nice' as const; /** * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_IDLE = 'idle' as const; +export const VAL_SYSTEM_CPU_STATE_IDLE = 'idle' as const; /** * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait' as const; +export const VAL_SYSTEM_CPU_STATE_IOWAIT = 'iowait' as const; /** * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt' as const; +export const VAL_SYSTEM_CPU_STATE_INTERRUPT = 'interrupt' as const; /** * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_CPU_STATE_VALUE_STEAL = 'steal' as const; +export const VAL_SYSTEM_CPU_STATE_STEAL = 'steal' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_USED = 'used' as const; +export const VAL_SYSTEM_MEMORY_STATE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_FREE = 'free' as const; +export const VAL_SYSTEM_MEMORY_STATE_FREE = 'free' as const; /** * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared' as const; +export const VAL_SYSTEM_MEMORY_STATE_SHARED = 'shared' as const; /** * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers' as const; +export const VAL_SYSTEM_MEMORY_STATE_BUFFERS = 'buffers' as const; /** * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached' as const; +export const VAL_SYSTEM_MEMORY_STATE_CACHED = 'cached' as const; /** * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in' as const; +export const VAL_SYSTEM_PAGING_DIRECTION_IN = 'in' as const; /** * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out' as const; +export const VAL_SYSTEM_PAGING_DIRECTION_OUT = 'out' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_STATE_VALUE_USED = 'used' as const; +export const VAL_SYSTEM_PAGING_STATE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_STATE_VALUE_FREE = 'free' as const; +export const VAL_SYSTEM_PAGING_STATE_FREE = 'free' as const; /** * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major' as const; +export const VAL_SYSTEM_PAGING_TYPE_MAJOR = 'major' as const; /** * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor' as const; +export const VAL_SYSTEM_PAGING_TYPE_MINOR = 'minor' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used' as const; +export const VAL_SYSTEM_FILESYSTEM_STATE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free' as const; +export const VAL_SYSTEM_FILESYSTEM_STATE_FREE = 'free' as const; /** * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved' as const; +export const VAL_SYSTEM_FILESYSTEM_STATE_RESERVED = 'reserved' as const; /** * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32' as const; +export const VAL_SYSTEM_FILESYSTEM_TYPE_FAT32 = 'fat32' as const; /** * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat' as const; +export const VAL_SYSTEM_FILESYSTEM_TYPE_EXFAT = 'exfat' as const; /** * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs' as const; +export const VAL_SYSTEM_FILESYSTEM_TYPE_NTFS = 'ntfs' as const; /** * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs' as const; +export const VAL_SYSTEM_FILESYSTEM_TYPE_REFS = 'refs' as const; /** * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus' as const; +export const VAL_SYSTEM_FILESYSTEM_TYPE_HFSPLUS = 'hfsplus' as const; /** * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4' as const; +export const VAL_SYSTEM_FILESYSTEM_TYPE_EXT4 = 'ext4' as const; /** * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close' as const; +export const VAL_SYSTEM_NETWORK_STATE_CLOSE = 'close' as const; /** * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait' as const; +export const VAL_SYSTEM_NETWORK_STATE_CLOSE_WAIT = 'close_wait' as const; /** * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing' as const; +export const VAL_SYSTEM_NETWORK_STATE_CLOSING = 'closing' as const; /** * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete' as const; +export const VAL_SYSTEM_NETWORK_STATE_DELETE = 'delete' as const; /** * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established' as const; +export const VAL_SYSTEM_NETWORK_STATE_ESTABLISHED = 'established' as const; /** * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1' as const; +export const VAL_SYSTEM_NETWORK_STATE_FIN_WAIT_1 = 'fin_wait_1' as const; /** * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2' as const; +export const VAL_SYSTEM_NETWORK_STATE_FIN_WAIT_2 = 'fin_wait_2' as const; /** * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack' as const; +export const VAL_SYSTEM_NETWORK_STATE_LAST_ACK = 'last_ack' as const; /** * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen' as const; +export const VAL_SYSTEM_NETWORK_STATE_LISTEN = 'listen' as const; /** * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv' as const; +export const VAL_SYSTEM_NETWORK_STATE_SYN_RECV = 'syn_recv' as const; /** * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent' as const; +export const VAL_SYSTEM_NETWORK_STATE_SYN_SENT = 'syn_sent' as const; /** * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait' as const; +export const VAL_SYSTEM_NETWORK_STATE_TIME_WAIT = 'time_wait' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running' as const; +export const VAL_SYSTEM_PROCESS_STATUS_RUNNING = 'running' as const; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping' as const; +export const VAL_SYSTEM_PROCESS_STATUS_SLEEPING = 'sleeping' as const; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped' as const; +export const VAL_SYSTEM_PROCESS_STATUS_STOPPED = 'stopped' as const; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct' as const; +export const VAL_SYSTEM_PROCESS_STATUS_DEFUNCT = 'defunct' as const; /** * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = +export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs' as const; /** @@ -4282,15 +4282,14 @@ export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = - 'alibaba_cloud_fc' as const; +export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc' as const; /** * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = +export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift' as const; /** @@ -4298,35 +4297,35 @@ export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2' as const; +export const VAL_CLOUD_PLATFORM_AWS_EC2 = 'aws_ec2' as const; /** * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs' as const; +export const VAL_CLOUD_PLATFORM_AWS_ECS = 'aws_ecs' as const; /** * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks' as const; +export const VAL_CLOUD_PLATFORM_AWS_EKS = 'aws_eks' as const; /** * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda' as const; +export const VAL_CLOUD_PLATFORM_AWS_LAMBDA = 'aws_lambda' as const; /** * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = +export const VAL_CLOUD_PLATFORM_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk' as const; /** @@ -4334,28 +4333,28 @@ export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner' as const; +export const VAL_CLOUD_PLATFORM_AWS_APP_RUNNER = 'aws_app_runner' as const; /** * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift' as const; +export const VAL_CLOUD_PLATFORM_AWS_OPENSHIFT = 'aws_openshift' as const; /** * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm' as const; +export const VAL_CLOUD_PLATFORM_AZURE_VM = 'azure_vm' as const; /** * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = +export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_APPS = 'azure_container_apps' as const; /** @@ -4363,7 +4362,7 @@ export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = +export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_INSTANCES = 'azure_container_instances' as const; /** @@ -4371,21 +4370,21 @@ export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks' as const; +export const VAL_CLOUD_PLATFORM_AZURE_AKS = 'azure_aks' as const; /** * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions' as const; +export const VAL_CLOUD_PLATFORM_AZURE_FUNCTIONS = 'azure_functions' as const; /** * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = +export const VAL_CLOUD_PLATFORM_AZURE_APP_SERVICE = 'azure_app_service' as const; /** @@ -4393,14 +4392,14 @@ export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift' as const; +export const VAL_CLOUD_PLATFORM_AZURE_OPENSHIFT = 'azure_openshift' as const; /** * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = +export const VAL_CLOUD_PLATFORM_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution' as const; /** @@ -4408,7 +4407,7 @@ export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = +export const VAL_CLOUD_PLATFORM_GCP_COMPUTE_ENGINE = 'gcp_compute_engine' as const; /** @@ -4416,14 +4415,14 @@ export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; +export const VAL_CLOUD_PLATFORM_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; /** * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = +export const VAL_CLOUD_PLATFORM_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine' as const; /** @@ -4431,7 +4430,7 @@ export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = +export const VAL_CLOUD_PLATFORM_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions' as const; /** @@ -4439,21 +4438,21 @@ export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine' as const; +export const VAL_CLOUD_PLATFORM_GCP_APP_ENGINE = 'gcp_app_engine' as const; /** * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift' as const; +export const VAL_CLOUD_PLATFORM_GCP_OPENSHIFT = 'gcp_openshift' as const; /** * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = +export const VAL_CLOUD_PLATFORM_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift' as const; /** @@ -4461,7 +4460,7 @@ export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = +export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm' as const; /** @@ -4469,7 +4468,7 @@ export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = +export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_EKS = 'tencent_cloud_eks' as const; /** @@ -4477,7 +4476,7 @@ export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = +export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_SCF = 'tencent_cloud_scf' as const; /** @@ -4485,84 +4484,84 @@ export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud' as const; +export const VAL_CLOUD_PROVIDER_ALIBABA_CLOUD = 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_AWS = 'aws' as const; +export const VAL_CLOUD_PROVIDER_AWS = 'aws' as const; /** * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_AZURE = 'azure' as const; +export const VAL_CLOUD_PROVIDER_AZURE = 'azure' as const; /** * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_GCP = 'gcp' as const; +export const VAL_CLOUD_PROVIDER_GCP = 'gcp' as const; /** * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_HEROKU = 'heroku' as const; +export const VAL_CLOUD_PROVIDER_HEROKU = 'heroku' as const; /** * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud' as const; +export const VAL_CLOUD_PROVIDER_IBM_CLOUD = 'ibm_cloud' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud' as const; +export const VAL_CLOUD_PROVIDER_TENCENT_CLOUD = 'tencent_cloud' as const; /** * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUE_USER = 'user' as const; +export const VAL_CONTAINER_CPU_STATE_USER = 'user' as const; /** * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system' as const; +export const VAL_CONTAINER_CPU_STATE_SYSTEM = 'system' as const; /** * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel' as const; +export const VAL_CONTAINER_CPU_STATE_KERNEL = 'kernel' as const; /** * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ALL = 'all' as const; /** * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_EACH_QUORUM = 'each_quorum' as const; /** @@ -4570,14 +4569,14 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_QUORUM = 'quorum' as const; /** * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_QUORUM = 'local_quorum' as const; /** @@ -4585,28 +4584,28 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ONE = 'one' as const; /** * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_TWO = 'two' as const; /** * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_THREE = 'three' as const; /** * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_ONE = 'local_one' as const; /** @@ -4614,21 +4613,21 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ANY = 'any' as const; /** * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_SERIAL = 'serial' as const; /** * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_SERIAL = 'local_serial' as const; /** @@ -4636,119 +4635,119 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway' as const; +export const VAL_DB_COSMOSDB_CONNECTION_MODE_GATEWAY = 'gateway' as const; /** * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct' as const; +export const VAL_DB_COSMOSDB_CONNECTION_MODE_DIRECT = 'direct' as const; /** * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_INVALID = 'Invalid' as const; /** * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_CREATE = 'Create' as const; /** * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_PATCH = 'Patch' as const; /** * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_READ = 'Read' as const; /** * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_READ_FEED = 'ReadFeed' as const; /** * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_DELETE = 'Delete' as const; /** * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_REPLACE = 'Replace' as const; /** * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_EXECUTE = 'Execute' as const; /** * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_QUERY = 'Query' as const; /** * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_HEAD = 'Head' as const; /** * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_HEAD_FEED = 'HeadFeed' as const; /** * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_UPSERT = 'Upsert' as const; /** * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_BATCH = 'Batch' as const; /** * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_QUERY_PLAN = 'QueryPlan' as const; /** * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = +export const VAL_DB_COSMOSDB_OPERATION_TYPE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript' as const; /** @@ -4756,364 +4755,364 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql' as const; +export const VAL_DB_SYSTEM_OTHER_SQL = 'other_sql' as const; /** * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MSSQL = 'mssql' as const; +export const VAL_DB_SYSTEM_MSSQL = 'mssql' as const; /** * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact' as const; +export const VAL_DB_SYSTEM_MSSQLCOMPACT = 'mssqlcompact' as const; /** * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MYSQL = 'mysql' as const; +export const VAL_DB_SYSTEM_MYSQL = 'mysql' as const; /** * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_ORACLE = 'oracle' as const; +export const VAL_DB_SYSTEM_ORACLE = 'oracle' as const; /** * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_DB2 = 'db2' as const; +export const VAL_DB_SYSTEM_DB2 = 'db2' as const; /** * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql' as const; +export const VAL_DB_SYSTEM_POSTGRESQL = 'postgresql' as const; /** * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_REDSHIFT = 'redshift' as const; +export const VAL_DB_SYSTEM_REDSHIFT = 'redshift' as const; /** * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HIVE = 'hive' as const; +export const VAL_DB_SYSTEM_HIVE = 'hive' as const; /** * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape' as const; +export const VAL_DB_SYSTEM_CLOUDSCAPE = 'cloudscape' as const; /** * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HSQLDB = 'hsqldb' as const; +export const VAL_DB_SYSTEM_HSQLDB = 'hsqldb' as const; /** * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_PROGRESS = 'progress' as const; +export const VAL_DB_SYSTEM_PROGRESS = 'progress' as const; /** * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MAXDB = 'maxdb' as const; +export const VAL_DB_SYSTEM_MAXDB = 'maxdb' as const; /** * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HANADB = 'hanadb' as const; +export const VAL_DB_SYSTEM_HANADB = 'hanadb' as const; /** * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INGRES = 'ingres' as const; +export const VAL_DB_SYSTEM_INGRES = 'ingres' as const; /** * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql' as const; +export const VAL_DB_SYSTEM_FIRSTSQL = 'firstsql' as const; /** * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_EDB = 'edb' as const; +export const VAL_DB_SYSTEM_EDB = 'edb' as const; /** * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CACHE = 'cache' as const; +export const VAL_DB_SYSTEM_CACHE = 'cache' as const; /** * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_ADABAS = 'adabas' as const; +export const VAL_DB_SYSTEM_ADABAS = 'adabas' as const; /** * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_FIREBIRD = 'firebird' as const; +export const VAL_DB_SYSTEM_FIREBIRD = 'firebird' as const; /** * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_DERBY = 'derby' as const; +export const VAL_DB_SYSTEM_DERBY = 'derby' as const; /** * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_FILEMAKER = 'filemaker' as const; +export const VAL_DB_SYSTEM_FILEMAKER = 'filemaker' as const; /** * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INFORMIX = 'informix' as const; +export const VAL_DB_SYSTEM_INFORMIX = 'informix' as const; /** * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INSTANTDB = 'instantdb' as const; +export const VAL_DB_SYSTEM_INSTANTDB = 'instantdb' as const; /** * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_INTERBASE = 'interbase' as const; +export const VAL_DB_SYSTEM_INTERBASE = 'interbase' as const; /** * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MARIADB = 'mariadb' as const; +export const VAL_DB_SYSTEM_MARIADB = 'mariadb' as const; /** * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_NETEZZA = 'netezza' as const; +export const VAL_DB_SYSTEM_NETEZZA = 'netezza' as const; /** * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_PERVASIVE = 'pervasive' as const; +export const VAL_DB_SYSTEM_PERVASIVE = 'pervasive' as const; /** * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_POINTBASE = 'pointbase' as const; +export const VAL_DB_SYSTEM_POINTBASE = 'pointbase' as const; /** * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_SQLITE = 'sqlite' as const; +export const VAL_DB_SYSTEM_SQLITE = 'sqlite' as const; /** * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_SYBASE = 'sybase' as const; +export const VAL_DB_SYSTEM_SYBASE = 'sybase' as const; /** * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_TERADATA = 'teradata' as const; +export const VAL_DB_SYSTEM_TERADATA = 'teradata' as const; /** * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_VERTICA = 'vertica' as const; +export const VAL_DB_SYSTEM_VERTICA = 'vertica' as const; /** * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_H2 = 'h2' as const; +export const VAL_DB_SYSTEM_H2 = 'h2' as const; /** * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion' as const; +export const VAL_DB_SYSTEM_COLDFUSION = 'coldfusion' as const; /** * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CASSANDRA = 'cassandra' as const; +export const VAL_DB_SYSTEM_CASSANDRA = 'cassandra' as const; /** * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_HBASE = 'hbase' as const; +export const VAL_DB_SYSTEM_HBASE = 'hbase' as const; /** * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MONGODB = 'mongodb' as const; +export const VAL_DB_SYSTEM_MONGODB = 'mongodb' as const; /** * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_REDIS = 'redis' as const; +export const VAL_DB_SYSTEM_REDIS = 'redis' as const; /** * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COUCHBASE = 'couchbase' as const; +export const VAL_DB_SYSTEM_COUCHBASE = 'couchbase' as const; /** * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COUCHDB = 'couchdb' as const; +export const VAL_DB_SYSTEM_COUCHDB = 'couchdb' as const; /** * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb' as const; +export const VAL_DB_SYSTEM_COSMOSDB = 'cosmosdb' as const; /** * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb' as const; +export const VAL_DB_SYSTEM_DYNAMODB = 'dynamodb' as const; /** * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_NEO4J = 'neo4j' as const; +export const VAL_DB_SYSTEM_NEO4J = 'neo4j' as const; /** * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_GEODE = 'geode' as const; +export const VAL_DB_SYSTEM_GEODE = 'geode' as const; /** * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch' as const; +export const VAL_DB_SYSTEM_ELASTICSEARCH = 'elasticsearch' as const; /** * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_MEMCACHED = 'memcached' as const; +export const VAL_DB_SYSTEM_MEMCACHED = 'memcached' as const; /** * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb' as const; +export const VAL_DB_SYSTEM_COCKROACHDB = 'cockroachdb' as const; /** * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch' as const; +export const VAL_DB_SYSTEM_OPENSEARCH = 'opensearch' as const; /** * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse' as const; +export const VAL_DB_SYSTEM_CLICKHOUSE = 'clickhouse' as const; /** * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_SPANNER = 'spanner' as const; +export const VAL_DB_SYSTEM_SPANNER = 'spanner' as const; /** * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DB_SYSTEM_VALUE_TRINO = 'trino' as const; +export const VAL_DB_SYSTEM_TRINO = 'trino' as const; /** * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5122,7 +5121,7 @@ export const DB_SYSTEM_VALUE_TRINO = 'trino' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0' as const; +export const VAL_HTTP_FLAVOR_HTTP_1_0 = '1.0' as const; /** * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5131,7 +5130,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1' as const; +export const VAL_HTTP_FLAVOR_HTTP_1_1 = '1.1' as const; /** * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5140,7 +5139,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0' as const; +export const VAL_HTTP_FLAVOR_HTTP_2_0 = '2.0' as const; /** * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5149,7 +5148,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0' as const; +export const VAL_HTTP_FLAVOR_HTTP_3_0 = '3.0' as const; /** * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5158,7 +5157,7 @@ export const HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_SPDY = 'SPDY' as const; +export const VAL_HTTP_FLAVOR_SPDY = 'SPDY' as const; /** * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5167,7 +5166,7 @@ export const HTTP_FLAVOR_VALUE_SPDY = 'SPDY' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const HTTP_FLAVOR_VALUE_QUIC = 'QUIC' as const; +export const VAL_HTTP_FLAVOR_QUIC = 'QUIC' as const; /** * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5176,7 +5175,7 @@ export const HTTP_FLAVOR_VALUE_QUIC = 'QUIC' as const; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUE_INET = 'inet' as const; +export const VAL_NET_SOCK_FAMILY_INET = 'inet' as const; /** * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5185,7 +5184,7 @@ export const NET_SOCK_FAMILY_VALUE_INET = 'inet' as const; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUE_INET6 = 'inet6' as const; +export const VAL_NET_SOCK_FAMILY_INET6 = 'inet6' as const; /** * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5194,7 +5193,7 @@ export const NET_SOCK_FAMILY_VALUE_INET6 = 'inet6' as const; * * @deprecated Split to `network.transport` and `network.type`. */ -export const NET_SOCK_FAMILY_VALUE_UNIX = 'unix' as const; +export const VAL_NET_SOCK_FAMILY_UNIX = 'unix' as const; /** * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5203,7 +5202,7 @@ export const NET_SOCK_FAMILY_VALUE_UNIX = 'unix' as const; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp' as const; +export const VAL_NET_TRANSPORT_IP_TCP = 'ip_tcp' as const; /** * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5212,7 +5211,7 @@ export const NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp' as const; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp' as const; +export const VAL_NET_TRANSPORT_IP_UDP = 'ip_udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5221,7 +5220,7 @@ export const NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp' as const; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_PIPE = 'pipe' as const; +export const VAL_NET_TRANSPORT_PIPE = 'pipe' as const; /** * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5230,7 +5229,7 @@ export const NET_TRANSPORT_VALUE_PIPE = 'pipe' as const; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_INPROC = 'inproc' as const; +export const VAL_NET_TRANSPORT_INPROC = 'inproc' as const; /** * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5239,7 +5238,7 @@ export const NET_TRANSPORT_VALUE_INPROC = 'inproc' as const; * * @deprecated Replaced by `network.transport`. */ -export const NET_TRANSPORT_VALUE_OTHER = 'other' as const; +export const VAL_NET_TRANSPORT_OTHER = 'other' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5248,7 +5247,7 @@ export const NET_TRANSPORT_VALUE_OTHER = 'other' as const; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running' as const; +export const VAL_SYSTEM_PROCESSES_STATUS_RUNNING = 'running' as const; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5257,7 +5256,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running' as const; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping' as const; +export const VAL_SYSTEM_PROCESSES_STATUS_SLEEPING = 'sleeping' as const; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5266,7 +5265,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping' as const; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped' as const; +export const VAL_SYSTEM_PROCESSES_STATUS_STOPPED = 'stopped' as const; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5275,226 +5274,224 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped' as const; * * @deprecated Replaced by `system.process.status`. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct' as const; +export const VAL_SYSTEM_PROCESSES_STATUS_DEFUNCT = 'defunct' as const; /** * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DISK_IO_DIRECTION_VALUE_READ = 'read' as const; +export const VAL_DISK_IO_DIRECTION_READ = 'read' as const; /** * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const DISK_IO_DIRECTION_VALUE_WRITE = 'write' as const; +export const VAL_DISK_IO_DIRECTION_WRITE = 'write' as const; /** * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert' as const; +export const VAL_FAAS_DOCUMENT_OPERATION_INSERT = 'insert' as const; /** * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit' as const; +export const VAL_FAAS_DOCUMENT_OPERATION_EDIT = 'edit' as const; /** * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete' as const; +export const VAL_FAAS_DOCUMENT_OPERATION_DELETE = 'delete' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = - 'alibaba_cloud' as const; +export const VAL_FAAS_INVOKED_PROVIDER_ALIBABA_CLOUD = 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws' as const; +export const VAL_FAAS_INVOKED_PROVIDER_AWS = 'aws' as const; /** * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure' as const; +export const VAL_FAAS_INVOKED_PROVIDER_AZURE = 'azure' as const; /** * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp' as const; +export const VAL_FAAS_INVOKED_PROVIDER_GCP = 'gcp' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = - 'tencent_cloud' as const; +export const VAL_FAAS_INVOKED_PROVIDER_TENCENT_CLOUD = 'tencent_cloud' as const; /** * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource' as const; +export const VAL_FAAS_TRIGGER_DATASOURCE = 'datasource' as const; /** * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_HTTP = 'http' as const; +export const VAL_FAAS_TRIGGER_HTTP = 'http' as const; /** * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub' as const; +export const VAL_FAAS_TRIGGER_PUBSUB = 'pubsub' as const; /** * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_TIMER = 'timer' as const; +export const VAL_FAAS_TRIGGER_TIMER = 'timer' as const; /** * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const FAAS_TRIGGER_VALUE_OTHER = 'other' as const; +export const VAL_FAAS_TRIGGER_OTHER = 'other' as const; /** * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_AMD64 = 'amd64' as const; +export const VAL_HOST_ARCH_AMD64 = 'amd64' as const; /** * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_ARM32 = 'arm32' as const; +export const VAL_HOST_ARCH_ARM32 = 'arm32' as const; /** * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_ARM64 = 'arm64' as const; +export const VAL_HOST_ARCH_ARM64 = 'arm64' as const; /** * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_IA64 = 'ia64' as const; +export const VAL_HOST_ARCH_IA64 = 'ia64' as const; /** * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_PPC32 = 'ppc32' as const; +export const VAL_HOST_ARCH_PPC32 = 'ppc32' as const; /** * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_PPC64 = 'ppc64' as const; +export const VAL_HOST_ARCH_PPC64 = 'ppc64' as const; /** * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_S390X = 's390x' as const; +export const VAL_HOST_ARCH_S390X = 's390x' as const; /** * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HOST_ARCH_VALUE_X86 = 'x86' as const; +export const VAL_HOST_ARCH_X86 = 'x86' as const; /** * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active' as const; +export const VAL_HTTP_CONNECTION_STATE_ACTIVE = 'active' as const; /** * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle' as const; +export const VAL_HTTP_CONNECTION_STATE_IDLE = 'idle' as const; /** * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_PUBLISH = 'publish' as const; +export const VAL_MESSAGING_OPERATION_PUBLISH = 'publish' as const; /** * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_CREATE = 'create' as const; +export const VAL_MESSAGING_OPERATION_CREATE = 'create' as const; /** * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_RECEIVE = 'receive' as const; +export const VAL_MESSAGING_OPERATION_RECEIVE = 'receive' as const; /** * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_DELIVER = 'process' as const; +export const VAL_MESSAGING_OPERATION_DELIVER = 'process' as const; /** * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_OPERATION_VALUE_SETTLE = 'settle' as const; +export const VAL_MESSAGING_OPERATION_SETTLE = 'settle' as const; /** * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = +export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_CLUSTERING = 'clustering' as const; /** @@ -5502,7 +5499,7 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = +export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_BROADCASTING = 'broadcasting' as const; /** @@ -5510,28 +5507,28 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal' as const; +export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_NORMAL = 'normal' as const; /** * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo' as const; +export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_FIFO = 'fifo' as const; /** * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay' as const; +export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_DELAY = 'delay' as const; /** * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = +export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_TRANSACTION = 'transaction' as const; /** @@ -5539,7 +5536,7 @@ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_COMPLETE = 'complete' as const; /** @@ -5547,7 +5544,7 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_ABANDON = 'abandon' as const; /** @@ -5555,7 +5552,7 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEAD_LETTER = 'dead_letter' as const; /** @@ -5563,7 +5560,7 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEFER = 'defer' as const; /** @@ -5571,119 +5568,119 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq' as const; +export const VAL_MESSAGING_SYSTEM_ACTIVEMQ = 'activemq' as const; /** * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs' as const; +export const VAL_MESSAGING_SYSTEM_AWS_SQS = 'aws_sqs' as const; /** * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid' as const; +export const VAL_MESSAGING_SYSTEM_EVENTGRID = 'eventgrid' as const; /** * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs' as const; +export const VAL_MESSAGING_SYSTEM_EVENTHUBS = 'eventhubs' as const; /** * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus' as const; +export const VAL_MESSAGING_SYSTEM_SERVICEBUS = 'servicebus' as const; /** * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub' as const; +export const VAL_MESSAGING_SYSTEM_GCP_PUBSUB = 'gcp_pubsub' as const; /** * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_JMS = 'jms' as const; +export const VAL_MESSAGING_SYSTEM_JMS = 'jms' as const; /** * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka' as const; +export const VAL_MESSAGING_SYSTEM_KAFKA = 'kafka' as const; /** * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq' as const; +export const VAL_MESSAGING_SYSTEM_RABBITMQ = 'rabbitmq' as const; /** * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq' as const; +export const VAL_MESSAGING_SYSTEM_ROCKETMQ = 'rocketmq' as const; /** * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_GPRS = 'gprs' as const; /** * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_EDGE = 'edge' as const; /** * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_UMTS = 'umts' as const; /** * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_CDMA = 'cdma' as const; /** * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_0 = 'evdo_0' as const; /** * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_A = 'evdo_a' as const; /** * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = +export const VAL_NETWORK_CONNECTION_SUBTYPE_CDMA2000_1XRTT = 'cdma2000_1xrtt' as const; /** @@ -5691,245 +5688,245 @@ export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_HSDPA = 'hsdpa' as const; /** * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_HSUPA = 'hsupa' as const; /** * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_HSPA = 'hspa' as const; /** * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_IDEN = 'iden' as const; /** * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_B = 'evdo_b' as const; /** * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_LTE = 'lte' as const; /** * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_EHRPD = 'ehrpd' as const; /** * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_HSPAP = 'hspap' as const; /** * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_GSM = 'gsm' as const; /** * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_TD_SCDMA = 'td_scdma' as const; /** * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_IWLAN = 'iwlan' as const; /** * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_NR = 'nr' as const; /** * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_NRNSA = 'nrnsa' as const; /** * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_LTE_CA = 'lte_ca' as const; /** * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi' as const; +export const VAL_NETWORK_CONNECTION_TYPE_WIFI = 'wifi' as const; /** * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired' as const; +export const VAL_NETWORK_CONNECTION_TYPE_WIRED = 'wired' as const; /** * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell' as const; +export const VAL_NETWORK_CONNECTION_TYPE_CELL = 'cell' as const; /** * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable' as const; +export const VAL_NETWORK_CONNECTION_TYPE_UNAVAILABLE = 'unavailable' as const; /** * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown' as const; +export const VAL_NETWORK_CONNECTION_TYPE_UNKNOWN = 'unknown' as const; /** * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit' as const; +export const VAL_NETWORK_IO_DIRECTION_TRANSMIT = 'transmit' as const; /** * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive' as const; +export const VAL_NETWORK_IO_DIRECTION_RECEIVE = 'receive' as const; /** * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_WINDOWS = 'windows' as const; +export const VAL_OS_TYPE_WINDOWS = 'windows' as const; /** * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_LINUX = 'linux' as const; +export const VAL_OS_TYPE_LINUX = 'linux' as const; /** * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_DARWIN = 'darwin' as const; +export const VAL_OS_TYPE_DARWIN = 'darwin' as const; /** * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_FREEBSD = 'freebsd' as const; +export const VAL_OS_TYPE_FREEBSD = 'freebsd' as const; /** * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_NETBSD = 'netbsd' as const; +export const VAL_OS_TYPE_NETBSD = 'netbsd' as const; /** * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_OPENBSD = 'openbsd' as const; +export const VAL_OS_TYPE_OPENBSD = 'openbsd' as const; /** * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd' as const; +export const VAL_OS_TYPE_DRAGONFLYBSD = 'dragonflybsd' as const; /** * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_HPUX = 'hpux' as const; +export const VAL_OS_TYPE_HPUX = 'hpux' as const; /** * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_AIX = 'aix' as const; +export const VAL_OS_TYPE_AIX = 'aix' as const; /** * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_SOLARIS = 'solaris' as const; +export const VAL_OS_TYPE_SOLARIS = 'solaris' as const; /** * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OS_TYPE_VALUE_Z_OS = 'z_os' as const; +export const VAL_OS_TYPE_Z_OS = 'z_os' as const; /** * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_CANCELLED = 'cancelled' as const; /** * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNKNOWN = 'unknown' as const; /** * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INVALID_ARGUMENT = 'invalid_argument' as const; /** @@ -5937,7 +5934,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DEADLINE_EXCEEDED = 'deadline_exceeded' as const; /** @@ -5945,14 +5942,14 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_NOT_FOUND = 'not_found' as const; /** * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ALREADY_EXISTS = 'already_exists' as const; /** @@ -5960,7 +5957,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_PERMISSION_DENIED = 'permission_denied' as const; /** @@ -5968,7 +5965,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_RESOURCE_EXHAUSTED = 'resource_exhausted' as const; /** @@ -5976,7 +5973,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_FAILED_PRECONDITION = 'failed_precondition' as const; /** @@ -5984,14 +5981,14 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ABORTED = 'aborted' as const; /** * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_OUT_OF_RANGE = 'out_of_range' as const; /** @@ -5999,7 +5996,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNIMPLEMENTED = 'unimplemented' as const; /** @@ -6007,14 +6004,14 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INTERNAL = 'internal' as const; /** * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAVAILABLE = 'unavailable' as const; /** @@ -6022,14 +6019,14 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DATA_LOSS = 'data_loss' as const; /** * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAUTHENTICATED = 'unauthenticated' as const; /** @@ -6037,229 +6034,228 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0 as const; +export const VAL_RPC_GRPC_STATUS_CODE_OK = 0 as const; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1 as const; +export const VAL_RPC_GRPC_STATUS_CODE_CANCELLED = 1 as const; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2 as const; +export const VAL_RPC_GRPC_STATUS_CODE_UNKNOWN = 2 as const; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3 as const; +export const VAL_RPC_GRPC_STATUS_CODE_INVALID_ARGUMENT = 3 as const; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4 as const; +export const VAL_RPC_GRPC_STATUS_CODE_DEADLINE_EXCEEDED = 4 as const; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5 as const; +export const VAL_RPC_GRPC_STATUS_CODE_NOT_FOUND = 5 as const; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6 as const; +export const VAL_RPC_GRPC_STATUS_CODE_ALREADY_EXISTS = 6 as const; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7 as const; +export const VAL_RPC_GRPC_STATUS_CODE_PERMISSION_DENIED = 7 as const; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8 as const; +export const VAL_RPC_GRPC_STATUS_CODE_RESOURCE_EXHAUSTED = 8 as const; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9 as const; +export const VAL_RPC_GRPC_STATUS_CODE_FAILED_PRECONDITION = 9 as const; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10 as const; +export const VAL_RPC_GRPC_STATUS_CODE_ABORTED = 10 as const; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11 as const; +export const VAL_RPC_GRPC_STATUS_CODE_OUT_OF_RANGE = 11 as const; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12 as const; +export const VAL_RPC_GRPC_STATUS_CODE_UNIMPLEMENTED = 12 as const; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13 as const; +export const VAL_RPC_GRPC_STATUS_CODE_INTERNAL = 13 as const; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14 as const; +export const VAL_RPC_GRPC_STATUS_CODE_UNAVAILABLE = 14 as const; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15 as const; +export const VAL_RPC_GRPC_STATUS_CODE_DATA_LOSS = 15 as const; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16 as const; +export const VAL_RPC_GRPC_STATUS_CODE_UNAUTHENTICATED = 16 as const; /** * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_GRPC = 'grpc' as const; +export const VAL_RPC_SYSTEM_GRPC = 'grpc' as const; /** * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi' as const; +export const VAL_RPC_SYSTEM_JAVA_RMI = 'java_rmi' as const; /** * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf' as const; +export const VAL_RPC_SYSTEM_DOTNET_WCF = 'dotnet_wcf' as const; /** * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo' as const; +export const VAL_RPC_SYSTEM_APACHE_DUBBO = 'apache_dubbo' as const; /** * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc' as const; +export const VAL_RPC_SYSTEM_CONNECT_RPC = 'connect_rpc' as const; /** * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl' as const; +export const VAL_TLS_PROTOCOL_NAME_SSL = 'ssl' as const; /** * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const TLS_PROTOCOL_NAME_VALUE_TLS = 'tls' as const; +export const VAL_TLS_PROTOCOL_NAME_TLS = 'tls' as const; /** * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2' as const; +export const VAL_AWS_ECS_LAUNCHTYPE_EC2 = 'ec2' as const; /** * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate' as const; +export const VAL_AWS_ECS_LAUNCHTYPE_FARGATE = 'fargate' as const; /** * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of' as const; +export const VAL_OPENTRACING_REF_TYPE_CHILD_OF = 'child_of' as const; /** * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from' as const; +export const VAL_OPENTRACING_REF_TYPE_FOLLOWS_FROM = 'follows_from' as const; /** * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query' as const; +export const VAL_GRAPHQL_OPERATION_TYPE_QUERY = 'query' as const; /** * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation' as const; +export const VAL_GRAPHQL_OPERATION_TYPE_MUTATION = 'mutation' as const; /** * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = - 'subscription' as const; +export const VAL_GRAPHQL_OPERATION_TYPE_SUBSCRIPTION = 'subscription' as const; /** * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGE_TYPE_VALUE_SENT = 'SENT' as const; +export const VAL_MESSAGE_TYPE_SENT = 'SENT' as const; /** * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED' as const; +export const VAL_MESSAGE_TYPE_RECEIVED = 'RECEIVED' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index c2c77d1017..9ea7120791 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -609,285 +609,284 @@ export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description' as const; /** * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = - 'acquired' as const; +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ACQUIRED = 'acquired' as const; /** * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ENDPOINT_LIMITER = 'endpoint_limiter' as const; /** * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_GLOBAL_LIMITER = 'global_limiter' as const; /** * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_REQUEST_CANCELED = 'request_canceled' as const; /** * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success' as const; +export const VAL_ASPNETCORE_ROUTING_MATCH_STATUS_SUCCESS = 'success' as const; /** * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure' as const; +export const VAL_ASPNETCORE_ROUTING_MATCH_STATUS_FAILURE = 'failure' as const; /** * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_HANDLED = 'handled' as const; /** * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_UNHANDLED = 'unhandled' as const; /** * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_SKIPPED = 'skipped' as const; /** * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_ABORTED = 'aborted' as const; /** * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = +export const VAL_SIGNALR_CONNECTION_STATUS_NORMAL_CLOSURE = 'normal_closure' as const; /** * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout' as const; +export const VAL_SIGNALR_CONNECTION_STATUS_TIMEOUT = 'timeout' as const; /** * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = +export const VAL_SIGNALR_CONNECTION_STATUS_APP_SHUTDOWN = 'app_shutdown' as const; /** * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = +export const VAL_SIGNALR_TRANSPORT_SERVER_SENT_EVENTS = 'server_sent_events' as const; /** * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling' as const; +export const VAL_SIGNALR_TRANSPORT_LONG_POLLING = 'long_polling' as const; /** * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets' as const; +export const VAL_SIGNALR_TRANSPORT_WEB_SOCKETS = 'web_sockets' as const; /** * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUE_HEAP = 'heap' as const; +export const VAL_JVM_MEMORY_TYPE_HEAP = 'heap' as const; /** * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap' as const; +export const VAL_JVM_MEMORY_TYPE_NON_HEAP = 'non_heap' as const; /** * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_NEW = 'new' as const; +export const VAL_JVM_THREAD_STATE_NEW = 'new' as const; /** * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable' as const; +export const VAL_JVM_THREAD_STATE_RUNNABLE = 'runnable' as const; /** * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked' as const; +export const VAL_JVM_THREAD_STATE_BLOCKED = 'blocked' as const; /** * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_WAITING = 'waiting' as const; +export const VAL_JVM_THREAD_STATE_WAITING = 'waiting' as const; /** * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting' as const; +export const VAL_JVM_THREAD_STATE_TIMED_WAITING = 'timed_waiting' as const; /** * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated' as const; +export const VAL_JVM_THREAD_STATE_TERMINATED = 'terminated' as const; /** * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. */ -export const ERROR_TYPE_VALUE_OTHER = '_OTHER' as const; +export const VAL_ERROR_TYPE_OTHER = '_OTHER' as const; /** * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT' as const; +export const VAL_HTTP_REQUEST_METHOD_CONNECT = 'CONNECT' as const; /** * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE' as const; +export const VAL_HTTP_REQUEST_METHOD_DELETE = 'DELETE' as const; /** * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_GET = 'GET' as const; +export const VAL_HTTP_REQUEST_METHOD_GET = 'GET' as const; /** * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD' as const; +export const VAL_HTTP_REQUEST_METHOD_HEAD = 'HEAD' as const; /** * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS' as const; +export const VAL_HTTP_REQUEST_METHOD_OPTIONS = 'OPTIONS' as const; /** * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH' as const; +export const VAL_HTTP_REQUEST_METHOD_PATCH = 'PATCH' as const; /** * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_POST = 'POST' as const; +export const VAL_HTTP_REQUEST_METHOD_POST = 'POST' as const; /** * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT' as const; +export const VAL_HTTP_REQUEST_METHOD_PUT = 'PUT' as const; /** * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE' as const; +export const VAL_HTTP_REQUEST_METHOD_TRACE = 'TRACE' as const; /** * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER' as const; +export const VAL_HTTP_REQUEST_METHOD_OTHER = '_OTHER' as const; /** * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_TCP = 'tcp' as const; +export const VAL_NETWORK_TRANSPORT_TCP = 'tcp' as const; /** * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_UDP = 'udp' as const; +export const VAL_NETWORK_TRANSPORT_UDP = 'udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_PIPE = 'pipe' as const; +export const VAL_NETWORK_TRANSPORT_PIPE = 'pipe' as const; /** * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_UNIX = 'unix' as const; +export const VAL_NETWORK_TRANSPORT_UNIX = 'unix' as const; /** * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUE_IPV4 = 'ipv4' as const; +export const VAL_NETWORK_TYPE_IPV4 = 'ipv4' as const; /** * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUE_IPV6 = 'ipv6' as const; +export const VAL_NETWORK_TYPE_IPV6 = 'ipv6' as const; /** * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_CPP = 'cpp' as const; /** * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_DOTNET = 'dotnet' as const; /** * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_ERLANG = 'erlang' as const; /** * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_GO = 'go' as const; /** * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_JAVA = 'java' as const; /** * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_NODEJS = 'nodejs' as const; /** * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_PHP = 'php' as const; /** * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_PYTHON = 'python' as const; /** * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_RUBY = 'ruby' as const; /** * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_RUST = 'rust' as const; /** * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_SWIFT = 'swift' as const; /** * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs' as const; +export const VAL_TELEMETRY_SDK_LANGUAGE_WEBJS = 'webjs' as const; /** * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUE_OK = 'OK' as const; +export const VAL_OTEL_STATUS_CODE_OK = 'OK' as const; /** * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR' as const; +export const VAL_OTEL_STATUS_CODE_ERROR = 'ERROR' as const; diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index 73acc7662b..8e6271944f 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -52,3 +52,5 @@ npm run lint:fix:changed # Run the size checks for the generated files cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" +npm run lint:fix +npm run compile \ No newline at end of file diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 8a3e9d31fc..667af1757b 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -69,7 +69,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", {%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} {%- if attribute.is_enum %} -{%- set class_name = attribute.fqn | to_const_name ~ "_VALUE" %} +{%- set class_name = attribute.fqn | to_const_name %} {%- set type = attribute.attr_type.enum_type %} {%- if attribute.attr_type.members is defined and attribute.attr_type.members|length > 0 %} @@ -87,7 +87,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. {%- endif %} */ -export const {{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; +export const VAL_{{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; {%- endfor %} From a9be96d6e993658d560306eb82e02bdb08bb3405 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 6 Jun 2024 08:38:11 -0400 Subject: [PATCH 17/47] Do not format generated files --- .../package.json | 1 - .../src/experimental.ts | 576 ++++++------------ .../src/stable.ts | 155 ++--- scripts/semconv/generate.sh | 3 +- .../templates/SemanticAttributes.ts.j2 | 36 +- 5 files changed, 275 insertions(+), 496 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 6e78d6ca2b..db83468d29 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -45,7 +45,6 @@ "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", "version": "node ../../scripts/version-update.js", "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies", diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index b06f74018e..17c04087c9 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -59,72 +59,63 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = - 'db.client.connections.create_time' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time' as const; /** * The maximum number of idle open connections allowed. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = - 'db.client.connections.idle.max' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max' as const; /** * The minimum number of idle open connections allowed. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = - 'db.client.connections.idle.min' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min' as const; /** * The maximum number of open connections allowed. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_MAX = - 'db.client.connections.max' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max' as const; /** * The number of pending requests for an open connection, cumulative for the entire pool. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = - 'db.client.connections.pending_requests' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = - 'db.client.connections.timeouts' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts' as const; /** * The number of connections that are currently in state described by the `state` attribute. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = - 'db.client.connections.usage' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage' as const; /** * The time between borrowing a connection and returning it to the pool. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = - 'db.client.connections.use_time' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time' as const; /** * The time it took to obtain an open connection from the pool. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = - 'db.client.connections.wait_time' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time' as const; /** * Measures the time taken to perform a DNS lookup. @@ -201,24 +192,21 @@ export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = - 'http.client.active_requests' as const; +export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests' as const; /** * The duration of the successfully established outbound HTTP connections. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = - 'http.client.connection.duration' as const; +export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration' as const; /** * Number of outbound HTTP connections that are currently active or idle on the client. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = - 'http.client.open_connections' as const; +export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections' as const; /** * Size of HTTP client request bodies. @@ -227,8 +215,7 @@ export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = - 'http.client.request.body.size' as const; +export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size' as const; /** * Size of HTTP client response bodies. @@ -237,16 +224,14 @@ export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = - 'http.client.response.body.size' as const; +export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size' as const; /** * Number of active HTTP server requests. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = - 'http.server.active_requests' as const; +export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests' as const; /** * Size of HTTP server request bodies. @@ -255,8 +240,7 @@ export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = - 'http.server.request.body.size' as const; +export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size' as const; /** * Size of HTTP server response bodies. @@ -265,8 +249,7 @@ export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = - 'http.server.response.body.size' as const; +export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size' as const; /** * Number of buffers in the pool. @@ -280,16 +263,14 @@ export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_MEMORY_LIMIT = - 'jvm.buffer.memory.limit' as const; +export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit' as const; /** * Measure of memory used by buffers. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_MEMORY_USAGE = - 'jvm.buffer.memory.usage' as const; +export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage' as const; /** * Measure of initial memory requested. @@ -314,64 +295,56 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = - 'jvm.system.cpu.utilization' as const; +export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization' as const; /** * Measures the duration of process operation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PROCESS_DURATION = - 'messaging.process.duration' as const; +export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration' as const; /** * Measures the number of processed messages. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PROCESS_MESSAGES = - 'messaging.process.messages' as const; +export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages' as const; /** * Measures the duration of publish operation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PUBLISH_DURATION = - 'messaging.publish.duration' as const; +export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration' as const; /** * Measures the number of published messages. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PUBLISH_MESSAGES = - 'messaging.publish.messages' as const; +export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages' as const; /** * Measures the duration of receive operation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_RECEIVE_DURATION = - 'messaging.receive.duration' as const; +export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration' as const; /** * Measures the number of received messages. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_RECEIVE_MESSAGES = - 'messaging.receive.messages' as const; +export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages' as const; /** * Number of times the process has been context switched. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CONTEXT_SWITCHES = - 'process.context_switches' as const; +export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches' as const; /** * Total CPU seconds broken down by different states. @@ -385,8 +358,7 @@ export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CPU_UTILIZATION = - 'process.cpu.utilization' as const; +export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization' as const; /** * Disk bytes transferred. @@ -421,8 +393,7 @@ export const METRIC_PROCESS_NETWORK_IO = 'process.network.io' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = - 'process.open_file_descriptor.count' as const; +export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count' as const; /** * Number of page faults the process has made. @@ -443,7 +414,7 @@ export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count' as const; * * 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 change in minor releases of `@opentelemetry/semantic-conventions`. @@ -457,20 +428,18 @@ export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUEST_SIZE = - 'rpc.client.request.size' as const; +export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = - 'rpc.client.requests_per_rpc' as const; +export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc' as const; /** * Measures the size of RPC response messages (uncompressed). @@ -479,27 +448,25 @@ export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSE_SIZE = - 'rpc.client.response.size' as const; +export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = - 'rpc.client.responses_per_rpc' as const; +export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. @@ -513,20 +480,18 @@ export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUEST_SIZE = - 'rpc.server.request.size' as const; +export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = - 'rpc.server.requests_per_rpc' as const; +export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc' as const; /** * Measures the size of RPC response messages (uncompressed). @@ -535,20 +500,18 @@ export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSE_SIZE = - 'rpc.server.response.size' as const; +export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = - 'rpc.server.responses_per_rpc' as const; +export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc' as const; /** * Reports the current frequency of the CPU in Hz. @@ -562,16 +525,14 @@ export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = - 'system.cpu.logical.count' as const; +export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count' as const; /** * Reports the number of actual physical processor cores on the hardware. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = - 'system.cpu.physical.count' as const; +export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count' as const; /** * Seconds each logical CPU spent on each mode. @@ -598,7 +559,7 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io' as const; * 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) @@ -619,14 +580,13 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged' as const; * 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATION_TIME = - 'system.disk.operation_time' as const; +export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time' as const; /** * . @@ -640,16 +600,14 @@ export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_FILESYSTEM_USAGE = - 'system.filesystem.usage' as const; +export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = - 'system.filesystem.utilization' as const; +export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization' as const; /** * An estimate of how much memory is available for starting new applications, without causing swapping. @@ -662,8 +620,7 @@ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = - 'system.linux.memory.available' as const; +export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available' as const; /** * Total memory available in the system. @@ -689,22 +646,20 @@ export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_UTILIZATION = - 'system.memory.utilization' as const; +export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization' as const; /** * . * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_CONNECTIONS = - 'system.network.connections' as const; +export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections' as const; /** * 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). @@ -717,7 +672,7 @@ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped' as const; * 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). @@ -752,8 +707,7 @@ export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_OPERATIONS = - 'system.paging.operations' as const; +export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations' as const; /** * Unix swap or windows pagefile usage. @@ -767,8 +721,7 @@ export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_UTILIZATION = - 'system.paging.utilization' as const; +export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization' as const; /** * Total number of processes in each state. @@ -891,16 +844,14 @@ export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = - 'process.context_switch_type' as const; +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type' as const; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE = - 'process.paging.fault_type' as const; +export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type' as const; /** * The device identifier. @@ -914,8 +865,7 @@ export const ATTR_SYSTEM_DEVICE = 'system.device' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = - 'system.cpu.logical_number' as const; +export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number' as const; /** * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. @@ -964,8 +914,7 @@ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = - 'system.filesystem.mountpoint' as const; +export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint' as const; /** * The filesystem state. @@ -1007,32 +956,28 @@ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = - 'aws.dynamodb.attribute_definitions' as const; +export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions' as const; /** * The value of the `AttributesToGet` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = - 'aws.dynamodb.attributes_to_get' as const; +export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get' as const; /** * The value of the `ConsistentRead` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = - 'aws.dynamodb.consistent_read' as const; +export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read' as const; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = - 'aws.dynamodb.consumed_capacity' as const; +export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity' as const; /** * The value of the `Count` response parameter. @@ -1046,24 +991,21 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = - 'aws.dynamodb.exclusive_start_table' as const; +export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table' as const; /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = - 'aws.dynamodb.global_secondary_index_updates' as const; +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates' as const; /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = - 'aws.dynamodb.global_secondary_indexes' as const; +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes' as const; /** * The value of the `IndexName` request parameter. @@ -1077,8 +1019,7 @@ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = - 'aws.dynamodb.item_collection_metrics' as const; +export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics' as const; /** * The value of the `Limit` request parameter. @@ -1092,8 +1033,7 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = - 'aws.dynamodb.local_secondary_indexes' as const; +export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes' as const; /** * The value of the `ProjectionExpression` request parameter. @@ -1107,32 +1047,28 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = - 'aws.dynamodb.provisioned_read_capacity' as const; +export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity' as const; /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = - 'aws.dynamodb.provisioned_write_capacity' as const; +export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity' as const; /** * The value of the `ScanIndexForward` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = - 'aws.dynamodb.scan_forward' as const; +export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward' as const; /** * The value of the `ScannedCount` response parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = - 'aws.dynamodb.scanned_count' as const; +export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count' as const; /** * The value of the `Segment` request parameter. @@ -1153,24 +1089,21 @@ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_COUNT = - 'aws.dynamodb.table_count' as const; +export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count' as const; /** * The keys in the `RequestItems` object field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_NAMES = - 'aws.dynamodb.table_names' as const; +export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names' as const; /** * The value of the `TotalSegments` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = - 'aws.dynamodb.total_segments' as const; +export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments' as const; /** * Array of brand name and version separated by a space. @@ -1255,10 +1188,10 @@ export const ATTR_CLOUD_REGION = 'cloud.region' as const; * * Note: On some cloud providers, it may not be possible to determine the full ID at startup, * so it may be necessary to set `cloud.resource_id` as a span attribute instead. - * + * * The exact value to use for `cloud.resource_id` depends on the cloud provider. * The following well-known definitions MUST be used if you set this attribute and they apply: - * + * * * **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). * Take care not to use the "invoked ARN" directly but replace any * [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) @@ -1287,24 +1220,21 @@ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SOURCE = - 'cloudevents.event_source' as const; +export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source' as const; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = - 'cloudevents.event_spec_version' as const; +export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version' as const; /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = - 'cloudevents.event_subject' as const; +export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject' as const; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. @@ -1417,8 +1347,7 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = - 'container.image.repo_digests' as const; +export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests' as const; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. @@ -1446,32 +1375,28 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = - 'db.cassandra.consistency_level' as const; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level' as const; /** * The data center of the coordinating node for a query. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_COORDINATOR_DC = - 'db.cassandra.coordinator.dc' as const; +export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc' as const; /** * The ID of the coordinating node for a query. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_COORDINATOR_ID = - 'db.cassandra.coordinator.id' as const; +export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id' as const; /** * Whether or not the query is idempotent. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_IDEMPOTENCE = - 'db.cassandra.idempotence' as const; +export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence' as const; /** * The fetch size used for paging, i.e. how many rows will be returned at once. @@ -1485,8 +1410,7 @@ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = - 'db.cassandra.speculative_execution_count' as const; +export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count' as const; /** * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). @@ -1509,8 +1433,7 @@ export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE = - 'db.cosmosdb.connection_mode' as const; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode' as const; /** * Cosmos DB container name. @@ -1524,24 +1447,21 @@ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE = - 'db.cosmosdb.operation_type' as const; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type' as const; /** * RU consumed for that operation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = - 'db.cosmosdb.request_charge' as const; +export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge' as const; /** * Request payload size in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = - 'db.cosmosdb.request_content_length' as const; +export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length' as const; /** * Cosmos DB status code. @@ -1555,16 +1475,14 @@ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = - 'db.cosmosdb.sub_status_code' as const; +export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code' as const; /** * Represents the identifier of an Elasticsearch cluster. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = - 'db.elasticsearch.cluster.name' as const; +export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name' as const; /** * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. @@ -1651,7 +1569,7 @@ export const ATTR_DB_USER = 'db.user' as const; * the `service.namespace`, `service.name` and `service.instance.id` resource attributes. * This implies that resources carrying the following attribute combinations MUST be * considered to be identifying the same service: - * + * * * `service.name=frontend`, `deployment.environment=production` * * `service.name=frontend`, `deployment.environment=staging`. * @@ -1675,8 +1593,7 @@ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string' as const; * * @deprecated Replaced by `db.instance.id`. */ -export const ATTR_DB_ELASTICSEARCH_NODE_NAME = - 'db.elasticsearch.node.name' as const; +export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name' as const; /** * Removed, no replacement at this time. @@ -1685,8 +1602,7 @@ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = * * @deprecated Removed as not used. */ -export const ATTR_DB_JDBC_DRIVER_CLASSNAME = - 'db.jdbc.driver_classname' as const; +export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname' as const; /** * Deprecated, use `network.protocol.name` instead. @@ -1713,8 +1629,7 @@ export const ATTR_HTTP_METHOD = 'http.method' as const; * * @deprecated Replaced by `http.request.header.content-length`. */ -export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = - 'http.request_content_length' as const; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length' as const; /** * Deprecated, use `http.response.header.content-length` instead. @@ -1723,8 +1638,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = * * @deprecated Replaced by `http.response.header.content-length`. */ -export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = - 'http.response_content_length' as const; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length' as const; /** * Deprecated, use `url.scheme` instead. @@ -1778,8 +1692,7 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent' as const; * * @deprecated Replaced by `messaging.destination.partition.id`. */ -export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = - 'messaging.kafka.destination.partition' as const; +export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition' as const; /** * Deprecated, use `server.address`. @@ -2015,8 +1928,7 @@ export const ATTR_FAAS_CRON = 'faas.cron' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_COLLECTION = - 'faas.document.collection' as const; +export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection' as const; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. @@ -2099,11 +2011,11 @@ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const; * function (which may be stored in the * [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes) * span attributes). - * + * * For some cloud providers, the above definition is ambiguous. The following * definition of function name MUST be used for this attribute * (and consequently the span name) for the listed cloud providers/products: - * + * * * **Azure:** The full name `<FUNCAPP>/<FUNC>`, i.e., function app name * followed by a forward slash followed by the function name (this form * can also be seen in the resource JSON for the function). @@ -2133,7 +2045,7 @@ export const ATTR_FAAS_TRIGGER = 'faas.trigger' as const; * The immutable version of the function being executed. * * Note: Depending on the cloud provider and platform, use: - * + * * * **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) * (an integer represented as a decimal string). * * **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) @@ -2158,8 +2070,7 @@ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_PROVIDER_NAME = - 'feature_flag.provider_name' as const; +export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name' as const; /** * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. @@ -2168,7 +2079,7 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = * for referring to a value without including the value itself. This can * provide additional context for understanding the meaning behind a value. * For example, the variant `red` maybe be used for the value `#c05543`. - * + * * A stringified version of the value can be used in situations where a * semantic identifier is unavailable. String representation of the value * should be determined by the implementer. @@ -2219,24 +2130,21 @@ export const ATTR_FILE_SIZE = 'file.size' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = - 'gcp.cloud_run.job.execution' as const; +export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as const; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = - 'gcp.cloud_run.job.task_index' as const; +export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index' as const; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = - 'gcp.gce.instance.hostname' as const; +export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname' as const; /** * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). @@ -2406,7 +2314,7 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; * official APIs. In the meantime, we are able to use the `uid` of the * `kube-system` namespace as a proxy for cluster ID. Read on for the * rationale. - * + * * Every object created in a K8s cluster is assigned a distinct UID. The * `kube-system` namespace is used by Kubernetes itself and will exist * for the lifetime of the cluster. Using the `uid` of the `kube-system` @@ -2415,12 +2323,12 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; * UUIDs as standardized by * [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). * Which states: - * + * * > If generated according to one of the mechanisms defined in Rec. * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be * different from all other UUIDs generated before 3603 A.D., or is * extremely likely to be different (depending on the mechanism chosen). - * + * * Therefore, UIDs between clusters should be extremely unlikely to * conflict. * @@ -2440,8 +2348,7 @@ export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_RESTART_COUNT = - 'k8s.container.restart_count' as const; +export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count' as const; /** * The name of the CronJob. @@ -2569,8 +2476,7 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = - 'messaging.batch.message_count' as const; +export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count' as const; /** * A unique identifier for the client that consumes or produces a message. @@ -2584,8 +2490,7 @@ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = - 'messaging.destination.anonymous' as const; +export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous' as const; /** * The message destination name. @@ -2595,16 +2500,14 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_NAME = - 'messaging.destination.name' as const; +export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name' as const; /** * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = - 'messaging.destination.partition.id' as const; +export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id' as const; /** * Low cardinality representation of the messaging destination name. @@ -2613,24 +2516,21 @@ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_TEMPLATE = - 'messaging.destination.template' as const; +export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template' as const; /** * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_TEMPORARY = - 'messaging.destination.temporary' as const; +export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary' as const; /** * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = - 'messaging.destination_publish.anonymous' as const; +export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous' as const; /** * The name of the original destination the message was published to. @@ -2640,40 +2540,35 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = - 'messaging.destination_publish.name' as const; +export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name' as const; /** * The name of the consumer group the event consumer is associated with. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = - 'messaging.eventhubs.consumer.group' as const; +export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = - 'messaging.eventhubs.message.enqueued_time' as const; +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time' as const; /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = - 'messaging.gcp_pubsub.message.ordering_key' as const; +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key' as const; /** * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = - 'messaging.kafka.consumer.group' as const; +export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group' as const; /** * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. @@ -2682,24 +2577,21 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = - 'messaging.kafka.message.key' as const; +export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key' as const; /** * The offset of a record in the corresponding Kafka partition. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = - 'messaging.kafka.message.offset' as const; +export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset' as const; /** * A boolean that is true if the message is a tombstone. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = - 'messaging.kafka.message.tombstone' as const; +export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone' as const; /** * The size of the message body in bytes. @@ -2709,16 +2601,14 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = - 'messaging.message.body.size' as const; +export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size' as const; /** * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = - 'messaging.message.conversation_id' as const; +export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id' as const; /** * The size of the message body and metadata in bytes. @@ -2728,8 +2618,7 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = - 'messaging.message.envelope.size' as const; +export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size' as const; /** * A value used by the messaging system as an identifier for the message, represented as a string. @@ -2752,120 +2641,105 @@ export const ATTR_MESSAGING_OPERATION = 'messaging.operation' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = - 'messaging.rabbitmq.destination.routing_key' as const; +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key' as const; /** * RabbitMQ message delivery tag. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = - 'messaging.rabbitmq.message.delivery_tag' as const; +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag' as const; /** * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = - 'messaging.rocketmq.client_group' as const; +export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group' as const; /** * Model of message consumption. This only applies to consumer spans. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = - 'messaging.rocketmq.consumption_model' as const; +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model' as const; /** * The delay time level for delay message, which determines the message delay time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = - 'messaging.rocketmq.message.delay_time_level' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level' as const; /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = - 'messaging.rocketmq.message.delivery_timestamp' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp' as const; /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = - 'messaging.rocketmq.message.group' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group' as const; /** * Key(s) of message, another way to mark message besides message id. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = - 'messaging.rocketmq.message.keys' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys' as const; /** * The secondary classifier of message besides topic. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = - 'messaging.rocketmq.message.tag' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag' as const; /** * Type of message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = - 'messaging.rocketmq.message.type' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type' as const; /** * Namespace of RocketMQ resources, resources in different namespaces are individual. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = - 'messaging.rocketmq.namespace' as const; +export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace' as const; /** * The name of the subscription in the topic messages are received from. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = - 'messaging.servicebus.destination.subscription_name' as const; +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name' as const; /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = - 'messaging.servicebus.disposition_status' as const; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status' as const; /** * Number of deliveries that have been attempted for this message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = - 'messaging.servicebus.message.delivery_count' as const; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = - 'messaging.servicebus.message.enqueued_time' as const; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time' as const; /** * An identifier for the messaging system being used. See below for a list of well-known identifiers. @@ -2907,8 +2781,7 @@ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE = - 'network.connection.subtype' as const; +export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype' as const; /** * The internet connection type. @@ -3037,8 +2910,7 @@ export const ATTR_PROCESS_PID = 'process.pid' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_DESCRIPTION = - 'process.runtime.description' as const; +export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description' as const; /** * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. @@ -3059,8 +2931,7 @@ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = - 'rpc.connect_rpc.error_code' as const; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code' as const; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. @@ -3081,8 +2952,7 @@ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = - 'rpc.jsonrpc.error_message' as const; +export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message' as const; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. @@ -3130,22 +3000,22 @@ export const ATTR_RPC_SYSTEM = 'rpc.system' as const; * `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled * service). - * + * * Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC * 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of * this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and * SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. - * + * * UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is * needed. Similar to what can be seen in the man page for the * [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying * data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it * or not via another resource attribute. - * + * * For applications running behind an application server (like unicorn), we do not recommend using one identifier * for all processes participating in the application. Instead, it's recommended each division (e.g. a worker * thread in unicorn) to have its own instance.id. - * + * * It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the * service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will * likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. @@ -3211,8 +3081,7 @@ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_VERSION = - 'telemetry.distro.version' as const; +export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version' as const; /** * Current "managed" thread ID (as opposed to OS thread ID). @@ -3249,8 +3118,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = - 'tls.client.certificate_chain' as const; +export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -3320,8 +3188,7 @@ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = - 'tls.client.supported_ciphers' as const; +export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers' as const; /** * String indicating the curve used for the given cipher, when applicable. @@ -3377,8 +3244,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = - 'tls.server.certificate_chain' as const; +export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -3625,8 +3491,7 @@ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = - 'heroku.release.creation_timestamp' as const; +export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp' as const; /** * The name of the web engine. @@ -3708,7 +3573,7 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; * Note: The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter * of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). * This applies in particular to the following operations: - * + * * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). * @@ -3732,7 +3597,7 @@ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete' as const; * * Note: The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. * This applies in particular to the following operations: - * + * * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) * - [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) * - [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) @@ -3769,7 +3634,7 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; * Note: The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter * of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. * This applies in particular to the following operations: - * + * * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) @@ -3831,8 +3696,7 @@ export const ATTR_MESSAGE_TYPE = 'message.type' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = - 'message.uncompressed_size' as const; +export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size' as const; /** * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. @@ -3951,8 +3815,7 @@ export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_VOLUNTARY = 'voluntary' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_INVOLUNTARY = - 'involuntary' as const; +export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_INVOLUNTARY = 'involuntary' as const; /** * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. @@ -4274,8 +4137,7 @@ export const VAL_SYSTEM_PROCESS_STATUS_DEFUNCT = 'defunct' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_ECS = - 'alibaba_cloud_ecs' as const; +export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs' as const; /** * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4289,8 +4151,7 @@ export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_OPENSHIFT = - 'alibaba_cloud_openshift' as const; +export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift' as const; /** * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4325,8 +4186,7 @@ export const VAL_CLOUD_PLATFORM_AWS_LAMBDA = 'aws_lambda' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_ELASTIC_BEANSTALK = - 'aws_elastic_beanstalk' as const; +export const VAL_CLOUD_PLATFORM_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk' as const; /** * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4354,16 +4214,14 @@ export const VAL_CLOUD_PLATFORM_AZURE_VM = 'azure_vm' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_APPS = - 'azure_container_apps' as const; +export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_APPS = 'azure_container_apps' as const; /** * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_INSTANCES = - 'azure_container_instances' as const; +export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_INSTANCES = 'azure_container_instances' as const; /** * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4384,8 +4242,7 @@ export const VAL_CLOUD_PLATFORM_AZURE_FUNCTIONS = 'azure_functions' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_APP_SERVICE = - 'azure_app_service' as const; +export const VAL_CLOUD_PLATFORM_AZURE_APP_SERVICE = 'azure_app_service' as const; /** * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4399,16 +4256,14 @@ export const VAL_CLOUD_PLATFORM_AZURE_OPENSHIFT = 'azure_openshift' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_BARE_METAL_SOLUTION = - 'gcp_bare_metal_solution' as const; +export const VAL_CLOUD_PLATFORM_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution' as const; /** * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_COMPUTE_ENGINE = - 'gcp_compute_engine' as const; +export const VAL_CLOUD_PLATFORM_GCP_COMPUTE_ENGINE = 'gcp_compute_engine' as const; /** * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4422,16 +4277,14 @@ export const VAL_CLOUD_PLATFORM_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_KUBERNETES_ENGINE = - 'gcp_kubernetes_engine' as const; +export const VAL_CLOUD_PLATFORM_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine' as const; /** * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_CLOUD_FUNCTIONS = - 'gcp_cloud_functions' as const; +export const VAL_CLOUD_PLATFORM_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions' as const; /** * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. @@ -4452,32 +4305,28 @@ export const VAL_CLOUD_PLATFORM_GCP_OPENSHIFT = 'gcp_openshift' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_IBM_CLOUD_OPENSHIFT = - 'ibm_cloud_openshift' as const; +export const VAL_CLOUD_PLATFORM_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift' as const; /** * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_CVM = - 'tencent_cloud_cvm' as const; +export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm' as const; /** * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_EKS = - 'tencent_cloud_eks' as const; +export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_EKS = 'tencent_cloud_eks' as const; /** * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_SCF = - 'tencent_cloud_scf' as const; +export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_SCF = 'tencent_cloud_scf' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. @@ -4561,8 +4410,7 @@ export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ALL = 'all' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_EACH_QUORUM = - 'each_quorum' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_EACH_QUORUM = 'each_quorum' as const; /** * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. @@ -4576,8 +4424,7 @@ export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_QUORUM = 'quorum' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_QUORUM = - 'local_quorum' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_QUORUM = 'local_quorum' as const; /** * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. @@ -4605,8 +4452,7 @@ export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_THREE = 'three' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_ONE = - 'local_one' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_ONE = 'local_one' as const; /** * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. @@ -4627,8 +4473,7 @@ export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_SERIAL = 'serial' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_SERIAL = - 'local_serial' as const; +export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_SERIAL = 'local_serial' as const; /** * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. @@ -4747,8 +4592,7 @@ export const VAL_DB_COSMOSDB_OPERATION_TYPE_QUERY_PLAN = 'QueryPlan' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_EXECUTE_JAVASCRIPT = - 'ExecuteJavaScript' as const; +export const VAL_DB_COSMOSDB_OPERATION_TYPE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript' as const; /** * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. @@ -5491,16 +5335,14 @@ export const VAL_MESSAGING_OPERATION_SETTLE = 'settle' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_CLUSTERING = - 'clustering' as const; +export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_CLUSTERING = 'clustering' as const; /** * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_BROADCASTING = - 'broadcasting' as const; +export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_BROADCASTING = 'broadcasting' as const; /** * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. @@ -5528,40 +5370,35 @@ export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_DELAY = 'delay' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_TRANSACTION = - 'transaction' as const; +export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_TRANSACTION = 'transaction' as const; /** * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_COMPLETE = - 'complete' as const; +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_COMPLETE = 'complete' as const; /** * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_ABANDON = - 'abandon' as const; +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_ABANDON = 'abandon' as const; /** * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEAD_LETTER = - 'dead_letter' as const; +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEAD_LETTER = 'dead_letter' as const; /** * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEFER = - 'defer' as const; +export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEFER = 'defer' as const; /** * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. @@ -5680,8 +5517,7 @@ export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_A = 'evdo_a' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_CDMA2000_1XRTT = - 'cdma2000_1xrtt' as const; +export const VAL_NETWORK_CONNECTION_SUBTYPE_CDMA2000_1XRTT = 'cdma2000_1xrtt' as const; /** * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. @@ -5926,16 +5762,14 @@ export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNKNOWN = 'unknown' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INVALID_ARGUMENT = - 'invalid_argument' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INVALID_ARGUMENT = 'invalid_argument' as const; /** * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DEADLINE_EXCEEDED = - 'deadline_exceeded' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DEADLINE_EXCEEDED = 'deadline_exceeded' as const; /** * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5949,32 +5783,28 @@ export const VAL_RPC_CONNECT_RPC_ERROR_CODE_NOT_FOUND = 'not_found' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ALREADY_EXISTS = - 'already_exists' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ALREADY_EXISTS = 'already_exists' as const; /** * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_PERMISSION_DENIED = - 'permission_denied' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_PERMISSION_DENIED = 'permission_denied' as const; /** * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_RESOURCE_EXHAUSTED = - 'resource_exhausted' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_RESOURCE_EXHAUSTED = 'resource_exhausted' as const; /** * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_FAILED_PRECONDITION = - 'failed_precondition' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_FAILED_PRECONDITION = 'failed_precondition' as const; /** * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -5988,16 +5818,14 @@ export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ABORTED = 'aborted' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_OUT_OF_RANGE = - 'out_of_range' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_OUT_OF_RANGE = 'out_of_range' as const; /** * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNIMPLEMENTED = - 'unimplemented' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNIMPLEMENTED = 'unimplemented' as const; /** * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -6011,8 +5839,7 @@ export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INTERNAL = 'internal' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAVAILABLE = - 'unavailable' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAVAILABLE = 'unavailable' as const; /** * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. @@ -6026,8 +5853,7 @@ export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DATA_LOSS = 'data_loss' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAUTHENTICATED = - 'unauthenticated' as const; +export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAUTHENTICATED = 'unauthenticated' as const; /** * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index 9ea7120791..8a5c7ea15d 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -23,73 +23,64 @@ * * Note: Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = - 'aspnetcore.diagnostics.exceptions' as const; +export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions' as const; /** * Number of requests that are currently active on the server that hold a rate limiting lease. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = - 'aspnetcore.rate_limiting.active_request_leases' as const; +export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases' as const; /** * Number of requests that are currently queued, waiting to acquire a rate limiting lease. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = - 'aspnetcore.rate_limiting.queued_requests' as const; +export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests' as const; /** * The time the request spent in a queue waiting to acquire a rate limiting lease. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = - 'aspnetcore.rate_limiting.request.time_in_queue' as const; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue' as const; /** * The duration of rate limiting lease held by requests on the server. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = - 'aspnetcore.rate_limiting.request_lease.duration' as const; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration' as const; /** * Number of requests that tried to acquire a rate limiting lease. * * Note: Requests could be: - * + * * * Rejected by global or endpoint rate limiting policies * * Canceled while waiting for the lease. - * + * * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = - 'aspnetcore.rate_limiting.requests' as const; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests' as const; /** * Number of requests that were attempted to be matched to an endpoint. * * Note: Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = - 'aspnetcore.routing.match_attempts' as const; +export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts' as const; /** * Duration of HTTP client requests. */ -export const METRIC_HTTP_CLIENT_REQUEST_DURATION = - 'http.client.request.duration' as const; +export const METRIC_HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration' as const; /** * Duration of HTTP server requests. */ -export const METRIC_HTTP_SERVER_REQUEST_DURATION = - 'http.server.request.duration' as const; +export const METRIC_HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration' as const; /** * Number of classes currently loaded. @@ -116,8 +107,7 @@ export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count' as const; * * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). */ -export const METRIC_JVM_CPU_RECENT_UTILIZATION = - 'jvm.cpu.recent_utilization' as const; +export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization' as const; /** * CPU time used by the process as reported by the JVM. @@ -147,8 +137,7 @@ export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used' as const; /** * Measure of memory used, as measured after the most recent garbage collection event on this pool. */ -export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = - 'jvm.memory.used_after_last_gc' as const; +export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = 'jvm.memory.used_after_last_gc' as const; /** * Number of executing platform threads. @@ -160,40 +149,35 @@ export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count' as const; * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_ACTIVE_CONNECTIONS = - 'kestrel.active_connections' as const; +export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections' as const; /** * Number of TLS handshakes that are currently in progress on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = - 'kestrel.active_tls_handshakes' as const; +export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = 'kestrel.active_tls_handshakes' as const; /** * The duration of connections on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_CONNECTION_DURATION = - 'kestrel.connection.duration' as const; +export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration' as const; /** * Number of connections that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_QUEUED_CONNECTIONS = - 'kestrel.queued_connections' as const; +export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections' as const; /** * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_QUEUED_REQUESTS = - 'kestrel.queued_requests' as const; +export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests' as const; /** * Number of connections rejected by the server. @@ -201,90 +185,77 @@ export const METRIC_KESTREL_QUEUED_REQUESTS = * Note: Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_REJECTED_CONNECTIONS = - 'kestrel.rejected_connections' as const; +export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections' as const; /** * The duration of TLS handshakes on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = - 'kestrel.tls_handshake.duration' as const; +export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration' as const; /** * Number of connections that are currently upgraded (WebSockets). . * * Note: The counter only tracks HTTP/1.1 connections. - * + * * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_UPGRADED_CONNECTIONS = - 'kestrel.upgraded_connections' as const; +export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections' as const; /** * Number of connections that are currently active on the server. * * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. */ -export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = - 'signalr.server.active_connections' as const; +export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_connections' as const; /** * The duration of connections on the server. * * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. */ -export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = - 'signalr.server.connection.duration' as const; +export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connection.duration' as const; /** * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = - 'aspnetcore.rate_limiting.result' as const; +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result' as const; /** * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = - 'aspnetcore.diagnostics.handler.type' as const; +export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type' as const; /** * Rate limiting policy name. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = - 'aspnetcore.rate_limiting.policy' as const; +export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy' as const; /** * Flag indicating if request was handled by the application pipeline. */ -export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = - 'aspnetcore.request.is_unhandled' as const; +export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled' as const; /** * A value that indicates whether the matched route is a fallback route. */ -export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = - 'aspnetcore.routing.is_fallback' as const; +export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback' as const; /** * Match result - success or failure. */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = - 'aspnetcore.routing.match_status' as const; +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status' as const; /** * ASP.NET Core exception middleware handling result. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = - 'aspnetcore.diagnostics.exception.result' as const; +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result' as const; /** * SignalR HTTP connection closure status. */ -export const ATTR_SIGNALR_CONNECTION_STATUS = - 'signalr.connection.status' as const; +export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status' as const; /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). @@ -346,17 +317,17 @@ export const ATTR_CLIENT_PORT = 'client.port' as const; * * Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. * Instrumentations SHOULD document the list of errors they report. - * + * * The cardinality of `error.type` within one instrumentation library SHOULD be low. * Telemetry consumers that aggregate data from multiple instrumentation libraries and applications * should be prepared for `error.type` to have high cardinality at query time when no * additional filters are applied. - * + * * If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. - * + * * If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), * it's RECOMMENDED to: - * + * * * Use a domain-specific attribute * * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. */ @@ -370,13 +341,13 @@ export const ATTR_ERROR_TYPE = 'error.type' as const; * This may be actually "in flight" in some languages (e.g. if the exception * is passed to a Context manager's `__exit__` method in Python) but will * usually be caught at the point of recording the exception in most languages. - * + * * It is usually not possible to determine at the point where an exception is thrown * whether it will escape the scope of a span. * However, it is trivial to know that an exception * will escape, if one checks for an active exception just before ending the span, * as done in the [example for recording span exceptions](#recording-an-exception). - * + * * It follows that an exception may still escape the scope of the span * even if the `exception.escaped` attribute was not set or set to false, * since the event might have been recorded at a time where it was not @@ -405,14 +376,14 @@ export const ATTR_EXCEPTION_TYPE = 'exception.type' as const; * Note: HTTP request method value SHOULD be "known" to the instrumentation. * By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) * and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - * + * * If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - * + * * If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override * the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods * (this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - * + * * HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. * Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. @@ -422,22 +393,19 @@ export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method' as const; /** * Original HTTP method sent by the client in the request line. */ -export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = - 'http.request.method_original' as const; +export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original' as const; /** * The ordinal number of request resending attempt (for any reason, including redirects). * * Note: The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ -export const ATTR_HTTP_REQUEST_RESEND_COUNT = - 'http.request.resend_count' as const; +export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count' as const; /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). */ -export const ATTR_HTTP_RESPONSE_STATUS_CODE = - 'http.response.status_code' as const; +export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code' as const; /** * The matched route, that is, the path template in the format used by the respective server framework. @@ -479,14 +447,13 @@ export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name' as const; * * Note: If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set. */ -export const ATTR_NETWORK_PROTOCOL_VERSION = - 'network.protocol.version' as const; +export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version' as const; /** * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). * * Note: The value SHOULD be normalized to lowercase. - * + * * Consider always setting the transport when setting a port number, since * a port number is ambiguous without knowing the transport. For example * different processes could be listening on TCP port 12345 and UDP port 12345. @@ -614,20 +581,17 @@ export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ACQUIRED = 'acquired' as const; /** * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ENDPOINT_LIMITER = - 'endpoint_limiter' as const; +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ENDPOINT_LIMITER = 'endpoint_limiter' as const; /** * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_GLOBAL_LIMITER = - 'global_limiter' as const; +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_GLOBAL_LIMITER = 'global_limiter' as const; /** * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_REQUEST_CANCELED = - 'request_canceled' as const; +export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_REQUEST_CANCELED = 'request_canceled' as const; /** * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. @@ -642,32 +606,27 @@ export const VAL_ASPNETCORE_ROUTING_MATCH_STATUS_FAILURE = 'failure' as const; /** * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_HANDLED = - 'handled' as const; +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_HANDLED = 'handled' as const; /** * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_UNHANDLED = - 'unhandled' as const; +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_UNHANDLED = 'unhandled' as const; /** * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_SKIPPED = - 'skipped' as const; +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_SKIPPED = 'skipped' as const; /** * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_ABORTED = - 'aborted' as const; +export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_ABORTED = 'aborted' as const; /** * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const VAL_SIGNALR_CONNECTION_STATUS_NORMAL_CLOSURE = - 'normal_closure' as const; +export const VAL_SIGNALR_CONNECTION_STATUS_NORMAL_CLOSURE = 'normal_closure' as const; /** * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. @@ -677,14 +636,12 @@ export const VAL_SIGNALR_CONNECTION_STATUS_TIMEOUT = 'timeout' as const; /** * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const VAL_SIGNALR_CONNECTION_STATUS_APP_SHUTDOWN = - 'app_shutdown' as const; +export const VAL_SIGNALR_CONNECTION_STATUS_APP_SHUTDOWN = 'app_shutdown' as const; /** * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const VAL_SIGNALR_TRANSPORT_SERVER_SENT_EVENTS = - 'server_sent_events' as const; +export const VAL_SIGNALR_TRANSPORT_SERVER_SENT_EVENTS = 'server_sent_events' as const; /** * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index 8e6271944f..37af052eb3 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOT_DIR="${SCRIPT_DIR}/../../" @@ -52,5 +54,4 @@ npm run lint:fix:changed # Run the size checks for the generated files cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" -npm run lint:fix npm run compile \ No newline at end of file diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 667af1757b..5682553874 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -28,20 +28,20 @@ {%- for metric in filtered_metrics %} /** -* {% filter escape %}{{metric.brief | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} + * {% filter escape %}{{metric.brief | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} {%- if metric.note %} -* -* Note: {% filter escape %}{{metric.note | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} + * + * Note: {% filter escape %}{{metric.note | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} {%- endif %} {%- if (metric.stability | string()) != "StabilityLevel.STABLE" %} * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if metric.deprecated %} -* -* @deprecated {{metric.deprecated | to_doc_brief | replace("\n", "\n* ") }}. + * + * @deprecated {{metric.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} -*/ + */ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("string", metric.metric_name) }} as const; {%- endfor %} @@ -49,20 +49,20 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st {%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} /** -* {% filter escape %}{{attribute.brief | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} + * {% filter escape %}{{attribute.brief | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} {%- if attribute.note %} -* -* Note: {% filter escape %}{{attribute.note | to_doc_brief | replace("\n", "\n* ") }}.{% endfilter %} + * + * Note: {% filter escape %}{{attribute.note | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} {%- endif %} {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. {%- endif %} {%- if attribute.deprecated %} -* -* @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. + * + * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} -*/ + */ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }} as const; {%- endfor %} @@ -71,9 +71,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", {%- if attribute.is_enum %} {%- set class_name = attribute.fqn | to_const_name %} {%- set type = attribute.attr_type.enum_type %} - {%- if attribute.attr_type.members is defined and attribute.attr_type.members|length > 0 %} - {%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} /** @@ -84,14 +82,12 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", {%- endif %} {%- if attribute.deprecated %} * - * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n* ") }}. + * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} */ export const VAL_{{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; - {%- endfor %} - -{% endif %} -{% endif %} - +{%- endif %} +{%- endif %} {%- endfor %} + From 2dce2eb6fec58bcebb78a293665797f9901ab63e Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 6 Jun 2024 08:45:42 -0400 Subject: [PATCH 18/47] Enum infix --- .../src/experimental.ts | 672 +++++++++--------- .../src/stable.ts | 110 +-- .../templates/SemanticAttributes.ts.j2 | 2 +- 3 files changed, 392 insertions(+), 392 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index 17c04087c9..bb8d91cdd0 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -3703,1260 +3703,1260 @@ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size' as con * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_LOG_IOSTREAM_STDOUT = 'stdout' as const; +export const ENUM_LOG_IOSTREAM_VALUE_STDOUT = 'stdout' as const; /** * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_LOG_IOSTREAM_STDERR = 'stderr' as const; +export const ENUM_LOG_IOSTREAM_VALUE_STDERR = 'stderr' as const; /** * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_IOS_STATE_ACTIVE = 'active' as const; +export const ENUM_IOS_STATE_VALUE_ACTIVE = 'active' as const; /** * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_IOS_STATE_INACTIVE = 'inactive' as const; +export const ENUM_IOS_STATE_VALUE_INACTIVE = 'inactive' as const; /** * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_IOS_STATE_BACKGROUND = 'background' as const; +export const ENUM_IOS_STATE_VALUE_BACKGROUND = 'background' as const; /** * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_IOS_STATE_FOREGROUND = 'foreground' as const; +export const ENUM_IOS_STATE_VALUE_FOREGROUND = 'foreground' as const; /** * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_IOS_STATE_TERMINATE = 'terminate' as const; +export const ENUM_IOS_STATE_VALUE_TERMINATE = 'terminate' as const; /** * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_ANDROID_STATE_CREATED = 'created' as const; +export const ENUM_ANDROID_STATE_VALUE_CREATED = 'created' as const; /** * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_ANDROID_STATE_BACKGROUND = 'background' as const; +export const ENUM_ANDROID_STATE_VALUE_BACKGROUND = 'background' as const; /** * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_ANDROID_STATE_FOREGROUND = 'foreground' as const; +export const ENUM_ANDROID_STATE_VALUE_FOREGROUND = 'foreground' as const; /** * Enum value 'idle' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_STATE_IDLE = 'idle' as const; +export const ENUM_STATE_VALUE_IDLE = 'idle' as const; /** * Enum value 'used' for attribute {@link ATTR_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_STATE_USED = 'used' as const; +export const ENUM_STATE_VALUE_USED = 'used' as const; /** * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_CPU_STATE_SYSTEM = 'system' as const; +export const ENUM_PROCESS_CPU_STATE_VALUE_SYSTEM = 'system' as const; /** * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_CPU_STATE_USER = 'user' as const; +export const ENUM_PROCESS_CPU_STATE_VALUE_USER = 'user' as const; /** * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_CPU_STATE_WAIT = 'wait' as const; +export const ENUM_PROCESS_CPU_STATE_VALUE_WAIT = 'wait' as const; /** * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_VOLUNTARY = 'voluntary' as const; +export const ENUM_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary' as const; /** * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_CONTEXT_SWITCH_TYPE_INVOLUNTARY = 'involuntary' as const; +export const ENUM_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = 'involuntary' as const; /** * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_PAGING_FAULT_TYPE_MAJOR = 'major' as const; +export const ENUM_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major' as const; /** * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_PROCESS_PAGING_FAULT_TYPE_MINOR = 'minor' as const; +export const ENUM_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor' as const; /** * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_USER = 'user' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_USER = 'user' as const; /** * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_SYSTEM = 'system' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system' as const; /** * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_NICE = 'nice' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_NICE = 'nice' as const; /** * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_IDLE = 'idle' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_IDLE = 'idle' as const; /** * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_IOWAIT = 'iowait' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait' as const; /** * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_INTERRUPT = 'interrupt' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt' as const; /** * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_CPU_STATE_STEAL = 'steal' as const; +export const ENUM_SYSTEM_CPU_STATE_VALUE_STEAL = 'steal' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_MEMORY_STATE_USED = 'used' as const; +export const ENUM_SYSTEM_MEMORY_STATE_VALUE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_MEMORY_STATE_FREE = 'free' as const; +export const ENUM_SYSTEM_MEMORY_STATE_VALUE_FREE = 'free' as const; /** * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_MEMORY_STATE_SHARED = 'shared' as const; +export const ENUM_SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared' as const; /** * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_MEMORY_STATE_BUFFERS = 'buffers' as const; +export const ENUM_SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers' as const; /** * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_MEMORY_STATE_CACHED = 'cached' as const; +export const ENUM_SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached' as const; /** * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PAGING_DIRECTION_IN = 'in' as const; +export const ENUM_SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in' as const; /** * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PAGING_DIRECTION_OUT = 'out' as const; +export const ENUM_SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PAGING_STATE_USED = 'used' as const; +export const ENUM_SYSTEM_PAGING_STATE_VALUE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PAGING_STATE_FREE = 'free' as const; +export const ENUM_SYSTEM_PAGING_STATE_VALUE_FREE = 'free' as const; /** * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PAGING_TYPE_MAJOR = 'major' as const; +export const ENUM_SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major' as const; /** * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PAGING_TYPE_MINOR = 'minor' as const; +export const ENUM_SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor' as const; /** * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_STATE_USED = 'used' as const; +export const ENUM_SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used' as const; /** * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_STATE_FREE = 'free' as const; +export const ENUM_SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free' as const; /** * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_STATE_RESERVED = 'reserved' as const; +export const ENUM_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved' as const; /** * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_TYPE_FAT32 = 'fat32' as const; +export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32' as const; /** * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_TYPE_EXFAT = 'exfat' as const; +export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat' as const; /** * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_TYPE_NTFS = 'ntfs' as const; +export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs' as const; /** * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_TYPE_REFS = 'refs' as const; +export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs' as const; /** * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_TYPE_HFSPLUS = 'hfsplus' as const; +export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus' as const; /** * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_FILESYSTEM_TYPE_EXT4 = 'ext4' as const; +export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4' as const; /** * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_CLOSE = 'close' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close' as const; /** * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_CLOSE_WAIT = 'close_wait' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait' as const; /** * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_CLOSING = 'closing' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing' as const; /** * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_DELETE = 'delete' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete' as const; /** * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_ESTABLISHED = 'established' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established' as const; /** * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_FIN_WAIT_1 = 'fin_wait_1' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1' as const; /** * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_FIN_WAIT_2 = 'fin_wait_2' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2' as const; /** * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_LAST_ACK = 'last_ack' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack' as const; /** * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_LISTEN = 'listen' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen' as const; /** * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_SYN_RECV = 'syn_recv' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv' as const; /** * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_SYN_SENT = 'syn_sent' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent' as const; /** * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_NETWORK_STATE_TIME_WAIT = 'time_wait' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PROCESS_STATUS_RUNNING = 'running' as const; +export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running' as const; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PROCESS_STATUS_SLEEPING = 'sleeping' as const; +export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping' as const; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PROCESS_STATUS_STOPPED = 'stopped' as const; +export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped' as const; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_SYSTEM_PROCESS_STATUS_DEFUNCT = 'defunct' as const; +export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct' as const; /** * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs' as const; /** * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc' as const; /** * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift' as const; /** * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_EC2 = 'aws_ec2' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2' as const; /** * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_ECS = 'aws_ecs' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs' as const; /** * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_EKS = 'aws_eks' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks' as const; /** * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_LAMBDA = 'aws_lambda' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda' as const; /** * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk' as const; /** * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_APP_RUNNER = 'aws_app_runner' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner' as const; /** * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AWS_OPENSHIFT = 'aws_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift' as const; /** * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_VM = 'azure_vm' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm' as const; /** * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_APPS = 'azure_container_apps' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps' as const; /** * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_CONTAINER_INSTANCES = 'azure_container_instances' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = 'azure_container_instances' as const; /** * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_AKS = 'azure_aks' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks' as const; /** * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_FUNCTIONS = 'azure_functions' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions' as const; /** * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_APP_SERVICE = 'azure_app_service' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = 'azure_app_service' as const; /** * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_AZURE_OPENSHIFT = 'azure_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift' as const; /** * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution' as const; /** * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_COMPUTE_ENGINE = 'gcp_compute_engine' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = 'gcp_compute_engine' as const; /** * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; /** * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine' as const; /** * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions' as const; /** * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_APP_ENGINE = 'gcp_app_engine' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine' as const; /** * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_GCP_OPENSHIFT = 'gcp_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift' as const; /** * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift' as const; /** * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm' as const; /** * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_EKS = 'tencent_cloud_eks' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = 'tencent_cloud_eks' as const; /** * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PLATFORM_TENCENT_CLOUD_SCF = 'tencent_cloud_scf' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_ALIBABA_CLOUD = 'alibaba_cloud' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_AWS = 'aws' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_AWS = 'aws' as const; /** * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_AZURE = 'azure' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_AZURE = 'azure' as const; /** * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_GCP = 'gcp' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_GCP = 'gcp' as const; /** * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_HEROKU = 'heroku' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_HEROKU = 'heroku' as const; /** * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_IBM_CLOUD = 'ibm_cloud' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CLOUD_PROVIDER_TENCENT_CLOUD = 'tencent_cloud' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud' as const; /** * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CONTAINER_CPU_STATE_USER = 'user' as const; +export const ENUM_CONTAINER_CPU_STATE_VALUE_USER = 'user' as const; /** * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CONTAINER_CPU_STATE_SYSTEM = 'system' as const; +export const ENUM_CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system' as const; /** * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_CONTAINER_CPU_STATE_KERNEL = 'kernel' as const; +export const ENUM_CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel' as const; /** * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ALL = 'all' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all' as const; /** * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_EACH_QUORUM = 'each_quorum' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = 'each_quorum' as const; /** * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_QUORUM = 'quorum' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum' as const; /** * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_QUORUM = 'local_quorum' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = 'local_quorum' as const; /** * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ONE = 'one' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one' as const; /** * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_TWO = 'two' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two' as const; /** * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_THREE = 'three' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three' as const; /** * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_ONE = 'local_one' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = 'local_one' as const; /** * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_ANY = 'any' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any' as const; /** * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_SERIAL = 'serial' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial' as const; /** * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_CASSANDRA_CONSISTENCY_LEVEL_LOCAL_SERIAL = 'local_serial' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = 'local_serial' as const; /** * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_CONNECTION_MODE_GATEWAY = 'gateway' as const; +export const ENUM_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway' as const; /** * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_CONNECTION_MODE_DIRECT = 'direct' as const; +export const ENUM_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct' as const; /** * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_INVALID = 'Invalid' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid' as const; /** * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_CREATE = 'Create' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create' as const; /** * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_PATCH = 'Patch' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch' as const; /** * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_READ = 'Read' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read' as const; /** * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_READ_FEED = 'ReadFeed' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed' as const; /** * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_DELETE = 'Delete' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete' as const; /** * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_REPLACE = 'Replace' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace' as const; /** * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_EXECUTE = 'Execute' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute' as const; /** * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_QUERY = 'Query' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query' as const; /** * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_HEAD = 'Head' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head' as const; /** * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_HEAD_FEED = 'HeadFeed' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed' as const; /** * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_UPSERT = 'Upsert' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert' as const; /** * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_BATCH = 'Batch' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch' as const; /** * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_QUERY_PLAN = 'QueryPlan' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan' as const; /** * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_COSMOSDB_OPERATION_TYPE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript' as const; +export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript' as const; /** * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_OTHER_SQL = 'other_sql' as const; +export const ENUM_DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql' as const; /** * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MSSQL = 'mssql' as const; +export const ENUM_DB_SYSTEM_VALUE_MSSQL = 'mssql' as const; /** * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MSSQLCOMPACT = 'mssqlcompact' as const; +export const ENUM_DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact' as const; /** * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MYSQL = 'mysql' as const; +export const ENUM_DB_SYSTEM_VALUE_MYSQL = 'mysql' as const; /** * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_ORACLE = 'oracle' as const; +export const ENUM_DB_SYSTEM_VALUE_ORACLE = 'oracle' as const; /** * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_DB2 = 'db2' as const; +export const ENUM_DB_SYSTEM_VALUE_DB2 = 'db2' as const; /** * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_POSTGRESQL = 'postgresql' as const; +export const ENUM_DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql' as const; /** * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_REDSHIFT = 'redshift' as const; +export const ENUM_DB_SYSTEM_VALUE_REDSHIFT = 'redshift' as const; /** * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_HIVE = 'hive' as const; +export const ENUM_DB_SYSTEM_VALUE_HIVE = 'hive' as const; /** * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_CLOUDSCAPE = 'cloudscape' as const; +export const ENUM_DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape' as const; /** * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_HSQLDB = 'hsqldb' as const; +export const ENUM_DB_SYSTEM_VALUE_HSQLDB = 'hsqldb' as const; /** * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_PROGRESS = 'progress' as const; +export const ENUM_DB_SYSTEM_VALUE_PROGRESS = 'progress' as const; /** * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MAXDB = 'maxdb' as const; +export const ENUM_DB_SYSTEM_VALUE_MAXDB = 'maxdb' as const; /** * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_HANADB = 'hanadb' as const; +export const ENUM_DB_SYSTEM_VALUE_HANADB = 'hanadb' as const; /** * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_INGRES = 'ingres' as const; +export const ENUM_DB_SYSTEM_VALUE_INGRES = 'ingres' as const; /** * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_FIRSTSQL = 'firstsql' as const; +export const ENUM_DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql' as const; /** * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_EDB = 'edb' as const; +export const ENUM_DB_SYSTEM_VALUE_EDB = 'edb' as const; /** * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_CACHE = 'cache' as const; +export const ENUM_DB_SYSTEM_VALUE_CACHE = 'cache' as const; /** * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_ADABAS = 'adabas' as const; +export const ENUM_DB_SYSTEM_VALUE_ADABAS = 'adabas' as const; /** * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_FIREBIRD = 'firebird' as const; +export const ENUM_DB_SYSTEM_VALUE_FIREBIRD = 'firebird' as const; /** * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_DERBY = 'derby' as const; +export const ENUM_DB_SYSTEM_VALUE_DERBY = 'derby' as const; /** * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_FILEMAKER = 'filemaker' as const; +export const ENUM_DB_SYSTEM_VALUE_FILEMAKER = 'filemaker' as const; /** * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_INFORMIX = 'informix' as const; +export const ENUM_DB_SYSTEM_VALUE_INFORMIX = 'informix' as const; /** * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_INSTANTDB = 'instantdb' as const; +export const ENUM_DB_SYSTEM_VALUE_INSTANTDB = 'instantdb' as const; /** * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_INTERBASE = 'interbase' as const; +export const ENUM_DB_SYSTEM_VALUE_INTERBASE = 'interbase' as const; /** * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MARIADB = 'mariadb' as const; +export const ENUM_DB_SYSTEM_VALUE_MARIADB = 'mariadb' as const; /** * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_NETEZZA = 'netezza' as const; +export const ENUM_DB_SYSTEM_VALUE_NETEZZA = 'netezza' as const; /** * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_PERVASIVE = 'pervasive' as const; +export const ENUM_DB_SYSTEM_VALUE_PERVASIVE = 'pervasive' as const; /** * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_POINTBASE = 'pointbase' as const; +export const ENUM_DB_SYSTEM_VALUE_POINTBASE = 'pointbase' as const; /** * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_SQLITE = 'sqlite' as const; +export const ENUM_DB_SYSTEM_VALUE_SQLITE = 'sqlite' as const; /** * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_SYBASE = 'sybase' as const; +export const ENUM_DB_SYSTEM_VALUE_SYBASE = 'sybase' as const; /** * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_TERADATA = 'teradata' as const; +export const ENUM_DB_SYSTEM_VALUE_TERADATA = 'teradata' as const; /** * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_VERTICA = 'vertica' as const; +export const ENUM_DB_SYSTEM_VALUE_VERTICA = 'vertica' as const; /** * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_H2 = 'h2' as const; +export const ENUM_DB_SYSTEM_VALUE_H2 = 'h2' as const; /** * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_COLDFUSION = 'coldfusion' as const; +export const ENUM_DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion' as const; /** * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_CASSANDRA = 'cassandra' as const; +export const ENUM_DB_SYSTEM_VALUE_CASSANDRA = 'cassandra' as const; /** * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_HBASE = 'hbase' as const; +export const ENUM_DB_SYSTEM_VALUE_HBASE = 'hbase' as const; /** * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MONGODB = 'mongodb' as const; +export const ENUM_DB_SYSTEM_VALUE_MONGODB = 'mongodb' as const; /** * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_REDIS = 'redis' as const; +export const ENUM_DB_SYSTEM_VALUE_REDIS = 'redis' as const; /** * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_COUCHBASE = 'couchbase' as const; +export const ENUM_DB_SYSTEM_VALUE_COUCHBASE = 'couchbase' as const; /** * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_COUCHDB = 'couchdb' as const; +export const ENUM_DB_SYSTEM_VALUE_COUCHDB = 'couchdb' as const; /** * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_COSMOSDB = 'cosmosdb' as const; +export const ENUM_DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb' as const; /** * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_DYNAMODB = 'dynamodb' as const; +export const ENUM_DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb' as const; /** * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_NEO4J = 'neo4j' as const; +export const ENUM_DB_SYSTEM_VALUE_NEO4J = 'neo4j' as const; /** * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_GEODE = 'geode' as const; +export const ENUM_DB_SYSTEM_VALUE_GEODE = 'geode' as const; /** * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_ELASTICSEARCH = 'elasticsearch' as const; +export const ENUM_DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch' as const; /** * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_MEMCACHED = 'memcached' as const; +export const ENUM_DB_SYSTEM_VALUE_MEMCACHED = 'memcached' as const; /** * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_COCKROACHDB = 'cockroachdb' as const; +export const ENUM_DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb' as const; /** * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_OPENSEARCH = 'opensearch' as const; +export const ENUM_DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch' as const; /** * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_CLICKHOUSE = 'clickhouse' as const; +export const ENUM_DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse' as const; /** * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_SPANNER = 'spanner' as const; +export const ENUM_DB_SYSTEM_VALUE_SPANNER = 'spanner' as const; /** * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DB_SYSTEM_TRINO = 'trino' as const; +export const ENUM_DB_SYSTEM_VALUE_TRINO = 'trino' as const; /** * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4965,7 +4965,7 @@ export const VAL_DB_SYSTEM_TRINO = 'trino' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const VAL_HTTP_FLAVOR_HTTP_1_0 = '1.0' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0' as const; /** * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4974,7 +4974,7 @@ export const VAL_HTTP_FLAVOR_HTTP_1_0 = '1.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const VAL_HTTP_FLAVOR_HTTP_1_1 = '1.1' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1' as const; /** * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4983,7 +4983,7 @@ export const VAL_HTTP_FLAVOR_HTTP_1_1 = '1.1' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const VAL_HTTP_FLAVOR_HTTP_2_0 = '2.0' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0' as const; /** * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4992,7 +4992,7 @@ export const VAL_HTTP_FLAVOR_HTTP_2_0 = '2.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const VAL_HTTP_FLAVOR_HTTP_3_0 = '3.0' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0' as const; /** * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5001,7 +5001,7 @@ export const VAL_HTTP_FLAVOR_HTTP_3_0 = '3.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const VAL_HTTP_FLAVOR_SPDY = 'SPDY' as const; +export const ENUM_HTTP_FLAVOR_VALUE_SPDY = 'SPDY' as const; /** * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5010,7 +5010,7 @@ export const VAL_HTTP_FLAVOR_SPDY = 'SPDY' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const VAL_HTTP_FLAVOR_QUIC = 'QUIC' as const; +export const ENUM_HTTP_FLAVOR_VALUE_QUIC = 'QUIC' as const; /** * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5019,7 +5019,7 @@ export const VAL_HTTP_FLAVOR_QUIC = 'QUIC' as const; * * @deprecated Split to `network.transport` and `network.type`. */ -export const VAL_NET_SOCK_FAMILY_INET = 'inet' as const; +export const ENUM_NET_SOCK_FAMILY_VALUE_INET = 'inet' as const; /** * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5028,7 +5028,7 @@ export const VAL_NET_SOCK_FAMILY_INET = 'inet' as const; * * @deprecated Split to `network.transport` and `network.type`. */ -export const VAL_NET_SOCK_FAMILY_INET6 = 'inet6' as const; +export const ENUM_NET_SOCK_FAMILY_VALUE_INET6 = 'inet6' as const; /** * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. @@ -5037,7 +5037,7 @@ export const VAL_NET_SOCK_FAMILY_INET6 = 'inet6' as const; * * @deprecated Split to `network.transport` and `network.type`. */ -export const VAL_NET_SOCK_FAMILY_UNIX = 'unix' as const; +export const ENUM_NET_SOCK_FAMILY_VALUE_UNIX = 'unix' as const; /** * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5046,7 +5046,7 @@ export const VAL_NET_SOCK_FAMILY_UNIX = 'unix' as const; * * @deprecated Replaced by `network.transport`. */ -export const VAL_NET_TRANSPORT_IP_TCP = 'ip_tcp' as const; +export const ENUM_NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp' as const; /** * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5055,7 +5055,7 @@ export const VAL_NET_TRANSPORT_IP_TCP = 'ip_tcp' as const; * * @deprecated Replaced by `network.transport`. */ -export const VAL_NET_TRANSPORT_IP_UDP = 'ip_udp' as const; +export const ENUM_NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5064,7 +5064,7 @@ export const VAL_NET_TRANSPORT_IP_UDP = 'ip_udp' as const; * * @deprecated Replaced by `network.transport`. */ -export const VAL_NET_TRANSPORT_PIPE = 'pipe' as const; +export const ENUM_NET_TRANSPORT_VALUE_PIPE = 'pipe' as const; /** * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5073,7 +5073,7 @@ export const VAL_NET_TRANSPORT_PIPE = 'pipe' as const; * * @deprecated Replaced by `network.transport`. */ -export const VAL_NET_TRANSPORT_INPROC = 'inproc' as const; +export const ENUM_NET_TRANSPORT_VALUE_INPROC = 'inproc' as const; /** * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5082,7 +5082,7 @@ export const VAL_NET_TRANSPORT_INPROC = 'inproc' as const; * * @deprecated Replaced by `network.transport`. */ -export const VAL_NET_TRANSPORT_OTHER = 'other' as const; +export const ENUM_NET_TRANSPORT_VALUE_OTHER = 'other' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5091,7 +5091,7 @@ export const VAL_NET_TRANSPORT_OTHER = 'other' as const; * * @deprecated Replaced by `system.process.status`. */ -export const VAL_SYSTEM_PROCESSES_STATUS_RUNNING = 'running' as const; +export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running' as const; /** * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5100,7 +5100,7 @@ export const VAL_SYSTEM_PROCESSES_STATUS_RUNNING = 'running' as const; * * @deprecated Replaced by `system.process.status`. */ -export const VAL_SYSTEM_PROCESSES_STATUS_SLEEPING = 'sleeping' as const; +export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping' as const; /** * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5109,7 +5109,7 @@ export const VAL_SYSTEM_PROCESSES_STATUS_SLEEPING = 'sleeping' as const; * * @deprecated Replaced by `system.process.status`. */ -export const VAL_SYSTEM_PROCESSES_STATUS_STOPPED = 'stopped' as const; +export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped' as const; /** * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. @@ -5118,970 +5118,970 @@ export const VAL_SYSTEM_PROCESSES_STATUS_STOPPED = 'stopped' as const; * * @deprecated Replaced by `system.process.status`. */ -export const VAL_SYSTEM_PROCESSES_STATUS_DEFUNCT = 'defunct' as const; +export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct' as const; /** * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DISK_IO_DIRECTION_READ = 'read' as const; +export const ENUM_DISK_IO_DIRECTION_VALUE_READ = 'read' as const; /** * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_DISK_IO_DIRECTION_WRITE = 'write' as const; +export const ENUM_DISK_IO_DIRECTION_VALUE_WRITE = 'write' as const; /** * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_DOCUMENT_OPERATION_INSERT = 'insert' as const; +export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert' as const; /** * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_DOCUMENT_OPERATION_EDIT = 'edit' as const; +export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit' as const; /** * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_DOCUMENT_OPERATION_DELETE = 'delete' as const; +export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_INVOKED_PROVIDER_ALIBABA_CLOUD = 'alibaba_cloud' as const; +export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_INVOKED_PROVIDER_AWS = 'aws' as const; +export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws' as const; /** * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_INVOKED_PROVIDER_AZURE = 'azure' as const; +export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure' as const; /** * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_INVOKED_PROVIDER_GCP = 'gcp' as const; +export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_INVOKED_PROVIDER_TENCENT_CLOUD = 'tencent_cloud' as const; +export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud' as const; /** * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_TRIGGER_DATASOURCE = 'datasource' as const; +export const ENUM_FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource' as const; /** * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_TRIGGER_HTTP = 'http' as const; +export const ENUM_FAAS_TRIGGER_VALUE_HTTP = 'http' as const; /** * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_TRIGGER_PUBSUB = 'pubsub' as const; +export const ENUM_FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub' as const; /** * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_TRIGGER_TIMER = 'timer' as const; +export const ENUM_FAAS_TRIGGER_VALUE_TIMER = 'timer' as const; /** * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_FAAS_TRIGGER_OTHER = 'other' as const; +export const ENUM_FAAS_TRIGGER_VALUE_OTHER = 'other' as const; /** * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_AMD64 = 'amd64' as const; +export const ENUM_HOST_ARCH_VALUE_AMD64 = 'amd64' as const; /** * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_ARM32 = 'arm32' as const; +export const ENUM_HOST_ARCH_VALUE_ARM32 = 'arm32' as const; /** * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_ARM64 = 'arm64' as const; +export const ENUM_HOST_ARCH_VALUE_ARM64 = 'arm64' as const; /** * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_IA64 = 'ia64' as const; +export const ENUM_HOST_ARCH_VALUE_IA64 = 'ia64' as const; /** * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_PPC32 = 'ppc32' as const; +export const ENUM_HOST_ARCH_VALUE_PPC32 = 'ppc32' as const; /** * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_PPC64 = 'ppc64' as const; +export const ENUM_HOST_ARCH_VALUE_PPC64 = 'ppc64' as const; /** * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_S390X = 's390x' as const; +export const ENUM_HOST_ARCH_VALUE_S390X = 's390x' as const; /** * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HOST_ARCH_X86 = 'x86' as const; +export const ENUM_HOST_ARCH_VALUE_X86 = 'x86' as const; /** * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HTTP_CONNECTION_STATE_ACTIVE = 'active' as const; +export const ENUM_HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active' as const; /** * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_HTTP_CONNECTION_STATE_IDLE = 'idle' as const; +export const ENUM_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle' as const; /** * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_OPERATION_PUBLISH = 'publish' as const; +export const ENUM_MESSAGING_OPERATION_VALUE_PUBLISH = 'publish' as const; /** * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_OPERATION_CREATE = 'create' as const; +export const ENUM_MESSAGING_OPERATION_VALUE_CREATE = 'create' as const; /** * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_OPERATION_RECEIVE = 'receive' as const; +export const ENUM_MESSAGING_OPERATION_VALUE_RECEIVE = 'receive' as const; /** * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_OPERATION_DELIVER = 'process' as const; +export const ENUM_MESSAGING_OPERATION_VALUE_DELIVER = 'process' as const; /** * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_OPERATION_SETTLE = 'settle' as const; +export const ENUM_MESSAGING_OPERATION_VALUE_SETTLE = 'settle' as const; /** * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_CLUSTERING = 'clustering' as const; +export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering' as const; /** * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_BROADCASTING = 'broadcasting' as const; +export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting' as const; /** * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_NORMAL = 'normal' as const; +export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal' as const; /** * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_FIFO = 'fifo' as const; +export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo' as const; /** * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_DELAY = 'delay' as const; +export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay' as const; /** * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_ROCKETMQ_MESSAGE_TYPE_TRANSACTION = 'transaction' as const; +export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction' as const; /** * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_COMPLETE = 'complete' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete' as const; /** * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_ABANDON = 'abandon' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon' as const; /** * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEAD_LETTER = 'dead_letter' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter' as const; /** * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_DEFER = 'defer' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer' as const; /** * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_ACTIVEMQ = 'activemq' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq' as const; /** * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_AWS_SQS = 'aws_sqs' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs' as const; /** * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_EVENTGRID = 'eventgrid' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid' as const; /** * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_EVENTHUBS = 'eventhubs' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs' as const; /** * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_SERVICEBUS = 'servicebus' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus' as const; /** * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_GCP_PUBSUB = 'gcp_pubsub' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub' as const; /** * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_JMS = 'jms' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_JMS = 'jms' as const; /** * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_KAFKA = 'kafka' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka' as const; /** * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_RABBITMQ = 'rabbitmq' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq' as const; /** * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGING_SYSTEM_ROCKETMQ = 'rocketmq' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq' as const; /** * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_GPRS = 'gprs' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs' as const; /** * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_EDGE = 'edge' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge' as const; /** * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_UMTS = 'umts' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts' as const; /** * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_CDMA = 'cdma' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma' as const; /** * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_0 = 'evdo_0' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0' as const; /** * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_A = 'evdo_a' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a' as const; /** * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_CDMA2000_1XRTT = 'cdma2000_1xrtt' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt' as const; /** * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_HSDPA = 'hsdpa' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa' as const; /** * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_HSUPA = 'hsupa' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa' as const; /** * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_HSPA = 'hspa' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa' as const; /** * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_IDEN = 'iden' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden' as const; /** * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_EVDO_B = 'evdo_b' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b' as const; /** * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_LTE = 'lte' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte' as const; /** * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_EHRPD = 'ehrpd' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd' as const; /** * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_HSPAP = 'hspap' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap' as const; /** * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_GSM = 'gsm' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm' as const; /** * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_TD_SCDMA = 'td_scdma' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma' as const; /** * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_IWLAN = 'iwlan' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan' as const; /** * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_NR = 'nr' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr' as const; /** * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_NRNSA = 'nrnsa' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa' as const; /** * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_SUBTYPE_LTE_CA = 'lte_ca' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca' as const; /** * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_TYPE_WIFI = 'wifi' as const; +export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi' as const; /** * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_TYPE_WIRED = 'wired' as const; +export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired' as const; /** * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_TYPE_CELL = 'cell' as const; +export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell' as const; /** * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_TYPE_UNAVAILABLE = 'unavailable' as const; +export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable' as const; /** * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_CONNECTION_TYPE_UNKNOWN = 'unknown' as const; +export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown' as const; /** * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_IO_DIRECTION_TRANSMIT = 'transmit' as const; +export const ENUM_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit' as const; /** * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_NETWORK_IO_DIRECTION_RECEIVE = 'receive' as const; +export const ENUM_NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive' as const; /** * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_WINDOWS = 'windows' as const; +export const ENUM_OS_TYPE_VALUE_WINDOWS = 'windows' as const; /** * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_LINUX = 'linux' as const; +export const ENUM_OS_TYPE_VALUE_LINUX = 'linux' as const; /** * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_DARWIN = 'darwin' as const; +export const ENUM_OS_TYPE_VALUE_DARWIN = 'darwin' as const; /** * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_FREEBSD = 'freebsd' as const; +export const ENUM_OS_TYPE_VALUE_FREEBSD = 'freebsd' as const; /** * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_NETBSD = 'netbsd' as const; +export const ENUM_OS_TYPE_VALUE_NETBSD = 'netbsd' as const; /** * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_OPENBSD = 'openbsd' as const; +export const ENUM_OS_TYPE_VALUE_OPENBSD = 'openbsd' as const; /** * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_DRAGONFLYBSD = 'dragonflybsd' as const; +export const ENUM_OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd' as const; /** * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_HPUX = 'hpux' as const; +export const ENUM_OS_TYPE_VALUE_HPUX = 'hpux' as const; /** * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_AIX = 'aix' as const; +export const ENUM_OS_TYPE_VALUE_AIX = 'aix' as const; /** * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_SOLARIS = 'solaris' as const; +export const ENUM_OS_TYPE_VALUE_SOLARIS = 'solaris' as const; /** * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OS_TYPE_Z_OS = 'z_os' as const; +export const ENUM_OS_TYPE_VALUE_Z_OS = 'z_os' as const; /** * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_CANCELLED = 'cancelled' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled' as const; /** * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNKNOWN = 'unknown' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown' as const; /** * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INVALID_ARGUMENT = 'invalid_argument' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument' as const; /** * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DEADLINE_EXCEEDED = 'deadline_exceeded' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded' as const; /** * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_NOT_FOUND = 'not_found' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found' as const; /** * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ALREADY_EXISTS = 'already_exists' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists' as const; /** * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_PERMISSION_DENIED = 'permission_denied' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied' as const; /** * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_RESOURCE_EXHAUSTED = 'resource_exhausted' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted' as const; /** * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_FAILED_PRECONDITION = 'failed_precondition' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition' as const; /** * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_ABORTED = 'aborted' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted' as const; /** * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_OUT_OF_RANGE = 'out_of_range' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range' as const; /** * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNIMPLEMENTED = 'unimplemented' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented' as const; /** * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_INTERNAL = 'internal' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal' as const; /** * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAVAILABLE = 'unavailable' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable' as const; /** * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_DATA_LOSS = 'data_loss' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss' as const; /** * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_CONNECT_RPC_ERROR_CODE_UNAUTHENTICATED = 'unauthenticated' as const; +export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated' as const; /** * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_OK = 0 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_OK = 0 as const; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_CANCELLED = 1 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1 as const; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_UNKNOWN = 2 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2 as const; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_INVALID_ARGUMENT = 3 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3 as const; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_DEADLINE_EXCEEDED = 4 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4 as const; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_NOT_FOUND = 5 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5 as const; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_ALREADY_EXISTS = 6 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6 as const; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_PERMISSION_DENIED = 7 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7 as const; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_RESOURCE_EXHAUSTED = 8 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8 as const; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_FAILED_PRECONDITION = 9 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9 as const; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_ABORTED = 10 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10 as const; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_OUT_OF_RANGE = 11 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11 as const; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_UNIMPLEMENTED = 12 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12 as const; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_INTERNAL = 13 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13 as const; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_UNAVAILABLE = 14 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14 as const; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_DATA_LOSS = 15 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15 as const; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_GRPC_STATUS_CODE_UNAUTHENTICATED = 16 as const; +export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16 as const; /** * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_SYSTEM_GRPC = 'grpc' as const; +export const ENUM_RPC_SYSTEM_VALUE_GRPC = 'grpc' as const; /** * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_SYSTEM_JAVA_RMI = 'java_rmi' as const; +export const ENUM_RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi' as const; /** * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_SYSTEM_DOTNET_WCF = 'dotnet_wcf' as const; +export const ENUM_RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf' as const; /** * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_SYSTEM_APACHE_DUBBO = 'apache_dubbo' as const; +export const ENUM_RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo' as const; /** * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_RPC_SYSTEM_CONNECT_RPC = 'connect_rpc' as const; +export const ENUM_RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc' as const; /** * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_TLS_PROTOCOL_NAME_SSL = 'ssl' as const; +export const ENUM_TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl' as const; /** * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_TLS_PROTOCOL_NAME_TLS = 'tls' as const; +export const ENUM_TLS_PROTOCOL_NAME_VALUE_TLS = 'tls' as const; /** * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_AWS_ECS_LAUNCHTYPE_EC2 = 'ec2' as const; +export const ENUM_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2' as const; /** * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_AWS_ECS_LAUNCHTYPE_FARGATE = 'fargate' as const; +export const ENUM_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate' as const; /** * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OPENTRACING_REF_TYPE_CHILD_OF = 'child_of' as const; +export const ENUM_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of' as const; /** * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_OPENTRACING_REF_TYPE_FOLLOWS_FROM = 'follows_from' as const; +export const ENUM_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from' as const; /** * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_GRAPHQL_OPERATION_TYPE_QUERY = 'query' as const; +export const ENUM_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query' as const; /** * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_GRAPHQL_OPERATION_TYPE_MUTATION = 'mutation' as const; +export const ENUM_GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation' as const; /** * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_GRAPHQL_OPERATION_TYPE_SUBSCRIPTION = 'subscription' as const; +export const ENUM_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = 'subscription' as const; /** * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGE_TYPE_SENT = 'SENT' as const; +export const ENUM_MESSAGE_TYPE_VALUE_SENT = 'SENT' as const; /** * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const VAL_MESSAGE_TYPE_RECEIVED = 'RECEIVED' as const; +export const ENUM_MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index 8a5c7ea15d..919c30b591 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -576,274 +576,274 @@ export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description' as const; /** * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ACQUIRED = 'acquired' as const; +export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = 'acquired' as const; /** * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_ENDPOINT_LIMITER = 'endpoint_limiter' as const; +export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = 'endpoint_limiter' as const; /** * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_GLOBAL_LIMITER = 'global_limiter' as const; +export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = 'global_limiter' as const; /** * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const VAL_ASPNETCORE_RATE_LIMITING_RESULT_REQUEST_CANCELED = 'request_canceled' as const; +export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = 'request_canceled' as const; /** * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const VAL_ASPNETCORE_ROUTING_MATCH_STATUS_SUCCESS = 'success' as const; +export const ENUM_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success' as const; /** * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const VAL_ASPNETCORE_ROUTING_MATCH_STATUS_FAILURE = 'failure' as const; +export const ENUM_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure' as const; /** * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_HANDLED = 'handled' as const; +export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = 'handled' as const; /** * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_UNHANDLED = 'unhandled' as const; +export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = 'unhandled' as const; /** * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_SKIPPED = 'skipped' as const; +export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = 'skipped' as const; /** * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const VAL_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_ABORTED = 'aborted' as const; +export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'aborted' as const; /** * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const VAL_SIGNALR_CONNECTION_STATUS_NORMAL_CLOSURE = 'normal_closure' as const; +export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = 'normal_closure' as const; /** * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const VAL_SIGNALR_CONNECTION_STATUS_TIMEOUT = 'timeout' as const; +export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout' as const; /** * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const VAL_SIGNALR_CONNECTION_STATUS_APP_SHUTDOWN = 'app_shutdown' as const; +export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = 'app_shutdown' as const; /** * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const VAL_SIGNALR_TRANSPORT_SERVER_SENT_EVENTS = 'server_sent_events' as const; +export const ENUM_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = 'server_sent_events' as const; /** * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const VAL_SIGNALR_TRANSPORT_LONG_POLLING = 'long_polling' as const; +export const ENUM_SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling' as const; /** * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const VAL_SIGNALR_TRANSPORT_WEB_SOCKETS = 'web_sockets' as const; +export const ENUM_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets' as const; /** * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const VAL_JVM_MEMORY_TYPE_HEAP = 'heap' as const; +export const ENUM_JVM_MEMORY_TYPE_VALUE_HEAP = 'heap' as const; /** * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const VAL_JVM_MEMORY_TYPE_NON_HEAP = 'non_heap' as const; +export const ENUM_JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap' as const; /** * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const VAL_JVM_THREAD_STATE_NEW = 'new' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_NEW = 'new' as const; /** * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const VAL_JVM_THREAD_STATE_RUNNABLE = 'runnable' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable' as const; /** * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const VAL_JVM_THREAD_STATE_BLOCKED = 'blocked' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked' as const; /** * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const VAL_JVM_THREAD_STATE_WAITING = 'waiting' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_WAITING = 'waiting' as const; /** * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const VAL_JVM_THREAD_STATE_TIMED_WAITING = 'timed_waiting' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting' as const; /** * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const VAL_JVM_THREAD_STATE_TERMINATED = 'terminated' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated' as const; /** * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. */ -export const VAL_ERROR_TYPE_OTHER = '_OTHER' as const; +export const ENUM_ERROR_TYPE_VALUE_OTHER = '_OTHER' as const; /** * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_CONNECT = 'CONNECT' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT' as const; /** * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_DELETE = 'DELETE' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE' as const; /** * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_GET = 'GET' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_GET = 'GET' as const; /** * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_HEAD = 'HEAD' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD' as const; /** * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_OPTIONS = 'OPTIONS' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS' as const; /** * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_PATCH = 'PATCH' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH' as const; /** * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_POST = 'POST' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_POST = 'POST' as const; /** * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_PUT = 'PUT' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT' as const; /** * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_TRACE = 'TRACE' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE' as const; /** * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const VAL_HTTP_REQUEST_METHOD_OTHER = '_OTHER' as const; +export const ENUM_HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER' as const; /** * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const VAL_NETWORK_TRANSPORT_TCP = 'tcp' as const; +export const ENUM_NETWORK_TRANSPORT_VALUE_TCP = 'tcp' as const; /** * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const VAL_NETWORK_TRANSPORT_UDP = 'udp' as const; +export const ENUM_NETWORK_TRANSPORT_VALUE_UDP = 'udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const VAL_NETWORK_TRANSPORT_PIPE = 'pipe' as const; +export const ENUM_NETWORK_TRANSPORT_VALUE_PIPE = 'pipe' as const; /** * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const VAL_NETWORK_TRANSPORT_UNIX = 'unix' as const; +export const ENUM_NETWORK_TRANSPORT_VALUE_UNIX = 'unix' as const; /** * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const VAL_NETWORK_TYPE_IPV4 = 'ipv4' as const; +export const ENUM_NETWORK_TYPE_VALUE_IPV4 = 'ipv4' as const; /** * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. */ -export const VAL_NETWORK_TYPE_IPV6 = 'ipv6' as const; +export const ENUM_NETWORK_TYPE_VALUE_IPV6 = 'ipv6' as const; /** * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_CPP = 'cpp' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp' as const; /** * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_DOTNET = 'dotnet' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet' as const; /** * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_ERLANG = 'erlang' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang' as const; /** * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_GO = 'go' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go' as const; /** * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_JAVA = 'java' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java' as const; /** * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_NODEJS = 'nodejs' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs' as const; /** * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_PHP = 'php' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php' as const; /** * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_PYTHON = 'python' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python' as const; /** * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_RUBY = 'ruby' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby' as const; /** * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_RUST = 'rust' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust' as const; /** * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_SWIFT = 'swift' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift' as const; /** * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const VAL_TELEMETRY_SDK_LANGUAGE_WEBJS = 'webjs' as const; +export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs' as const; /** * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const VAL_OTEL_STATUS_CODE_OK = 'OK' as const; +export const ENUM_OTEL_STATUS_CODE_VALUE_OK = 'OK' as const; /** * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const VAL_OTEL_STATUS_CODE_ERROR = 'ERROR' as const; +export const ENUM_OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR' as const; diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 5682553874..fd4db9dca1 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -85,7 +85,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} */ -export const VAL_{{class_name}}_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; +export const ENUM_{{class_name}}_VALUE_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; {%- endfor %} {%- endif %} {%- endif %} From dbb8328ddc072adf5bd32768fe28529328135f53 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 6 Jun 2024 10:02:23 -0400 Subject: [PATCH 19/47] Use new semconv name generation to avoid conflicts --- .../src/experimental.ts | 692 +++++++++--------- .../src/stable.ts | 100 +-- .../templates/SemanticAttributes.ts.j2 | 13 +- 3 files changed, 404 insertions(+), 401 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts index bb8d91cdd0..484f5c178c 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental.ts @@ -59,7 +59,7 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_CREATETIME = 'db.client.connections.create_time' as const; /** * The maximum number of idle open connections allowed. @@ -87,7 +87,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max' as c * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_PENDINGREQUESTS = 'db.client.connections.pending_requests' as const; /** * The number of connection timeouts that have occurred trying to obtain a connection from the pool. @@ -108,14 +108,14 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage' * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_USETIME = 'db.client.connections.use_time' as const; /** * The time it took to obtain an open connection from the pool. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time' as const; +export const METRIC_DB_CLIENT_CONNECTIONS_WAITTIME = 'db.client.connections.wait_time' as const; /** * Measures the time taken to perform a DNS lookup. @@ -136,7 +136,7 @@ export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage' as const; +export const METRIC_FAAS_CPUUSAGE = 'faas.cpu_usage' as const; /** * Number of invocation errors. @@ -150,7 +150,7 @@ export const METRIC_FAAS_ERRORS = 'faas.errors' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration' as const; +export const METRIC_FAAS_INITDURATION = 'faas.init_duration' as const; /** * Number of successful invocations. @@ -164,21 +164,21 @@ export const METRIC_FAAS_INVOCATIONS = 'faas.invocations' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration' as const; +export const METRIC_FAAS_INVOKEDURATION = 'faas.invoke_duration' as const; /** * Distribution of max memory usage per invocation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage' as const; +export const METRIC_FAAS_MEMUSAGE = 'faas.mem_usage' as const; /** * Distribution of net I/O usage per invocation. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_NET_IO = 'faas.net_io' as const; +export const METRIC_FAAS_NETIO = 'faas.net_io' as const; /** * Number of invocation timeouts. @@ -192,7 +192,7 @@ export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests' as const; +export const METRIC_HTTP_CLIENT_ACTIVEREQUESTS = 'http.client.active_requests' as const; /** * The duration of the successfully established outbound HTTP connections. @@ -206,7 +206,7 @@ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.du * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections' as const; +export const METRIC_HTTP_CLIENT_OPENCONNECTIONS = 'http.client.open_connections' as const; /** * Size of HTTP client request bodies. @@ -231,7 +231,7 @@ export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests' as const; +export const METRIC_HTTP_SERVER_ACTIVEREQUESTS = 'http.server.active_requests' as const; /** * Size of HTTP server request bodies. @@ -286,7 +286,7 @@ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m' as const; +export const METRIC_JVM_SYSTEM_CPU_LOAD1M = 'jvm.system.cpu.load_1m' as const; /** * Recent CPU utilization for the whole system as reported by the JVM. @@ -344,7 +344,7 @@ export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages' as * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches' as const; +export const METRIC_PROCESS_CONTEXTSWITCHES = 'process.context_switches' as const; /** * Total CPU seconds broken down by different states. @@ -393,7 +393,7 @@ export const METRIC_PROCESS_NETWORK_IO = 'process.network.io' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count' as const; +export const METRIC_PROCESS_OPENFILEDESCRIPTOR_COUNT = 'process.open_file_descriptor.count' as const; /** * Number of page faults the process has made. @@ -439,7 +439,7 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size' as const * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc' as const; +export const METRIC_RPC_CLIENT_REQUESTSPERRPC = 'rpc.client.requests_per_rpc' as const; /** * Measures the size of RPC response messages (uncompressed). @@ -459,7 +459,7 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size' as con * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc' as const; +export const METRIC_RPC_CLIENT_RESPONSESPERRPC = 'rpc.client.responses_per_rpc' as const; /** * Measures the duration of inbound RPC. @@ -491,7 +491,7 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size' as const * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc' as const; +export const METRIC_RPC_SERVER_REQUESTSPERRPC = 'rpc.server.requests_per_rpc' as const; /** * Measures the size of RPC response messages (uncompressed). @@ -511,7 +511,7 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size' as con * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc' as const; +export const METRIC_RPC_SERVER_RESPONSESPERRPC = 'rpc.server.responses_per_rpc' as const; /** * Reports the current frequency of the CPU in Hz. @@ -567,7 +567,7 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time' as const; +export const METRIC_SYSTEM_DISK_IOTIME = 'system.disk.io_time' as const; /** * . @@ -586,7 +586,7 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged' as const; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time' as const; +export const METRIC_SYSTEM_DISK_OPERATIONTIME = 'system.disk.operation_time' as const; /** * . @@ -775,7 +775,7 @@ export const ATTR_LOG_FILE_NAME = 'log.file.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved' as const; +export const ATTR_LOG_FILE_NAMERESOLVED = 'log.file.name_resolved' as const; /** * The full path to the file. @@ -789,7 +789,7 @@ export const ATTR_LOG_FILE_PATH = 'log.file.path' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved' as const; +export const ATTR_LOG_FILE_PATHRESOLVED = 'log.file.path_resolved' as const; /** * This attribute represents the state the application has transitioned into at the occurrence of the event. @@ -844,14 +844,14 @@ export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type' as const; +export const ATTR_PROCESS_CONTEXTSWITCHTYPE = 'process.context_switch_type' as const; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type' as const; +export const ATTR_PROCESS_PAGING_FAULTTYPE = 'process.paging.fault_type' as const; /** * The device identifier. @@ -865,7 +865,7 @@ export const ATTR_SYSTEM_DEVICE = 'system.device' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number' as const; +export const ATTR_SYSTEM_CPU_LOGICALNUMBER = 'system.cpu.logical_number' as const; /** * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. @@ -949,35 +949,35 @@ export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level' as const; +export const ATTR_ANDROID_OS_APILEVEL = 'android.os.api_level' as const; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions' as const; +export const ATTR_AWS_DYNAMODB_ATTRIBUTEDEFINITIONS = 'aws.dynamodb.attribute_definitions' as const; /** * The value of the `AttributesToGet` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get' as const; +export const ATTR_AWS_DYNAMODB_ATTRIBUTESTOGET = 'aws.dynamodb.attributes_to_get' as const; /** * The value of the `ConsistentRead` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read' as const; +export const ATTR_AWS_DYNAMODB_CONSISTENTREAD = 'aws.dynamodb.consistent_read' as const; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity' as const; +export const ATTR_AWS_DYNAMODB_CONSUMEDCAPACITY = 'aws.dynamodb.consumed_capacity' as const; /** * The value of the `Count` response parameter. @@ -991,35 +991,35 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table' as const; +export const ATTR_AWS_DYNAMODB_EXCLUSIVESTARTTABLE = 'aws.dynamodb.exclusive_start_table' as const; /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates' as const; +export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXUPDATES = 'aws.dynamodb.global_secondary_index_updates' as const; /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes' as const; +export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXES = 'aws.dynamodb.global_secondary_indexes' as const; /** * The value of the `IndexName` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name' as const; +export const ATTR_AWS_DYNAMODB_INDEXNAME = 'aws.dynamodb.index_name' as const; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics' as const; +export const ATTR_AWS_DYNAMODB_ITEMCOLLECTIONMETRICS = 'aws.dynamodb.item_collection_metrics' as const; /** * The value of the `Limit` request parameter. @@ -1033,7 +1033,7 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes' as const; +export const ATTR_AWS_DYNAMODB_LOCALSECONDARYINDEXES = 'aws.dynamodb.local_secondary_indexes' as const; /** * The value of the `ProjectionExpression` request parameter. @@ -1047,28 +1047,28 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity' as const; +export const ATTR_AWS_DYNAMODB_PROVISIONEDREADCAPACITY = 'aws.dynamodb.provisioned_read_capacity' as const; /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity' as const; +export const ATTR_AWS_DYNAMODB_PROVISIONEDWRITECAPACITY = 'aws.dynamodb.provisioned_write_capacity' as const; /** * The value of the `ScanIndexForward` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward' as const; +export const ATTR_AWS_DYNAMODB_SCANFORWARD = 'aws.dynamodb.scan_forward' as const; /** * The value of the `ScannedCount` response parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count' as const; +export const ATTR_AWS_DYNAMODB_SCANNEDCOUNT = 'aws.dynamodb.scanned_count' as const; /** * The value of the `Segment` request parameter. @@ -1089,21 +1089,21 @@ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count' as const; +export const ATTR_AWS_DYNAMODB_TABLECOUNT = 'aws.dynamodb.table_count' as const; /** * The keys in the `RequestItems` object field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names' as const; +export const ATTR_AWS_DYNAMODB_TABLENAMES = 'aws.dynamodb.table_names' as const; /** * The value of the `TotalSegments` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments' as const; +export const ATTR_AWS_DYNAMODB_TOTALSEGMENTS = 'aws.dynamodb.total_segments' as const; /** * Array of brand name and version separated by a space. @@ -1156,7 +1156,7 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone' as const; +export const ATTR_CLOUD_AVAILABILITYZONE = 'cloud.availability_zone' as const; /** * The cloud platform in use. @@ -1206,42 +1206,42 @@ export const ATTR_CLOUD_REGION = 'cloud.region' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id' as const; +export const ATTR_CLOUD_RESOURCEID = 'cloud.resource_id' as const; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id' as const; +export const ATTR_CLOUDEVENTS_EVENTID = 'cloudevents.event_id' as const; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source' as const; +export const ATTR_CLOUDEVENTS_EVENTSOURCE = 'cloudevents.event_source' as const; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version' as const; +export const ATTR_CLOUDEVENTS_EVENTSPECVERSION = 'cloudevents.event_spec_version' as const; /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject' as const; +export const ATTR_CLOUDEVENTS_EVENTSUBJECT = 'cloudevents.event_subject' as const; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type' as const; +export const ATTR_CLOUDEVENTS_EVENTTYPE = 'cloudevents.event_type' as const; /** * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. @@ -1299,14 +1299,14 @@ export const ATTR_CONTAINER_COMMAND = 'container.command' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args' as const; +export const ATTR_CONTAINER_COMMANDARGS = 'container.command_args' as const; /** * The full command run by the container as a single string representing the full command. [2]. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line' as const; +export const ATTR_CONTAINER_COMMANDLINE = 'container.command_line' as const; /** * The CPU state for this data point. @@ -1347,7 +1347,7 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests' as const; +export const ATTR_CONTAINER_IMAGE_REPODIGESTS = 'container.image.repo_digests' as const; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. @@ -1375,7 +1375,7 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level' as const; +export const ATTR_DB_CASSANDRA_CONSISTENCYLEVEL = 'db.cassandra.consistency_level' as const; /** * The data center of the coordinating node for a query. @@ -1403,14 +1403,14 @@ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence' as const * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size' as const; +export const ATTR_DB_CASSANDRA_PAGESIZE = 'db.cassandra.page_size' as const; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count' as const; +export const ATTR_DB_CASSANDRA_SPECULATIVEEXECUTIONCOUNT = 'db.cassandra.speculative_execution_count' as const; /** * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). @@ -1426,14 +1426,14 @@ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id' as const; +export const ATTR_DB_COSMOSDB_CLIENTID = 'db.cosmosdb.client_id' as const; /** * Cosmos client connection mode. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode' as const; +export const ATTR_DB_COSMOSDB_CONNECTIONMODE = 'db.cosmosdb.connection_mode' as const; /** * Cosmos DB container name. @@ -1447,35 +1447,35 @@ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type' as const; +export const ATTR_DB_COSMOSDB_OPERATIONTYPE = 'db.cosmosdb.operation_type' as const; /** * RU consumed for that operation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge' as const; +export const ATTR_DB_COSMOSDB_REQUESTCHARGE = 'db.cosmosdb.request_charge' as const; /** * Request payload size in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length' as const; +export const ATTR_DB_COSMOSDB_REQUESTCONTENTLENGTH = 'db.cosmosdb.request_content_length' as const; /** * Cosmos DB status code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' as const; +export const ATTR_DB_COSMOSDB_STATUSCODE = 'db.cosmosdb.status_code' as const; /** * Cosmos DB sub status code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code' as const; +export const ATTR_DB_COSMOSDB_SUBSTATUSCODE = 'db.cosmosdb.sub_status_code' as const; /** * Represents the identifier of an Elasticsearch cluster. @@ -1505,7 +1505,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name' as const; +export const ATTR_DB_MSSQL_INSTANCENAME = 'db.mssql.instance_name' as const; /** * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). @@ -1530,7 +1530,7 @@ export const ATTR_DB_OPERATION = 'db.operation' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index' as const; +export const ATTR_DB_REDIS_DATABASEINDEX = 'db.redis.database_index' as const; /** * The name of the primary table that the operation is acting upon, including the database name (if applicable). @@ -1584,7 +1584,7 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment' as const; * * @deprecated "Replaced by `server.address` and `server.port`.". */ -export const ATTR_DB_CONNECTION_STRING = 'db.connection_string' as const; +export const ATTR_DB_CONNECTIONSTRING = 'db.connection_string' as const; /** * Deprecated, use `db.instance.id` instead. @@ -1602,7 +1602,7 @@ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name' as c * * @deprecated Removed as not used. */ -export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname' as const; +export const ATTR_DB_JDBC_DRIVERCLASSNAME = 'db.jdbc.driver_classname' as const; /** * Deprecated, use `network.protocol.name` instead. @@ -1629,7 +1629,7 @@ export const ATTR_HTTP_METHOD = 'http.method' as const; * * @deprecated Replaced by `http.request.header.content-length`. */ -export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length' as const; +export const ATTR_HTTP_REQUESTCONTENTLENGTH = 'http.request_content_length' as const; /** * Deprecated, use `http.response.header.content-length` instead. @@ -1638,7 +1638,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length' as * * @deprecated Replaced by `http.response.header.content-length`. */ -export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length' as const; +export const ATTR_HTTP_RESPONSECONTENTLENGTH = 'http.response_content_length' as const; /** * Deprecated, use `url.scheme` instead. @@ -1656,7 +1656,7 @@ export const ATTR_HTTP_SCHEME = 'http.scheme' as const; * * @deprecated Replaced by `http.response.status_code`. */ -export const ATTR_HTTP_STATUS_CODE = 'http.status_code' as const; +export const ATTR_HTTP_STATUSCODE = 'http.status_code' as const; /** * Deprecated, use `url.path` and `url.query` instead. @@ -1683,7 +1683,7 @@ export const ATTR_HTTP_URL = 'http.url' as const; * * @deprecated Replaced by `user_agent.original`. */ -export const ATTR_HTTP_USER_AGENT = 'http.user_agent' as const; +export const ATTR_HTTP_USERAGENT = 'http.user_agent' as const; /** * "Deprecated, use `messaging.destination.partition.id` instead.". @@ -1965,7 +1965,7 @@ export const ATTR_FAAS_INSTANCE = 'faas.instance' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id' as const; +export const ATTR_FAAS_INVOCATIONID = 'faas.invocation_id' as const; /** * The name of the invoked function. @@ -1974,7 +1974,7 @@ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name' as const; +export const ATTR_FAAS_INVOKEDNAME = 'faas.invoked_name' as const; /** * The cloud provider of the invoked function. @@ -1983,7 +1983,7 @@ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider' as const; +export const ATTR_FAAS_INVOKEDPROVIDER = 'faas.invoked_provider' as const; /** * The cloud region of the invoked function. @@ -1992,7 +1992,7 @@ export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region' as const; +export const ATTR_FAAS_INVOKEDREGION = 'faas.invoked_region' as const; /** * The amount of memory available to the serverless function converted to Bytes. @@ -2001,7 +2001,7 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const; +export const ATTR_FAAS_MAXMEMORY = 'faas.max_memory' as const; /** * The name of the single function that this runtime instance executes. @@ -2063,14 +2063,14 @@ export const ATTR_FAAS_VERSION = 'faas.version' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key' as const; +export const ATTR_FEATUREFLAG_KEY = 'feature_flag.key' as const; /** * The name of the service provider that performs the flag evaluation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name' as const; +export const ATTR_FEATUREFLAG_PROVIDERNAME = 'feature_flag.provider_name' as const; /** * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. @@ -2086,7 +2086,7 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name' as c * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant' as const; +export const ATTR_FEATUREFLAG_VARIANT = 'feature_flag.variant' as const; /** * Directory where the file is located. It should include the drive letter, when appropriate. @@ -2130,14 +2130,14 @@ export const ATTR_FILE_SIZE = 'file.size' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as const; +export const ATTR_GCP_CLOUDRUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as const; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index' as const; +export const ATTR_GCP_CLOUDRUN_JOB_TASKINDEX = 'gcp.cloud_run.job.task_index' as const; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). @@ -2348,7 +2348,7 @@ export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count' as const; +export const ATTR_K8S_CONTAINER_RESTARTCOUNT = 'k8s.container.restart_count' as const; /** * The name of the CronJob. @@ -2476,14 +2476,14 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count' as const; +export const ATTR_MESSAGING_BATCH_MESSAGECOUNT = 'messaging.batch.message_count' as const; /** * A unique identifier for the client that consumes or produces a message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id' as const; +export const ATTR_MESSAGING_CLIENTID = 'messaging.client_id' as const; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). @@ -2530,7 +2530,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.tempo * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous' as const; +export const ATTR_MESSAGING_DESTINATIONPUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous' as const; /** * The name of the original destination the message was published to. @@ -2540,7 +2540,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destinati * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name' as const; +export const ATTR_MESSAGING_DESTINATIONPUBLISH_NAME = 'messaging.destination_publish.name' as const; /** * The name of the consumer group the event consumer is associated with. @@ -2554,14 +2554,14 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.cons * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time' as const; +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUEDTIME = 'messaging.eventhubs.message.enqueued_time' as const; /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key' as const; +export const ATTR_MESSAGING_GCPPUBSUB_MESSAGE_ORDERINGKEY = 'messaging.gcp_pubsub.message.ordering_key' as const; /** * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. @@ -2608,7 +2608,7 @@ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size' as * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id' as const; +export const ATTR_MESSAGING_MESSAGE_CONVERSATIONID = 'messaging.message.conversation_id' as const; /** * The size of the message body and metadata in bytes. @@ -2641,42 +2641,42 @@ export const ATTR_MESSAGING_OPERATION = 'messaging.operation' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key' as const; +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTINGKEY = 'messaging.rabbitmq.destination.routing_key' as const; /** * RabbitMQ message delivery tag. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag' as const; +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERYTAG = 'messaging.rabbitmq.message.delivery_tag' as const; /** * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group' as const; +export const ATTR_MESSAGING_ROCKETMQ_CLIENTGROUP = 'messaging.rocketmq.client_group' as const; /** * Model of message consumption. This only applies to consumer spans. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model' as const; +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL = 'messaging.rocketmq.consumption_model' as const; /** * The delay time level for delay message, which determines the message delay time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAYTIMELEVEL = 'messaging.rocketmq.message.delay_time_level' as const; /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp' as const; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERYTIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp' as const; /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. @@ -2718,28 +2718,28 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace' * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name' as const; +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTIONNAME = 'messaging.servicebus.destination.subscription_name' as const; /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status' as const; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS = 'messaging.servicebus.disposition_status' as const; /** * Number of deliveries that have been attempted for this message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count' as const; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERYCOUNT = 'messaging.servicebus.message.delivery_count' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time' as const; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUEDTIME = 'messaging.servicebus.message.enqueued_time' as const; /** * An identifier for the messaging system being used. See below for a list of well-known identifiers. @@ -2812,7 +2812,7 @@ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_BUILD_ID = 'os.build_id' as const; +export const ATTR_OS_BUILDID = 'os.build_id' as const; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. @@ -2861,14 +2861,14 @@ export const ATTR_PROCESS_COMMAND = 'process.command' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args' as const; +export const ATTR_PROCESS_COMMANDARGS = 'process.command_args' as const; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line' as const; +export const ATTR_PROCESS_COMMANDLINE = 'process.command_line' as const; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. @@ -2896,7 +2896,7 @@ export const ATTR_PROCESS_OWNER = 'process.owner' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid' as const; +export const ATTR_PROCESS_PARENTPID = 'process.parent_pid' as const; /** * Process identifier (PID). @@ -2931,35 +2931,35 @@ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code' as const; +export const ATTR_RPC_CONNECTRPC_ERRORCODE = 'rpc.connect_rpc.error_code' as const; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code' as const; +export const ATTR_RPC_GRPC_STATUSCODE = 'rpc.grpc.status_code' as const; /** * `error.code` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code' as const; +export const ATTR_RPC_JSONRPC_ERRORCODE = 'rpc.jsonrpc.error_code' as const; /** * `error.message` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message' as const; +export const ATTR_RPC_JSONRPC_ERRORMESSAGE = 'rpc.jsonrpc.error_message' as const; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id' as const; +export const ATTR_RPC_JSONRPC_REQUESTID = 'rpc.jsonrpc.request_id' as const; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. @@ -3048,7 +3048,7 @@ export const ATTR_SESSION_ID = 'session.id' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id' as const; +export const ATTR_SESSION_PREVIOUSID = 'session.previous_id' as const; /** * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -3118,7 +3118,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain' as const; +export const ATTR_TLS_CLIENT_CERTIFICATECHAIN = 'tls.client.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -3160,21 +3160,21 @@ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after' as const; +export const ATTR_TLS_CLIENT_NOTAFTER = 'tls.client.not_after' as const; /** * Date/Time indicating when client certificate is first considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before' as const; +export const ATTR_TLS_CLIENT_NOTBEFORE = 'tls.client.not_before' as const; /** * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name' as const; +export const ATTR_TLS_CLIENT_SERVERNAME = 'tls.client.server_name' as const; /** * Distinguished name of subject of the x.509 certificate presented by the client. @@ -3188,7 +3188,7 @@ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers' as const; +export const ATTR_TLS_CLIENT_SUPPORTEDCIPHERS = 'tls.client.supported_ciphers' as const; /** * String indicating the curve used for the given cipher, when applicable. @@ -3209,7 +3209,7 @@ export const ATTR_TLS_ESTABLISHED = 'tls.established' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol' as const; +export const ATTR_TLS_NEXTPROTOCOL = 'tls.next_protocol' as const; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). @@ -3244,7 +3244,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain' as const; +export const ATTR_TLS_SERVER_CERTIFICATECHAIN = 'tls.server.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -3286,14 +3286,14 @@ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after' as const; +export const ATTR_TLS_SERVER_NOTAFTER = 'tls.server.not_after' as const; /** * Date/Time indicating when server certificate is first considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before' as const; +export const ATTR_TLS_SERVER_NOTBEFORE = 'tls.server.not_before' as const; /** * Distinguished name of subject of the x.509 certificate presented by the server. @@ -3344,7 +3344,7 @@ export const ATTR_URL_PORT = 'url.port' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain' as const; +export const ATTR_URL_REGISTEREDDOMAIN = 'url.registered_domain' as const; /** * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. @@ -3362,7 +3362,7 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain' as const; +export const ATTR_URL_TOPLEVELDOMAIN = 'url.top_level_domain' as const; /** * Name of the user-agent extracted from original. Usually refers to the browser's name. @@ -3371,7 +3371,7 @@ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_AGENT_NAME = 'user_agent.name' as const; +export const ATTR_USERAGENT_NAME = 'user_agent.name' as const; /** * Version of the user-agent extracted from original. Usually refers to the browser's version. @@ -3380,7 +3380,7 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_AGENT_VERSION = 'user_agent.version' as const; +export const ATTR_USERAGENT_VERSION = 'user_agent.version' as const; /** * The ID of a running ECS task. The ID MUST be extracted from `task.arn`. @@ -3491,7 +3491,7 @@ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp' as const; +export const ATTR_HEROKU_RELEASE_CREATIONTIMESTAMP = 'heroku.release.creation_timestamp' as const; /** * The name of the web engine. @@ -3539,7 +3539,7 @@ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' as const; +export const ATTR_AWS_LAMBDA_INVOKEDARN = 'aws.lambda.invoked_arn' as const; /** * Parent-child Reference type. @@ -3548,14 +3548,14 @@ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type' as const; +export const ATTR_OPENTRACING_REFTYPE = 'opentracing.ref_type' as const; /** * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_REQUEST_ID = 'aws.request_id' as const; +export const ATTR_AWS_REQUESTID = 'aws.request_id' as const; /** * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -3579,7 +3579,7 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source' as const; +export const ATTR_AWS_S3_COPYSOURCE = 'aws.s3.copy_source' as const; /** * The delete request container that specifies the objects to be deleted. @@ -3626,7 +3626,7 @@ export const ATTR_AWS_S3_KEY = 'aws.s3.key' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; +export const ATTR_AWS_S3_PARTNUMBER = 'aws.s3.part_number' as const; /** * Upload ID that identifies the multipart upload. @@ -3643,7 +3643,7 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id' as const; +export const ATTR_AWS_S3_UPLOADID = 'aws.s3.upload_id' as const; /** * The GraphQL document being executed. @@ -3673,7 +3673,7 @@ export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size' as const; +export const ATTR_MESSAGE_COMPRESSEDSIZE = 'message.compressed_size' as const; /** * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. @@ -3696,7 +3696,7 @@ export const ATTR_MESSAGE_TYPE = 'message.type' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size' as const; +export const ATTR_MESSAGE_UNCOMPRESSEDSIZE = 'message.uncompressed_size' as const; /** * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. @@ -3804,32 +3804,32 @@ export const ENUM_PROCESS_CPU_STATE_VALUE_USER = 'user' as const; export const ENUM_PROCESS_CPU_STATE_VALUE_WAIT = 'wait' as const; /** - * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. + * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXTSWITCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary' as const; +export const ENUM_PROCESS_CONTEXTSWITCHTYPE_VALUE_VOLUNTARY = 'voluntary' as const; /** - * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. + * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXTSWITCHTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = 'involuntary' as const; +export const ENUM_PROCESS_CONTEXTSWITCHTYPE_VALUE_INVOLUNTARY = 'involuntary' as const; /** - * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. + * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULTTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major' as const; +export const ENUM_PROCESS_PAGING_FAULTTYPE_VALUE_MAJOR = 'major' as const; /** - * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. + * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULTTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor' as const; +export const ENUM_PROCESS_PAGING_FAULTTYPE_VALUE_MINOR = 'minor' as const; /** * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. @@ -4032,7 +4032,7 @@ export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSEWAIT = 'close_wait' as const; /** * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. @@ -4060,21 +4060,21 @@ export const ENUM_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established' as cons * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FINWAIT1 = 'fin_wait_1' as const; /** * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FINWAIT2 = 'fin_wait_2' as const; /** * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LASTACK = 'last_ack' as const; /** * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. @@ -4088,21 +4088,21 @@ export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYNRECV = 'syn_recv' as const; /** * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYNSENT = 'syn_sent' as const; /** * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait' as const; +export const ENUM_SYSTEM_NETWORK_STATE_VALUE_TIMEWAIT = 'time_wait' as const; /** * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. @@ -4137,203 +4137,203 @@ export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABACLOUDECS = 'alibaba_cloud_ecs' as const; /** * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABACLOUDFC = 'alibaba_cloud_fc' as const; /** * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABACLOUDOPENSHIFT = 'alibaba_cloud_openshift' as const; /** * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSEC2 = 'aws_ec2' as const; /** * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSECS = 'aws_ecs' as const; /** * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSEKS = 'aws_eks' as const; /** * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSLAMBDA = 'aws_lambda' as const; /** * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSELASTICBEANSTALK = 'aws_elastic_beanstalk' as const; /** * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSAPPRUNNER = 'aws_app_runner' as const; /** * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AWSOPENSHIFT = 'aws_openshift' as const; /** * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZUREVM = 'azure_vm' as const; /** * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURECONTAINERAPPS = 'azure_container_apps' as const; /** * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = 'azure_container_instances' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZURECONTAINERINSTANCES = 'azure_container_instances' as const; /** * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZUREAKS = 'azure_aks' as const; /** * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZUREFUNCTIONS = 'azure_functions' as const; /** * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = 'azure_app_service' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZUREAPPSERVICE = 'azure_app_service' as const; /** * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_AZUREOPENSHIFT = 'azure_openshift' as const; /** * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPBAREMETALSOLUTION = 'gcp_bare_metal_solution' as const; /** * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = 'gcp_compute_engine' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPCOMPUTEENGINE = 'gcp_compute_engine' as const; /** * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPCLOUDRUN = 'gcp_cloud_run' as const; /** * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPKUBERNETESENGINE = 'gcp_kubernetes_engine' as const; /** * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPCLOUDFUNCTIONS = 'gcp_cloud_functions' as const; /** * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPAPPENGINE = 'gcp_app_engine' as const; /** * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_GCPOPENSHIFT = 'gcp_openshift' as const; /** * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_IBMCLOUDOPENSHIFT = 'ibm_cloud_openshift' as const; /** * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_TENCENTCLOUDCVM = 'tencent_cloud_cvm' as const; /** * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = 'tencent_cloud_eks' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_TENCENTCLOUDEKS = 'tencent_cloud_eks' as const; /** * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf' as const; +export const ENUM_CLOUD_PLATFORM_VALUE_TENCENTCLOUDSCF = 'tencent_cloud_scf' as const; /** * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_ALIBABACLOUD = 'alibaba_cloud' as const; /** * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. @@ -4368,14 +4368,14 @@ export const ENUM_CLOUD_PROVIDER_VALUE_HEROKU = 'heroku' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_IBMCLOUD = 'ibm_cloud' as const; /** * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud' as const; +export const ENUM_CLOUD_PROVIDER_VALUE_TENCENTCLOUD = 'tencent_cloud' as const; /** * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. @@ -4399,207 +4399,207 @@ export const ENUM_CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system' as const; export const ENUM_CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel' as const; /** - * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_ALL = 'all' as const; /** - * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = 'each_quorum' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_EACHQUORUM = 'each_quorum' as const; /** - * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_QUORUM = 'quorum' as const; /** - * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = 'local_quorum' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_LOCALQUORUM = 'local_quorum' as const; /** - * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_ONE = 'one' as const; /** - * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_TWO = 'two' as const; /** - * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_THREE = 'three' as const; /** - * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = 'local_one' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_LOCALONE = 'local_one' as const; /** - * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_ANY = 'any' as const; /** - * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_SERIAL = 'serial' as const; /** - * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = 'local_serial' as const; +export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_LOCALSERIAL = 'local_serial' as const; /** - * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. + * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTIONMODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway' as const; +export const ENUM_DB_COSMOSDB_CONNECTIONMODE_VALUE_GATEWAY = 'gateway' as const; /** - * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. + * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTIONMODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct' as const; +export const ENUM_DB_COSMOSDB_CONNECTIONMODE_VALUE_DIRECT = 'direct' as const; /** - * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_INVALID = 'Invalid' as const; /** - * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_CREATE = 'Create' as const; /** - * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_PATCH = 'Patch' as const; /** - * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_READ = 'Read' as const; /** - * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_READFEED = 'ReadFeed' as const; /** - * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_DELETE = 'Delete' as const; /** - * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_REPLACE = 'Replace' as const; /** - * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_EXECUTE = 'Execute' as const; /** - * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_QUERY = 'Query' as const; /** - * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_HEAD = 'Head' as const; /** - * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_HEADFEED = 'HeadFeed' as const; /** - * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_UPSERT = 'Upsert' as const; /** - * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_BATCH = 'Batch' as const; /** - * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_QUERYPLAN = 'QueryPlan' as const; /** - * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript' as const; +export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_EXECUTEJAVASCRIPT = 'ExecuteJavaScript' as const; /** * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql' as const; +export const ENUM_DB_SYSTEM_VALUE_OTHERSQL = 'other_sql' as const; /** * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. @@ -4965,7 +4965,7 @@ export const ENUM_DB_SYSTEM_VALUE_TRINO = 'trino' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP10 = '1.0' as const; /** * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4974,7 +4974,7 @@ export const ENUM_HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP11 = '1.1' as const; /** * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4983,7 +4983,7 @@ export const ENUM_HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP20 = '2.0' as const; /** * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -4992,7 +4992,7 @@ export const ENUM_HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0' as const; * * @deprecated Replaced by `network.protocol.name`. */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0' as const; +export const ENUM_HTTP_FLAVOR_VALUE_HTTP30 = '3.0' as const; /** * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. @@ -5046,7 +5046,7 @@ export const ENUM_NET_SOCK_FAMILY_VALUE_UNIX = 'unix' as const; * * @deprecated Replaced by `network.transport`. */ -export const ENUM_NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp' as const; +export const ENUM_NET_TRANSPORT_VALUE_IPTCP = 'ip_tcp' as const; /** * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5055,7 +5055,7 @@ export const ENUM_NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp' as const; * * @deprecated Replaced by `network.transport`. */ -export const ENUM_NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp' as const; +export const ENUM_NET_TRANSPORT_VALUE_IPUDP = 'ip_udp' as const; /** * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. @@ -5156,39 +5156,39 @@ export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit' as const; export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete' as const; /** - * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud' as const; +export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_ALIBABACLOUD = 'alibaba_cloud' as const; /** - * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws' as const; +export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_AWS = 'aws' as const; /** - * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure' as const; +export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_AZURE = 'azure' as const; /** - * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp' as const; +export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_GCP = 'gcp' as const; /** - * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud' as const; +export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_TENCENTCLOUD = 'tencent_cloud' as const; /** * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. @@ -5331,18 +5331,18 @@ export const ENUM_MESSAGING_OPERATION_VALUE_DELIVER = 'process' as const; export const ENUM_MESSAGING_OPERATION_VALUE_SETTLE = 'settle' as const; /** - * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering' as const; +export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUE_CLUSTERING = 'clustering' as const; /** - * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting' as const; +export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUE_BROADCASTING = 'broadcasting' as const; /** * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. @@ -5373,32 +5373,32 @@ export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay' as const export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction' as const; /** - * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_COMPLETE = 'complete' as const; /** - * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_ABANDON = 'abandon' as const; /** - * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_DEADLETTER = 'dead_letter' as const; /** - * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer' as const; +export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_DEFER = 'defer' as const; /** * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. @@ -5412,7 +5412,7 @@ export const ENUM_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_AWSSQS = 'aws_sqs' as const; /** * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. @@ -5440,7 +5440,7 @@ export const ENUM_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub' as const; +export const ENUM_MESSAGING_SYSTEM_VALUE_GCPPUBSUB = 'gcp_pubsub' as const; /** * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. @@ -5503,21 +5503,21 @@ export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO0 = 'evdo_0' as const; /** * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDOA = 'evdo_a' as const; /** * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA20001XRTT = 'cdma2000_1xrtt' as const; /** * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. @@ -5552,7 +5552,7 @@ export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDOB = 'evdo_b' as const; /** * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. @@ -5587,7 +5587,7 @@ export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_TDSCDMA = 'td_scdma' as const; /** * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. @@ -5615,7 +5615,7 @@ export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca' as const; +export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_LTECA = 'lte_ca' as const; /** * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. @@ -5741,238 +5741,238 @@ export const ENUM_OS_TYPE_VALUE_SOLARIS = 'solaris' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_OS_TYPE_VALUE_Z_OS = 'z_os' as const; +export const ENUM_OS_TYPE_VALUE_ZOS = 'z_os' as const; /** - * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_CANCELLED = 'cancelled' as const; /** - * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNKNOWN = 'unknown' as const; /** - * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_INVALIDARGUMENT = 'invalid_argument' as const; /** - * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_DEADLINEEXCEEDED = 'deadline_exceeded' as const; /** - * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_NOTFOUND = 'not_found' as const; /** - * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_ALREADYEXISTS = 'already_exists' as const; /** - * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_PERMISSIONDENIED = 'permission_denied' as const; /** - * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_RESOURCEEXHAUSTED = 'resource_exhausted' as const; /** - * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_FAILEDPRECONDITION = 'failed_precondition' as const; /** - * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_ABORTED = 'aborted' as const; /** - * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_OUTOFRANGE = 'out_of_range' as const; /** - * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNIMPLEMENTED = 'unimplemented' as const; /** - * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_INTERNAL = 'internal' as const; /** - * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNAVAILABLE = 'unavailable' as const; /** - * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_DATALOSS = 'data_loss' as const; /** - * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated' as const; +export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNAUTHENTICATED = 'unauthenticated' as const; /** - * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_OK = 0 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_OK = 0 as const; /** - * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_CANCELLED = 1 as const; /** - * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNKNOWN = 2 as const; /** - * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_INVALIDARGUMENT = 3 as const; /** - * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_DEADLINEEXCEEDED = 4 as const; /** - * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_NOTFOUND = 5 as const; /** - * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_ALREADYEXISTS = 6 as const; /** - * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_PERMISSIONDENIED = 7 as const; /** - * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_RESOURCEEXHAUSTED = 8 as const; /** - * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_FAILEDPRECONDITION = 9 as const; /** - * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_ABORTED = 10 as const; /** - * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_OUTOFRANGE = 11 as const; /** - * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNIMPLEMENTED = 12 as const; /** - * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_INTERNAL = 13 as const; /** - * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNAVAILABLE = 14 as const; /** - * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_DATALOSS = 15 as const; /** - * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16 as const; +export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNAUTHENTICATED = 16 as const; /** * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. @@ -5986,28 +5986,28 @@ export const ENUM_RPC_SYSTEM_VALUE_GRPC = 'grpc' as const; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi' as const; +export const ENUM_RPC_SYSTEM_VALUE_JAVARMI = 'java_rmi' as const; /** * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf' as const; +export const ENUM_RPC_SYSTEM_VALUE_DOTNETWCF = 'dotnet_wcf' as const; /** * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo' as const; +export const ENUM_RPC_SYSTEM_VALUE_APACHEDUBBO = 'apache_dubbo' as const; /** * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc' as const; +export const ENUM_RPC_SYSTEM_VALUE_CONNECTRPC = 'connect_rpc' as const; /** * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. @@ -6038,18 +6038,18 @@ export const ENUM_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2' as const; export const ENUM_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate' as const; /** - * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. + * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REFTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of' as const; +export const ENUM_OPENTRACING_REFTYPE_VALUE_CHILDOF = 'child_of' as const; /** - * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. + * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REFTYPE}. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ENUM_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from' as const; +export const ENUM_OPENTRACING_REFTYPE_VALUE_FOLLOWSFROM = 'follows_from' as const; /** * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts index 919c30b591..403b3f0576 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable.ts @@ -30,28 +30,28 @@ export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases' as const; +export const METRIC_ASPNETCORE_RATELIMITING_ACTIVEREQUESTLEASES = 'aspnetcore.rate_limiting.active_request_leases' as const; /** * Number of requests that are currently queued, waiting to acquire a rate limiting lease. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests' as const; +export const METRIC_ASPNETCORE_RATELIMITING_QUEUEDREQUESTS = 'aspnetcore.rate_limiting.queued_requests' as const; /** * The time the request spent in a queue waiting to acquire a rate limiting lease. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue' as const; +export const METRIC_ASPNETCORE_RATELIMITING_REQUEST_TIMEINQUEUE = 'aspnetcore.rate_limiting.request.time_in_queue' as const; /** * The duration of rate limiting lease held by requests on the server. * * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration' as const; +export const METRIC_ASPNETCORE_RATELIMITING_REQUESTLEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration' as const; /** * Number of requests that tried to acquire a rate limiting lease. @@ -63,14 +63,14 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcor * * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests' as const; +export const METRIC_ASPNETCORE_RATELIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests' as const; /** * Number of requests that were attempted to be matched to an endpoint. * * Note: Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0. */ -export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts' as const; +export const METRIC_ASPNETCORE_ROUTING_MATCHATTEMPTS = 'aspnetcore.routing.match_attempts' as const; /** * Duration of HTTP client requests. @@ -107,7 +107,7 @@ export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count' as const; * * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). */ -export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization' as const; +export const METRIC_JVM_CPU_RECENTUTILIZATION = 'jvm.cpu.recent_utilization' as const; /** * CPU time used by the process as reported by the JVM. @@ -137,7 +137,7 @@ export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used' as const; /** * Measure of memory used, as measured after the most recent garbage collection event on this pool. */ -export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = 'jvm.memory.used_after_last_gc' as const; +export const METRIC_JVM_MEMORY_USEDAFTERLASTGC = 'jvm.memory.used_after_last_gc' as const; /** * Number of executing platform threads. @@ -149,14 +149,14 @@ export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count' as const; * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections' as const; +export const METRIC_KESTREL_ACTIVECONNECTIONS = 'kestrel.active_connections' as const; /** * Number of TLS handshakes that are currently in progress on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = 'kestrel.active_tls_handshakes' as const; +export const METRIC_KESTREL_ACTIVETLSHANDSHAKES = 'kestrel.active_tls_handshakes' as const; /** * The duration of connections on the server. @@ -170,14 +170,14 @@ export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration' * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections' as const; +export const METRIC_KESTREL_QUEUEDCONNECTIONS = 'kestrel.queued_connections' as const; /** * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests' as const; +export const METRIC_KESTREL_QUEUEDREQUESTS = 'kestrel.queued_requests' as const; /** * Number of connections rejected by the server. @@ -185,14 +185,14 @@ export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests' as const * Note: Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections' as const; +export const METRIC_KESTREL_REJECTEDCONNECTIONS = 'kestrel.rejected_connections' as const; /** * The duration of TLS handshakes on the server. * * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration' as const; +export const METRIC_KESTREL_TLSHANDSHAKE_DURATION = 'kestrel.tls_handshake.duration' as const; /** * Number of connections that are currently upgraded (WebSockets). . @@ -201,14 +201,14 @@ export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.dura * * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. */ -export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections' as const; +export const METRIC_KESTREL_UPGRADEDCONNECTIONS = 'kestrel.upgraded_connections' as const; /** * Number of connections that are currently active on the server. * * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. */ -export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_connections' as const; +export const METRIC_SIGNALR_SERVER_ACTIVECONNECTIONS = 'signalr.server.active_connections' as const; /** * The duration of connections on the server. @@ -220,7 +220,7 @@ export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connect /** * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result' as const; +export const ATTR_ASPNETCORE_RATELIMITING_RESULT = 'aspnetcore.rate_limiting.result' as const; /** * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. @@ -230,22 +230,22 @@ export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics. /** * Rate limiting policy name. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy' as const; +export const ATTR_ASPNETCORE_RATELIMITING_POLICY = 'aspnetcore.rate_limiting.policy' as const; /** * Flag indicating if request was handled by the application pipeline. */ -export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled' as const; +export const ATTR_ASPNETCORE_REQUEST_ISUNHANDLED = 'aspnetcore.request.is_unhandled' as const; /** * A value that indicates whether the matched route is a fallback route. */ -export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback' as const; +export const ATTR_ASPNETCORE_ROUTING_ISFALLBACK = 'aspnetcore.routing.is_fallback' as const; /** * Match result - success or failure. */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status' as const; +export const ATTR_ASPNETCORE_ROUTING_MATCHSTATUS = 'aspnetcore.routing.match_status' as const; /** * ASP.NET Core exception middleware handling result. @@ -393,19 +393,19 @@ export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method' as const; /** * Original HTTP method sent by the client in the request line. */ -export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original' as const; +export const ATTR_HTTP_REQUEST_METHODORIGINAL = 'http.request.method_original' as const; /** * The ordinal number of request resending attempt (for any reason, including redirects). * * Note: The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ -export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count' as const; +export const ATTR_HTTP_REQUEST_RESENDCOUNT = 'http.request.resend_count' as const; /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). */ -export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code' as const; +export const ATTR_HTTP_RESPONSE_STATUSCODE = 'http.response.status_code' as const; /** * The matched route, that is, the path template in the format used by the respective server framework. @@ -551,7 +551,7 @@ export const ATTR_URL_SCHEME = 'url.scheme' as const; /** * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. */ -export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original' as const; +export const ATTR_USERAGENT_ORIGINAL = 'user_agent.original' as const; /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). @@ -566,42 +566,42 @@ export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version' as const; /** * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. */ -export const ATTR_OTEL_STATUS_CODE = 'otel.status_code' as const; +export const ATTR_OTEL_STATUSCODE = 'otel.status_code' as const; /** * Description of the Status if it has a value, otherwise not set. */ -export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description' as const; +export const ATTR_OTEL_STATUSDESCRIPTION = 'otel.status_description' as const; /** - * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. */ -export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = 'acquired' as const; +export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_ACQUIRED = 'acquired' as const; /** - * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. */ -export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = 'endpoint_limiter' as const; +export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_ENDPOINTLIMITER = 'endpoint_limiter' as const; /** - * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. */ -export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = 'global_limiter' as const; +export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_GLOBALLIMITER = 'global_limiter' as const; /** - * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. */ -export const ENUM_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = 'request_canceled' as const; +export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_REQUESTCANCELED = 'request_canceled' as const; /** - * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. + * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCHSTATUS}. */ -export const ENUM_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success' as const; +export const ENUM_ASPNETCORE_ROUTING_MATCHSTATUS_VALUE_SUCCESS = 'success' as const; /** - * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. + * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCHSTATUS}. */ -export const ENUM_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure' as const; +export const ENUM_ASPNETCORE_ROUTING_MATCHSTATUS_VALUE_FAILURE = 'failure' as const; /** * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. @@ -626,7 +626,7 @@ export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'abort /** * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = 'normal_closure' as const; +export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_NORMALCLOSURE = 'normal_closure' as const; /** * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. @@ -636,22 +636,22 @@ export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout' as const; /** * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = 'app_shutdown' as const; +export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_APPSHUTDOWN = 'app_shutdown' as const; /** * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ENUM_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = 'server_sent_events' as const; +export const ENUM_SIGNALR_TRANSPORT_VALUE_SERVERSENTEVENTS = 'server_sent_events' as const; /** * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ENUM_SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling' as const; +export const ENUM_SIGNALR_TRANSPORT_VALUE_LONGPOLLING = 'long_polling' as const; /** * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ENUM_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets' as const; +export const ENUM_SIGNALR_TRANSPORT_VALUE_WEBSOCKETS = 'web_sockets' as const; /** * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. @@ -661,7 +661,7 @@ export const ENUM_JVM_MEMORY_TYPE_VALUE_HEAP = 'heap' as const; /** * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const ENUM_JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap' as const; +export const ENUM_JVM_MEMORY_TYPE_VALUE_NONHEAP = 'non_heap' as const; /** * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. @@ -686,7 +686,7 @@ export const ENUM_JVM_THREAD_STATE_VALUE_WAITING = 'waiting' as const; /** * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ENUM_JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting' as const; +export const ENUM_JVM_THREAD_STATE_VALUE_TIMEDWAITING = 'timed_waiting' as const; /** * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. @@ -839,11 +839,11 @@ export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift' as const; export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs' as const; /** - * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. + * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUSCODE}. */ -export const ENUM_OTEL_STATUS_CODE_VALUE_OK = 'OK' as const; +export const ENUM_OTEL_STATUSCODE_VALUE_OK = 'OK' as const; /** - * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. + * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUSCODE}. */ -export const ENUM_OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR' as const; +export const ENUM_OTEL_STATUSCODE_VALUE_ERROR = 'ERROR' as const; diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index fd4db9dca1..3f67ac6d7c 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -17,6 +17,9 @@ {%- macro print_value(type, value) -%} {{ "'" if type == "string"}}{{value}}{{ "'" if type == "string"}} {%- endmacro %} +{%- macro to_const_name_2(attr_name) %} +{{- attr_name | replace("_", "") | replace(".", "_") | to_const_name }} +{%- endmacro %} //---------------------------------------------------------------------------------------------------------- // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/{{template}} @@ -42,7 +45,7 @@ * @deprecated {{metric.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} */ -export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("string", metric.metric_name) }} as const; +export const METRIC_{{to_const_name_2(metric.metric_name)}} = {{ print_value ("string", metric.metric_name) }} as const; {%- endfor %} @@ -63,19 +66,19 @@ export const METRIC_{{metric.metric_name | to_const_name}} = {{ print_value ("st * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} */ -export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", attribute.fqn) }} as const; +export const ATTR_{{ to_const_name_2(attribute.fqn) }} = {{ print_value ("string", attribute.fqn) }} as const; {%- endfor %} {%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} {%- if attribute.is_enum %} -{%- set class_name = attribute.fqn | to_const_name %} +{%- set class_name = to_const_name_2(attribute.fqn) %} {%- set type = attribute.attr_type.enum_type %} {%- if attribute.attr_type.members is defined and attribute.attr_type.members|length > 0 %} {%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} /** - * Enum value {{ print_value(type, member.value) }} for attribute {@link ATTR_{{ attribute.fqn | to_const_name }}}. + * Enum value {{ print_value(type, member.value) }} for attribute {@link ATTR_{{ class_name }}}. {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -85,7 +88,7 @@ export const ATTR_{{attribute.fqn | to_const_name}} = {{ print_value ("string", * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. {%- endif %} */ -export const ENUM_{{class_name}}_VALUE_{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }} as const; +export const ENUM_{{class_name}}_VALUE_{{ to_const_name_2(member.member_id) }} = {{ print_value(type, member.value) }} as const; {%- endfor %} {%- endif %} {%- endif %} From 9ef2f465fda877f21e0a8c10ace1cab5713ca463 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 6 Jun 2024 10:53:50 -0400 Subject: [PATCH 20/47] Use builtin filter in macro --- scripts/semconv/templates/SemanticAttributes.ts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 index 3f67ac6d7c..379f766779 100644 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ b/scripts/semconv/templates/SemanticAttributes.ts.j2 @@ -18,7 +18,7 @@ {{ "'" if type == "string"}}{{value}}{{ "'" if type == "string"}} {%- endmacro %} {%- macro to_const_name_2(attr_name) %} -{{- attr_name | replace("_", "") | replace(".", "_") | to_const_name }} +{{- attr_name | replace("_", "") | replace(".", "_") | upper }} {%- endmacro %} //---------------------------------------------------------------------------------------------------------- From ce476113d60fe18dd679d8e91f2bbd47593970d6 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 25 Jul 2024 12:25:43 -0400 Subject: [PATCH 21/47] Move to weaver --- .../package.json | 1 + .../src/experimental.ts | 6087 ----------------- .../src/experimental_attributes.ts | 2267 ++++++ .../src/experimental_metrics.ts | 738 ++ .../src/index-experimental.ts | 6 +- .../src/index.ts | 3 +- .../src/stable.ts | 849 --- .../src/stable_attributes.ts | 292 + .../src/stable_metrics.ts | 218 + scripts/semconv/generate.sh | 36 +- .../templates/SemanticAttributes.ts.j2 | 96 - .../templates/registry/stable/common.j2 | 74 + .../templates/registry/stable/docstring.ts.j2 | 21 + .../stable/experimental_attributes.ts.j2 | 27 + .../stable/experimental_metrics.ts.j2 | 25 + .../registry/stable/stable_attributes.ts.j2 | 27 + .../registry/stable/stable_metrics.ts.j2 | 25 + .../templates/registry/stable/weaver.yaml | 36 + 18 files changed, 3769 insertions(+), 7059 deletions(-) delete mode 100644 packages/opentelemetry-semantic-conventions/src/experimental.ts create mode 100644 packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts create mode 100644 packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts delete mode 100644 packages/opentelemetry-semantic-conventions/src/stable.ts create mode 100644 packages/opentelemetry-semantic-conventions/src/stable_attributes.ts create mode 100644 packages/opentelemetry-semantic-conventions/src/stable_metrics.ts delete mode 100644 scripts/semconv/templates/SemanticAttributes.ts.j2 create mode 100644 scripts/semconv/templates/registry/stable/common.j2 create mode 100644 scripts/semconv/templates/registry/stable/docstring.ts.j2 create mode 100644 scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 create mode 100644 scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 create mode 100644 scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 create mode 100644 scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 create mode 100644 scripts/semconv/templates/registry/stable/weaver.yaml diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index d78650fd94..a918875098 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -45,6 +45,7 @@ "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "lint": "eslint . --ext .ts", + "lint:fix": "eslint . --ext .ts --fix", "version": "node ../../scripts/version-update.js", "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies", diff --git a/packages/opentelemetry-semantic-conventions/src/experimental.ts b/packages/opentelemetry-semantic-conventions/src/experimental.ts deleted file mode 100644 index 484f5c178c..0000000000 --- a/packages/opentelemetry-semantic-conventions/src/experimental.ts +++ /dev/null @@ -1,6087 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -//---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 -//---------------------------------------------------------------------------------------------------------- - -/** - * Total CPU time consumed. - * - * Note: Total CPU time consumed by the specific container on all available CPU cores. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time' as const; - -/** - * Disk bytes for the container. - * - * Note: The total number of bytes read/written successfully (aggregated from all disks). - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_CONTAINER_DISK_IO = 'container.disk.io' as const; - -/** - * Memory usage of the container. - * - * Note: Memory usage of the container. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage' as const; - -/** - * Network bytes for the container. - * - * Note: The number of bytes sent/received on all network interfaces by the container. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io' as const; - -/** - * The time it took to create a new connection. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_CREATETIME = 'db.client.connections.create_time' as const; - -/** - * The maximum number of idle open connections allowed. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max' as const; - -/** - * The minimum number of idle open connections allowed. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min' as const; - -/** - * The maximum number of open connections allowed. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max' as const; - -/** - * The number of pending requests for an open connection, cumulative for the entire pool. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_PENDINGREQUESTS = 'db.client.connections.pending_requests' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts' as const; - -/** - * The number of connections that are currently in state described by the `state` attribute. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage' as const; - -/** - * The time between borrowing a connection and returning it to the pool. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_USETIME = 'db.client.connections.use_time' as const; - -/** - * The time it took to obtain an open connection from the pool. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DB_CLIENT_CONNECTIONS_WAITTIME = 'db.client.connections.wait_time' as const; - -/** - * Measures the time taken to perform a DNS lookup. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration' as const; - -/** - * Number of invocation cold starts. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts' as const; - -/** - * Distribution of CPU usage per invocation. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_CPUUSAGE = 'faas.cpu_usage' as const; - -/** - * Number of invocation errors. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_ERRORS = 'faas.errors' as const; - -/** - * Measures the duration of the function's initialization, such as a cold start. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_INITDURATION = 'faas.init_duration' as const; - -/** - * Number of successful invocations. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_INVOCATIONS = 'faas.invocations' as const; - -/** - * Measures the duration of the function's logic execution. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_INVOKEDURATION = 'faas.invoke_duration' as const; - -/** - * Distribution of max memory usage per invocation. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_MEMUSAGE = 'faas.mem_usage' as const; - -/** - * Distribution of net I/O usage per invocation. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_NETIO = 'faas.net_io' as const; - -/** - * Number of invocation timeouts. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts' as const; - -/** - * Number of active HTTP requests. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_CLIENT_ACTIVEREQUESTS = 'http.client.active_requests' as const; - -/** - * The duration of the successfully established outbound HTTP connections. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration' as const; - -/** - * Number of outbound HTTP connections that are currently active or idle on the client. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_CLIENT_OPENCONNECTIONS = 'http.client.open_connections' as const; - -/** - * Size of HTTP client request bodies. - * - * Note: The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size' as const; - -/** - * Size of HTTP client response bodies. - * - * Note: The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size' as const; - -/** - * Number of active HTTP server requests. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_SERVER_ACTIVEREQUESTS = 'http.server.active_requests' as const; - -/** - * Size of HTTP server request bodies. - * - * Note: The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size' as const; - -/** - * Size of HTTP server response bodies. - * - * Note: The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size' as const; - -/** - * Number of buffers in the pool. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count' as const; - -/** - * Measure of total memory capacity of buffers. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit' as const; - -/** - * Measure of memory used by buffers. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage' as const; - -/** - * Measure of initial memory requested. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init' as const; - -/** - * Average CPU load of the whole system for the last minute as reported by the JVM. - * - * Note: The value range is [0,n], where n is the number of CPU cores - or a negative number if the value is not available. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()). - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_JVM_SYSTEM_CPU_LOAD1M = 'jvm.system.cpu.load_1m' as const; - -/** - * Recent CPU utilization for the whole system as reported by the JVM. - * - * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()). - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization' as const; - -/** - * Measures the duration of process operation. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration' as const; - -/** - * Measures the number of processed messages. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages' as const; - -/** - * Measures the duration of publish operation. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration' as const; - -/** - * Measures the number of published messages. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages' as const; - -/** - * Measures the duration of receive operation. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration' as const; - -/** - * Measures the number of received messages. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages' as const; - -/** - * Number of times the process has been context switched. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_CONTEXTSWITCHES = 'process.context_switches' as const; - -/** - * Total CPU seconds broken down by different states. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time' as const; - -/** - * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization' as const; - -/** - * Disk bytes transferred. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_DISK_IO = 'process.disk.io' as const; - -/** - * The amount of physical memory in use. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage' as const; - -/** - * The amount of committed virtual memory. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual' as const; - -/** - * Network bytes transferred. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_NETWORK_IO = 'process.network.io' as const; - -/** - * Number of file descriptors in use by the process. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_OPENFILEDESCRIPTOR_COUNT = 'process.open_file_descriptor.count' as const; - -/** - * Number of page faults the process has made. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults' as const; - -/** - * Process threads count. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_CLIENT_REQUESTSPERRPC = 'rpc.client.requests_per_rpc' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_CLIENT_RESPONSESPERRPC = 'rpc.client.responses_per_rpc' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_SERVER_REQUESTSPERRPC = 'rpc.server.requests_per_rpc' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_RPC_SERVER_RESPONSESPERRPC = 'rpc.server.responses_per_rpc' as const; - -/** - * Reports the current frequency of the CPU in Hz. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count' as const; - -/** - * Reports the number of actual physical processor cores on the hardware. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count' as const; - -/** - * Seconds each logical CPU spent on each mode. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_DISK_IO = 'system.disk.io' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_DISK_IOTIME = 'system.disk.io_time' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_DISK_OPERATIONTIME = 'system.disk.operation_time' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped' as const; - -/** - * 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 change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations' as const; - -/** - * Unix swap or windows pagefile usage. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage' as const; - -/** - * . - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization' as const; - -/** - * Total number of processes in each state. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count' as const; - -/** - * Total number of processes created over uptime of the host. - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created' as const; - -/** - * Identifies the class / type of event. - * - * Note: Event names are subject to the same rules as [attribute names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.31.0/specification/common/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_EVENT_NAME = 'event.name' as const; - -/** - * A unique identifier for the Log Record. - * - * Note: If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. - * The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_LOG_RECORD_UID = 'log.record.uid' as const; - -/** - * The stream associated with the log. See below for a list of well-known values. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_LOG_IOSTREAM = 'log.iostream' as const; - -/** - * The basename of the file. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_LOG_FILE_NAME = 'log.file.name' as const; - -/** - * The basename of the file, with symlinks resolved. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_LOG_FILE_NAMERESOLVED = 'log.file.name_resolved' as const; - -/** - * The full path to the file. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_LOG_FILE_PATH = 'log.file.path' as const; - -/** - * The full path to the file, with symlinks resolved. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_LOG_FILE_PATHRESOLVED = 'log.file.path_resolved' as const; - -/** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_IOS_STATE = 'ios.state' as const; - -/** - * This attribute represents the state the application has transitioned into at the occurrence of the event. - * - * Note: The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_ANDROID_STATE = 'android.state' as const; - -/** - * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_POOL_NAME = 'pool.name' as const; - -/** - * The state of a connection in the pool. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_STATE = 'state' as const; - -/** - * Name of the buffer pool. - * - * Note: Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name' as const; - -/** - * The CPU state for this data point. A process SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state' as const; - -/** - * Specifies whether the context switches for this data point were voluntary or involuntary. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_CONTEXTSWITCHTYPE = 'process.context_switch_type' as const; - -/** - * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_PAGING_FAULTTYPE = 'process.paging.fault_type' as const; - -/** - * The device identifier. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_DEVICE = 'system.device' as const; - -/** - * The logical CPU number [0..n-1]. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_CPU_LOGICALNUMBER = 'system.cpu.logical_number' as const; - -/** - * The CPU state for this data point. A system's CPU SHOULD be characterized *either* by data points with no `state` labels, *or only* data points with `state` labels. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state' as const; - -/** - * The memory state. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state' as const; - -/** - * The paging access direction. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction' as const; - -/** - * The memory paging state. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state' as const; - -/** - * The memory paging type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type' as const; - -/** - * The filesystem mode. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode' as const; - -/** - * The filesystem mount path. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint' as const; - -/** - * The filesystem state. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state' as const; - -/** - * The filesystem type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type' as const; - -/** - * A stateless protocol MUST NOT set this attribute. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state' as const; - -/** - * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status' as const; - -/** - * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_ANDROID_OS_APILEVEL = 'android.os.api_level' as const; - -/** - * The JSON-serialized value of each item in the `AttributeDefinitions` request field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTEDEFINITIONS = 'aws.dynamodb.attribute_definitions' as const; - -/** - * The value of the `AttributesToGet` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTESTOGET = 'aws.dynamodb.attributes_to_get' as const; - -/** - * The value of the `ConsistentRead` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_CONSISTENTREAD = 'aws.dynamodb.consistent_read' as const; - -/** - * The JSON-serialized value of each item in the `ConsumedCapacity` response field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_CONSUMEDCAPACITY = 'aws.dynamodb.consumed_capacity' as const; - -/** - * The value of the `Count` response parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; - -/** - * The value of the `ExclusiveStartTableName` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_EXCLUSIVESTARTTABLE = 'aws.dynamodb.exclusive_start_table' as const; - -/** - * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXUPDATES = 'aws.dynamodb.global_secondary_index_updates' as const; - -/** - * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXES = 'aws.dynamodb.global_secondary_indexes' as const; - -/** - * The value of the `IndexName` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_INDEXNAME = 'aws.dynamodb.index_name' as const; - -/** - * The JSON-serialized value of the `ItemCollectionMetrics` response field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_ITEMCOLLECTIONMETRICS = 'aws.dynamodb.item_collection_metrics' as const; - -/** - * The value of the `Limit` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; - -/** - * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_LOCALSECONDARYINDEXES = 'aws.dynamodb.local_secondary_indexes' as const; - -/** - * The value of the `ProjectionExpression` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; - -/** - * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_PROVISIONEDREADCAPACITY = 'aws.dynamodb.provisioned_read_capacity' as const; - -/** - * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_PROVISIONEDWRITECAPACITY = 'aws.dynamodb.provisioned_write_capacity' as const; - -/** - * The value of the `ScanIndexForward` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_SCANFORWARD = 'aws.dynamodb.scan_forward' as const; - -/** - * The value of the `ScannedCount` response parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_SCANNEDCOUNT = 'aws.dynamodb.scanned_count' as const; - -/** - * The value of the `Segment` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment' as const; - -/** - * The value of the `Select` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; - -/** - * The number of items in the `TableNames` response parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_TABLECOUNT = 'aws.dynamodb.table_count' as const; - -/** - * The keys in the `RequestItems` object field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_TABLENAMES = 'aws.dynamodb.table_names' as const; - -/** - * The value of the `TotalSegments` request parameter. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_DYNAMODB_TOTALSEGMENTS = 'aws.dynamodb.total_segments' as const; - -/** - * Array of brand name and version separated by a space. - * - * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_BROWSER_BRANDS = 'browser.brands' as const; - -/** - * Preferred language of the user using the browser. - * - * Note: This value is intended to be taken from the Navigator API `navigator.language`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_BROWSER_LANGUAGE = 'browser.language' as const; - -/** - * A boolean that is true if the browser is running on a mobile device. - * - * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_BROWSER_MOBILE = 'browser.mobile' as const; - -/** - * The platform on which the browser is running. - * - * Note: This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent. - * The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_BROWSER_PLATFORM = 'browser.platform' as const; - -/** - * The cloud account ID the resource is assigned to. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id' as const; - -/** - * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. - * - * Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUD_AVAILABILITYZONE = 'cloud.availability_zone' as const; - -/** - * The cloud platform in use. - * - * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUD_PLATFORM = 'cloud.platform' as const; - -/** - * Name of the cloud provider. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUD_PROVIDER = 'cloud.provider' as const; - -/** - * The geographical region the resource is running. - * - * Note: Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUD_REGION = 'cloud.region' as const; - -/** - * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP). - * - * Note: On some cloud providers, it may not be possible to determine the full ID at startup, - * so it may be necessary to set `cloud.resource_id` as a span attribute instead. - * - * The exact value to use for `cloud.resource_id` depends on the cloud provider. - * The following well-known definitions MUST be used if you set this attribute and they apply: - * - * * **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). - * Take care not to use the "invoked ARN" directly but replace any - * [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) - * with the resolved function version, as the same runtime instance may be invokable with - * multiple different aliases. - * * **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names) - * * **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function, - * *not* the function app, having the form - * `/subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`. - * This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share - * a TracerProvider. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUD_RESOURCEID = 'cloud.resource_id' as const; - -/** - * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUDEVENTS_EVENTID = 'cloudevents.event_id' as const; - -/** - * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUDEVENTS_EVENTSOURCE = 'cloudevents.event_source' as const; - -/** - * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUDEVENTS_EVENTSPECVERSION = 'cloudevents.event_spec_version' as const; - -/** - * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUDEVENTS_EVENTSUBJECT = 'cloudevents.event_subject' as const; - -/** - * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CLOUDEVENTS_EVENTTYPE = 'cloudevents.event_type' as const; - -/** - * The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CODE_COLUMN = 'code.column' as const; - -/** - * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CODE_FILEPATH = 'code.filepath' as const; - -/** - * The method or function name, or equivalent (usually rightmost part of the code unit's name). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CODE_FUNCTION = 'code.function' as const; - -/** - * The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CODE_LINENO = 'code.lineno' as const; - -/** - * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CODE_NAMESPACE = 'code.namespace' as const; - -/** - * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CODE_STACKTRACE = 'code.stacktrace' as const; - -/** - * The command used to run the container (i.e. the command name). - * - * Note: If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_COMMAND = 'container.command' as const; - -/** - * All the command arguments (including the command/executable itself) run by the container. [2]. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_COMMANDARGS = 'container.command_args' as const; - -/** - * The full command run by the container as a single string representing the full command. [2]. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_COMMANDLINE = 'container.command_line' as const; - -/** - * The CPU state for this data point. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state' as const; - -/** - * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_ID = 'container.id' as const; - -/** - * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. - * - * Note: Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. - * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. - * The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id' as const; - -/** - * Name of the image the container was built on. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; - -/** - * Repo digests of the container image as provided by the container runtime. - * - * Note: [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_IMAGE_REPODIGESTS = 'container.image.repo_digests' as const; - -/** - * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags' as const; - -/** - * Container name used by container runtime. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_NAME = 'container.name' as const; - -/** - * The container runtime managing this container. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; - -/** - * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_CONSISTENCYLEVEL = 'db.cassandra.consistency_level' as const; - -/** - * The data center of the coordinating node for a query. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc' as const; - -/** - * The ID of the coordinating node for a query. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id' as const; - -/** - * Whether or not the query is idempotent. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence' as const; - -/** - * The fetch size used for paging, i.e. how many rows will be returned at once. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_PAGESIZE = 'db.cassandra.page_size' as const; - -/** - * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_SPECULATIVEEXECUTIONCOUNT = 'db.cassandra.speculative_execution_count' as const; - -/** - * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). - * - * Note: This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table' as const; - -/** - * Unique Cosmos client instance id. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_CLIENTID = 'db.cosmosdb.client_id' as const; - -/** - * Cosmos client connection mode. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_CONNECTIONMODE = 'db.cosmosdb.connection_mode' as const; - -/** - * Cosmos DB container name. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container' as const; - -/** - * CosmosDB Operation Type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_OPERATIONTYPE = 'db.cosmosdb.operation_type' as const; - -/** - * RU consumed for that operation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_REQUESTCHARGE = 'db.cosmosdb.request_charge' as const; - -/** - * Request payload size in bytes. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_REQUESTCONTENTLENGTH = 'db.cosmosdb.request_content_length' as const; - -/** - * Cosmos DB status code. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_STATUSCODE = 'db.cosmosdb.status_code' as const; - -/** - * Cosmos DB sub status code. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_COSMOSDB_SUBSTATUSCODE = 'db.cosmosdb.sub_status_code' as const; - -/** - * Represents the identifier of an Elasticsearch cluster. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name' as const; - -/** - * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_INSTANCE_ID = 'db.instance.id' as const; - -/** - * The MongoDB collection being accessed within the database stated in `db.name`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection' as const; - -/** - * The Microsoft SQL Server [instance name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. - * - * Note: If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_MSSQL_INSTANCENAME = 'db.mssql.instance_name' as const; - -/** - * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). - * - * Note: In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_NAME = 'db.name' as const; - -/** - * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. - * - * Note: When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_OPERATION = 'db.operation' as const; - -/** - * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_REDIS_DATABASEINDEX = 'db.redis.database_index' as const; - -/** - * The name of the primary table that the operation is acting upon, including the database name (if applicable). - * - * Note: It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_SQL_TABLE = 'db.sql.table' as const; - -/** - * The database statement being executed. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_STATEMENT = 'db.statement' as const; - -/** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_SYSTEM = 'db.system' as const; - -/** - * Username for accessing the database. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DB_USER = 'db.user' as const; - -/** - * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). - * - * Note: `deployment.environment` does not affect the uniqueness constraints defined through - * the `service.namespace`, `service.name` and `service.instance.id` resource attributes. - * This implies that resources carrying the following attribute combinations MUST be - * considered to be identifying the same service: - * - * * `service.name=frontend`, `deployment.environment=production` - * * `service.name=frontend`, `deployment.environment=staging`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment' as const; - -/** - * Deprecated, use `server.address`, `server.port` attributes instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated "Replaced by `server.address` and `server.port`.". - */ -export const ATTR_DB_CONNECTIONSTRING = 'db.connection_string' as const; - -/** - * Deprecated, use `db.instance.id` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `db.instance.id`. - */ -export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name' as const; - -/** - * Removed, no replacement at this time. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Removed as not used. - */ -export const ATTR_DB_JDBC_DRIVERCLASSNAME = 'db.jdbc.driver_classname' as const; - -/** - * Deprecated, use `network.protocol.name` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ATTR_HTTP_FLAVOR = 'http.flavor' as const; - -/** - * Deprecated, use `http.request.method` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `http.request.method`. - */ -export const ATTR_HTTP_METHOD = 'http.method' as const; - -/** - * Deprecated, use `http.request.header.content-length` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `http.request.header.content-length`. - */ -export const ATTR_HTTP_REQUESTCONTENTLENGTH = 'http.request_content_length' as const; - -/** - * Deprecated, use `http.response.header.content-length` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `http.response.header.content-length`. - */ -export const ATTR_HTTP_RESPONSECONTENTLENGTH = 'http.response_content_length' as const; - -/** - * Deprecated, use `url.scheme` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `url.scheme` instead. - */ -export const ATTR_HTTP_SCHEME = 'http.scheme' as const; - -/** - * Deprecated, use `http.response.status_code` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `http.response.status_code`. - */ -export const ATTR_HTTP_STATUSCODE = 'http.status_code' as const; - -/** - * Deprecated, use `url.path` and `url.query` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Split to `url.path` and `url.query. - */ -export const ATTR_HTTP_TARGET = 'http.target' as const; - -/** - * Deprecated, use `url.full` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `url.full`. - */ -export const ATTR_HTTP_URL = 'http.url' as const; - -/** - * Deprecated, use `user_agent.original` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `user_agent.original`. - */ -export const ATTR_HTTP_USERAGENT = 'http.user_agent' as const; - -/** - * "Deprecated, use `messaging.destination.partition.id` instead.". - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `messaging.destination.partition.id`. - */ -export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition' as const; - -/** - * Deprecated, use `server.address`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `server.address`. - */ -export const ATTR_NET_HOST_NAME = 'net.host.name' as const; - -/** - * Deprecated, use `server.port`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `server.port`. - */ -export const ATTR_NET_HOST_PORT = 'net.host.port' as const; - -/** - * Deprecated, use `server.address` on client spans and `client.address` on server spans. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `server.address` on client spans and `client.address` on server spans. - */ -export const ATTR_NET_PEER_NAME = 'net.peer.name' as const; - -/** - * Deprecated, use `server.port` on client spans and `client.port` on server spans. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `server.port` on client spans and `client.port` on server spans. - */ -export const ATTR_NET_PEER_PORT = 'net.peer.port' as const; - -/** - * Deprecated, use `network.protocol.name`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name' as const; - -/** - * Deprecated, use `network.protocol.version`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.version`. - */ -export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version' as const; - -/** - * Deprecated, use `network.transport` and `network.type`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Split to `network.transport` and `network.type`. - */ -export const ATTR_NET_SOCK_FAMILY = 'net.sock.family' as const; - -/** - * Deprecated, use `network.local.address`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.local.address`. - */ -export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr' as const; - -/** - * Deprecated, use `network.local.port`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.local.port`. - */ -export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port' as const; - -/** - * Deprecated, use `network.peer.address`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.peer.address`. - */ -export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr' as const; - -/** - * Deprecated, no replacement at this time. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Removed. - */ -export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name' as const; - -/** - * Deprecated, use `network.peer.port`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.peer.port`. - */ -export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port' as const; - -/** - * Deprecated, use `network.transport`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.transport`. - */ -export const ATTR_NET_TRANSPORT = 'net.transport' as const; - -/** - * Deprecated, use `system.process.status` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `system.process.status`. - */ -export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status' as const; - -/** - * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. - * - * Note: When observed from the source side, and when communicating through an intermediary, `destination.address` SHOULD represent the destination address behind any intermediaries, for example proxies, if it's available. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DESTINATION_ADDRESS = 'destination.address' as const; - -/** - * Destination port number. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DESTINATION_PORT = 'destination.port' as const; - -/** - * A unique identifier representing the device. - * - * Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DEVICE_ID = 'device.id' as const; - -/** - * The name of the device manufacturer. - * - * Note: The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps SHOULD hardcode the value `Apple`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer' as const; - -/** - * The model identifier for the device. - * - * Note: It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier' as const; - -/** - * The marketing name for the device model. - * - * Note: It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DEVICE_MODEL_NAME = 'device.model.name' as const; - -/** - * The disk IO operation direction. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction' as const; - -/** - * The name being queried. - * - * Note: If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_DNS_QUESTION_NAME = 'dns.question.name' as const; - -/** - * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_ENDUSER_ID = 'enduser.id' as const; - -/** - * Actual/assumed role the client is making the request under extracted from token or application security context. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_ENDUSER_ROLE = 'enduser.role' as const; - -/** - * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_ENDUSER_SCOPE = 'enduser.scope' as const; - -/** - * A boolean that is true if the serverless function is executed for the first time (aka cold-start). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_COLDSTART = 'faas.coldstart' as const; - -/** - * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_CRON = 'faas.cron' as const; - -/** - * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection' as const; - -/** - * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name' as const; - -/** - * Describes the type of the operation that was performed on the data. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation' as const; - -/** - * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time' as const; - -/** - * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. - * - * Note: * **AWS Lambda:** Use the (full) log stream name. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_INSTANCE = 'faas.instance' as const; - -/** - * The invocation ID of the current function invocation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_INVOCATIONID = 'faas.invocation_id' as const; - -/** - * The name of the invoked function. - * - * Note: SHOULD be equal to the `faas.name` resource attribute of the invoked function. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_INVOKEDNAME = 'faas.invoked_name' as const; - -/** - * The cloud provider of the invoked function. - * - * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_INVOKEDPROVIDER = 'faas.invoked_provider' as const; - -/** - * The cloud region of the invoked function. - * - * Note: SHOULD be equal to the `cloud.region` resource attribute of the invoked function. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_INVOKEDREGION = 'faas.invoked_region' as const; - -/** - * The amount of memory available to the serverless function converted to Bytes. - * - * Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_MAXMEMORY = 'faas.max_memory' as const; - -/** - * The name of the single function that this runtime instance executes. - * - * Note: This is the name of the function as configured/deployed on the FaaS - * platform and is usually different from the name of the callback - * function (which may be stored in the - * [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes) - * span attributes). - * - * For some cloud providers, the above definition is ambiguous. The following - * definition of function name MUST be used for this attribute - * (and consequently the span name) for the listed cloud providers/products: - * - * * **Azure:** The full name `<FUNCAPP>/<FUNC>`, i.e., function app name - * followed by a forward slash followed by the function name (this form - * can also be seen in the resource JSON for the function). - * This means that a span attribute MUST be used, as an Azure function - * app can host multiple functions that would usually share - * a TracerProvider (see also the `cloud.resource_id` attribute). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_NAME = 'faas.name' as const; - -/** - * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_TIME = 'faas.time' as const; - -/** - * Type of the trigger which caused this function invocation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_TRIGGER = 'faas.trigger' as const; - -/** - * The immutable version of the function being executed. - * - * Note: Depending on the cloud provider and platform, use: - * - * * **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) - * (an integer represented as a decimal string). - * * **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) - * (i.e., the function name plus the revision suffix). - * * **Google Cloud Functions:** The value of the - * [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). - * * **Azure Functions:** Not applicable. Do not set this attribute. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_VERSION = 'faas.version' as const; - -/** - * The unique identifier of the feature flag. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FEATUREFLAG_KEY = 'feature_flag.key' as const; - -/** - * The name of the service provider that performs the flag evaluation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FEATUREFLAG_PROVIDERNAME = 'feature_flag.provider_name' as const; - -/** - * SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. - * - * Note: A semantic identifier, commonly referred to as a variant, provides a means - * for referring to a value without including the value itself. This can - * provide additional context for understanding the meaning behind a value. - * For example, the variant `red` maybe be used for the value `#c05543`. - * - * A stringified version of the value can be used in situations where a - * semantic identifier is unavailable. String representation of the value - * should be determined by the implementer. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FEATUREFLAG_VARIANT = 'feature_flag.variant' as const; - -/** - * Directory where the file is located. It should include the drive letter, when appropriate. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FILE_DIRECTORY = 'file.directory' as const; - -/** - * File extension, excluding the leading dot. - * - * Note: When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz"). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FILE_EXTENSION = 'file.extension' as const; - -/** - * Name of the file including the extension, without the directory. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FILE_NAME = 'file.name' as const; - -/** - * Full path to the file, including the file name. It should include the drive letter, when appropriate. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FILE_PATH = 'file.path' as const; - -/** - * File size in bytes. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FILE_SIZE = 'file.size' as const; - -/** - * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GCP_CLOUDRUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as const; - -/** - * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GCP_CLOUDRUN_JOB_TASKINDEX = 'gcp.cloud_run.job.task_index' as const; - -/** - * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname' as const; - -/** - * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name' as const; - -/** - * The CPU architecture the host system is running on. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_ARCH = 'host.arch' as const; - -/** - * The amount of level 2 memory cache available to the processor (in Bytes). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size' as const; - -/** - * Family or generation of the CPU. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family' as const; - -/** - * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id' as const; - -/** - * Model designation of the processor. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name' as const; - -/** - * Stepping or core revisions. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping' as const; - -/** - * Processor manufacturer identifier. A maximum 12-character string. - * - * Note: [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id' as const; - -/** - * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_ID = 'host.id' as const; - -/** - * VM image ID or host OS image ID. For Cloud, this value is from the provider. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_IMAGE_ID = 'host.image.id' as const; - -/** - * Name of the VM image or OS install the host was instantiated from. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_IMAGE_NAME = 'host.image.name' as const; - -/** - * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_IMAGE_VERSION = 'host.image.version' as const; - -/** - * Available IP addresses of the host, excluding loopback interfaces. - * - * Note: IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_IP = 'host.ip' as const; - -/** - * Available MAC addresses of the host, excluding loopback interfaces. - * - * Note: MAC Addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_MAC = 'host.mac' as const; - -/** - * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_NAME = 'host.name' as const; - -/** - * Type of host. For Cloud, this must be the machine type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_TYPE = 'host.type' as const; - -/** - * State of the HTTP connection in the HTTP connection pool. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state' as const; - -/** - * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size' as const; - -/** - * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size' as const; - -/** - * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size' as const; - -/** - * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size' as const; - -/** - * The name of the cluster. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; - -/** - * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. - * - * Note: K8s doesn't have support for obtaining a cluster ID. If this is ever - * added, we will recommend collecting the `k8s.cluster.uid` through the - * official APIs. In the meantime, we are able to use the `uid` of the - * `kube-system` namespace as a proxy for cluster ID. Read on for the - * rationale. - * - * Every object created in a K8s cluster is assigned a distinct UID. The - * `kube-system` namespace is used by Kubernetes itself and will exist - * for the lifetime of the cluster. Using the `uid` of the `kube-system` - * namespace is a reasonable proxy for the K8s ClusterID as it will only - * change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are - * UUIDs as standardized by - * [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). - * Which states: - * - * > If generated according to one of the mechanisms defined in Rec. - * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be - * different from all other UUIDs generated before 3603 A.D., or is - * extremely likely to be different (depending on the mechanism chosen). - * - * Therefore, UIDs between clusters should be extremely unlikely to - * conflict. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid' as const; - -/** - * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name' as const; - -/** - * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_CONTAINER_RESTARTCOUNT = 'k8s.container.restart_count' as const; - -/** - * The name of the CronJob. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name' as const; - -/** - * The UID of the CronJob. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid' as const; - -/** - * The name of the DaemonSet. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name' as const; - -/** - * The UID of the DaemonSet. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid' as const; - -/** - * The name of the Deployment. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name' as const; - -/** - * The UID of the Deployment. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const; - -/** - * The name of the Job. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_JOB_NAME = 'k8s.job.name' as const; - -/** - * The UID of the Job. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_JOB_UID = 'k8s.job.uid' as const; - -/** - * The name of the namespace that the pod is running in. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name' as const; - -/** - * The name of the Node. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_NODE_NAME = 'k8s.node.name' as const; - -/** - * The UID of the Node. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_NODE_UID = 'k8s.node.uid' as const; - -/** - * The name of the Pod. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_POD_NAME = 'k8s.pod.name' as const; - -/** - * The UID of the Pod. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_POD_UID = 'k8s.pod.uid' as const; - -/** - * The name of the ReplicaSet. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name' as const; - -/** - * The UID of the ReplicaSet. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid' as const; - -/** - * The name of the StatefulSet. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name' as const; - -/** - * The UID of the StatefulSet. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; - -/** - * The number of messages sent, received, or processed in the scope of the batching operation. - * - * Note: Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.message_count` for batching APIs and SHOULD NOT use it for single-message APIs. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_BATCH_MESSAGECOUNT = 'messaging.batch.message_count' as const; - -/** - * A unique identifier for the client that consumes or produces a message. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_CLIENTID = 'messaging.client_id' as const; - -/** - * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous' as const; - -/** - * The message destination name. - * - * Note: Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If - * the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name' as const; - -/** - * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id' as const; - -/** - * Low cardinality representation of the messaging destination name. - * - * Note: Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template' as const; - -/** - * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary' as const; - -/** - * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATIONPUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous' as const; - -/** - * The name of the original destination the message was published to. - * - * Note: The name SHOULD uniquely identify a specific queue, topic, or other entity within the broker. If - * the broker doesn't have such notion, the original destination name SHOULD uniquely identify the broker. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_DESTINATIONPUBLISH_NAME = 'messaging.destination_publish.name' as const; - -/** - * The name of the consumer group the event consumer is associated with. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group' as const; - -/** - * The UTC epoch seconds at which the message has been accepted and stored in the entity. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUEDTIME = 'messaging.eventhubs.message.enqueued_time' as const; - -/** - * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_GCPPUBSUB_MESSAGE_ORDERINGKEY = 'messaging.gcp_pubsub.message.ordering_key' as const; - -/** - * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group' as const; - -/** - * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. - * - * Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key' as const; - -/** - * The offset of a record in the corresponding Kafka partition. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset' as const; - -/** - * A boolean that is true if the message is a tombstone. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone' as const; - -/** - * The size of the message body in bytes. - * - * Note: This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed - * body size should be used. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size' as const; - -/** - * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_MESSAGE_CONVERSATIONID = 'messaging.message.conversation_id' as const; - -/** - * The size of the message body and metadata in bytes. - * - * Note: This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed - * size should be used. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size' as const; - -/** - * A value used by the messaging system as an identifier for the message, represented as a string. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id' as const; - -/** - * A string identifying the kind of messaging operation. - * - * Note: If a custom value is used, it MUST be of low cardinality. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_OPERATION = 'messaging.operation' as const; - -/** - * RabbitMQ message routing key. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTINGKEY = 'messaging.rabbitmq.destination.routing_key' as const; - -/** - * RabbitMQ message delivery tag. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERYTAG = 'messaging.rabbitmq.message.delivery_tag' as const; - -/** - * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_CLIENTGROUP = 'messaging.rocketmq.client_group' as const; - -/** - * Model of message consumption. This only applies to consumer spans. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL = 'messaging.rocketmq.consumption_model' as const; - -/** - * The delay time level for delay message, which determines the message delay time. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAYTIMELEVEL = 'messaging.rocketmq.message.delay_time_level' as const; - -/** - * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERYTIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp' as const; - -/** - * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group' as const; - -/** - * Key(s) of message, another way to mark message besides message id. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys' as const; - -/** - * The secondary classifier of message besides topic. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag' as const; - -/** - * Type of message. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type' as const; - -/** - * Namespace of RocketMQ resources, resources in different namespaces are individual. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace' as const; - -/** - * The name of the subscription in the topic messages are received from. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTIONNAME = 'messaging.servicebus.destination.subscription_name' as const; - -/** - * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS = 'messaging.servicebus.disposition_status' as const; - -/** - * Number of deliveries that have been attempted for this message. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERYCOUNT = 'messaging.servicebus.message.delivery_count' as const; - -/** - * The UTC epoch seconds at which the message has been accepted and stored in the entity. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUEDTIME = 'messaging.servicebus.message.enqueued_time' as const; - -/** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_SYSTEM = 'messaging.system' as const; - -/** - * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc' as const; - -/** - * The mobile carrier country code. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc' as const; - -/** - * The mobile carrier network code. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc' as const; - -/** - * The name of the mobile carrier. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name' as const; - -/** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype' as const; - -/** - * The internet connection type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type' as const; - -/** - * The network IO operation direction. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction' as const; - -/** - * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. - * - * Note: Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). - * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest' as const; - -/** - * Unique identifier for a particular build or compilation of the operating system. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OS_BUILDID = 'os.build_id' as const; - -/** - * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OS_DESCRIPTION = 'os.description' as const; - -/** - * Human readable operating system name. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OS_NAME = 'os.name' as const; - -/** - * The operating system type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OS_TYPE = 'os.type' as const; - -/** - * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OS_VERSION = 'os.version' as const; - -/** - * The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PEER_SERVICE = 'peer.service' as const; - -/** - * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_COMMAND = 'process.command' as const; - -/** - * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_COMMANDARGS = 'process.command_args' as const; - -/** - * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_COMMANDLINE = 'process.command_line' as const; - -/** - * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name' as const; - -/** - * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path' as const; - -/** - * The username of the user that owns the process. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_OWNER = 'process.owner' as const; - -/** - * Parent Process identifier (PPID). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_PARENTPID = 'process.parent_pid' as const; - -/** - * Process identifier (PID). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_PID = 'process.pid' as const; - -/** - * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description' as const; - -/** - * The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name' as const; - -/** - * The version of the runtime of this process, as returned by the runtime without modification. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; - -/** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_CONNECTRPC_ERRORCODE = 'rpc.connect_rpc.error_code' as const; - -/** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_GRPC_STATUSCODE = 'rpc.grpc.status_code' as const; - -/** - * `error.code` property of response if it is an error response. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_ERRORCODE = 'rpc.jsonrpc.error_code' as const; - -/** - * `error.message` property of response if it is an error response. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_ERRORMESSAGE = 'rpc.jsonrpc.error_message' as const; - -/** - * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_REQUESTID = 'rpc.jsonrpc.request_id' as const; - -/** - * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version' as const; - -/** - * The name of the (logical) method being called, must be equal to the $method part in the span name. - * - * Note: This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_METHOD = 'rpc.method' as const; - -/** - * The full (logical) name of the service being called, including its package name, if applicable. - * - * Note: This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_SERVICE = 'rpc.service' as const; - -/** - * A string identifying the remoting system. See below for a list of well-known identifiers. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_SYSTEM = 'rpc.system' as const; - -/** - * The string ID of the service instance. - * - * Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words - * `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to - * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled - * service). - * - * Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC - * 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of - * this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and - * SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. - * - * UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is - * needed. Similar to what can be seen in the man page for the - * [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying - * data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it - * or not via another resource attribute. - * - * For applications running behind an application server (like unicorn), we do not recommend using one identifier - * for all processes participating in the application. Instead, it's recommended each division (e.g. a worker - * thread in unicorn) to have its own instance.id. - * - * It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the - * service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will - * likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. - * However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance - * for that telemetry. This is typically the case for scraping receivers, as they know the target address and - * port. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id' as const; - -/** - * A namespace for `service.name`. - * - * Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SERVICE_NAMESPACE = 'service.namespace' as const; - -/** - * A unique id to identify a session. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SESSION_ID = 'session.id' as const; - -/** - * The previous `session.id` for this user, when known. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SESSION_PREVIOUSID = 'session.previous_id' as const; - -/** - * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. - * - * Note: When observed from the destination side, and when communicating through an intermediary, `source.address` SHOULD represent the source address behind any intermediaries, for example proxies, if it's available. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SOURCE_ADDRESS = 'source.address' as const; - -/** - * Source port number. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SOURCE_PORT = 'source.port' as const; - -/** - * The name of the auto instrumentation agent or distribution, if used. - * - * Note: Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to - * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name' as const; - -/** - * The version string of the auto instrumentation agent or distribution, if used. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version' as const; - -/** - * Current "managed" thread ID (as opposed to OS thread ID). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_THREAD_ID = 'thread.id' as const; - -/** - * Current thread name. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_THREAD_NAME = 'thread.name' as const; - -/** - * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. - * - * Note: The values allowed for `tls.cipher` MUST be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CIPHER = 'tls.cipher' as const; - -/** - * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; - -/** - * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_CERTIFICATECHAIN = 'tls.client.certificate_chain' as const; - -/** - * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5' as const; - -/** - * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1' as const; - -/** - * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256' as const; - -/** - * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer' as const; - -/** - * A hash that identifies clients based on how they perform an SSL/TLS handshake. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3' as const; - -/** - * Date/Time indicating when client certificate is no longer considered valid. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_NOTAFTER = 'tls.client.not_after' as const; - -/** - * Date/Time indicating when client certificate is first considered valid. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_NOTBEFORE = 'tls.client.not_before' as const; - -/** - * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_SERVERNAME = 'tls.client.server_name' as const; - -/** - * Distinguished name of subject of the x.509 certificate presented by the client. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; - -/** - * Array of ciphers offered by the client during the client hello. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CLIENT_SUPPORTEDCIPHERS = 'tls.client.supported_ciphers' as const; - -/** - * String indicating the curve used for the given cipher, when applicable. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_CURVE = 'tls.curve' as const; - -/** - * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_ESTABLISHED = 'tls.established' as const; - -/** - * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_NEXTPROTOCOL = 'tls.next_protocol' as const; - -/** - * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name' as const; - -/** - * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version' as const; - -/** - * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_RESUMED = 'tls.resumed' as const; - -/** - * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; - -/** - * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_CERTIFICATECHAIN = 'tls.server.certificate_chain' as const; - -/** - * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5' as const; - -/** - * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1' as const; - -/** - * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256' as const; - -/** - * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer' as const; - -/** - * A hash that identifies servers based on how they perform an SSL/TLS handshake. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s' as const; - -/** - * Date/Time indicating when server certificate is no longer considered valid. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_NOTAFTER = 'tls.server.not_after' as const; - -/** - * Date/Time indicating when server certificate is first considered valid. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_NOTBEFORE = 'tls.server.not_before' as const; - -/** - * Distinguished name of subject of the x.509 certificate presented by the server. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject' as const; - -/** - * Domain extracted from the `url.full`, such as "opentelemetry.io". - * - * Note: In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_DOMAIN = 'url.domain' as const; - -/** - * The file extension extracted from the `url.full`, excluding the leading dot. - * - * Note: The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_EXTENSION = 'url.extension' as const; - -/** - * Unmodified original URL as seen in the event source. - * - * Note: In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. - * `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_ORIGINAL = 'url.original' as const; - -/** - * Port extracted from the `url.full`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_PORT = 'url.port' as const; - -/** - * The highest registered url domain, stripped of the subdomain. - * - * Note: This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_REGISTEREDDOMAIN = 'url.registered_domain' as const; - -/** - * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. - * - * Note: The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_SUBDOMAIN = 'url.subdomain' as const; - -/** - * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. - * - * Note: This value can be determined precisely with the [public suffix list](http://publicsuffix.org). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_URL_TOPLEVELDOMAIN = 'url.top_level_domain' as const; - -/** - * Name of the user-agent extracted from original. Usually refers to the browser's name. - * - * Note: [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name SHOULD be selected. In such a scenario it should align with `user_agent.version`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_USERAGENT_NAME = 'user_agent.name' as const; - -/** - * Version of the user-agent extracted from original. Usually refers to the browser's version. - * - * Note: [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version SHOULD be selected. In such a scenario it should align with `user_agent.name`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_USERAGENT_VERSION = 'user_agent.version' as const; - -/** - * The ID of a running ECS task. The ID MUST be extracted from `task.arn`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id' as const; - -/** - * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn' as const; - -/** - * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn' as const; - -/** - * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype' as const; - -/** - * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn' as const; - -/** - * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family' as const; - -/** - * The revision for the task definition used to create the ECS task. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision' as const; - -/** - * The ARN of an EKS cluster. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn' as const; - -/** - * The Amazon Resource Name(s) (ARN) of the AWS log group(s). - * - * Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns' as const; - -/** - * The name(s) of the AWS log group(s) an application is writing to. - * - * Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names' as const; - -/** - * The ARN(s) of the AWS log stream(s). - * - * Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns' as const; - -/** - * The name(s) of the AWS log stream(s) an application is writing to. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names' as const; - -/** - * Unique identifier for the application. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HEROKU_APP_ID = 'heroku.app.id' as const; - -/** - * Commit hash for the current release. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; - -/** - * Time and date the release was created. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HEROKU_RELEASE_CREATIONTIMESTAMP = 'heroku.release.creation_timestamp' as const; - -/** - * The name of the web engine. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_WEBENGINE_NAME = 'webengine.name' as const; - -/** - * Additional description of the web engine (e.g. detailed version and edition information). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description' as const; - -/** - * The version of the web engine. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_WEBENGINE_VERSION = 'webengine.version' as const; - -/** - * None. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated use the `otel.scope.name` attribute. - */ -export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name' as const; - -/** - * None. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated use the `otel.scope.version` attribute. - */ -export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version' as const; - -/** - * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). - * - * Note: This may be different from `cloud.resource_id` if an alias is involved. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_LAMBDA_INVOKEDARN = 'aws.lambda.invoked_arn' as const; - -/** - * Parent-child Reference type. - * - * Note: The causal relationship between a child Span and a parent Span. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OPENTRACING_REFTYPE = 'opentracing.ref_type' as const; - -/** - * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_REQUESTID = 'aws.request_id' as const; - -/** - * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. - * - * Note: The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. - * This applies to almost all S3 operations except `list-buckets`. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; - -/** - * The source object (in the form `bucket`/`key`) for the copy operation. - * - * Note: The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter - * of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). - * This applies in particular to the following operations: - * - * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) - * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_S3_COPYSOURCE = 'aws.s3.copy_source' as const; - -/** - * The delete request container that specifies the objects to be deleted. - * - * Note: The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. - * The `delete` attribute corresponds to the `--delete` parameter of the - * [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_S3_DELETE = 'aws.s3.delete' as const; - -/** - * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. - * - * Note: The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. - * This applies in particular to the following operations: - * - * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) - * - [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) - * - [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) - * - [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html) - * - [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html) - * - [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html) - * - [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html) - * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) - * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) - * - [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html) - * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) - * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) - * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_S3_KEY = 'aws.s3.key' as const; - -/** - * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. - * - * Note: The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) - * and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. - * The `part_number` attribute corresponds to the `--part-number` parameter of the - * [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_S3_PARTNUMBER = 'aws.s3.part_number' as const; - -/** - * Upload ID that identifies the multipart upload. - * - * Note: The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter - * of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. - * This applies in particular to the following operations: - * - * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) - * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) - * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) - * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) - * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_AWS_S3_UPLOADID = 'aws.s3.upload_id' as const; - -/** - * The GraphQL document being executed. - * - * Note: The value may be sanitized to exclude sensitive information. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document' as const; - -/** - * The name of the operation being executed. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name' as const; - -/** - * The type of the operation being executed. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type' as const; - -/** - * Compressed size of the message in bytes. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGE_COMPRESSEDSIZE = 'message.compressed_size' as const; - -/** - * MUST be calculated as two different counters starting from `1` one for sent messages and one for received message. - * - * Note: This way we guarantee that the values will be consistent between different implementations. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGE_ID = 'message.id' as const; - -/** - * Whether this is a received or sent message. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGE_TYPE = 'message.type' as const; - -/** - * Uncompressed size of the message in bytes. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGE_UNCOMPRESSEDSIZE = 'message.uncompressed_size' as const; - -/** - * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_LOG_IOSTREAM_VALUE_STDOUT = 'stdout' as const; - -/** - * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_LOG_IOSTREAM_VALUE_STDERR = 'stderr' as const; - -/** - * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_IOS_STATE_VALUE_ACTIVE = 'active' as const; - -/** - * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_IOS_STATE_VALUE_INACTIVE = 'inactive' as const; - -/** - * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_IOS_STATE_VALUE_BACKGROUND = 'background' as const; - -/** - * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_IOS_STATE_VALUE_FOREGROUND = 'foreground' as const; - -/** - * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_IOS_STATE_VALUE_TERMINATE = 'terminate' as const; - -/** - * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_ANDROID_STATE_VALUE_CREATED = 'created' as const; - -/** - * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_ANDROID_STATE_VALUE_BACKGROUND = 'background' as const; - -/** - * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_ANDROID_STATE_VALUE_FOREGROUND = 'foreground' as const; - -/** - * Enum value 'idle' for attribute {@link ATTR_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_STATE_VALUE_IDLE = 'idle' as const; - -/** - * Enum value 'used' for attribute {@link ATTR_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_STATE_VALUE_USED = 'used' as const; - -/** - * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_CPU_STATE_VALUE_SYSTEM = 'system' as const; - -/** - * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_CPU_STATE_VALUE_USER = 'user' as const; - -/** - * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_CPU_STATE_VALUE_WAIT = 'wait' as const; - -/** - * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXTSWITCHTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_CONTEXTSWITCHTYPE_VALUE_VOLUNTARY = 'voluntary' as const; - -/** - * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXTSWITCHTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_CONTEXTSWITCHTYPE_VALUE_INVOLUNTARY = 'involuntary' as const; - -/** - * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULTTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_PAGING_FAULTTYPE_VALUE_MAJOR = 'major' as const; - -/** - * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULTTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_PROCESS_PAGING_FAULTTYPE_VALUE_MINOR = 'minor' as const; - -/** - * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_USER = 'user' as const; - -/** - * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system' as const; - -/** - * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_NICE = 'nice' as const; - -/** - * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_IDLE = 'idle' as const; - -/** - * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait' as const; - -/** - * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt' as const; - -/** - * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_CPU_STATE_VALUE_STEAL = 'steal' as const; - -/** - * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_MEMORY_STATE_VALUE_USED = 'used' as const; - -/** - * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_MEMORY_STATE_VALUE_FREE = 'free' as const; - -/** - * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared' as const; - -/** - * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers' as const; - -/** - * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached' as const; - -/** - * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in' as const; - -/** - * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out' as const; - -/** - * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PAGING_STATE_VALUE_USED = 'used' as const; - -/** - * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PAGING_STATE_VALUE_FREE = 'free' as const; - -/** - * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major' as const; - -/** - * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor' as const; - -/** - * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used' as const; - -/** - * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free' as const; - -/** - * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved' as const; - -/** - * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32' as const; - -/** - * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat' as const; - -/** - * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs' as const; - -/** - * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs' as const; - -/** - * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus' as const; - -/** - * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4' as const; - -/** - * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close' as const; - -/** - * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSEWAIT = 'close_wait' as const; - -/** - * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing' as const; - -/** - * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete' as const; - -/** - * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established' as const; - -/** - * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FINWAIT1 = 'fin_wait_1' as const; - -/** - * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_FINWAIT2 = 'fin_wait_2' as const; - -/** - * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LASTACK = 'last_ack' as const; - -/** - * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen' as const; - -/** - * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYNRECV = 'syn_recv' as const; - -/** - * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_SYNSENT = 'syn_sent' as const; - -/** - * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_NETWORK_STATE_VALUE_TIMEWAIT = 'time_wait' as const; - -/** - * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running' as const; - -/** - * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping' as const; - -/** - * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped' as const; - -/** - * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct' as const; - -/** - * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABACLOUDECS = 'alibaba_cloud_ecs' as const; - -/** - * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABACLOUDFC = 'alibaba_cloud_fc' as const; - -/** - * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_ALIBABACLOUDOPENSHIFT = 'alibaba_cloud_openshift' as const; - -/** - * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSEC2 = 'aws_ec2' as const; - -/** - * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSECS = 'aws_ecs' as const; - -/** - * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSEKS = 'aws_eks' as const; - -/** - * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSLAMBDA = 'aws_lambda' as const; - -/** - * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSELASTICBEANSTALK = 'aws_elastic_beanstalk' as const; - -/** - * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSAPPRUNNER = 'aws_app_runner' as const; - -/** - * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AWSOPENSHIFT = 'aws_openshift' as const; - -/** - * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZUREVM = 'azure_vm' as const; - -/** - * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURECONTAINERAPPS = 'azure_container_apps' as const; - -/** - * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZURECONTAINERINSTANCES = 'azure_container_instances' as const; - -/** - * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZUREAKS = 'azure_aks' as const; - -/** - * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZUREFUNCTIONS = 'azure_functions' as const; - -/** - * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZUREAPPSERVICE = 'azure_app_service' as const; - -/** - * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_AZUREOPENSHIFT = 'azure_openshift' as const; - -/** - * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPBAREMETALSOLUTION = 'gcp_bare_metal_solution' as const; - -/** - * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPCOMPUTEENGINE = 'gcp_compute_engine' as const; - -/** - * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPCLOUDRUN = 'gcp_cloud_run' as const; - -/** - * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPKUBERNETESENGINE = 'gcp_kubernetes_engine' as const; - -/** - * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPCLOUDFUNCTIONS = 'gcp_cloud_functions' as const; - -/** - * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPAPPENGINE = 'gcp_app_engine' as const; - -/** - * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_GCPOPENSHIFT = 'gcp_openshift' as const; - -/** - * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_IBMCLOUDOPENSHIFT = 'ibm_cloud_openshift' as const; - -/** - * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_TENCENTCLOUDCVM = 'tencent_cloud_cvm' as const; - -/** - * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_TENCENTCLOUDEKS = 'tencent_cloud_eks' as const; - -/** - * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PLATFORM_VALUE_TENCENTCLOUDSCF = 'tencent_cloud_scf' as const; - -/** - * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_ALIBABACLOUD = 'alibaba_cloud' as const; - -/** - * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_AWS = 'aws' as const; - -/** - * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_AZURE = 'azure' as const; - -/** - * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_GCP = 'gcp' as const; - -/** - * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_HEROKU = 'heroku' as const; - -/** - * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_IBMCLOUD = 'ibm_cloud' as const; - -/** - * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CLOUD_PROVIDER_VALUE_TENCENTCLOUD = 'tencent_cloud' as const; - -/** - * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CONTAINER_CPU_STATE_VALUE_USER = 'user' as const; - -/** - * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system' as const; - -/** - * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel' as const; - -/** - * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_ALL = 'all' as const; - -/** - * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_EACHQUORUM = 'each_quorum' as const; - -/** - * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_QUORUM = 'quorum' as const; - -/** - * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_LOCALQUORUM = 'local_quorum' as const; - -/** - * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_ONE = 'one' as const; - -/** - * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_TWO = 'two' as const; - -/** - * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_THREE = 'three' as const; - -/** - * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_LOCALONE = 'local_one' as const; - -/** - * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_ANY = 'any' as const; - -/** - * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_SERIAL = 'serial' as const; - -/** - * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCYLEVEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_CASSANDRA_CONSISTENCYLEVEL_VALUE_LOCALSERIAL = 'local_serial' as const; - -/** - * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTIONMODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_CONNECTIONMODE_VALUE_GATEWAY = 'gateway' as const; - -/** - * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTIONMODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_CONNECTIONMODE_VALUE_DIRECT = 'direct' as const; - -/** - * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_INVALID = 'Invalid' as const; - -/** - * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_CREATE = 'Create' as const; - -/** - * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_PATCH = 'Patch' as const; - -/** - * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_READ = 'Read' as const; - -/** - * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_READFEED = 'ReadFeed' as const; - -/** - * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_DELETE = 'Delete' as const; - -/** - * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_REPLACE = 'Replace' as const; - -/** - * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_EXECUTE = 'Execute' as const; - -/** - * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_QUERY = 'Query' as const; - -/** - * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_HEAD = 'Head' as const; - -/** - * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_HEADFEED = 'HeadFeed' as const; - -/** - * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_UPSERT = 'Upsert' as const; - -/** - * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_BATCH = 'Batch' as const; - -/** - * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_QUERYPLAN = 'QueryPlan' as const; - -/** - * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATIONTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_COSMOSDB_OPERATIONTYPE_VALUE_EXECUTEJAVASCRIPT = 'ExecuteJavaScript' as const; - -/** - * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_OTHERSQL = 'other_sql' as const; - -/** - * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MSSQL = 'mssql' as const; - -/** - * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact' as const; - -/** - * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MYSQL = 'mysql' as const; - -/** - * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_ORACLE = 'oracle' as const; - -/** - * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_DB2 = 'db2' as const; - -/** - * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql' as const; - -/** - * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_REDSHIFT = 'redshift' as const; - -/** - * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_HIVE = 'hive' as const; - -/** - * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape' as const; - -/** - * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_HSQLDB = 'hsqldb' as const; - -/** - * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_PROGRESS = 'progress' as const; - -/** - * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MAXDB = 'maxdb' as const; - -/** - * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_HANADB = 'hanadb' as const; - -/** - * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_INGRES = 'ingres' as const; - -/** - * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql' as const; - -/** - * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_EDB = 'edb' as const; - -/** - * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_CACHE = 'cache' as const; - -/** - * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_ADABAS = 'adabas' as const; - -/** - * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_FIREBIRD = 'firebird' as const; - -/** - * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_DERBY = 'derby' as const; - -/** - * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_FILEMAKER = 'filemaker' as const; - -/** - * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_INFORMIX = 'informix' as const; - -/** - * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_INSTANTDB = 'instantdb' as const; - -/** - * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_INTERBASE = 'interbase' as const; - -/** - * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MARIADB = 'mariadb' as const; - -/** - * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_NETEZZA = 'netezza' as const; - -/** - * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_PERVASIVE = 'pervasive' as const; - -/** - * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_POINTBASE = 'pointbase' as const; - -/** - * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_SQLITE = 'sqlite' as const; - -/** - * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_SYBASE = 'sybase' as const; - -/** - * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_TERADATA = 'teradata' as const; - -/** - * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_VERTICA = 'vertica' as const; - -/** - * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_H2 = 'h2' as const; - -/** - * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion' as const; - -/** - * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_CASSANDRA = 'cassandra' as const; - -/** - * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_HBASE = 'hbase' as const; - -/** - * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MONGODB = 'mongodb' as const; - -/** - * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_REDIS = 'redis' as const; - -/** - * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_COUCHBASE = 'couchbase' as const; - -/** - * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_COUCHDB = 'couchdb' as const; - -/** - * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb' as const; - -/** - * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb' as const; - -/** - * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_NEO4J = 'neo4j' as const; - -/** - * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_GEODE = 'geode' as const; - -/** - * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch' as const; - -/** - * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_MEMCACHED = 'memcached' as const; - -/** - * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb' as const; - -/** - * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch' as const; - -/** - * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse' as const; - -/** - * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_SPANNER = 'spanner' as const; - -/** - * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DB_SYSTEM_VALUE_TRINO = 'trino' as const; - -/** - * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP10 = '1.0' as const; - -/** - * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP11 = '1.1' as const; - -/** - * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP20 = '2.0' as const; - -/** - * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ENUM_HTTP_FLAVOR_VALUE_HTTP30 = '3.0' as const; - -/** - * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ENUM_HTTP_FLAVOR_VALUE_SPDY = 'SPDY' as const; - -/** - * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.protocol.name`. - */ -export const ENUM_HTTP_FLAVOR_VALUE_QUIC = 'QUIC' as const; - -/** - * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Split to `network.transport` and `network.type`. - */ -export const ENUM_NET_SOCK_FAMILY_VALUE_INET = 'inet' as const; - -/** - * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Split to `network.transport` and `network.type`. - */ -export const ENUM_NET_SOCK_FAMILY_VALUE_INET6 = 'inet6' as const; - -/** - * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Split to `network.transport` and `network.type`. - */ -export const ENUM_NET_SOCK_FAMILY_VALUE_UNIX = 'unix' as const; - -/** - * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.transport`. - */ -export const ENUM_NET_TRANSPORT_VALUE_IPTCP = 'ip_tcp' as const; - -/** - * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.transport`. - */ -export const ENUM_NET_TRANSPORT_VALUE_IPUDP = 'ip_udp' as const; - -/** - * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.transport`. - */ -export const ENUM_NET_TRANSPORT_VALUE_PIPE = 'pipe' as const; - -/** - * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.transport`. - */ -export const ENUM_NET_TRANSPORT_VALUE_INPROC = 'inproc' as const; - -/** - * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `network.transport`. - */ -export const ENUM_NET_TRANSPORT_VALUE_OTHER = 'other' as const; - -/** - * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `system.process.status`. - */ -export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running' as const; - -/** - * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `system.process.status`. - */ -export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping' as const; - -/** - * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `system.process.status`. - */ -export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped' as const; - -/** - * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - * - * @deprecated Replaced by `system.process.status`. - */ -export const ENUM_SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct' as const; - -/** - * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DISK_IO_DIRECTION_VALUE_READ = 'read' as const; - -/** - * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_DISK_IO_DIRECTION_VALUE_WRITE = 'write' as const; - -/** - * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert' as const; - -/** - * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit' as const; - -/** - * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete' as const; - -/** - * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_ALIBABACLOUD = 'alibaba_cloud' as const; - -/** - * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_AWS = 'aws' as const; - -/** - * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_AZURE = 'azure' as const; - -/** - * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_GCP = 'gcp' as const; - -/** - * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKEDPROVIDER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_INVOKEDPROVIDER_VALUE_TENCENTCLOUD = 'tencent_cloud' as const; - -/** - * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource' as const; - -/** - * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_TRIGGER_VALUE_HTTP = 'http' as const; - -/** - * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub' as const; - -/** - * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_TRIGGER_VALUE_TIMER = 'timer' as const; - -/** - * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_FAAS_TRIGGER_VALUE_OTHER = 'other' as const; - -/** - * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_AMD64 = 'amd64' as const; - -/** - * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_ARM32 = 'arm32' as const; - -/** - * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_ARM64 = 'arm64' as const; - -/** - * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_IA64 = 'ia64' as const; - -/** - * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_PPC32 = 'ppc32' as const; - -/** - * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_PPC64 = 'ppc64' as const; - -/** - * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_S390X = 's390x' as const; - -/** - * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HOST_ARCH_VALUE_X86 = 'x86' as const; - -/** - * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active' as const; - -/** - * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle' as const; - -/** - * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_OPERATION_VALUE_PUBLISH = 'publish' as const; - -/** - * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_OPERATION_VALUE_CREATE = 'create' as const; - -/** - * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_OPERATION_VALUE_RECEIVE = 'receive' as const; - -/** - * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_OPERATION_VALUE_DELIVER = 'process' as const; - -/** - * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_OPERATION_VALUE_SETTLE = 'settle' as const; - -/** - * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUE_CLUSTERING = 'clustering' as const; - -/** - * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL_VALUE_BROADCASTING = 'broadcasting' as const; - -/** - * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal' as const; - -/** - * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo' as const; - -/** - * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay' as const; - -/** - * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction' as const; - -/** - * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_COMPLETE = 'complete' as const; - -/** - * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_ABANDON = 'abandon' as const; - -/** - * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_DEADLETTER = 'dead_letter' as const; - -/** - * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS_VALUE_DEFER = 'defer' as const; - -/** - * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq' as const; - -/** - * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_AWSSQS = 'aws_sqs' as const; - -/** - * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid' as const; - -/** - * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs' as const; - -/** - * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus' as const; - -/** - * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_GCPPUBSUB = 'gcp_pubsub' as const; - -/** - * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_JMS = 'jms' as const; - -/** - * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka' as const; - -/** - * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq' as const; - -/** - * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq' as const; - -/** - * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs' as const; - -/** - * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge' as const; - -/** - * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts' as const; - -/** - * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma' as const; - -/** - * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO0 = 'evdo_0' as const; - -/** - * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDOA = 'evdo_a' as const; - -/** - * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA20001XRTT = 'cdma2000_1xrtt' as const; - -/** - * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa' as const; - -/** - * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa' as const; - -/** - * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa' as const; - -/** - * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden' as const; - -/** - * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDOB = 'evdo_b' as const; - -/** - * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte' as const; - -/** - * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd' as const; - -/** - * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap' as const; - -/** - * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm' as const; - -/** - * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_TDSCDMA = 'td_scdma' as const; - -/** - * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan' as const; - -/** - * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr' as const; - -/** - * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa' as const; - -/** - * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_SUBTYPE_VALUE_LTECA = 'lte_ca' as const; - -/** - * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi' as const; - -/** - * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired' as const; - -/** - * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell' as const; - -/** - * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable' as const; - -/** - * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown' as const; - -/** - * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit' as const; - -/** - * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive' as const; - -/** - * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_WINDOWS = 'windows' as const; - -/** - * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_LINUX = 'linux' as const; - -/** - * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_DARWIN = 'darwin' as const; - -/** - * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_FREEBSD = 'freebsd' as const; - -/** - * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_NETBSD = 'netbsd' as const; - -/** - * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_OPENBSD = 'openbsd' as const; - -/** - * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd' as const; - -/** - * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_HPUX = 'hpux' as const; - -/** - * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_AIX = 'aix' as const; - -/** - * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_SOLARIS = 'solaris' as const; - -/** - * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OS_TYPE_VALUE_ZOS = 'z_os' as const; - -/** - * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_CANCELLED = 'cancelled' as const; - -/** - * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNKNOWN = 'unknown' as const; - -/** - * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_INVALIDARGUMENT = 'invalid_argument' as const; - -/** - * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_DEADLINEEXCEEDED = 'deadline_exceeded' as const; - -/** - * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_NOTFOUND = 'not_found' as const; - -/** - * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_ALREADYEXISTS = 'already_exists' as const; - -/** - * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_PERMISSIONDENIED = 'permission_denied' as const; - -/** - * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_RESOURCEEXHAUSTED = 'resource_exhausted' as const; - -/** - * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_FAILEDPRECONDITION = 'failed_precondition' as const; - -/** - * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_ABORTED = 'aborted' as const; - -/** - * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_OUTOFRANGE = 'out_of_range' as const; - -/** - * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNIMPLEMENTED = 'unimplemented' as const; - -/** - * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_INTERNAL = 'internal' as const; - -/** - * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNAVAILABLE = 'unavailable' as const; - -/** - * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_DATALOSS = 'data_loss' as const; - -/** - * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECTRPC_ERRORCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_CONNECTRPC_ERRORCODE_VALUE_UNAUTHENTICATED = 'unauthenticated' as const; - -/** - * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_OK = 0 as const; - -/** - * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_CANCELLED = 1 as const; - -/** - * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNKNOWN = 2 as const; - -/** - * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_INVALIDARGUMENT = 3 as const; - -/** - * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_DEADLINEEXCEEDED = 4 as const; - -/** - * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_NOTFOUND = 5 as const; - -/** - * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_ALREADYEXISTS = 6 as const; - -/** - * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_PERMISSIONDENIED = 7 as const; - -/** - * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_RESOURCEEXHAUSTED = 8 as const; - -/** - * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_FAILEDPRECONDITION = 9 as const; - -/** - * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_ABORTED = 10 as const; - -/** - * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_OUTOFRANGE = 11 as const; - -/** - * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNIMPLEMENTED = 12 as const; - -/** - * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_INTERNAL = 13 as const; - -/** - * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNAVAILABLE = 14 as const; - -/** - * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_DATALOSS = 15 as const; - -/** - * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUSCODE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_GRPC_STATUSCODE_VALUE_UNAUTHENTICATED = 16 as const; - -/** - * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_SYSTEM_VALUE_GRPC = 'grpc' as const; - -/** - * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_SYSTEM_VALUE_JAVARMI = 'java_rmi' as const; - -/** - * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_SYSTEM_VALUE_DOTNETWCF = 'dotnet_wcf' as const; - -/** - * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_SYSTEM_VALUE_APACHEDUBBO = 'apache_dubbo' as const; - -/** - * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_RPC_SYSTEM_VALUE_CONNECTRPC = 'connect_rpc' as const; - -/** - * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl' as const; - -/** - * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_TLS_PROTOCOL_NAME_VALUE_TLS = 'tls' as const; - -/** - * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2' as const; - -/** - * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate' as const; - -/** - * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REFTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OPENTRACING_REFTYPE_VALUE_CHILDOF = 'child_of' as const; - -/** - * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REFTYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_OPENTRACING_REFTYPE_VALUE_FOLLOWSFROM = 'follows_from' as const; - -/** - * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query' as const; - -/** - * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation' as const; - -/** - * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = 'subscription' as const; - -/** - * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGE_TYPE_VALUE_SENT = 'SENT' as const; - -/** - * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ENUM_MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts new file mode 100644 index 0000000000..6157ce4aa3 --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -0,0 +1,2267 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +/** + * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ANDROID_OS_APILEVEL = 'android.os.api_level'; + +/** + * The JSON-serialized value of each item in the `AttributeDefinitions` request field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_ATTRIBUTEDEFINITIONS = 'aws.dynamodb.attribute_definitions'; + +/** + * The value of the `AttributesToGet` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_ATTRIBUTESTOGET = 'aws.dynamodb.attributes_to_get'; + +/** + * The value of the `ConsistentRead` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_CONSISTENTREAD = 'aws.dynamodb.consistent_read'; + +/** + * The JSON-serialized value of each item in the `ConsumedCapacity` response field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_CONSUMEDCAPACITY = 'aws.dynamodb.consumed_capacity'; + +/** + * The value of the `Count` response parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; + +/** + * The value of the `ExclusiveStartTableName` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_EXCLUSIVESTARTTABLE = 'aws.dynamodb.exclusive_start_table'; + +/** + * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXUPDATES = 'aws.dynamodb.global_secondary_index_updates'; + +/** + * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXES = 'aws.dynamodb.global_secondary_indexes'; + +/** + * The value of the `IndexName` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_INDEXNAME = 'aws.dynamodb.index_name'; + +/** + * The JSON-serialized value of the `ItemCollectionMetrics` response field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_ITEMCOLLECTIONMETRICS = 'aws.dynamodb.item_collection_metrics'; + +/** + * The value of the `Limit` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; + +/** + * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_LOCALSECONDARYINDEXES = 'aws.dynamodb.local_secondary_indexes'; + +/** + * The value of the `ProjectionExpression` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; + +/** + * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_PROVISIONEDREADCAPACITY = 'aws.dynamodb.provisioned_read_capacity'; + +/** + * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_PROVISIONEDWRITECAPACITY = 'aws.dynamodb.provisioned_write_capacity'; + +/** + * The value of the `ScanIndexForward` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_SCANFORWARD = 'aws.dynamodb.scan_forward'; + +/** + * The value of the `ScannedCount` response parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_SCANNEDCOUNT = 'aws.dynamodb.scanned_count'; + +/** + * The value of the `Segment` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; + +/** + * The value of the `Select` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; + +/** + * The number of items in the `TableNames` response parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_TABLECOUNT = 'aws.dynamodb.table_count'; + +/** + * The keys in the `RequestItems` object field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_TABLENAMES = 'aws.dynamodb.table_names'; + +/** + * The value of the `TotalSegments` request parameter. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_DYNAMODB_TOTALSEGMENTS = 'aws.dynamodb.total_segments'; + +/** + * Array of brand name and version separated by a space + * + * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_BROWSER_BRANDS = 'browser.brands'; + +/** + * Preferred language of the user using the browser + * + * @note This value is intended to be taken from the Navigator API `navigator.language`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_BROWSER_LANGUAGE = 'browser.language'; + +/** + * A boolean that is true if the browser is running on a mobile device + * + * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute **SHOULD** be left unset. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_BROWSER_MOBILE = 'browser.mobile'; + +/** + * The platform on which the browser is running + * + * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API **SHOULD** **NOT** be used instead and this attribute **SHOULD** be left unset in order for the values to be consistent. + * The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_BROWSER_PLATFORM = 'browser.platform'; + +/** + * The cloud account ID the resource is assigned to. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; + +/** + * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. + * + * @note Availability zones are called "zones" on Alibaba Cloud and Google Cloud. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUD_AVAILABILITYZONE = 'cloud.availability_zone'; + +/** + * The cloud platform in use. + * + * @note The prefix of the service **SHOULD** match the one specified in `cloud.provider`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; + +/** + * Name of the cloud provider. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; + +/** + * The geographical region the resource is running. + * + * @note Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUD_REGION = 'cloud.region'; + +/** + * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP) + * + * @note On some cloud providers, it may not be possible to determine the full ID at startup, + * so it may be necessary to set `cloud.resource_id` as a span attribute instead. + * + * The exact value to use for `cloud.resource_id` depends on the cloud provider. + * The following well-known definitions **MUST** be used if you set this attribute and they apply: + * + * * **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + * Take care not to use the "invoked ARN" directly but replace any + * [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) + * with the resolved function version, as the same runtime instance may be invokable with + * multiple different aliases. + * * **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names) + * * **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function, + * *not* the function app, having the form + * `/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/`. + * This means that a span attribute **MUST** be used, as an Azure function app can host multiple functions that would usually share + * a TracerProvider. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUD_RESOURCEID = 'cloud.resource_id'; + +/** + * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUDEVENTS_EVENTID = 'cloudevents.event_id'; + +/** + * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUDEVENTS_EVENTSOURCE = 'cloudevents.event_source'; + +/** + * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUDEVENTS_EVENTSPECVERSION = 'cloudevents.event_spec_version'; + +/** + * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUDEVENTS_EVENTSUBJECT = 'cloudevents.event_subject'; + +/** + * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CLOUDEVENTS_EVENTTYPE = 'cloudevents.event_type'; + +/** + * The column number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CODE_COLUMN = 'code.column'; + +/** + * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CODE_FILEPATH = 'code.filepath'; + +/** + * The method or function name, or equivalent (usually rightmost part of the code unit's name). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CODE_FUNCTION = 'code.function'; + +/** + * The line number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CODE_LINENO = 'code.lineno'; + +/** + * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CODE_NAMESPACE = 'code.namespace'; + +/** + * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; + +/** + * The command used to run the container (i.e. the command name). + * + * @note If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_COMMAND = 'container.command'; + +/** + * All the command arguments (including the command/executable itself) run by the container. [2] + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_COMMANDARGS = 'container.command_args'; + +/** + * The full command run by the container as a single string representing the full command. [2] + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_COMMANDLINE = 'container.command_line'; + +/** + * The CPU state for this data point. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; + +/** + * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_ID = 'container.id'; + +/** + * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. + * + * @note Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. + * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. + * The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; + +/** + * Name of the image the container was built on. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; + +/** + * Repo digests of the container image as provided by the container runtime. + * + * @note [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_IMAGE_REPODIGESTS = 'container.image.repo_digests'; + +/** + * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; + +/** + * Container labels, `` being the label name, the value being the label value. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_LABEL = 'container.label'; + +/** + * Container name used by container runtime. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_NAME = 'container.name'; + +/** + * The container runtime managing this container. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; + +/** + * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCYLEVEL = 'db.cassandra.consistency_level'; + +/** + * The data center of the coordinating node for a query. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; + +/** + * The ID of the coordinating node for a query. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; + +/** + * Whether or not the query is idempotent. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; + +/** + * The fetch size used for paging, i.e. how many rows will be returned at once. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_PAGESIZE = 'db.cassandra.page_size'; + +/** + * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_SPECULATIVEEXECUTIONCOUNT = 'db.cassandra.speculative_execution_count'; + +/** + * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). + * + * @note This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value **MUST** **NOT** be set. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; + +/** + * Unique Cosmos client instance id. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_CLIENTID = 'db.cosmosdb.client_id'; + +/** + * Cosmos client connection mode. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_CONNECTIONMODE = 'db.cosmosdb.connection_mode'; + +/** + * Cosmos DB container name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; + +/** + * CosmosDB Operation Type. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_OPERATIONTYPE = 'db.cosmosdb.operation_type'; + +/** + * RU consumed for that operation + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_REQUESTCHARGE = 'db.cosmosdb.request_charge'; + +/** + * Request payload size in bytes + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_REQUESTCONTENTLENGTH = 'db.cosmosdb.request_content_length'; + +/** + * Cosmos DB status code. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_STATUSCODE = 'db.cosmosdb.status_code'; + +/** + * Cosmos DB sub status code. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COSMOSDB_SUBSTATUSCODE = 'db.cosmosdb.sub_status_code'; + +/** + * Represents the identifier of an Elasticsearch cluster. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; + +/** + * A dynamic value in the url path. + * + * @note Many Elasticsearch url paths allow dynamic values. These **SHOULD** be recorded in span attributes in the format `db.elasticsearch.path_parts.`, where `` is the url path part name. The implementation **SHOULD** reference the [elasticsearch schema](https://raw.githubusercontent.com/elastic/elasticsearch-specification/main/output/schema/schema.json) in order to map the path part values to their names. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_ELASTICSEARCH_PATHPARTS = 'db.elasticsearch.path_parts'; + +/** + * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; + +/** + * The MongoDB collection being accessed within the database stated in `db.name`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; + +/** + * The Microsoft SQL Server [instance name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. + * + * @note If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_MSSQL_INSTANCENAME = 'db.mssql.instance_name'; + +/** + * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). + * + * @note In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_NAME = 'db.name'; + +/** + * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. + * + * @note When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_OPERATION = 'db.operation'; + +/** + * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_REDIS_DATABASEINDEX = 'db.redis.database_index'; + +/** + * The name of the primary table that the operation is acting upon, including the database name (if applicable). + * + * @note It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value **MUST** **NOT** be set. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_SQL_TABLE = 'db.sql.table'; + +/** + * The database statement being executed. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_STATEMENT = 'db.statement'; + +/** + * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_SYSTEM = 'db.system'; + +/** + * Username for accessing the database. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_USER = 'db.user'; + +/** + * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). + * + * @note `deployment.environment` does not affect the uniqueness constraints defined through + * the `service.namespace`, `service.name` and `service.instance.id` resource attributes. + * This implies that resources carrying the following attribute combinations **MUST** be + * considered to be identifying the same service: + * + * * `service.name=frontend`, `deployment.environment=production` + * * `service.name=frontend`, `deployment.environment=staging`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; + +/** + * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * @note When observed from the source side, and when communicating through an intermediary, `destination.address` **SHOULD** represent the destination address behind any intermediaries, for example proxies, if it's available. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DESTINATION_ADDRESS = 'destination.address'; + +/** + * Destination port number + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DESTINATION_PORT = 'destination.port'; + +/** + * A unique identifier representing the device + * + * @note The device identifier **MUST** only be defined using the values outlined below. This value is not an advertising identifier and **MUST** **NOT** be used as such. On iOS (Swift or Objective-C), this value **MUST** be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value **MUST** be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEVICE_ID = 'device.id'; + +/** + * The name of the device manufacturer + * + * @note The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps **SHOULD** hardcode the value `Apple`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; + +/** + * The model identifier for the device + * + * @note It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; + +/** + * The marketing name for the device model + * + * @note It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; + +/** + * The disk IO operation direction. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; + +/** + * The name being queried. + * + * @note If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; + +/** + * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ENDUSER_ID = 'enduser.id'; + +/** + * Actual/assumed role the client is making the request under extracted from token or application security context. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ENDUSER_ROLE = 'enduser.role'; + +/** + * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; + +/** + * A boolean that is true if the serverless function is executed for the first time (aka cold-start). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; + +/** + * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_CRON = 'faas.cron'; + +/** + * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; + +/** + * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; + +/** + * Describes the type of the operation that was performed on the data. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; + +/** + * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; + +/** + * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. + * + * @note * **AWS Lambda:** Use the (full) log stream name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_INSTANCE = 'faas.instance'; + +/** + * The invocation ID of the current function invocation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_INVOCATIONID = 'faas.invocation_id'; + +/** + * The name of the invoked function. + * + * @note SHOULD be equal to the `faas.name` resource attribute of the invoked function. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_INVOKEDNAME = 'faas.invoked_name'; + +/** + * The cloud provider of the invoked function. + * + * @note SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_INVOKEDPROVIDER = 'faas.invoked_provider'; + +/** + * The cloud region of the invoked function. + * + * @note SHOULD be equal to the `cloud.region` resource attribute of the invoked function. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_INVOKEDREGION = 'faas.invoked_region'; + +/** + * The amount of memory available to the serverless function converted to Bytes. + * + * @note It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_MAXMEMORY = 'faas.max_memory'; + +/** + * The name of the single function that this runtime instance executes. + * + * @note This is the name of the function as configured/deployed on the FaaS + * platform and is usually different from the name of the callback + * function (which may be stored in the + * [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes) + * span attributes). + * + * For some cloud providers, the above definition is ambiguous. The following + * definition of function name **MUST** be used for this attribute + * (and consequently the span name) for the listed cloud providers/products: + * + * * **Azure:** The full name `/`, i.e., function app name + * followed by a forward slash followed by the function name (this form + * can also be seen in the resource JSON for the function). + * This means that a span attribute **MUST** be used, as an Azure function + * app can host multiple functions that would usually share + * a TracerProvider (see also the `cloud.resource_id` attribute). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_NAME = 'faas.name'; + +/** + * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_TIME = 'faas.time'; + +/** + * Type of the trigger which caused this function invocation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_TRIGGER = 'faas.trigger'; + +/** + * The immutable version of the function being executed. + * + * @note Depending on the cloud provider and platform, use: + * + * * **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) + * (an integer represented as a decimal string). + * * **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) + * (i.e., the function name plus the revision suffix). + * * **Google Cloud Functions:** The value of the + * [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). + * * **Azure Functions:** Not applicable. Do not set this attribute. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_VERSION = 'faas.version'; + +/** + * The unique identifier of the feature flag. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FEATUREFLAG_KEY = 'feature_flag.key'; + +/** + * The name of the service provider that performs the flag evaluation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FEATUREFLAG_PROVIDERNAME = 'feature_flag.provider_name'; + +/** + * **SHOULD** be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. + * + * @note A semantic identifier, commonly referred to as a variant, provides a means + * for referring to a value without including the value itself. This can + * provide additional context for understanding the meaning behind a value. + * For example, the variant `red` maybe be used for the value `#c05543`. + * + * A stringified version of the value can be used in situations where a + * semantic identifier is unavailable. String representation of the value + * should be determined by the implementer. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FEATUREFLAG_VARIANT = 'feature_flag.variant'; + +/** + * Directory where the file is located. It should include the drive letter, when appropriate. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FILE_DIRECTORY = 'file.directory'; + +/** + * File extension, excluding the leading dot. + * + * @note When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz"). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FILE_EXTENSION = 'file.extension'; + +/** + * Name of the file including the extension, without the directory. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FILE_NAME = 'file.name'; + +/** + * Full path to the file, including the file name. It should include the drive letter, when appropriate. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FILE_PATH = 'file.path'; + +/** + * File size in bytes. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FILE_SIZE = 'file.size'; + +/** + * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_GCP_CLOUDRUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; + +/** + * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_GCP_CLOUDRUN_JOB_TASKINDEX = 'gcp.cloud_run.job.task_index'; + +/** + * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; + +/** + * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; + +/** + * The CPU architecture the host system is running on. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_ARCH = 'host.arch'; + +/** + * The amount of level 2 memory cache available to the processor (in Bytes). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_CPU_CACHE_L_2_SIZE = 'host.cpu.cache.l2.size'; + +/** + * Family or generation of the CPU. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; + +/** + * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; + +/** + * Model designation of the processor. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; + +/** + * Stepping or core revisions. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; + +/** + * Processor manufacturer identifier. A maximum 12-character string. + * + * @note [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; + +/** + * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_ID = 'host.id'; + +/** + * VM image ID or host OS image ID. For Cloud, this value is from the provider. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_IMAGE_ID = 'host.image.id'; + +/** + * Name of the VM image or OS install the host was instantiated from. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; + +/** + * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; + +/** + * Available IP addresses of the host, excluding loopback interfaces. + * + * @note IPv4 Addresses **MUST** be specified in dotted-quad notation. IPv6 addresses **MUST** be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_IP = 'host.ip'; + +/** + * Available MAC addresses of the host, excluding loopback interfaces. + * + * @note MAC Addresses **MUST** be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_MAC = 'host.mac'; + +/** + * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_NAME = 'host.name'; + +/** + * Type of host. For Cloud, this must be the machine type. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HOST_TYPE = 'host.type'; + +/** + * State of the HTTP connection in the HTTP connection pool. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; + +/** + * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; + +/** + * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; + +/** + * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; + +/** + * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; + +/** + * The name of the cluster. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_CLUSTER_NAME = 'k8s.cluster.name'; + +/** + * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. + * + * @note K8s doesn't have support for obtaining a cluster ID. If this is ever + * added, we will recommend collecting the `k8s.cluster.uid` through the + * official APIs. In the meantime, we are able to use the `uid` of the + * `kube-system` namespace as a proxy for cluster ID. Read on for the + * rationale. + * + * Every object created in a K8s cluster is assigned a distinct UID. The + * `kube-system` namespace is used by Kubernetes itself and will exist + * for the lifetime of the cluster. Using the `uid` of the `kube-system` + * namespace is a reasonable proxy for the K8s ClusterID as it will only + * change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are + * UUIDs as standardized by + * [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). + * Which states: + * + * > If generated according to one of the mechanisms defined in Rec. + * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be + * different from all other UUIDs generated before 3603 A.D., or is + * extremely likely to be different (depending on the mechanism chosen). + * + * Therefore, UIDs between clusters should be extremely unlikely to + * conflict. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_CLUSTER_UID = 'k8s.cluster.uid'; + +/** + * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_CONTAINER_NAME = 'k8s.container.name'; + +/** + * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_CONTAINER_RESTARTCOUNT = 'k8s.container.restart_count'; + +/** + * The name of the CronJob. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_CRONJOB_NAME = 'k8s.cronjob.name'; + +/** + * The UID of the CronJob. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_CRONJOB_UID = 'k8s.cronjob.uid'; + +/** + * The name of the DaemonSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_DAEMONSET_NAME = 'k8s.daemonset.name'; + +/** + * The UID of the DaemonSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_DAEMONSET_UID = 'k8s.daemonset.uid'; + +/** + * The name of the Deployment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_DEPLOYMENT_NAME = 'k8s.deployment.name'; + +/** + * The UID of the Deployment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_DEPLOYMENT_UID = 'k8s.deployment.uid'; + +/** + * The name of the Job. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_JOB_NAME = 'k8s.job.name'; + +/** + * The UID of the Job. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_JOB_UID = 'k8s.job.uid'; + +/** + * The name of the namespace that the pod is running in. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_NAMESPACE_NAME = 'k8s.namespace.name'; + +/** + * The name of the Node. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_NODE_NAME = 'k8s.node.name'; + +/** + * The UID of the Node. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_NODE_UID = 'k8s.node.uid'; + +/** + * The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_POD_ANNOTATION = 'k8s.pod.annotation'; + +/** + * The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_POD_LABEL = 'k8s.pod.label'; + +/** + * The name of the Pod. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_POD_NAME = 'k8s.pod.name'; + +/** + * The UID of the Pod. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_POD_UID = 'k8s.pod.uid'; + +/** + * The name of the ReplicaSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_REPLICASET_NAME = 'k8s.replicaset.name'; + +/** + * The UID of the ReplicaSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_REPLICASET_UID = 'k8s.replicaset.uid'; + +/** + * The name of the StatefulSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_STATEFULSET_NAME = 'k8s.statefulset.name'; + +/** + * The UID of the StatefulSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K_8_S_STATEFULSET_UID = 'k8s.statefulset.uid'; + +/** + * The number of messages sent, received, or processed in the scope of the batching operation. + * + * @note Instrumentations **SHOULD** **NOT** set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations **SHOULD** use `messaging.batch.message_count` for batching APIs and **SHOULD** **NOT** use it for single-message APIs. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_BATCH_MESSAGECOUNT = 'messaging.batch.message_count'; + + +/** + * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; + +/** + * The message destination name + * + * @note Destination name **SHOULD** uniquely identify a specific queue, topic or other entity within the broker. If + * the broker doesn't have such notion, the destination name **SHOULD** uniquely identify the broker. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; + +/** + * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; + +/** + * Low cardinality representation of the messaging destination name + * + * @note Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; + +/** + * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; + +/** + * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATIONPUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; + +/** + * The name of the original destination the message was published to + * + * @note The name **SHOULD** uniquely identify a specific queue, topic, or other entity within the broker. If + * the broker doesn't have such notion, the original destination name **SHOULD** uniquely identify the broker. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATIONPUBLISH_NAME = 'messaging.destination_publish.name'; + +/** + * The name of the consumer group the event consumer is associated with. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; + +/** + * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUEDTIME = 'messaging.eventhubs.message.enqueued_time'; + +/** + * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_GCPPUBSUB_MESSAGE_ORDERINGKEY = 'messaging.gcp_pubsub.message.ordering_key'; + +/** + * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; + +/** + * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute **MUST** **NOT** be set. + * + * @note If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; + +/** + * The offset of a record in the corresponding Kafka partition. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; + +/** + * A boolean that is true if the message is a tombstone. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; + +/** + * The size of the message body in bytes. + * + * @note This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed + * body size should be used. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; + +/** + * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_CONVERSATIONID = 'messaging.message.conversation_id'; + +/** + * The size of the message body and metadata in bytes. + * + * @note This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed + * size should be used. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; + +/** + * A value used by the messaging system as an identifier for the message, represented as a string. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; + +/** + * A string identifying the kind of messaging operation. + * + * @note If a custom value is used, it **MUST** be of low cardinality. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; + +/** + * RabbitMQ message routing key. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTINGKEY = 'messaging.rabbitmq.destination.routing_key'; + +/** + * RabbitMQ message delivery tag + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERYTAG = 'messaging.rabbitmq.message.delivery_tag'; + +/** + * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_CLIENTGROUP = 'messaging.rocketmq.client_group'; + +/** + * Model of message consumption. This only applies to consumer spans. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL = 'messaging.rocketmq.consumption_model'; + +/** + * The delay time level for delay message, which determines the message delay time. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAYTIMELEVEL = 'messaging.rocketmq.message.delay_time_level'; + +/** + * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERYTIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; + +/** + * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; + +/** + * Key(s) of message, another way to mark message besides message id. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; + +/** + * The secondary classifier of message besides topic. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; + +/** + * Type of message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; + +/** + * Namespace of RocketMQ resources, resources in different namespaces are individual. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; + +/** + * The name of the subscription in the topic messages are received from. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTIONNAME = 'messaging.servicebus.destination.subscription_name'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS = 'messaging.servicebus.disposition_status'; + +/** + * Number of deliveries that have been attempted for this message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERYCOUNT = 'messaging.servicebus.message.delivery_count'; + +/** + * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUEDTIME = 'messaging.servicebus.message.enqueued_time'; + +/** + * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; + +/** + * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; + +/** + * The mobile carrier country code. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; + +/** + * The mobile carrier network code. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; + +/** + * The name of the mobile carrier. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; + +/** + * The internet connection type. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; + +/** + * The network IO operation direction. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; + +/** + * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. + * + * @note Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). + * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; + +/** + * Unique identifier for a particular build or compilation of the operating system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_BUILDID = 'os.build_id'; + +/** + * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_DESCRIPTION = 'os.description'; + +/** + * Human readable operating system name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_NAME = 'os.name'; + +/** + * The operating system type. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_TYPE = 'os.type'; + +/** + * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_VERSION = 'os.version'; + +/** + * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_COMMAND = 'process.command'; + +/** + * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_COMMANDARGS = 'process.command_args'; + +/** + * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_COMMANDLINE = 'process.command_line'; + +/** + * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; + +/** + * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; + +/** + * The username of the user that owns the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_OWNER = 'process.owner'; + +/** + * Parent Process identifier (PPID). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_PARENTPID = 'process.parent_pid'; + +/** + * Process identifier (PID). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_PID = 'process.pid'; + +/** + * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; + +/** + * The name of the runtime of this process. For compiled native binaries, this **SHOULD** be the name of the compiler. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; + +/** + * The version of the runtime of this process, as returned by the runtime without modification. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_CONNECTRPC_ERRORCODE = 'rpc.connect_rpc.error_code'; + +/** + * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_CONNECTRPC_REQUEST_METADATA = 'rpc.connect_rpc.request.metadata'; + +/** + * Connect response metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_CONNECTRPC_RESPONSE_METADATA = 'rpc.connect_rpc.response.metadata'; + +/** + * gRPC request metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_GRPC_REQUEST_METADATA = 'rpc.grpc.request.metadata'; + +/** + * gRPC response metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_GRPC_RESPONSE_METADATA = 'rpc.grpc.response.metadata'; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_GRPC_STATUSCODE = 'rpc.grpc.status_code'; + +/** + * `error.code` property of response if it is an error response. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_JSONRPC_ERRORCODE = 'rpc.jsonrpc.error_code'; + +/** + * `error.message` property of response if it is an error response. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_JSONRPC_ERRORMESSAGE = 'rpc.jsonrpc.error_message'; + +/** + * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_JSONRPC_REQUESTID = 'rpc.jsonrpc.request_id'; + +/** + * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; + +/** + * The name of the (logical) method being called, must be equal to the $method part in the span name. + * + * @note This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_METHOD = 'rpc.method'; + +/** + * The full (logical) name of the service being called, including its package name, if applicable. + * + * @note This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_SERVICE = 'rpc.service'; + +/** + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_SYSTEM = 'rpc.system'; + +/** + * The string ID of the service instance. + * + * @note MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words + * `service.namespace,service.name,service.instance.id` triplet **MUST** be globally unique). The ID helps to + * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled + * service). + * + * Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC + * 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of + * this value if stability is desirable. In that case, the ID **SHOULD** be used as source of a UUID Version 5 and + * SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. + * + * UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is + * needed. Similar to what can be seen in the man page for the + * [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying + * data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it + * or not via another resource attribute. + * + * For applications running behind an application server (like unicorn), we do not recommend using one identifier + * for all processes participating in the application. Instead, it's recommended each division (e.g. a worker + * thread in unicorn) to have its own instance.id. + * + * It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the + * service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will + * likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. + * However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance + * for that telemetry. This is typically the case for scraping receivers, as they know the target address and + * port. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; + +/** + * A namespace for `service.name`. + * + * @note A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; + +/** + * A unique id to identify a session. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SESSION_ID = 'session.id'; + +/** + * The previous `session.id` for this user, when known. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SESSION_PREVIOUSID = 'session.previous_id'; + +/** + * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * @note When observed from the destination side, and when communicating through an intermediary, `source.address` **SHOULD** represent the source address behind any intermediaries, for example proxies, if it's available. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SOURCE_ADDRESS = 'source.address'; + +/** + * Source port number + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SOURCE_PORT = 'source.port'; + +/** + * The name of the auto instrumentation agent or distribution, if used. + * + * @note Official auto instrumentation agents and distributions **SHOULD** set the `telemetry.distro.name` attribute to + * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; + +/** + * The version string of the auto instrumentation agent or distribution, if used. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; + +/** + * Current "managed" thread ID (as opposed to OS thread ID). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_THREAD_ID = 'thread.id'; + +/** + * Current thread name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_THREAD_NAME = 'thread.name'; + +/** + * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. + * + * @note The values allowed for `tls.cipher` **MUST** be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CIPHER = 'tls.cipher'; + +/** + * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; + +/** + * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_CERTIFICATECHAIN = 'tls.client.certificate_chain'; + +/** + * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_HASH_MD_5 = 'tls.client.hash.md5'; + +/** + * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_HASH_SHA_1 = 'tls.client.hash.sha1'; + +/** + * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_HASH_SHA_256 = 'tls.client.hash.sha256'; + +/** + * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; + +/** + * A hash that identifies clients based on how they perform an SSL/TLS handshake. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_JA_3 = 'tls.client.ja3'; + +/** + * Date/Time indicating when client certificate is no longer considered valid. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_NOTAFTER = 'tls.client.not_after'; + +/** + * Date/Time indicating when client certificate is first considered valid. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_NOTBEFORE = 'tls.client.not_before'; + +/** + * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_SERVERNAME = 'tls.client.server_name'; + +/** + * Distinguished name of subject of the x.509 certificate presented by the client. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; + +/** + * Array of ciphers offered by the client during the client hello. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CLIENT_SUPPORTEDCIPHERS = 'tls.client.supported_ciphers'; + +/** + * String indicating the curve used for the given cipher, when applicable + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_CURVE = 'tls.curve'; + +/** + * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_ESTABLISHED = 'tls.established'; + +/** + * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_NEXTPROTOCOL = 'tls.next_protocol'; + +/** + * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; + +/** + * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; + +/** + * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_RESUMED = 'tls.resumed'; + +/** + * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; + +/** + * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_CERTIFICATECHAIN = 'tls.server.certificate_chain'; + +/** + * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_HASH_MD_5 = 'tls.server.hash.md5'; + +/** + * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_HASH_SHA_1 = 'tls.server.hash.sha1'; + +/** + * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_HASH_SHA_256 = 'tls.server.hash.sha256'; + +/** + * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; + +/** + * A hash that identifies servers based on how they perform an SSL/TLS handshake. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_JA_3_S = 'tls.server.ja3s'; + +/** + * Date/Time indicating when server certificate is no longer considered valid. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_NOTAFTER = 'tls.server.not_after'; + +/** + * Date/Time indicating when server certificate is first considered valid. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_NOTBEFORE = 'tls.server.not_before'; + +/** + * Distinguished name of subject of the x.509 certificate presented by the server. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; + +/** + * Domain extracted from the `url.full`, such as "opentelemetry.io". + * + * @note In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_DOMAIN = 'url.domain'; + +/** + * The file extension extracted from the `url.full`, excluding the leading dot. + * + * @note The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_EXTENSION = 'url.extension'; + +/** + * Unmodified original URL as seen in the event source. + * + * @note In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. + * `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username **SHOULD** **NOT** be redacted and attribute's value **SHOULD** remain the same. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_ORIGINAL = 'url.original'; + +/** + * Port extracted from the `url.full` + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_PORT = 'url.port'; + +/** + * The highest registered url domain, stripped of the subdomain. + * + * @note This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_REGISTEREDDOMAIN = 'url.registered_domain'; + +/** + * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. + * + * @note The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; + +/** + * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. + * + * @note This value can be determined precisely with the [public suffix list](http://publicsuffix.org). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_TOPLEVELDOMAIN = 'url.top_level_domain'; + +/** + * Name of the user-agent extracted from original. Usually refers to the browser's name. + * + * @note [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name **SHOULD** be selected. In such a scenario it should align with `user_agent.version` + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USERAGENT_NAME = 'user_agent.name'; + +/** + * Version of the user-agent extracted from original. Usually refers to the browser's version + * + * @note [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version **SHOULD** be selected. In such a scenario it should align with `user_agent.name` + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USERAGENT_VERSION = 'user_agent.version'; diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts new file mode 100644 index 0000000000..34fbf7e107 --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -0,0 +1,738 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +/** + * Total CPU time consumed + * + * @note Total CPU time consumed by the specific container on all available CPU cores + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; + +/** + * Disk bytes for the container. + * + * @note The total number of bytes read/written successfully (aggregated from all disks). + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; + +/** + * Memory usage of the container. + * + * @note Memory usage of the container. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; + +/** + * Network bytes for the container. + * + * @note The number of bytes sent/received on all network interfaces by the container. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; + +/** + * The time it took to create a new connection + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_CREATETIME = 'db.client.connections.create_time'; + +/** + * The maximum number of idle open connections allowed + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; + +/** + * The minimum number of idle open connections allowed + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; + +/** + * The maximum number of open connections allowed + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; + +/** + * The number of pending requests for an open connection, cumulative for the entire pool + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_PENDINGREQUESTS = 'db.client.connections.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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; + +/** + * The number of connections that are currently in state described by the `state` attribute + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; + +/** + * The time between borrowing a connection and returning it to the pool + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_USETIME = 'db.client.connections.use_time'; + +/** + * The time it took to obtain an open connection from the pool + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTIONS_WAITTIME = 'db.client.connections.wait_time'; + +/** + * Measures the time taken to perform a DNS lookup. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; + +/** + * Number of invocation cold starts + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; + +/** + * Distribution of CPU usage per invocation + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_CPUUSAGE = 'faas.cpu_usage'; + +/** + * Number of invocation errors + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_ERRORS = 'faas.errors'; + +/** + * Measures the duration of the function's initialization, such as a cold start + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_INITDURATION = 'faas.init_duration'; + +/** + * Number of successful invocations + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; + +/** + * Measures the duration of the function's logic execution + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_INVOKEDURATION = 'faas.invoke_duration'; + +/** + * Distribution of max memory usage per invocation + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_MEMUSAGE = 'faas.mem_usage'; + +/** + * Distribution of net I/O usage per invocation + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_NETIO = 'faas.net_io'; + +/** + * Number of invocation timeouts + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; + +/** + * Number of active HTTP requests. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_ACTIVEREQUESTS = 'http.client.active_requests'; + +/** + * The duration of the successfully established outbound HTTP connections. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration'; + +/** + * Number of outbound HTTP connections that are currently active or idle on the client. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_OPENCONNECTIONS = 'http.client.open_connections'; + +/** + * Size of HTTP client request bodies. + * + * @note The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size'; + +/** + * Size of HTTP client response bodies. + * + * @note The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size'; + +/** + * Number of active HTTP server requests. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_SERVER_ACTIVEREQUESTS = 'http.server.active_requests'; + +/** + * Size of HTTP server request bodies. + * + * @note The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size'; + +/** + * Size of HTTP server response bodies. + * + * @note The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size'; + +/** + * Number of buffers in the pool. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; + +/** + * Measure of total memory capacity of buffers. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; + +/** + * Measure of memory used by buffers. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; + +/** + * Measure of initial memory requested. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; + +/** + * Average CPU load of the whole system for the last minute as reported by the JVM. + * + * @note The value range is [0,n], where n is the number of CPU cores - or a negative number if the value is not available. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()). + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_SYSTEM_CPU_LOAD_1_M = 'jvm.system.cpu.load_1m'; + +/** + * Recent CPU utilization for the whole system as reported by the JVM. + * + * @note The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()). + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; + +/** + * Measures the duration of process operation. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; + +/** + * Measures the number of processed messages. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; + +/** + * Measures the duration of publish operation. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; + +/** + * Measures the number of published messages. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; + +/** + * Measures the duration of receive operation. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; + +/** + * Measures the number of received messages. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; + +/** + * Number of times the process has been context switched. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_CONTEXTSWITCHES = 'process.context_switches'; + +/** + * Total CPU seconds broken down by different states. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time'; + +/** + * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization'; + +/** + * Disk bytes transferred. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_DISK_IO = 'process.disk.io'; + +/** + * The amount of physical memory in use. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; + +/** + * The amount of committed virtual memory. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; + +/** + * Network bytes transferred. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_OPENFILEDESCRIPTOR_COUNT = 'process.open_file_descriptor.count'; + +/** + * Number of page faults the process has made. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; + +/** + * Process threads count. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; + +/** + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_RPC_CLIENT_REQUESTSPERRPC = '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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_RPC_CLIENT_RESPONSESPERRPC = '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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_RPC_SERVER_REQUESTSPERRPC = '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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_RPC_SERVER_RESPONSESPERRPC = 'rpc.server.responses_per_rpc'; + +/** + * Reports the current frequency of the CPU in Hz + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_DISK_IOTIME = 'system.disk.io_time'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_DISK_OPERATIONTIME = 'system.disk.operation_time'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available'; + +/** + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; + +/** + * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; + +/** + * Unix swap or windows pagefile usage + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; + +/** + + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; + +/** + * Total number of processes in each state + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; diff --git a/packages/opentelemetry-semantic-conventions/src/index-experimental.ts b/packages/opentelemetry-semantic-conventions/src/index-experimental.ts index 1d44bccf75..9f1ec863d6 100644 --- a/packages/opentelemetry-semantic-conventions/src/index-experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/index-experimental.ts @@ -16,5 +16,7 @@ // Experimental export also contains stable constants in order to maintain // backward compatibility between minor version releases -export * from './stable'; -export * from './experimental'; +export * from './stable_attributes'; +export * from './stable_metrics'; +export * from './experimental_attributes'; +export * from './experimental_metrics'; diff --git a/packages/opentelemetry-semantic-conventions/src/index.ts b/packages/opentelemetry-semantic-conventions/src/index.ts index 1788d3bf11..d9674f1eaf 100644 --- a/packages/opentelemetry-semantic-conventions/src/index.ts +++ b/packages/opentelemetry-semantic-conventions/src/index.ts @@ -19,4 +19,5 @@ export * from './trace'; export * from './resource'; // Use these instead -export * from './stable'; +export * from './stable_attributes'; +export * from './stable_metrics'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable.ts b/packages/opentelemetry-semantic-conventions/src/stable.ts deleted file mode 100644 index 403b3f0576..0000000000 --- a/packages/opentelemetry-semantic-conventions/src/stable.ts +++ /dev/null @@ -1,849 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -//---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 -//---------------------------------------------------------------------------------------------------------- - -/** - * Number of exceptions caught by exception handling middleware. - * - * Note: Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions' as const; - -/** - * Number of requests that are currently active on the server that hold a rate limiting lease. - * - * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_RATELIMITING_ACTIVEREQUESTLEASES = 'aspnetcore.rate_limiting.active_request_leases' as const; - -/** - * Number of requests that are currently queued, waiting to acquire a rate limiting lease. - * - * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_RATELIMITING_QUEUEDREQUESTS = 'aspnetcore.rate_limiting.queued_requests' as const; - -/** - * The time the request spent in a queue waiting to acquire a rate limiting lease. - * - * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_RATELIMITING_REQUEST_TIMEINQUEUE = 'aspnetcore.rate_limiting.request.time_in_queue' as const; - -/** - * The duration of rate limiting lease held by requests on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_RATELIMITING_REQUESTLEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration' as const; - -/** - * Number of requests that tried to acquire a rate limiting lease. - * - * Note: Requests could be: - * - * * Rejected by global or endpoint rate limiting policies - * * Canceled while waiting for the lease. - * - * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_RATELIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests' as const; - -/** - * Number of requests that were attempted to be matched to an endpoint. - * - * Note: Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_ASPNETCORE_ROUTING_MATCHATTEMPTS = 'aspnetcore.routing.match_attempts' as const; - -/** - * Duration of HTTP client requests. - */ -export const METRIC_HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration' as const; - -/** - * Duration of HTTP server requests. - */ -export const METRIC_HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration' as const; - -/** - * Number of classes currently loaded. - */ -export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count' as const; - -/** - * Number of classes loaded since JVM start. - */ -export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded' as const; - -/** - * Number of classes unloaded since JVM start. - */ -export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded' as const; - -/** - * Number of processors available to the Java virtual machine. - */ -export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count' as const; - -/** - * Recent CPU utilization for the process as reported by the JVM. - * - * Note: The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). - */ -export const METRIC_JVM_CPU_RECENTUTILIZATION = 'jvm.cpu.recent_utilization' as const; - -/** - * CPU time used by the process as reported by the JVM. - */ -export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time' as const; - -/** - * Duration of JVM garbage collection actions. - */ -export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration' as const; - -/** - * Measure of memory committed. - */ -export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed' as const; - -/** - * Measure of max obtainable memory. - */ -export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit' as const; - -/** - * Measure of memory used. - */ -export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used' as const; - -/** - * Measure of memory used, as measured after the most recent garbage collection event on this pool. - */ -export const METRIC_JVM_MEMORY_USEDAFTERLASTGC = 'jvm.memory.used_after_last_gc' as const; - -/** - * Number of executing platform threads. - */ -export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count' as const; - -/** - * Number of connections that are currently active on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_ACTIVECONNECTIONS = 'kestrel.active_connections' as const; - -/** - * Number of TLS handshakes that are currently in progress on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_ACTIVETLSHANDSHAKES = 'kestrel.active_tls_handshakes' as const; - -/** - * The duration of connections on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration' as const; - -/** - * Number of connections that are currently queued and are waiting to start. - * - * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_QUEUEDCONNECTIONS = 'kestrel.queued_connections' as const; - -/** - * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. - * - * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_QUEUEDREQUESTS = 'kestrel.queued_requests' as const; - -/** - * Number of connections rejected by the server. - * - * Note: Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. - * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_REJECTEDCONNECTIONS = 'kestrel.rejected_connections' as const; - -/** - * The duration of TLS handshakes on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_TLSHANDSHAKE_DURATION = 'kestrel.tls_handshake.duration' as const; - -/** - * Number of connections that are currently upgraded (WebSockets). . - * - * Note: The counter only tracks HTTP/1.1 connections. - * - * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_KESTREL_UPGRADEDCONNECTIONS = 'kestrel.upgraded_connections' as const; - -/** - * Number of connections that are currently active on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_SIGNALR_SERVER_ACTIVECONNECTIONS = 'signalr.server.active_connections' as const; - -/** - * The duration of connections on the server. - * - * Note: Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0. - */ -export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connection.duration' as const; - -/** - * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason. - */ -export const ATTR_ASPNETCORE_RATELIMITING_RESULT = 'aspnetcore.rate_limiting.result' as const; - -/** - * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. - */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type' as const; - -/** - * Rate limiting policy name. - */ -export const ATTR_ASPNETCORE_RATELIMITING_POLICY = 'aspnetcore.rate_limiting.policy' as const; - -/** - * Flag indicating if request was handled by the application pipeline. - */ -export const ATTR_ASPNETCORE_REQUEST_ISUNHANDLED = 'aspnetcore.request.is_unhandled' as const; - -/** - * A value that indicates whether the matched route is a fallback route. - */ -export const ATTR_ASPNETCORE_ROUTING_ISFALLBACK = 'aspnetcore.routing.is_fallback' as const; - -/** - * Match result - success or failure. - */ -export const ATTR_ASPNETCORE_ROUTING_MATCHSTATUS = 'aspnetcore.routing.match_status' as const; - -/** - * ASP.NET Core exception middleware handling result. - */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result' as const; - -/** - * SignalR HTTP connection closure status. - */ -export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status' as const; - -/** - * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md). - */ -export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport' as const; - -/** - * Name of the memory pool. - * - * Note: Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). - */ -export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name' as const; - -/** - * The type of memory. - */ -export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type' as const; - -/** - * Name of the garbage collector action. - * - * Note: Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). - */ -export const ATTR_JVM_GC_ACTION = 'jvm.gc.action' as const; - -/** - * Name of the garbage collector. - * - * Note: Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). - */ -export const ATTR_JVM_GC_NAME = 'jvm.gc.name' as const; - -/** - * Whether the thread is daemon or not. - */ -export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon' as const; - -/** - * State of the thread. - */ -export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state' as const; - -/** - * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. - * - * Note: When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available. - */ -export const ATTR_CLIENT_ADDRESS = 'client.address' as const; - -/** - * Client port number. - * - * Note: When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available. - */ -export const ATTR_CLIENT_PORT = 'client.port' as const; - -/** - * Describes a class of error the operation ended with. - * - * Note: The `error.type` SHOULD be predictable and SHOULD have low cardinality. - * Instrumentations SHOULD document the list of errors they report. - * - * The cardinality of `error.type` within one instrumentation library SHOULD be low. - * Telemetry consumers that aggregate data from multiple instrumentation libraries and applications - * should be prepared for `error.type` to have high cardinality at query time when no - * additional filters are applied. - * - * If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`. - * - * If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), - * it's RECOMMENDED to: - * - * * Use a domain-specific attribute - * * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. - */ -export const ATTR_ERROR_TYPE = 'error.type' as const; - -/** - * SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. - * - * Note: An exception is considered to have escaped (or left) the scope of a span, - * if that span is ended while the exception is still logically "in flight". - * This may be actually "in flight" in some languages (e.g. if the exception - * is passed to a Context manager's `__exit__` method in Python) but will - * usually be caught at the point of recording the exception in most languages. - * - * It is usually not possible to determine at the point where an exception is thrown - * whether it will escape the scope of a span. - * However, it is trivial to know that an exception - * will escape, if one checks for an active exception just before ending the span, - * as done in the [example for recording span exceptions](#recording-an-exception). - * - * It follows that an exception may still escape the scope of the span - * even if the `exception.escaped` attribute was not set or set to false, - * since the event might have been recorded at a time where it was not - * clear whether the exception will escape. - */ -export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped' as const; - -/** - * The exception message. - */ -export const ATTR_EXCEPTION_MESSAGE = 'exception.message' as const; - -/** - * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. - */ -export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace' as const; - -/** - * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. - */ -export const ATTR_EXCEPTION_TYPE = 'exception.type' as const; - -/** - * HTTP request method. - * - * Note: HTTP request method value SHOULD be "known" to the instrumentation. - * By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) - * and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). - * - * If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. - * - * If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override - * the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named - * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods - * (this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults). - * - * HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly. - * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. - * Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value. - */ -export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method' as const; - -/** - * Original HTTP method sent by the client in the request line. - */ -export const ATTR_HTTP_REQUEST_METHODORIGINAL = 'http.request.method_original' as const; - -/** - * The ordinal number of request resending attempt (for any reason, including redirects). - * - * Note: The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). - */ -export const ATTR_HTTP_REQUEST_RESENDCOUNT = 'http.request.resend_count' as const; - -/** - * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). - */ -export const ATTR_HTTP_RESPONSE_STATUSCODE = 'http.response.status_code' as const; - -/** - * The matched route, that is, the path template in the format used by the respective server framework. - * - * Note: MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. - * SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. - */ -export const ATTR_HTTP_ROUTE = 'http.route' as const; - -/** - * Local address of the network connection - IP address or Unix domain socket name. - */ -export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address' as const; - -/** - * Local port number of the network connection. - */ -export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port' as const; - -/** - * Peer address of the network connection - IP address or Unix domain socket name. - */ -export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address' as const; - -/** - * Peer port number of the network connection. - */ -export const ATTR_NETWORK_PEER_PORT = 'network.peer.port' as const; - -/** - * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. - * - * Note: The value SHOULD be normalized to lowercase. - */ -export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name' as const; - -/** - * The actual version of the protocol used for network communication. - * - * Note: If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set. - */ -export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version' as const; - -/** - * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). - * - * Note: The value SHOULD be normalized to lowercase. - * - * Consider always setting the transport when setting a port number, since - * a port number is ambiguous without knowing the transport. For example - * different processes could be listening on TCP port 12345 and UDP port 12345. - */ -export const ATTR_NETWORK_TRANSPORT = 'network.transport' as const; - -/** - * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. - * - * Note: The value SHOULD be normalized to lowercase. - */ -export const ATTR_NETWORK_TYPE = 'network.type' as const; - -/** - * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. - * - * Note: When observed from the client side, and when communicating through an intermediary, `server.address` SHOULD represent the server address behind any intermediaries, for example proxies, if it's available. - */ -export const ATTR_SERVER_ADDRESS = 'server.address' as const; - -/** - * Server port number. - * - * Note: When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available. - */ -export const ATTR_SERVER_PORT = 'server.port' as const; - -/** - * Logical name of the service. - * - * Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. - */ -export const ATTR_SERVICE_NAME = 'service.name' as const; - -/** - * The version string of the service API or implementation. The format is not defined by these conventions. - */ -export const ATTR_SERVICE_VERSION = 'service.version' as const; - -/** - * The language of the telemetry SDK. - */ -export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language' as const; - -/** - * The name of the telemetry SDK as defined above. - * - * Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`. - * If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the - * `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point - * or another suitable identifier depending on the language. - * The identifier `opentelemetry` is reserved and MUST NOT be used in this case. - * All custom identifiers SHOULD be stable across different versions of an implementation. - */ -export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name' as const; - -/** - * The version string of the telemetry SDK. - */ -export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version' as const; - -/** - * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component. - */ -export const ATTR_URL_FRAGMENT = 'url.fragment' as const; - -/** - * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). - * - * Note: For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless. - * `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`. - * `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it. - */ -export const ATTR_URL_FULL = 'url.full' as const; - -/** - * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component. - * - * Note: Sensitive content provided in `url.path` SHOULD be scrubbed when instrumentations can identify it. - */ -export const ATTR_URL_PATH = 'url.path' as const; - -/** - * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component. - * - * Note: Sensitive content provided in `url.query` SHOULD be scrubbed when instrumentations can identify it. - */ -export const ATTR_URL_QUERY = 'url.query' as const; - -/** - * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. - */ -export const ATTR_URL_SCHEME = 'url.scheme' as const; - -/** - * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. - */ -export const ATTR_USERAGENT_ORIGINAL = 'user_agent.original' as const; - -/** - * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). - */ -export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name' as const; - -/** - * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). - */ -export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version' as const; - -/** - * Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET. - */ -export const ATTR_OTEL_STATUSCODE = 'otel.status_code' as const; - -/** - * Description of the Status if it has a value, otherwise not set. - */ -export const ATTR_OTEL_STATUSDESCRIPTION = 'otel.status_description' as const; - -/** - * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. - */ -export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_ACQUIRED = 'acquired' as const; - -/** - * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. - */ -export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_ENDPOINTLIMITER = 'endpoint_limiter' as const; - -/** - * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. - */ -export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_GLOBALLIMITER = 'global_limiter' as const; - -/** - * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATELIMITING_RESULT}. - */ -export const ENUM_ASPNETCORE_RATELIMITING_RESULT_VALUE_REQUESTCANCELED = 'request_canceled' as const; - -/** - * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCHSTATUS}. - */ -export const ENUM_ASPNETCORE_ROUTING_MATCHSTATUS_VALUE_SUCCESS = 'success' as const; - -/** - * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCHSTATUS}. - */ -export const ENUM_ASPNETCORE_ROUTING_MATCHSTATUS_VALUE_FAILURE = 'failure' as const; - -/** - * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. - */ -export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = 'handled' as const; - -/** - * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. - */ -export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = 'unhandled' as const; - -/** - * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. - */ -export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = 'skipped' as const; - -/** - * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. - */ -export const ENUM_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'aborted' as const; - -/** - * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. - */ -export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_NORMALCLOSURE = 'normal_closure' as const; - -/** - * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. - */ -export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout' as const; - -/** - * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. - */ -export const ENUM_SIGNALR_CONNECTION_STATUS_VALUE_APPSHUTDOWN = 'app_shutdown' as const; - -/** - * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. - */ -export const ENUM_SIGNALR_TRANSPORT_VALUE_SERVERSENTEVENTS = 'server_sent_events' as const; - -/** - * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. - */ -export const ENUM_SIGNALR_TRANSPORT_VALUE_LONGPOLLING = 'long_polling' as const; - -/** - * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. - */ -export const ENUM_SIGNALR_TRANSPORT_VALUE_WEBSOCKETS = 'web_sockets' as const; - -/** - * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. - */ -export const ENUM_JVM_MEMORY_TYPE_VALUE_HEAP = 'heap' as const; - -/** - * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. - */ -export const ENUM_JVM_MEMORY_TYPE_VALUE_NONHEAP = 'non_heap' as const; - -/** - * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. - */ -export const ENUM_JVM_THREAD_STATE_VALUE_NEW = 'new' as const; - -/** - * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. - */ -export const ENUM_JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable' as const; - -/** - * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. - */ -export const ENUM_JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked' as const; - -/** - * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. - */ -export const ENUM_JVM_THREAD_STATE_VALUE_WAITING = 'waiting' as const; - -/** - * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. - */ -export const ENUM_JVM_THREAD_STATE_VALUE_TIMEDWAITING = 'timed_waiting' as const; - -/** - * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. - */ -export const ENUM_JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated' as const; - -/** - * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. - */ -export const ENUM_ERROR_TYPE_VALUE_OTHER = '_OTHER' as const; - -/** - * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT' as const; - -/** - * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE' as const; - -/** - * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_GET = 'GET' as const; - -/** - * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD' as const; - -/** - * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS' as const; - -/** - * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH' as const; - -/** - * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_POST = 'POST' as const; - -/** - * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT' as const; - -/** - * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE' as const; - -/** - * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. - */ -export const ENUM_HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER' as const; - -/** - * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. - */ -export const ENUM_NETWORK_TRANSPORT_VALUE_TCP = 'tcp' as const; - -/** - * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. - */ -export const ENUM_NETWORK_TRANSPORT_VALUE_UDP = 'udp' as const; - -/** - * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. - */ -export const ENUM_NETWORK_TRANSPORT_VALUE_PIPE = 'pipe' as const; - -/** - * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. - */ -export const ENUM_NETWORK_TRANSPORT_VALUE_UNIX = 'unix' as const; - -/** - * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. - */ -export const ENUM_NETWORK_TYPE_VALUE_IPV4 = 'ipv4' as const; - -/** - * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. - */ -export const ENUM_NETWORK_TYPE_VALUE_IPV6 = 'ipv6' as const; - -/** - * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp' as const; - -/** - * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet' as const; - -/** - * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang' as const; - -/** - * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go' as const; - -/** - * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java' as const; - -/** - * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs' as const; - -/** - * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php' as const; - -/** - * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python' as const; - -/** - * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby' as const; - -/** - * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust' as const; - -/** - * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift' as const; - -/** - * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. - */ -export const ENUM_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs' as const; - -/** - * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUSCODE}. - */ -export const ENUM_OTEL_STATUSCODE_VALUE_OK = 'OK' as const; - -/** - * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUSCODE}. - */ -export const ENUM_OTEL_STATUSCODE_VALUE_ERROR = 'ERROR' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts new file mode 100644 index 0000000000..beaec1df4a --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -0,0 +1,292 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +/** + * The language of the telemetry SDK. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; + +/** + * The name of the telemetry SDK as defined above. + * + * @note The OpenTelemetry SDK **MUST** set the `telemetry.sdk.name` attribute to `opentelemetry`. + * If another SDK, like a fork or a vendor-provided implementation, is used, this SDK **MUST** set the + * `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point + * or another suitable identifier depending on the language. + * The identifier `opentelemetry` is reserved and **MUST** **NOT** be used in this case. + * All custom identifiers **SHOULD** be stable across different versions of an implementation. + */ +export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; + +/** + * The version string of the telemetry SDK. + */ +export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; + +/** + * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * @note When observed from the server side, and when communicating through an intermediary, `client.address` **SHOULD** represent the client address behind any intermediaries, for example proxies, if it's available. + */ +export const ATTR_CLIENT_ADDRESS = 'client.address'; + +/** + * Client port number. + * + * @note When observed from the server side, and when communicating through an intermediary, `client.port` **SHOULD** represent the client port behind any intermediaries, for example proxies, if it's available. + */ +export const ATTR_CLIENT_PORT = 'client.port'; + +/** + * Describes a class of error the operation ended with. + * + * @note The `error.type` **SHOULD** be predictable and **SHOULD** have low cardinality. + * Instrumentations **SHOULD** document the list of errors they report. + * + * The cardinality of `error.type` within one instrumentation library **SHOULD** be low. + * Telemetry consumers that aggregate data from multiple instrumentation libraries and applications + * should be prepared for `error.type` to have high cardinality at query time when no + * additional filters are applied. + * + * If the operation has completed successfully, instrumentations **SHOULD** **NOT** set `error.type`. + * + * If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), + * it's RECOMMENDED to: + * + * * Use a domain-specific attribute + * * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. + */ +export const ATTR_ERROR_TYPE = 'error.type'; + +/** + * **SHOULD** be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. + * + * @note An exception is considered to have escaped (or left) the scope of a span, + * if that span is ended while the exception is still logically "in flight". + * This may be actually "in flight" in some languages (e.g. if the exception + * is passed to a Context manager's `__exit__` method in Python) but will + * usually be caught at the point of recording the exception in most languages. + * + * It is usually not possible to determine at the point where an exception is thrown + * whether it will escape the scope of a span. + * However, it is trivial to know that an exception + * will escape, if one checks for an active exception just before ending the span, + * as done in the [example for recording span exceptions](#recording-an-exception). + * + * It follows that an exception may still escape the scope of the span + * even if the `exception.escaped` attribute was not set or set to false, + * since the event might have been recorded at a time where it was not + * clear whether the exception will escape. + */ +export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; + +/** + * The exception message. + */ +export const ATTR_EXCEPTION_MESSAGE = 'exception.message'; + +/** + * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + */ +export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; + +/** + * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. + */ +export const ATTR_EXCEPTION_TYPE = 'exception.type'; + +/** + * HTTP request headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which headers are to be captured. Including all request headers can be a security risk - explicit configuration helps avoid leaking sensitive information. + * The `User-Agent` header is already captured in the `user_agent.original` attribute. Users **MAY** explicitly configure instrumentations to capture them even though it is not recommended. + * The attribute value **MUST** consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers. + */ +export const ATTR_HTTP_REQUEST_HEADER = 'http.request.header'; + +/** + * HTTP request method. + * + * @note HTTP request method value **SHOULD** be "known" to the instrumentation. + * By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) + * and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + * + * If the HTTP request method is not known to instrumentation, it **MUST** set the `http.request.method` attribute to `_OTHER`. + * + * If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it **MUST** provide a way to override + * the list of known HTTP methods. If this override is done via environment variable, then the environment variable **MUST** be named + * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods + * (this list **MUST** be a full override of the default known method, it is not a list of known methods in addition to the defaults). + * + * HTTP method names are case-sensitive and `http.request.method` attribute value **MUST** match a known HTTP method name exactly. + * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, **SHOULD** populate a canonical equivalent. + * Tracing instrumentations that do so, **MUST** also set `http.request.method_original` to the original value. + */ +export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; + +/** + * Original HTTP method sent by the client in the request line. + */ +export const ATTR_HTTP_REQUEST_METHODORIGINAL = 'http.request.method_original'; + +/** + * The ordinal number of request resending attempt (for any reason, including redirects). + * + * @note The resend count **SHOULD** be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). + */ +export const ATTR_HTTP_REQUEST_RESENDCOUNT = 'http.request.resend_count'; + +/** + * HTTP response headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which headers are to be captured. Including all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information. + * Users **MAY** explicitly configure instrumentations to capture them even though it is not recommended. + * The attribute value **MUST** consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers. + */ +export const ATTR_HTTP_RESPONSE_HEADER = 'http.response.header'; + +/** + * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). + */ +export const ATTR_HTTP_RESPONSE_STATUSCODE = 'http.response.status_code'; + +/** + * The matched route, that is, the path template in the format used by the respective server framework. + * + * @note MUST **NOT** be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can **NOT** substitute it. + * SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. + */ +export const ATTR_HTTP_ROUTE = 'http.route'; + +/** + * Local address of the network connection - IP address or Unix domain socket name. + */ +export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address'; + +/** + * Local port number of the network connection. + */ +export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port'; + +/** + * Peer address of the network connection - IP address or Unix domain socket name. + */ +export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address'; + +/** + * Peer port number of the network connection. + */ +export const ATTR_NETWORK_PEER_PORT = 'network.peer.port'; + +/** + * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. + * + * @note The value **SHOULD** be normalized to lowercase. + */ +export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; + +/** + * The actual version of the protocol used for network communication. + * + * @note If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute **SHOULD** be set to the negotiated version. If the actual protocol version is not known, this attribute **SHOULD** **NOT** be set. + */ +export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; + +/** + * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). + * + * @note The value **SHOULD** be normalized to lowercase. + * + * Consider always setting the transport when setting a port number, since + * a port number is ambiguous without knowing the transport. For example + * different processes could be listening on TCP port 12345 and UDP port 12345. + */ +export const ATTR_NETWORK_TRANSPORT = 'network.transport'; + +/** + * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. + * + * @note The value **SHOULD** be normalized to lowercase. + */ +export const ATTR_NETWORK_TYPE = 'network.type'; + +/** + * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * @note When observed from the client side, and when communicating through an intermediary, `server.address` **SHOULD** represent the server address behind any intermediaries, for example proxies, if it's available. + */ +export const ATTR_SERVER_ADDRESS = 'server.address'; + +/** + * Server port number. + * + * @note When observed from the client side, and when communicating through an intermediary, `server.port` **SHOULD** represent the server port behind any intermediaries, for example proxies, if it's available. + */ +export const ATTR_SERVER_PORT = 'server.port'; + +/** + * Logical name of the service. + * + * @note MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs **MUST** fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value **MUST** be set to `unknown_service`. + */ +export const ATTR_SERVICE_NAME = 'service.name'; + +/** + * The version string of the service API or implementation. The format is not defined by these conventions. + */ +export const ATTR_SERVICE_VERSION = 'service.version'; + +/** + * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component + */ +export const ATTR_URL_FRAGMENT = 'url.fragment'; + +/** + * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986) + * + * @note For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it **SHOULD** be included nevertheless. + * `url.full` **MUST** **NOT** contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password **SHOULD** be redacted and attribute's value **SHOULD** be `https://REDACTED:REDACTED@www.example.com/`. + * `url.full` **SHOULD** capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` **SHOULD** be scrubbed when instrumentations can identify it. + */ +export const ATTR_URL_FULL = 'url.full'; + +/** + * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component + * + * @note Sensitive content provided in `url.path` **SHOULD** be scrubbed when instrumentations can identify it. + */ +export const ATTR_URL_PATH = 'url.path'; + +/** + * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component + * + * @note Sensitive content provided in `url.query` **SHOULD** be scrubbed when instrumentations can identify it. + */ +export const ATTR_URL_QUERY = 'url.query'; + +/** + * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. + */ +export const ATTR_URL_SCHEME = 'url.scheme'; + +/** + * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. + */ +export const ATTR_USERAGENT_ORIGINAL = 'user_agent.original'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts new file mode 100644 index 0000000000..af64413c5a --- /dev/null +++ b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts @@ -0,0 +1,218 @@ +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +/** + * Number of exceptions caught by exception handling middleware. + * + * @note Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions'; + +/** + * Number of requests that are currently active on the server that hold a rate limiting lease. + * + * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_RATELIMITING_ACTIVEREQUESTLEASES = 'aspnetcore.rate_limiting.active_request_leases'; + +/** + * Number of requests that are currently queued, waiting to acquire a rate limiting lease. + * + * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_RATELIMITING_QUEUEDREQUESTS = 'aspnetcore.rate_limiting.queued_requests'; + +/** + * The time the request spent in a queue waiting to acquire a rate limiting lease. + * + * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_RATELIMITING_REQUEST_TIMEINQUEUE = 'aspnetcore.rate_limiting.request.time_in_queue'; + +/** + * The duration of rate limiting lease held by requests on the server. + * + * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_RATELIMITING_REQUESTLEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'; + +/** + * Number of requests that tried to acquire a rate limiting lease. + * + * @note Requests could be: + * + * * Rejected by global or endpoint rate limiting policies + * * Canceled while waiting for the lease. + * + * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_RATELIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'; + +/** + * Number of requests that were attempted to be matched to an endpoint. + * + * @note Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_ASPNETCORE_ROUTING_MATCHATTEMPTS = 'aspnetcore.routing.match_attempts'; + +/** + * Duration of HTTP client requests. + */ +export const METRIC_HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration'; + +/** + * Duration of HTTP server requests. + */ +export const METRIC_HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration'; + +/** + * Number of classes currently loaded. + */ +export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count'; + +/** + * Number of classes loaded since JVM start. + */ +export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded'; + +/** + * Number of classes unloaded since JVM start. + */ +export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded'; + +/** + * Number of processors available to the Java virtual machine. + */ +export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count'; + +/** + * Recent CPU utilization for the process as reported by the JVM. + * + * @note The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). + */ +export const METRIC_JVM_CPU_RECENTUTILIZATION = 'jvm.cpu.recent_utilization'; + +/** + * CPU time used by the process as reported by the JVM. + */ +export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time'; + +/** + * Duration of JVM garbage collection actions. + */ +export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration'; + +/** + * Measure of memory committed. + */ +export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed'; + +/** + * Measure of max obtainable memory. + */ +export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit'; + +/** + * Measure of memory used. + */ +export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used'; + +/** + * Measure of memory used, as measured after the most recent garbage collection event on this pool. + */ +export const METRIC_JVM_MEMORY_USEDAFTERLASTGC = 'jvm.memory.used_after_last_gc'; + +/** + * Number of executing platform threads. + */ +export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count'; + +/** + * Number of connections that are currently active on the server. + * + * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_ACTIVECONNECTIONS = 'kestrel.active_connections'; + +/** + * Number of TLS handshakes that are currently in progress on the server. + * + * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_ACTIVETLSHANDSHAKES = 'kestrel.active_tls_handshakes'; + +/** + * The duration of connections on the server. + * + * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration'; + +/** + * Number of connections that are currently queued and are waiting to start. + * + * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_QUEUEDCONNECTIONS = 'kestrel.queued_connections'; + +/** + * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. + * + * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_QUEUEDREQUESTS = 'kestrel.queued_requests'; + +/** + * Number of connections rejected by the server. + * + * @note Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. + * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_REJECTEDCONNECTIONS = 'kestrel.rejected_connections'; + +/** + * The duration of TLS handshakes on the server. + * + * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_TLSHANDSHAKE_DURATION = 'kestrel.tls_handshake.duration'; + +/** + * Number of connections that are currently upgraded (WebSockets). . + * + * @note The counter only tracks HTTP/1.1 connections. + * + * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_KESTREL_UPGRADEDCONNECTIONS = 'kestrel.upgraded_connections'; + +/** + * Number of connections that are currently active on the server. + * + * @note Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_SIGNALR_SERVER_ACTIVECONNECTIONS = 'signalr.server.active_connections'; + +/** + * The duration of connections on the server. + * + * @note Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0 + */ +export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connection.duration'; diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index 37af052eb3..7506eb58eb 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -7,7 +7,7 @@ ROOT_DIR="${SCRIPT_DIR}/../../" # freeze the spec version to make SpanAttributess generation reproducible SPEC_VERSION=v1.25.0 -GENERATOR_VERSION=0.24.0 +GENERATOR_VERSION=0.7.0 # When running on windows and your are getting references to ";C" (like Telemetry;C) # then this is an issue with the bash shell, so first run the following in your shell: @@ -27,30 +27,18 @@ cd ${SCRIPT_DIR} docker run --rm --platform linux/amd64 \ -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ - -v ${SCRIPT_DIR}/templates:/templates \ + -v ${SCRIPT_DIR}/templates:/weaver/templates \ -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/:/output \ - otel/semconvgen:${GENERATOR_VERSION} \ - --yaml-root /source \ - code \ - --template /templates/SemanticAttributes.ts.j2 \ - --output /output/stable.ts \ - -Dfilter=is_stable - -docker run --rm --platform linux/amd64 \ - -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ - -v ${SCRIPT_DIR}/templates:/templates \ - -v ${ROOT_DIR}/packages/opentelemetry-semantic-conventions/src/:/output \ - otel/semconvgen:${GENERATOR_VERSION} \ - --yaml-root /source \ - code \ - --template /templates/SemanticAttributes.ts.j2 \ - --output /output/experimental.ts \ - -Dfilter=is_experimental - -# Run the automatic linting fixing task to ensure it will pass eslint -cd "$ROOT_DIR" - -npm run lint:fix:changed + otel/weaver:$GENERATOR_VERSION \ + registry generate \ + --registry=/source \ + --templates=/weaver/templates \ + stable \ + /output/ + +# Run lint checks +# cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" +# npm run lint # Run the size checks for the generated files cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" diff --git a/scripts/semconv/templates/SemanticAttributes.ts.j2 b/scripts/semconv/templates/SemanticAttributes.ts.j2 deleted file mode 100644 index 379f766779..0000000000 --- a/scripts/semconv/templates/SemanticAttributes.ts.j2 +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -{%- macro print_value(type, value) -%} - {{ "'" if type == "string"}}{{value}}{{ "'" if type == "string"}} -{%- endmacro %} -{%- macro to_const_name_2(attr_name) %} -{{- attr_name | replace("_", "") | replace(".", "_") | upper }} -{%- endmacro %} - -//---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/{{template}} -//---------------------------------------------------------------------------------------------------------- - -{%- set filtered_attributes = attributes | select(filter) | list %} -{%- set filtered_metrics = metrics | select(filter) | list %} - -{%- for metric in filtered_metrics %} - -/** - * {% filter escape %}{{metric.brief | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} - {%- if metric.note %} - * - * Note: {% filter escape %}{{metric.note | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} - {%- endif %} - {%- if (metric.stability | string()) != "StabilityLevel.STABLE" %} - * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - {%- endif %} - {%- if metric.deprecated %} - * - * @deprecated {{metric.deprecated | to_doc_brief | replace("\n", "\n * ") }}. - {%- endif %} - */ -export const METRIC_{{to_const_name_2(metric.metric_name)}} = {{ print_value ("string", metric.metric_name) }} as const; - -{%- endfor %} - -{%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} - -/** - * {% filter escape %}{{attribute.brief | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} - {%- if attribute.note %} - * - * Note: {% filter escape %}{{attribute.note | to_doc_brief | replace("\n", "\n * ") }}.{% endfilter %} - {%- endif %} - {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - {%- endif %} - {%- if attribute.deprecated %} - * - * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. - {%- endif %} - */ -export const ATTR_{{ to_const_name_2(attribute.fqn) }} = {{ print_value ("string", attribute.fqn) }} as const; - -{%- endfor %} - -{%- for attribute in filtered_attributes if attribute.is_local and not attribute.ref %} -{%- if attribute.is_enum %} -{%- set class_name = to_const_name_2(attribute.fqn) %} -{%- set type = attribute.attr_type.enum_type %} -{%- if attribute.attr_type.members is defined and attribute.attr_type.members|length > 0 %} -{%- for member in attribute.attr_type.members if attribute.is_local and not attribute.ref %} - -/** - * Enum value {{ print_value(type, member.value) }} for attribute {@link ATTR_{{ class_name }}}. - {%- if (attribute.stability | string()) != "StabilityLevel.STABLE" %} - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - {%- endif %} - {%- if attribute.deprecated %} - * - * @deprecated {{attribute.deprecated | to_doc_brief | replace("\n", "\n * ") }}. - {%- endif %} - */ -export const ENUM_{{class_name}}_VALUE_{{ to_const_name_2(member.member_id) }} = {{ print_value(type, member.value) }} as const; -{%- endfor %} -{%- endif %} -{%- endif %} -{%- endfor %} - diff --git a/scripts/semconv/templates/registry/stable/common.j2 b/scripts/semconv/templates/registry/stable/common.j2 new file mode 100644 index 0000000000..8fe2a6db1b --- /dev/null +++ b/scripts/semconv/templates/registry/stable/common.j2 @@ -0,0 +1,74 @@ +{%- macro acronyms() -%} +["http", "url", "tls", "rpc", "os", "oci", "gcp", "faas", "dns", "db", "aws"] +{%- endmacro -%} + +{%- macro func_name(text) -%} + {{ text | snake_case_const }} +{%- endmacro -%} + +{%- macro to_atom(text) -%} +{% if text | split_id | length > 1 -%}:"{{ text }}"{%- else -%}:{{ text }}{%- endif %} +{%- endmacro -%} + +{% macro to_elixir_type(member) -%} + {%- if member.id == member.value -%} + {{ to_atom(member.value) }} + {%- else -%} + {{ member }} + {{ member.type | type_mapping }} + {%- endif -%} +{%- endmacro %} + +{%- macro enum_value_to_elixir_type(value) -%} + {%- if value is string %}{{ to_atom(value) }}{% else -%}{{ value }}{%- endif %} +{%- endmacro -%} + +{%- macro enum_value_return_type(value) -%} + {%- if value is string -%} + atom() | String.t() + {%- elif value is integer -%} + integer() + {%- else -%} + NOT_MAPPED + {%- endif -%} +{%- endmacro -%} + +{%- macro enum_value_return_type_example(value) -%} + {%- if value is string -%} + :custom_value + {%- elif value is integer -%} + 27 + {%- else -%} + NOT_MAPPED + {%- endif -%} +{%- endmacro -%} + +{%- macro erlang_enum_value_return_type_example(value) -%} + {%- if value is string -%} + custom_value + {%- elif value is integer -%} + 27 + {%- else -%} + NOT_MAPPED + {%- endif -%} +{%- endmacro -%} + +{%- macro enum_to_map(members) -%} + {% raw %}%{{% endraw %} + {% for member in members %} + {{ to_atom(member.id) }} => {{ enum_value_to_elixir_type(member.value) }}{% if not loop.last %},{% endif %} + {% endfor %} + {% raw %}}{% endraw %} +{%- endmacro -%} + +{%- macro strong_reqs(string) -%} + {{ string | replace(" MUST ", " **MUST** ") | replace(" MUST NOT ", " **MUST NOT** ") | replace(" SHOULD ", " **SHOULD** ") | replace(" SHOULD NOT ", " **SHOULD NOT** ") | replace(" MAY ", " **MAY** ") | replace(" NOT ", " **NOT** ") }} +{%- endmacro -%} + +{%- macro format_acronym(value, acronyms) -%} + {%- if value | lower in acronyms -%} + {{ value | upper }} + {%- else -%} + {{ value }} + {%- endif -%} +{%- endmacro -%} \ No newline at end of file diff --git a/scripts/semconv/templates/registry/stable/docstring.ts.j2 b/scripts/semconv/templates/registry/stable/docstring.ts.j2 new file mode 100644 index 0000000000..a351c55c64 --- /dev/null +++ b/scripts/semconv/templates/registry/stable/docstring.ts.j2 @@ -0,0 +1,21 @@ +{%- macro strong_reqs(string) -%} + {{ string | replace(" MUST ", " **MUST** ") | replace(" MUST NOT ", " **MUST NOT** ") | replace(" SHOULD ", " **SHOULD** ") | replace(" SHOULD NOT ", " **SHOULD NOT** ") | replace(" MAY ", " **MAY** ") | replace(" NOT ", " **NOT** ") }} +{%- endmacro -%} + +{%- macro docstring(obj, type="value") -%} +/** +{{ strong_reqs(obj.brief | comment_with_prefix(" * ")) }} +{%- if obj.note %} + * +{{ ("@note " ~ strong_reqs(obj.note)) | comment_with_prefix(" * ") }} +{%- endif %} + {%- if (obj.stability) != "stable" %} + * + * @experimental This {{type}} is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + {%- endif %} + {%- if obj.deprecated %} + * + * @deprecated {{ strong_reqs(obj.deprecated) | comment_with_prefix(" * ") }}. + {%- endif %} + */ +{%- endmacro -%} diff --git a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 new file mode 100644 index 0000000000..a8e939fe96 --- /dev/null +++ b/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 @@ -0,0 +1,27 @@ +{{- template.set_file_name("experimental_attributes.ts") -}} +{%- import 'docstring.ts.j2' as d -%} +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- +{% for attribute in ctx | attribute_sort %} +{%- if attribute.name not in params.excluded_attributes %} +{{d.docstring(attribute, "attribute")}} +export const ATTR_{{ attribute.name | screaming_snake_case_const }} = '{{attribute.name}}'; +{%- endif %} +{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 b/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 new file mode 100644 index 0000000000..10f6ee33b5 --- /dev/null +++ b/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 @@ -0,0 +1,25 @@ +{{- template.set_file_name("experimental_metrics.ts") -}} +{%- import 'docstring.ts.j2' as d -%} +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- +{% for metric in ctx | sort(attribute="metric_name") %} +{{d.docstring(metric, "metric")}} +export const METRIC_{{ metric.metric_name | screaming_snake_case_const }} = '{{metric.metric_name}}'; +{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 new file mode 100644 index 0000000000..6140af7959 --- /dev/null +++ b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 @@ -0,0 +1,27 @@ +{{- template.set_file_name("stable_attributes.ts") -}} +{%- import 'docstring.ts.j2' as d -%} +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- +{% for attribute in ctx | attribute_sort %} +{%- if attribute.name not in params.excluded_attributes %} +{{d.docstring(attribute)}} +export const ATTR_{{ attribute.name | screaming_snake_case_const }} = '{{attribute.name}}'; +{%- endif %} +{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 b/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 new file mode 100644 index 0000000000..6935672281 --- /dev/null +++ b/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 @@ -0,0 +1,25 @@ +{{- template.set_file_name("stable_metrics.ts") -}} +{%- import 'docstring.ts.j2' as d -%} +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- +{% for metric in ctx | sort(attribute="metric_name") %} +{{d.docstring(metric)}} +export const METRIC_{{ metric.metric_name | screaming_snake_case_const }} = '{{metric.metric_name}}'; +{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/stable/weaver.yaml new file mode 100644 index 0000000000..23b0fac9a9 --- /dev/null +++ b/scripts/semconv/templates/registry/stable/weaver.yaml @@ -0,0 +1,36 @@ +params: + excluded_attributes: ["messaging.client_id"] + +templates: + - pattern: stable_attributes.ts.j2 + filter: > + semconv_attributes({ + "exclude_stability": ["experimental"] + }) + application_mode: single + - pattern: stable_metrics.ts.j2 + filter: > + semconv_metrics({ + "exclude_stability": ["experimental"] + }) + application_mode: single + - pattern: experimental_attributes.ts.j2 + filter: > + semconv_attributes({ + "exclude_stability": ["stable"] + }) + application_mode: single + - pattern: experimental_metrics.ts.j2 + filter: > + semconv_metrics({ + "exclude_stability": ["stable"] + }) + application_mode: single + +text_maps: + js_types: + int: number + double: number + boolean: boolean + string: string + string[]: string[] From d88363bf07082010658f300f8e862383a0fe443b Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 1 Aug 2024 08:27:30 -0400 Subject: [PATCH 22/47] Remove lint from semconv package --- packages/opentelemetry-semantic-conventions/package.json | 2 -- scripts/semconv/generate.sh | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index a918875098..826c78f17d 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -44,8 +44,6 @@ "prepublishOnly": "npm run compile", "compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json", - "lint": "eslint . --ext .ts", - "lint:fix": "eslint . --ext .ts --fix", "version": "node ../../scripts/version-update.js", "watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json", "precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies", diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index 7506eb58eb..a90a922f5e 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -36,10 +36,6 @@ docker run --rm --platform linux/amd64 \ stable \ /output/ -# Run lint checks -# cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" -# npm run lint - -# Run the size checks for the generated files +# Ensure semconv compiles cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions" -npm run compile \ No newline at end of file +npm run compile From 97aac66641d4a40c09baaa774c75b92ff2d3ceff Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Thu, 1 Aug 2024 09:45:32 -0400 Subject: [PATCH 23/47] Add template generators --- .../src/stable_attributes.ts | 4 ++-- .../semconv/templates/registry/stable/stable_attributes.ts.j2 | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index beaec1df4a..2fac771363 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -119,7 +119,7 @@ export const ATTR_EXCEPTION_TYPE = 'exception.type'; * The `User-Agent` header is already captured in the `user_agent.original` attribute. Users **MAY** explicitly configure instrumentations to capture them even though it is not recommended. * The attribute value **MUST** consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers. */ -export const ATTR_HTTP_REQUEST_HEADER = 'http.request.header'; +export const ATTR_HTTP_REQUEST_HEADER = (key: string) => `http.request.header.${key}`; /** * HTTP request method. @@ -160,7 +160,7 @@ export const ATTR_HTTP_REQUEST_RESENDCOUNT = 'http.request.resend_count'; * Users **MAY** explicitly configure instrumentations to capture them even though it is not recommended. * The attribute value **MUST** consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers. */ -export const ATTR_HTTP_RESPONSE_HEADER = 'http.response.header'; +export const ATTR_HTTP_RESPONSE_HEADER = (key: string) => `http.response.header.${key}`; /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). diff --git a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 index 6140af7959..16bd9d4af9 100644 --- a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 @@ -22,6 +22,10 @@ {% for attribute in ctx | attribute_sort %} {%- if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute)}} +{%- if attribute.type is not startingwith("template[") %} export const ATTR_{{ attribute.name | screaming_snake_case_const }} = '{{attribute.name}}'; +{%- else %} +export const ATTR_{{ attribute.name | screaming_snake_case_const }} = (key: string) => `{{attribute.name}}.${key}`; +{%- endif %} {%- endif %} {% endfor %} From c93c57b7e5b2653bba9eca37c322fd236239a466 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 08:49:13 -0400 Subject: [PATCH 24/47] Update to 0.8.0 generator --- .../src/experimental_attributes.ts | 64 +++++++++---------- .../src/experimental_metrics.ts | 2 +- scripts/semconv/generate.sh | 2 +- 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index 6157ce4aa3..cd9baf4270 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -1012,7 +1012,7 @@ export const ATTR_HOST_ARCH = 'host.arch'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_CACHE_L_2_SIZE = 'host.cpu.cache.l2.size'; +export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; /** * Family or generation of the CPU. @@ -1151,7 +1151,7 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_CLUSTER_NAME = 'k8s.cluster.name'; +export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; /** * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. @@ -1181,154 +1181,154 @@ export const ATTR_K_8_S_CLUSTER_NAME = 'k8s.cluster.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_CLUSTER_UID = 'k8s.cluster.uid'; +export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; /** * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_CONTAINER_NAME = 'k8s.container.name'; +export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; /** * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_CONTAINER_RESTARTCOUNT = 'k8s.container.restart_count'; +export const ATTR_K8S_CONTAINER_RESTARTCOUNT = 'k8s.container.restart_count'; /** * The name of the CronJob. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_CRONJOB_NAME = 'k8s.cronjob.name'; +export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; /** * The UID of the CronJob. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_CRONJOB_UID = 'k8s.cronjob.uid'; +export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; /** * The name of the DaemonSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_DAEMONSET_NAME = 'k8s.daemonset.name'; +export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; /** * The UID of the DaemonSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_DAEMONSET_UID = 'k8s.daemonset.uid'; +export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; /** * The name of the Deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_DEPLOYMENT_NAME = 'k8s.deployment.name'; +export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; /** * The UID of the Deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_DEPLOYMENT_UID = 'k8s.deployment.uid'; +export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; /** * The name of the Job. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_JOB_NAME = 'k8s.job.name'; +export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; /** * The UID of the Job. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_JOB_UID = 'k8s.job.uid'; +export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; /** * The name of the namespace that the pod is running in. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_NAMESPACE_NAME = 'k8s.namespace.name'; +export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; /** * The name of the Node. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_NODE_NAME = 'k8s.node.name'; +export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; /** * The UID of the Node. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_NODE_UID = 'k8s.node.uid'; +export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; /** * The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_POD_ANNOTATION = 'k8s.pod.annotation'; +export const ATTR_K8S_POD_ANNOTATION = 'k8s.pod.annotation'; /** * The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_POD_LABEL = 'k8s.pod.label'; +export const ATTR_K8S_POD_LABEL = 'k8s.pod.label'; /** * The name of the Pod. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_POD_NAME = 'k8s.pod.name'; +export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; /** * The UID of the Pod. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_POD_UID = 'k8s.pod.uid'; +export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; /** * The name of the ReplicaSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_REPLICASET_NAME = 'k8s.replicaset.name'; +export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; /** * The UID of the ReplicaSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_REPLICASET_UID = 'k8s.replicaset.uid'; +export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; /** * The name of the StatefulSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_STATEFULSET_NAME = 'k8s.statefulset.name'; +export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; /** * The UID of the StatefulSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K_8_S_STATEFULSET_UID = 'k8s.statefulset.uid'; +export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; /** * The number of messages sent, received, or processed in the scope of the batching operation. @@ -2009,21 +2009,21 @@ export const ATTR_TLS_CLIENT_CERTIFICATECHAIN = 'tls.client.certificate_chain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_MD_5 = 'tls.client.hash.md5'; +export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_SHA_1 = 'tls.client.hash.sha1'; +export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_SHA_256 = 'tls.client.hash.sha256'; +export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. @@ -2037,7 +2037,7 @@ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_JA_3 = 'tls.client.ja3'; +export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; /** * Date/Time indicating when client certificate is no longer considered valid. @@ -2135,21 +2135,21 @@ export const ATTR_TLS_SERVER_CERTIFICATECHAIN = 'tls.server.certificate_chain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_MD_5 = 'tls.server.hash.md5'; +export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_SHA_1 = 'tls.server.hash.sha1'; +export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_SHA_256 = 'tls.server.hash.sha256'; +export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. @@ -2163,7 +2163,7 @@ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_JA_3_S = 'tls.server.ja3s'; +export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; /** * Date/Time indicating when server certificate is no longer considered valid. diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts index 34fbf7e107..a92c9e0f40 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -286,7 +286,7 @@ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_LOAD_1_M = 'jvm.system.cpu.load_1m'; +export const METRIC_JVM_SYSTEM_CPU_LOAD1M = 'jvm.system.cpu.load_1m'; /** * Recent CPU utilization for the whole system as reported by the JVM. diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index a90a922f5e..e032116f87 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -7,7 +7,7 @@ ROOT_DIR="${SCRIPT_DIR}/../../" # freeze the spec version to make SpanAttributess generation reproducible SPEC_VERSION=v1.25.0 -GENERATOR_VERSION=0.7.0 +GENERATOR_VERSION=0.8.0 # When running on windows and your are getting references to ";C" (like Telemetry;C) # then this is an issue with the bash shell, so first run the following in your shell: From 504f09ab70d0183973a3be0c1d576eb74767a300 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 08:53:14 -0400 Subject: [PATCH 25/47] Change entrypoint to incubating --- .../opentelemetry-semantic-conventions/package.json | 10 +++++----- .../src/{index-experimental.ts => index-incubating.ts} | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) rename packages/opentelemetry-semantic-conventions/src/{index-experimental.ts => index-incubating.ts} (91%) diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 826c78f17d..09eed3f37a 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -13,11 +13,11 @@ "types": "./build/src/index.d.ts", "default": "./build/src/index.js" }, - "./experimental": { - "module": "./build/esm/index-experimental.js", - "esnext": "./build/esnext/index-experimental.js", - "types": "./build/src/index-experimental.d.ts", - "default": "./build/src/index-experimental.js" + "./incubating": { + "module": "./build/esm/index-incubating.js", + "esnext": "./build/esnext/index-incubating.js", + "types": "./build/src/index-incubating.d.ts", + "default": "./build/src/index-incubating.js" }, "./stable": { "module": "./build/esm/stable.js", diff --git a/packages/opentelemetry-semantic-conventions/src/index-experimental.ts b/packages/opentelemetry-semantic-conventions/src/index-incubating.ts similarity index 91% rename from packages/opentelemetry-semantic-conventions/src/index-experimental.ts rename to packages/opentelemetry-semantic-conventions/src/index-incubating.ts index 9f1ec863d6..169e611ace 100644 --- a/packages/opentelemetry-semantic-conventions/src/index-experimental.ts +++ b/packages/opentelemetry-semantic-conventions/src/index-incubating.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -// Experimental export also contains stable constants in order to maintain +// Incubating export also contains stable constants in order to maintain // backward compatibility between minor version releases export * from './stable_attributes'; export * from './stable_metrics'; From cb11d1fc8548532550dc022eaad425f6762c92bc Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 08:58:54 -0400 Subject: [PATCH 26/47] Change typesversions to incubating --- packages/opentelemetry-semantic-conventions/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index 09eed3f37a..d60e8aae2b 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -31,8 +31,8 @@ "*": [ "./build/src/index.d.ts" ], - "experimental": [ - "./build/src/index-experimental.d.ts" + "incubating": [ + "./build/src/index-incubating.d.ts" ], "stable": [ "./build/src/stable.d.ts" From 68706338bab57a7e81784b89d5f88d50a975c2e9 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 10:17:24 -0400 Subject: [PATCH 27/47] Remove stable export, default export is stable --- packages/opentelemetry-semantic-conventions/package.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/package.json b/packages/opentelemetry-semantic-conventions/package.json index d60e8aae2b..48624b5cc9 100644 --- a/packages/opentelemetry-semantic-conventions/package.json +++ b/packages/opentelemetry-semantic-conventions/package.json @@ -18,12 +18,6 @@ "esnext": "./build/esnext/index-incubating.js", "types": "./build/src/index-incubating.d.ts", "default": "./build/src/index-incubating.js" - }, - "./stable": { - "module": "./build/esm/stable.js", - "esnext": "./build/esnext/stable.js", - "types": "./build/src/stable.d.ts", - "default": "./build/src/stable.js" } }, "typesVersions": { @@ -33,9 +27,6 @@ ], "incubating": [ "./build/src/index-incubating.d.ts" - ], - "stable": [ - "./build/src/stable.d.ts" ] } }, From f9cdde84f3e8d9e67656821eee5567a7ef08fb8b Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 10:33:26 -0400 Subject: [PATCH 28/47] Remove tsbuildinfo --- tsconfig.tsbuildinfo | 1 - 1 file changed, 1 deletion(-) delete mode 100644 tsconfig.tsbuildinfo diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo deleted file mode 100644 index bd9c8b8eab..0000000000 --- a/tsconfig.tsbuildinfo +++ /dev/null @@ -1 +0,0 @@ -{"version":"4.4.4"} \ No newline at end of file From da5ae019c5e4ce735902ac84af59a6d298b6b4cd Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 12:12:10 -0400 Subject: [PATCH 29/47] Print enum values and do not squash underscores --- .../src/experimental_attributes.ts | 1473 +++++++++++++++-- .../src/experimental_metrics.ts | 42 +- .../src/stable_attributes.ts | 158 +- .../src/stable_metrics.ts | 32 +- .../templates/registry/stable/common.j2 | 75 +- .../stable/experimental_attributes.ts.j2 | 15 +- .../stable/experimental_metrics.ts.j2 | 2 +- .../registry/stable/stable_attributes.ts.j2 | 13 +- .../registry/stable/stable_metrics.ts.j2 | 2 +- .../templates/registry/stable/weaver.yaml | 2 +- 10 files changed, 1591 insertions(+), 223 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index cd9baf4270..bcf84f26ef 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -23,35 +23,35 @@ * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ANDROID_OS_APILEVEL = 'android.os.api_level'; +export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTEDEFINITIONS = 'aws.dynamodb.attribute_definitions'; +export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions'; /** * The value of the `AttributesToGet` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTESTOGET = 'aws.dynamodb.attributes_to_get'; +export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get'; /** * The value of the `ConsistentRead` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSISTENTREAD = 'aws.dynamodb.consistent_read'; +export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSUMEDCAPACITY = 'aws.dynamodb.consumed_capacity'; +export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity'; /** * The value of the `Count` response parameter. @@ -65,35 +65,35 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_EXCLUSIVESTARTTABLE = 'aws.dynamodb.exclusive_start_table'; +export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table'; /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXUPDATES = 'aws.dynamodb.global_secondary_index_updates'; +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates'; /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBALSECONDARYINDEXES = 'aws.dynamodb.global_secondary_indexes'; +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes'; /** * The value of the `IndexName` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_INDEXNAME = 'aws.dynamodb.index_name'; +export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ITEMCOLLECTIONMETRICS = 'aws.dynamodb.item_collection_metrics'; +export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics'; /** * The value of the `Limit` request parameter. @@ -107,7 +107,7 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_LOCALSECONDARYINDEXES = 'aws.dynamodb.local_secondary_indexes'; +export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes'; /** * The value of the `ProjectionExpression` request parameter. @@ -121,28 +121,28 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONEDREADCAPACITY = 'aws.dynamodb.provisioned_read_capacity'; +export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity'; /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONEDWRITECAPACITY = 'aws.dynamodb.provisioned_write_capacity'; +export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity'; /** * The value of the `ScanIndexForward` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCANFORWARD = 'aws.dynamodb.scan_forward'; +export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; /** * The value of the `ScannedCount` response parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCANNEDCOUNT = 'aws.dynamodb.scanned_count'; +export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; /** * The value of the `Segment` request parameter. @@ -163,21 +163,21 @@ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLECOUNT = 'aws.dynamodb.table_count'; +export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; /** * The keys in the `RequestItems` object field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLENAMES = 'aws.dynamodb.table_names'; +export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; /** * The value of the `TotalSegments` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TOTALSEGMENTS = 'aws.dynamodb.total_segments'; +export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; /** * Array of brand name and version separated by a space @@ -230,7 +230,7 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_AVAILABILITYZONE = 'cloud.availability_zone'; +export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; /** * The cloud platform in use. @@ -241,6 +241,147 @@ export const ATTR_CLOUD_AVAILABILITYZONE = 'cloud.availability_zone'; */ export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; +/** + * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; + +/** + * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; + +/** + * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift'; + +/** + * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner'; + +/** + * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2'; + +/** + * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs'; + +/** + * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks'; + +/** + * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk'; + +/** + * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda'; + +/** + * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift'; + +/** + * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks'; + +/** + * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = 'azure_app_service'; + +/** + * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps'; + +/** + * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = 'azure_container_instances'; + +/** + * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions'; + +/** + * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift'; + +/** + * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm'; + +/** + * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine'; + +/** + * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution'; + +/** + * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; + +/** + * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run'; + +/** + * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; + +/** + * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine'; + +/** + * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift'; + +/** + * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; + +/** + * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; + +/** + * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; + +/** + * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. + */ +export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; + + /** * Name of the cloud provider. * @@ -248,6 +389,42 @@ export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; */ export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; +/** + * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; + +/** + * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_AWS = 'aws'; + +/** + * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_AZURE = 'azure'; + +/** + * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_GCP = 'gcp'; + +/** + * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_HEROKU = 'heroku'; + +/** + * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud'; + +/** + * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. + */ +export const ATTR_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; + + /** * The geographical region the resource is running. * @@ -280,42 +457,42 @@ export const ATTR_CLOUD_REGION = 'cloud.region'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_RESOURCEID = 'cloud.resource_id'; +export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENTID = 'cloudevents.event_id'; +export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENTSOURCE = 'cloudevents.event_source'; +export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENTSPECVERSION = 'cloudevents.event_spec_version'; +export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'; /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENTSUBJECT = 'cloudevents.event_subject'; +export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENTTYPE = 'cloudevents.event_type'; +export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; /** * The column number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. @@ -373,14 +550,14 @@ export const ATTR_CONTAINER_COMMAND = 'container.command'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMANDARGS = 'container.command_args'; +export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; /** * The full command run by the container as a single string representing the full command. [2] * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMANDLINE = 'container.command_line'; +export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; /** * The CPU state for this data point. @@ -389,6 +566,22 @@ export const ATTR_CONTAINER_COMMANDLINE = 'container.command_line'; */ export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; +/** + * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. + */ +export const ATTR_CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel'; + +/** + * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. + */ +export const ATTR_CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system'; + +/** + * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. + */ +export const ATTR_CONTAINER_CPU_STATE_VALUE_USER = 'user'; + + /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. * @@ -421,7 +614,7 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_REPODIGESTS = 'container.image.repo_digests'; +export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. @@ -435,7 +628,7 @@ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_LABEL = 'container.label'; +export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; /** * Container name used by container runtime. @@ -456,7 +649,63 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_CONSISTENCYLEVEL = 'db.cassandra.consistency_level'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'; + +/** + * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all'; + +/** + * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any'; + +/** + * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = 'each_quorum'; + +/** + * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = 'local_one'; + +/** + * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = 'local_quorum'; + +/** + * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = 'local_serial'; + +/** + * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one'; + +/** + * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum'; + +/** + * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial'; + +/** + * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three'; + +/** + * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + */ +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two'; + /** * The data center of the coordinating node for a query. @@ -484,14 +733,14 @@ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_PAGESIZE = 'db.cassandra.page_size'; +export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_SPECULATIVEEXECUTIONCOUNT = 'db.cassandra.speculative_execution_count'; +export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; /** * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). @@ -507,14 +756,25 @@ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CLIENTID = 'db.cosmosdb.client_id'; +export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; /** * Cosmos client connection mode. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CONNECTIONMODE = 'db.cosmosdb.connection_mode'; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; + +/** + * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. + */ +export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct'; + +/** + * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. + */ +export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway'; + /** * Cosmos DB container name. @@ -528,35 +788,111 @@ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_OPERATIONTYPE = 'db.cosmosdb.operation_type'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; + +/** + * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch'; + +/** + * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create'; + +/** + * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete'; + +/** + * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute'; + +/** + * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript'; + +/** + * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head'; + +/** + * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed'; + +/** + * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid'; + +/** + * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch'; + +/** + * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query'; + +/** + * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan'; + +/** + * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read'; + +/** + * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed'; + +/** + * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace'; + +/** + * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + */ +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert'; + /** * RU consumed for that operation * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUESTCHARGE = 'db.cosmosdb.request_charge'; +export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; /** * Request payload size in bytes * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUESTCONTENTLENGTH = 'db.cosmosdb.request_content_length'; +export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length'; /** * Cosmos DB status code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_STATUSCODE = 'db.cosmosdb.status_code'; +export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; /** * Cosmos DB sub status code. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_SUBSTATUSCODE = 'db.cosmosdb.sub_status_code'; +export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; /** * Represents the identifier of an Elasticsearch cluster. @@ -572,7 +908,7 @@ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_ELASTICSEARCH_PATHPARTS = 'db.elasticsearch.path_parts'; +export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsearch.path_parts.${key}`; /** * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. @@ -595,7 +931,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_MSSQL_INSTANCENAME = 'db.mssql.instance_name'; +export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; /** * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). @@ -620,7 +956,7 @@ export const ATTR_DB_OPERATION = 'db.operation'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_REDIS_DATABASEINDEX = 'db.redis.database_index'; +export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; /** * The name of the primary table that the operation is acting upon, including the database name (if applicable). @@ -645,6 +981,267 @@ export const ATTR_DB_STATEMENT = 'db.statement'; */ export const ATTR_DB_SYSTEM = 'db.system'; +/** + * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_ADABAS = 'adabas'; + +/** + * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_CACHE = 'cache'; + +/** + * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_CASSANDRA = 'cassandra'; + +/** + * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse'; + +/** + * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape'; + +/** + * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb'; + +/** + * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion'; + +/** + * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb'; + +/** + * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_COUCHBASE = 'couchbase'; + +/** + * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_COUCHDB = 'couchdb'; + +/** + * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_DB2 = 'db2'; + +/** + * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_DERBY = 'derby'; + +/** + * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb'; + +/** + * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_EDB = 'edb'; + +/** + * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch'; + +/** + * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_FILEMAKER = 'filemaker'; + +/** + * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_FIREBIRD = 'firebird'; + +/** + * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql'; + +/** + * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_GEODE = 'geode'; + +/** + * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_H2 = 'h2'; + +/** + * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_HANADB = 'hanadb'; + +/** + * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_HBASE = 'hbase'; + +/** + * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_HIVE = 'hive'; + +/** + * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_HSQLDB = 'hsqldb'; + +/** + * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_INFORMIX = 'informix'; + +/** + * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_INGRES = 'ingres'; + +/** + * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_INSTANTDB = 'instantdb'; + +/** + * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_INTERBASE = 'interbase'; + +/** + * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MARIADB = 'mariadb'; + +/** + * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MAXDB = 'maxdb'; + +/** + * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MEMCACHED = 'memcached'; + +/** + * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MONGODB = 'mongodb'; + +/** + * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MSSQL = 'mssql'; + +/** + * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact'; + +/** + * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_MYSQL = 'mysql'; + +/** + * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_NEO4J = 'neo4j'; + +/** + * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_NETEZZA = 'netezza'; + +/** + * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch'; + +/** + * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_ORACLE = 'oracle'; + +/** + * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql'; + +/** + * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_PERVASIVE = 'pervasive'; + +/** + * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_POINTBASE = 'pointbase'; + +/** + * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql'; + +/** + * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_PROGRESS = 'progress'; + +/** + * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_REDIS = 'redis'; + +/** + * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_REDSHIFT = 'redshift'; + +/** + * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_SPANNER = 'spanner'; + +/** + * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_SQLITE = 'sqlite'; + +/** + * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_SYBASE = 'sybase'; + +/** + * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_TERADATA = 'teradata'; + +/** + * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_TRINO = 'trino'; + +/** + * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_VERTICA = 'vertica'; + + /** * Username for accessing the database. * @@ -726,6 +1323,17 @@ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; */ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; +/** + * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. + */ +export const ATTR_DISK_IO_DIRECTION_VALUE_READ = 'read'; + +/** + * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. + */ +export const ATTR_DISK_IO_DIRECTION_VALUE_WRITE = 'write'; + + /** * The name being queried. * @@ -791,6 +1399,22 @@ export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; */ export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; +/** + * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. + */ +export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete'; + +/** + * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. + */ +export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit'; + +/** + * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. + */ +export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert'; + + /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * @@ -812,7 +1436,7 @@ export const ATTR_FAAS_INSTANCE = 'faas.instance'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOCATIONID = 'faas.invocation_id'; +export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; /** * The name of the invoked function. @@ -821,7 +1445,7 @@ export const ATTR_FAAS_INVOCATIONID = 'faas.invocation_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKEDNAME = 'faas.invoked_name'; +export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; /** * The cloud provider of the invoked function. @@ -830,7 +1454,33 @@ export const ATTR_FAAS_INVOKEDNAME = 'faas.invoked_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKEDPROVIDER = 'faas.invoked_provider'; +export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; + +/** + * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + */ +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; + +/** + * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + */ +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws'; + +/** + * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + */ +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure'; + +/** + * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + */ +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp'; + +/** + * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + */ +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; + /** * The cloud region of the invoked function. @@ -839,7 +1489,7 @@ export const ATTR_FAAS_INVOKEDPROVIDER = 'faas.invoked_provider'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKEDREGION = 'faas.invoked_region'; +export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; /** * The amount of memory available to the serverless function converted to Bytes. @@ -848,7 +1498,7 @@ export const ATTR_FAAS_INVOKEDREGION = 'faas.invoked_region'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_MAXMEMORY = 'faas.max_memory'; +export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; /** * The name of the single function that this runtime instance executes. @@ -882,11 +1532,37 @@ export const ATTR_FAAS_NAME = 'faas.name'; export const ATTR_FAAS_TIME = 'faas.time'; /** - * Type of the trigger which caused this function invocation. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_FAAS_TRIGGER = 'faas.trigger'; + * Type of the trigger which caused this function invocation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_FAAS_TRIGGER = 'faas.trigger'; + +/** + * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. + */ +export const ATTR_FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource'; + +/** + * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. + */ +export const ATTR_FAAS_TRIGGER_VALUE_HTTP = 'http'; + +/** + * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. + */ +export const ATTR_FAAS_TRIGGER_VALUE_OTHER = 'other'; + +/** + * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. + */ +export const ATTR_FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub'; + +/** + * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. + */ +export const ATTR_FAAS_TRIGGER_VALUE_TIMER = 'timer'; + /** * The immutable version of the function being executed. @@ -910,14 +1586,14 @@ export const ATTR_FAAS_VERSION = 'faas.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATUREFLAG_KEY = 'feature_flag.key'; +export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; /** * The name of the service provider that performs the flag evaluation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATUREFLAG_PROVIDERNAME = 'feature_flag.provider_name'; +export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; /** * **SHOULD** be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. @@ -933,7 +1609,7 @@ export const ATTR_FEATUREFLAG_PROVIDERNAME = 'feature_flag.provider_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATUREFLAG_VARIANT = 'feature_flag.variant'; +export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; /** * Directory where the file is located. It should include the drive letter, when appropriate. @@ -977,14 +1653,14 @@ export const ATTR_FILE_SIZE = 'file.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUDRUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; +export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUDRUN_JOB_TASKINDEX = 'gcp.cloud_run.job.task_index'; +export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). @@ -1007,6 +1683,47 @@ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; */ export const ATTR_HOST_ARCH = 'host.arch'; +/** + * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_AMD64 = 'amd64'; + +/** + * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_ARM32 = 'arm32'; + +/** + * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_ARM64 = 'arm64'; + +/** + * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_IA64 = 'ia64'; + +/** + * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_PPC32 = 'ppc32'; + +/** + * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_PPC64 = 'ppc64'; + +/** + * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_S390X = 's390x'; + +/** + * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_X86 = 'x86'; + + /** * The amount of level 2 memory cache available to the processor (in Bytes). * @@ -1118,6 +1835,17 @@ export const ATTR_HOST_TYPE = 'host.type'; */ export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; +/** + * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + */ +export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active'; + +/** + * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + */ +export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; + + /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * @@ -1195,7 +1923,7 @@ export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_RESTARTCOUNT = 'k8s.container.restart_count'; +export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; /** * The name of the CronJob. @@ -1279,14 +2007,14 @@ export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_ANNOTATION = 'k8s.pod.annotation'; +export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${key}`; /** * The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_LABEL = 'k8s.pod.label'; +export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; /** * The name of the Pod. @@ -1337,8 +2065,14 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_BATCH_MESSAGECOUNT = 'messaging.batch.message_count'; +export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; +/** + * A unique identifier for the client that consumes or produces a message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id'; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). @@ -1385,7 +2119,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.tempo * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATIONPUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; +export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; /** * The name of the original destination the message was published to @@ -1395,7 +2129,7 @@ export const ATTR_MESSAGING_DESTINATIONPUBLISH_ANONYMOUS = 'messaging.destinatio * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATIONPUBLISH_NAME = 'messaging.destination_publish.name'; +export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; /** * The name of the consumer group the event consumer is associated with. @@ -1409,14 +2143,14 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.cons * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUEDTIME = 'messaging.eventhubs.message.enqueued_time'; +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCPPUBSUB_MESSAGE_ORDERINGKEY = 'messaging.gcp_pubsub.message.ordering_key'; +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; /** * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. @@ -1463,7 +2197,7 @@ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_CONVERSATIONID = 'messaging.message.conversation_id'; +export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; /** * The size of the message body and metadata in bytes. @@ -1491,47 +2225,84 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; */ export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; +/** + * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. + */ +export const ATTR_MESSAGING_OPERATION_VALUE_CREATE = 'create'; + +/** + * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. + */ +export const ATTR_MESSAGING_OPERATION_VALUE_DELIVER = 'process'; + +/** + * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. + */ +export const ATTR_MESSAGING_OPERATION_VALUE_PUBLISH = 'publish'; + +/** + * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. + */ +export const ATTR_MESSAGING_OPERATION_VALUE_RECEIVE = 'receive'; + +/** + * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. + */ +export const ATTR_MESSAGING_OPERATION_VALUE_SETTLE = 'settle'; + + /** * RabbitMQ message routing key. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTINGKEY = 'messaging.rabbitmq.destination.routing_key'; +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; /** * RabbitMQ message delivery tag * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERYTAG = 'messaging.rabbitmq.message.delivery_tag'; +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; /** * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CLIENTGROUP = 'messaging.rocketmq.client_group'; +export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; /** * Model of message consumption. This only applies to consumer spans. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTIONMODEL = 'messaging.rocketmq.consumption_model'; +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; + +/** + * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + */ +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting'; + +/** + * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + */ +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering'; + /** * The delay time level for delay message, which determines the message delay time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAYTIMELEVEL = 'messaging.rocketmq.message.delay_time_level'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERYTIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. @@ -1561,6 +2332,27 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.t */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; +/** + * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay'; + +/** + * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo'; + +/** + * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal'; + +/** + * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; + + /** * Namespace of RocketMQ resources, resources in different namespaces are individual. * @@ -1573,28 +2365,49 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTIONNAME = 'messaging.servicebus.destination.subscription_name'; +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITIONSTATUS = 'messaging.servicebus.disposition_status'; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; + +/** + * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; + +/** + * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete'; + +/** + * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter'; + +/** + * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer'; + /** * Number of deliveries that have been attempted for this message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERYCOUNT = 'messaging.servicebus.message.delivery_count'; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUEDTIME = 'messaging.servicebus.message.enqueued_time'; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; /** * An identifier for the messaging system being used. See below for a list of well-known identifiers. @@ -1603,6 +2416,57 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUEDTIME = 'messaging.service */ export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; +/** + * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq'; + +/** + * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs'; + +/** + * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid'; + +/** + * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs'; + +/** + * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub'; + +/** + * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_JMS = 'jms'; + +/** + * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka'; + +/** + * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq'; + +/** + * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq'; + +/** + * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus'; + + /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. * @@ -1638,6 +2502,112 @@ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; */ export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; +/** + * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma'; + +/** + * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt'; + +/** + * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge'; + +/** + * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd'; + +/** + * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0'; + +/** + * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a'; + +/** + * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b'; + +/** + * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs'; + +/** + * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm'; + +/** + * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa'; + +/** + * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa'; + +/** + * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap'; + +/** + * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa'; + +/** + * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden'; + +/** + * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan'; + +/** + * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte'; + +/** + * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca'; + +/** + * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr'; + +/** + * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa'; + +/** + * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma'; + +/** + * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; + + /** * The internet connection type. * @@ -1645,6 +2615,32 @@ export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; */ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; +/** + * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell'; + +/** + * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable'; + +/** + * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown'; + +/** + * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi'; + +/** + * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; + + /** * The network IO operation direction. * @@ -1652,6 +2648,17 @@ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; */ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; +/** + * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + */ +export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive'; + +/** + * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + */ +export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit'; + + /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. * @@ -1667,7 +2674,7 @@ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_BUILDID = 'os.build_id'; +export const ATTR_OS_BUILD_ID = 'os.build_id'; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. @@ -1690,6 +2697,62 @@ export const ATTR_OS_NAME = 'os.name'; */ export const ATTR_OS_TYPE = 'os.type'; +/** + * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_AIX = 'aix'; + +/** + * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_DARWIN = 'darwin'; + +/** + * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd'; + +/** + * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_FREEBSD = 'freebsd'; + +/** + * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_HPUX = 'hpux'; + +/** + * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_LINUX = 'linux'; + +/** + * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_NETBSD = 'netbsd'; + +/** + * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_OPENBSD = 'openbsd'; + +/** + * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_SOLARIS = 'solaris'; + +/** + * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_WINDOWS = 'windows'; + +/** + * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_Z_OS = 'z_os'; + + /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * @@ -1709,14 +2772,14 @@ export const ATTR_PROCESS_COMMAND = 'process.command'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMANDARGS = 'process.command_args'; +export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMANDLINE = 'process.command_line'; +export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. @@ -1744,7 +2807,7 @@ export const ATTR_PROCESS_OWNER = 'process.owner'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PARENTPID = 'process.parent_pid'; +export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; /** * Process identifier (PID). @@ -1779,7 +2842,88 @@ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECTRPC_ERRORCODE = 'rpc.connect_rpc.error_code'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; + +/** + * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted'; + +/** + * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; + +/** + * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled'; + +/** + * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; + +/** + * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded'; + +/** + * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition'; + +/** + * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal'; + +/** + * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument'; + +/** + * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found'; + +/** + * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range'; + +/** + * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied'; + +/** + * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted'; + +/** + * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated'; + +/** + * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable'; + +/** + * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented'; + +/** + * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; + /** * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. @@ -1788,7 +2932,7 @@ export const ATTR_RPC_CONNECTRPC_ERRORCODE = 'rpc.connect_rpc.error_code'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECTRPC_REQUEST_METADATA = 'rpc.connect_rpc.request.metadata'; +export const ATTR_RPC_CONNECT_RPC_REQUEST_METADATA = (key: string) => `rpc.connect_rpc.request.metadata.${key}`; /** * Connect response metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. @@ -1797,7 +2941,7 @@ export const ATTR_RPC_CONNECTRPC_REQUEST_METADATA = 'rpc.connect_rpc.request.met * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECTRPC_RESPONSE_METADATA = 'rpc.connect_rpc.response.metadata'; +export const ATTR_RPC_CONNECT_RPC_RESPONSE_METADATA = (key: string) => `rpc.connect_rpc.response.metadata.${key}`; /** * gRPC request metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. @@ -1806,7 +2950,7 @@ export const ATTR_RPC_CONNECTRPC_RESPONSE_METADATA = 'rpc.connect_rpc.response.m * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_REQUEST_METADATA = 'rpc.grpc.request.metadata'; +export const ATTR_RPC_GRPC_REQUEST_METADATA = (key: string) => `rpc.grpc.request.metadata.${key}`; /** * gRPC response metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. @@ -1815,35 +2959,121 @@ export const ATTR_RPC_GRPC_REQUEST_METADATA = 'rpc.grpc.request.metadata'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_RESPONSE_METADATA = 'rpc.grpc.response.metadata'; +export const ATTR_RPC_GRPC_RESPONSE_METADATA = (key: string) => `rpc.grpc.response.metadata.${key}`; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_STATUSCODE = 'rpc.grpc.status_code'; +export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; + +/** + * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OK = 0; + +/** + * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; + +/** + * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; + +/** + * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; + +/** + * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; + +/** + * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; + +/** + * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; + +/** + * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; + +/** + * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; + +/** + * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; + +/** + * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; + +/** + * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; + +/** + * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; + +/** + * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; + +/** + * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; + +/** + * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; + +/** + * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; + /** * `error.code` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERRORCODE = 'rpc.jsonrpc.error_code'; +export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; /** * `error.message` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERRORMESSAGE = 'rpc.jsonrpc.error_message'; +export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_REQUESTID = 'rpc.jsonrpc.request_id'; +export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. @@ -1877,6 +3107,32 @@ export const ATTR_RPC_SERVICE = 'rpc.service'; */ export const ATTR_RPC_SYSTEM = 'rpc.system'; +/** + * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. + */ +export const ATTR_RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo'; + +/** + * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. + */ +export const ATTR_RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc'; + +/** + * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. + */ +export const ATTR_RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf'; + +/** + * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. + */ +export const ATTR_RPC_SYSTEM_VALUE_GRPC = 'grpc'; + +/** + * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. + */ +export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi'; + + /** * The string ID of the service instance. * @@ -1932,7 +3188,7 @@ export const ATTR_SESSION_ID = 'session.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_PREVIOUSID = 'session.previous_id'; +export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; /** * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -2002,7 +3258,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATECHAIN = 'tls.client.certificate_chain'; +export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -2044,21 +3300,21 @@ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOTAFTER = 'tls.client.not_after'; +export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; /** * Date/Time indicating when client certificate is first considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOTBEFORE = 'tls.client.not_before'; +export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; /** * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SERVERNAME = 'tls.client.server_name'; +export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; /** * Distinguished name of subject of the x.509 certificate presented by the client. @@ -2072,7 +3328,7 @@ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUPPORTEDCIPHERS = 'tls.client.supported_ciphers'; +export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; /** * String indicating the curve used for the given cipher, when applicable @@ -2093,7 +3349,7 @@ export const ATTR_TLS_ESTABLISHED = 'tls.established'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_NEXTPROTOCOL = 'tls.next_protocol'; +export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) @@ -2102,6 +3358,17 @@ export const ATTR_TLS_NEXTPROTOCOL = 'tls.next_protocol'; */ export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; +/** + * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. + */ +export const ATTR_TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl'; + +/** + * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. + */ +export const ATTR_TLS_PROTOCOL_NAME_VALUE_TLS = 'tls'; + + /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) * @@ -2128,7 +3395,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATECHAIN = 'tls.server.certificate_chain'; +export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -2170,14 +3437,14 @@ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOTAFTER = 'tls.server.not_after'; +export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; /** * Date/Time indicating when server certificate is first considered valid. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOTBEFORE = 'tls.server.not_before'; +export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; /** * Distinguished name of subject of the x.509 certificate presented by the server. @@ -2228,7 +3495,7 @@ export const ATTR_URL_PORT = 'url.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_REGISTEREDDOMAIN = 'url.registered_domain'; +export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; /** * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. @@ -2246,7 +3513,7 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_TOPLEVELDOMAIN = 'url.top_level_domain'; +export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; /** * Name of the user-agent extracted from original. Usually refers to the browser's name. @@ -2255,7 +3522,7 @@ export const ATTR_URL_TOPLEVELDOMAIN = 'url.top_level_domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USERAGENT_NAME = 'user_agent.name'; +export const ATTR_USER_AGENT_NAME = 'user_agent.name'; /** * Version of the user-agent extracted from original. Usually refers to the browser's version @@ -2264,4 +3531,4 @@ export const ATTR_USERAGENT_NAME = 'user_agent.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USERAGENT_VERSION = 'user_agent.version'; +export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts index a92c9e0f40..9bfbd0a375 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -59,7 +59,7 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_CREATETIME = 'db.client.connections.create_time'; +export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; /** * The maximum number of idle open connections allowed @@ -87,7 +87,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_PENDINGREQUESTS = 'db.client.connections.pending_requests'; +export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; /** * The number of connection timeouts that have occurred trying to obtain a connection from the pool @@ -108,14 +108,14 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_USETIME = 'db.client.connections.use_time'; +export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; /** * The time it took to obtain an open connection from the pool * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_WAITTIME = 'db.client.connections.wait_time'; +export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time'; /** * Measures the time taken to perform a DNS lookup. @@ -136,7 +136,7 @@ export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_CPUUSAGE = 'faas.cpu_usage'; +export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage'; /** * Number of invocation errors @@ -150,7 +150,7 @@ export const METRIC_FAAS_ERRORS = 'faas.errors'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INITDURATION = 'faas.init_duration'; +export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration'; /** * Number of successful invocations @@ -164,21 +164,21 @@ export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INVOKEDURATION = 'faas.invoke_duration'; +export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration'; /** * Distribution of max memory usage per invocation * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_MEMUSAGE = 'faas.mem_usage'; +export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage'; /** * Distribution of net I/O usage per invocation * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_NETIO = 'faas.net_io'; +export const METRIC_FAAS_NET_IO = 'faas.net_io'; /** * Number of invocation timeouts @@ -192,7 +192,7 @@ export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_ACTIVEREQUESTS = 'http.client.active_requests'; +export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; /** * The duration of the successfully established outbound HTTP connections. @@ -206,7 +206,7 @@ export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.du * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_OPENCONNECTIONS = 'http.client.open_connections'; +export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections'; /** * Size of HTTP client request bodies. @@ -231,7 +231,7 @@ export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_ACTIVEREQUESTS = 'http.server.active_requests'; +export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; /** * Size of HTTP server request bodies. @@ -286,7 +286,7 @@ export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_LOAD1M = 'jvm.system.cpu.load_1m'; +export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; /** * Recent CPU utilization for the whole system as reported by the JVM. @@ -344,7 +344,7 @@ export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CONTEXTSWITCHES = 'process.context_switches'; +export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches'; /** * Total CPU seconds broken down by different states. @@ -393,7 +393,7 @@ export const METRIC_PROCESS_NETWORK_IO = 'process.network.io'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_OPENFILEDESCRIPTOR_COUNT = 'process.open_file_descriptor.count'; +export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count'; /** * Number of page faults the process has made. @@ -439,7 +439,7 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUESTSPERRPC = 'rpc.client.requests_per_rpc'; +export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; /** * Measures the size of RPC response messages (uncompressed). @@ -459,7 +459,7 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSESPERRPC = 'rpc.client.responses_per_rpc'; +export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc'; /** * Measures the duration of inbound RPC. @@ -491,7 +491,7 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUESTSPERRPC = 'rpc.server.requests_per_rpc'; +export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; /** * Measures the size of RPC response messages (uncompressed). @@ -511,7 +511,7 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSESPERRPC = 'rpc.server.responses_per_rpc'; +export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc'; /** * Reports the current frequency of the CPU in Hz @@ -567,7 +567,7 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_IOTIME = 'system.disk.io_time'; +export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; /** @@ -586,7 +586,7 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATIONTIME = 'system.disk.operation_time'; +export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; /** diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index 2fac771363..11b3290ae5 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -23,6 +23,67 @@ */ export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; +/** + * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp'; + +/** + * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet'; + +/** + * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang'; + +/** + * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go'; + +/** + * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java'; + +/** + * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs'; + +/** + * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php'; + +/** + * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python'; + +/** + * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby'; + +/** + * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust'; + +/** + * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift'; + +/** + * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + */ +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs'; + + /** * The name of the telemetry SDK as defined above. * @@ -75,6 +136,12 @@ export const ATTR_CLIENT_PORT = 'client.port'; */ export const ATTR_ERROR_TYPE = 'error.type'; +/** + * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. + */ +export const ATTR_ERROR_TYPE_VALUE_OTHER = '_OTHER'; + + /** * **SHOULD** be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. * @@ -141,17 +208,68 @@ export const ATTR_HTTP_REQUEST_HEADER = (key: string) => `http.request.header.${ */ export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; +/** + * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER'; + +/** + * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT'; + +/** + * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE'; + +/** + * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_GET = 'GET'; + +/** + * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD'; + +/** + * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS'; + +/** + * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH'; + +/** + * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_POST = 'POST'; + +/** + * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT'; + +/** + * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + */ +export const ATTR_HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE'; + + /** * Original HTTP method sent by the client in the request line. */ -export const ATTR_HTTP_REQUEST_METHODORIGINAL = 'http.request.method_original'; +export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; /** * The ordinal number of request resending attempt (for any reason, including redirects). * * @note The resend count **SHOULD** be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ -export const ATTR_HTTP_REQUEST_RESENDCOUNT = 'http.request.resend_count'; +export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; /** * HTTP response headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. @@ -165,7 +283,7 @@ export const ATTR_HTTP_RESPONSE_HEADER = (key: string) => `http.response.header. /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). */ -export const ATTR_HTTP_RESPONSE_STATUSCODE = 'http.response.status_code'; +export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; /** * The matched route, that is, the path template in the format used by the respective server framework. @@ -220,6 +338,27 @@ export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; */ export const ATTR_NETWORK_TRANSPORT = 'network.transport'; +/** + * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. + */ +export const ATTR_NETWORK_TRANSPORT_VALUE_PIPE = 'pipe'; + +/** + * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. + */ +export const ATTR_NETWORK_TRANSPORT_VALUE_TCP = 'tcp'; + +/** + * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. + */ +export const ATTR_NETWORK_TRANSPORT_VALUE_UDP = 'udp'; + +/** + * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. + */ +export const ATTR_NETWORK_TRANSPORT_VALUE_UNIX = 'unix'; + + /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. * @@ -227,6 +366,17 @@ export const ATTR_NETWORK_TRANSPORT = 'network.transport'; */ export const ATTR_NETWORK_TYPE = 'network.type'; +/** + * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. + */ +export const ATTR_NETWORK_TYPE_VALUE_IPV4 = 'ipv4'; + +/** + * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. + */ +export const ATTR_NETWORK_TYPE_VALUE_IPV6 = 'ipv6'; + + /** * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * @@ -289,4 +439,4 @@ export const ATTR_URL_SCHEME = 'url.scheme'; /** * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. */ -export const ATTR_USERAGENT_ORIGINAL = 'user_agent.original'; +export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts index af64413c5a..59fb1f5831 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts @@ -30,28 +30,28 @@ export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATELIMITING_ACTIVEREQUESTLEASES = 'aspnetcore.rate_limiting.active_request_leases'; +export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases'; /** * Number of requests that are currently queued, waiting to acquire a rate limiting lease. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATELIMITING_QUEUEDREQUESTS = 'aspnetcore.rate_limiting.queued_requests'; +export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests'; /** * The time the request spent in a queue waiting to acquire a rate limiting lease. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATELIMITING_REQUEST_TIMEINQUEUE = 'aspnetcore.rate_limiting.request.time_in_queue'; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue'; /** * The duration of rate limiting lease held by requests on the server. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATELIMITING_REQUESTLEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'; /** * Number of requests that tried to acquire a rate limiting lease. @@ -63,14 +63,14 @@ export const METRIC_ASPNETCORE_RATELIMITING_REQUESTLEASE_DURATION = 'aspnetcore. * * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATELIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'; /** * Number of requests that were attempted to be matched to an endpoint. * * @note Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_ROUTING_MATCHATTEMPTS = 'aspnetcore.routing.match_attempts'; +export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts'; /** * Duration of HTTP client requests. @@ -107,7 +107,7 @@ export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count'; * * @note The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). */ -export const METRIC_JVM_CPU_RECENTUTILIZATION = 'jvm.cpu.recent_utilization'; +export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization'; /** * CPU time used by the process as reported by the JVM. @@ -137,7 +137,7 @@ export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used'; /** * Measure of memory used, as measured after the most recent garbage collection event on this pool. */ -export const METRIC_JVM_MEMORY_USEDAFTERLASTGC = 'jvm.memory.used_after_last_gc'; +export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = 'jvm.memory.used_after_last_gc'; /** * Number of executing platform threads. @@ -149,14 +149,14 @@ export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count'; * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_ACTIVECONNECTIONS = 'kestrel.active_connections'; +export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; /** * Number of TLS handshakes that are currently in progress on the server. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_ACTIVETLSHANDSHAKES = 'kestrel.active_tls_handshakes'; +export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = 'kestrel.active_tls_handshakes'; /** * The duration of connections on the server. @@ -170,14 +170,14 @@ export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration'; * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_QUEUEDCONNECTIONS = 'kestrel.queued_connections'; +export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections'; /** * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_QUEUEDREQUESTS = 'kestrel.queued_requests'; +export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; /** * Number of connections rejected by the server. @@ -185,14 +185,14 @@ export const METRIC_KESTREL_QUEUEDREQUESTS = 'kestrel.queued_requests'; * @note Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_REJECTEDCONNECTIONS = 'kestrel.rejected_connections'; +export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections'; /** * The duration of TLS handshakes on the server. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_TLSHANDSHAKE_DURATION = 'kestrel.tls_handshake.duration'; +export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration'; /** * Number of connections that are currently upgraded (WebSockets). . @@ -201,14 +201,14 @@ export const METRIC_KESTREL_TLSHANDSHAKE_DURATION = 'kestrel.tls_handshake.durat * * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_UPGRADEDCONNECTIONS = 'kestrel.upgraded_connections'; +export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections'; /** * Number of connections that are currently active on the server. * * @note Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0 */ -export const METRIC_SIGNALR_SERVER_ACTIVECONNECTIONS = 'signalr.server.active_connections'; +export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_connections'; /** * The duration of connections on the server. diff --git a/scripts/semconv/templates/registry/stable/common.j2 b/scripts/semconv/templates/registry/stable/common.j2 index 8fe2a6db1b..64b2f4124e 100644 --- a/scripts/semconv/templates/registry/stable/common.j2 +++ b/scripts/semconv/templates/registry/stable/common.j2 @@ -1,74 +1,3 @@ -{%- macro acronyms() -%} -["http", "url", "tls", "rpc", "os", "oci", "gcp", "faas", "dns", "db", "aws"] +{%- macro print(value) -%} +{%- if value is string %}'{{value}}'{%- else %}{{value}}{% endif %} {%- endmacro -%} - -{%- macro func_name(text) -%} - {{ text | snake_case_const }} -{%- endmacro -%} - -{%- macro to_atom(text) -%} -{% if text | split_id | length > 1 -%}:"{{ text }}"{%- else -%}:{{ text }}{%- endif %} -{%- endmacro -%} - -{% macro to_elixir_type(member) -%} - {%- if member.id == member.value -%} - {{ to_atom(member.value) }} - {%- else -%} - {{ member }} - {{ member.type | type_mapping }} - {%- endif -%} -{%- endmacro %} - -{%- macro enum_value_to_elixir_type(value) -%} - {%- if value is string %}{{ to_atom(value) }}{% else -%}{{ value }}{%- endif %} -{%- endmacro -%} - -{%- macro enum_value_return_type(value) -%} - {%- if value is string -%} - atom() | String.t() - {%- elif value is integer -%} - integer() - {%- else -%} - NOT_MAPPED - {%- endif -%} -{%- endmacro -%} - -{%- macro enum_value_return_type_example(value) -%} - {%- if value is string -%} - :custom_value - {%- elif value is integer -%} - 27 - {%- else -%} - NOT_MAPPED - {%- endif -%} -{%- endmacro -%} - -{%- macro erlang_enum_value_return_type_example(value) -%} - {%- if value is string -%} - custom_value - {%- elif value is integer -%} - 27 - {%- else -%} - NOT_MAPPED - {%- endif -%} -{%- endmacro -%} - -{%- macro enum_to_map(members) -%} - {% raw %}%{{% endraw %} - {% for member in members %} - {{ to_atom(member.id) }} => {{ enum_value_to_elixir_type(member.value) }}{% if not loop.last %},{% endif %} - {% endfor %} - {% raw %}}{% endraw %} -{%- endmacro -%} - -{%- macro strong_reqs(string) -%} - {{ string | replace(" MUST ", " **MUST** ") | replace(" MUST NOT ", " **MUST NOT** ") | replace(" SHOULD ", " **SHOULD** ") | replace(" SHOULD NOT ", " **SHOULD NOT** ") | replace(" MAY ", " **MAY** ") | replace(" NOT ", " **NOT** ") }} -{%- endmacro -%} - -{%- macro format_acronym(value, acronyms) -%} - {%- if value | lower in acronyms -%} - {{ value | upper }} - {%- else -%} - {{ value }} - {%- endif -%} -{%- endmacro -%} \ No newline at end of file diff --git a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 index a8e939fe96..149833aa4f 100644 --- a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 @@ -1,5 +1,6 @@ {{- template.set_file_name("experimental_attributes.ts") -}} {%- import 'docstring.ts.j2' as d -%} +{%- import 'common.j2' as c -%} /* * Copyright The OpenTelemetry Authors * @@ -22,6 +23,18 @@ {% for attribute in ctx | attribute_sort %} {%- if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute, "attribute")}} -export const ATTR_{{ attribute.name | screaming_snake_case_const }} = '{{attribute.name}}'; +{%- if attribute.type is not startingwith("template[") %} +export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; +{%- else %} +export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; +{%- endif %} +{%- if attribute.type is mapping %} +{% for espec in attribute.type.members | sort(attribute='value') %} +/** + * Enum value {{ c.print(espec.value) }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. + */ +export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ c.print(espec.value) }}; +{% endfor %} +{%- endif %} {%- endif %} {% endfor %} diff --git a/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 b/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 index 10f6ee33b5..ce4d0538a0 100644 --- a/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 @@ -21,5 +21,5 @@ //---------------------------------------------------------------------------------------------------------- {% for metric in ctx | sort(attribute="metric_name") %} {{d.docstring(metric, "metric")}} -export const METRIC_{{ metric.metric_name | screaming_snake_case_const }} = '{{metric.metric_name}}'; +export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}'; {% endfor %} diff --git a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 index 16bd9d4af9..5c02408210 100644 --- a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 @@ -1,5 +1,6 @@ {{- template.set_file_name("stable_attributes.ts") -}} {%- import 'docstring.ts.j2' as d -%} +{%- import 'common.j2' as c -%} /* * Copyright The OpenTelemetry Authors * @@ -23,9 +24,17 @@ {%- if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute)}} {%- if attribute.type is not startingwith("template[") %} -export const ATTR_{{ attribute.name | screaming_snake_case_const }} = '{{attribute.name}}'; +export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; {%- else %} -export const ATTR_{{ attribute.name | screaming_snake_case_const }} = (key: string) => `{{attribute.name}}.${key}`; +export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; +{%- endif %} +{%- if attribute.type is mapping %} +{% for espec in attribute.type.members | sort(attribute='value') %} +/** + * Enum value {{ c.print(espec.value) }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. + */ +export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ c.print(espec.value) }}; +{% endfor %} {%- endif %} {%- endif %} {% endfor %} diff --git a/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 b/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 index 6935672281..5c9d0b4770 100644 --- a/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 @@ -21,5 +21,5 @@ //---------------------------------------------------------------------------------------------------------- {% for metric in ctx | sort(attribute="metric_name") %} {{d.docstring(metric)}} -export const METRIC_{{ metric.metric_name | screaming_snake_case_const }} = '{{metric.metric_name}}'; +export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}'; {% endfor %} diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/stable/weaver.yaml index 23b0fac9a9..f29966f7be 100644 --- a/scripts/semconv/templates/registry/stable/weaver.yaml +++ b/scripts/semconv/templates/registry/stable/weaver.yaml @@ -1,5 +1,5 @@ params: - excluded_attributes: ["messaging.client_id"] + excluded_attributes: [] templates: - pattern: stable_attributes.ts.j2 From 720ed640675dabbbf4ff9e1d7b5df6adb70251d3 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 13:22:01 -0400 Subject: [PATCH 30/47] Update to 1.27 --- .../src/experimental_attributes.ts | 3850 ++++++++++++++--- .../src/experimental_metrics.ts | 423 +- .../src/stable_attributes.ts | 254 +- scripts/semconv/generate.sh | 2 +- .../templates/registry/stable/weaver.yaml | 2 +- 5 files changed, 3805 insertions(+), 726 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index bcf84f26ef..f2ed7de85b 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -18,6 +18,13 @@ // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- +/** + * The ID of a running ECS task. The ID **MUST** be extracted from `task.arn`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; + /** * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). * @@ -25,6 +32,94 @@ */ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; +/** + * Deprecated use the `device.app.lifecycle` event definition including `android.state` as a payload field instead. + * + * @note The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ANDROID_STATE = 'android.state'; + +/** + * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. + */ +export const ATTR_ANDROID_STATE_VALUE_BACKGROUND = 'background'; + +/** + * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. + */ +export const ATTR_ANDROID_STATE_VALUE_CREATED = 'created'; + +/** + * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. + */ +export const ATTR_ANDROID_STATE_VALUE_FOREGROUND = 'foreground'; + + +/** + * The provenance filename of the built attestation which directly relates to the build artifact filename. This filename **SHOULD** accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename'; + +/** + * The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the software attestation space also refer to this as the [digest](https://github.com/in-toto/attestation/blob/main/spec/README.md#in-toto-attestation-framework-spec). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash'; + +/** + * The id of the build [software attestation](https://slsa.dev/attestation-model). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id'; + +/** + * The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name. + * + * @note This file name can also act as the [Package Name](https://slsa.dev/spec/v1.0/terminology#package-model) + * in cases where the package ecosystem maps accordingly. + * Additionally, the artifact [can be published](https://slsa.dev/spec/v1.0/terminology#software-supply-chain) + * for others, but that is not a guarantee. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_FILENAME = 'artifact.filename'; + +/** + * The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity. + * + * @note The specific algorithm used to create the cryptographic hash value is + * not defined. In situations where an artifact has multiple + * cryptographic hashes, it is up to the implementer to choose which + * hash value to set here; this should be the most secure hash algorithm + * that is suitable for the situation and consistent with the + * corresponding attestation. The implementer can then provide the other + * hash values through an additional set of attribute extensions as they + * deem necessary. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_HASH = 'artifact.hash'; + +/** + * The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_PURL = 'artifact.purl'; + +/** + * The version of the artifact. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_ARTIFACT_VERSION = 'artifact.version'; + /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. * @@ -179,6 +274,211 @@ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; */ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; +/** + * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; + +/** + * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; + +/** + * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; + +/** + * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. + */ +export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2'; + +/** + * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. + */ +export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate'; + + +/** + * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; + +/** + * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; + +/** + * The revision for the task definition used to create the ECS task. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; + +/** + * The ARN of an EKS cluster. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; + +/** + * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). + * + * @note This may be different from `cloud.resource_id` if an alias is involved. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; + +/** + * The Amazon Resource Name(s) (ARN) of the AWS log group(s). + * + * @note See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; + +/** + * The name(s) of the AWS log group(s) an application is writing to. + * + * @note Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; + +/** + * The ARN(s) of the AWS log stream(s). + * + * @note See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; + +/** + * The name(s) of the AWS log stream(s) an application is writing to. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; + +/** + * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; + +/** + * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. + * + * @note The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. + * This applies to almost all S3 operations except `list-buckets`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; + +/** + * The source object (in the form `bucket`/`key`) for the copy operation. + * + * @note The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter + * of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). + * This applies in particular to the following operations: + * + * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) + * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; + +/** + * The delete request container that specifies the objects to be deleted. + * + * @note The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. + * The `delete` attribute corresponds to the `--delete` parameter of the + * [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; + +/** + * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. + * + * @note The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. + * This applies in particular to the following operations: + * + * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) + * - [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) + * - [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html) + * - [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html) + * - [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html) + * - [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html) + * - [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html) + * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) + * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) + * - [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html) + * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) + * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) + * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_S3_KEY = 'aws.s3.key'; + +/** + * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. + * + * @note The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) + * and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. + * The `part_number` attribute corresponds to the `--part-number` parameter of the + * [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; + +/** + * Upload ID that identifies the multipart upload. + * + * @note The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter + * of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. + * This applies in particular to the following operations: + * + * - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html) + * - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html) + * - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html) + * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) + * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; + +/** + * The unique identifier of the service request. It's generated by the Azure service and returned with the response. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id'; + /** * Array of brand name and version separated by a space * @@ -216,6 +516,64 @@ export const ATTR_BROWSER_MOBILE = 'browser.mobile'; */ export const ATTR_BROWSER_PLATFORM = 'browser.platform'; +/** + * The human readable name of the pipeline within a CI/CD system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name'; + +/** + * The unique identifier of a pipeline run within a CI/CD system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id'; + +/** + * The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://en.wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name'; + +/** + * The unique identifier of a task run within a pipeline. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id'; + +/** + * The [URL](https://en.wikipedia.org/wiki/URL) of the pipeline run providing the complete address in order to locate and identify the pipeline run. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url.full'; + +/** + * The type of the task within a pipeline. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'; + +/** + * Enum value 'build' for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. + */ +export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = 'build'; + +/** + * Enum value 'deploy' for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. + */ +export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = 'deploy'; + +/** + * Enum value 'test' for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. + */ +export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_TEST = 'test'; + + /** * The cloud account ID the resource is assigned to. * @@ -446,7 +804,7 @@ export const ATTR_CLOUD_REGION = 'cloud.region'; * * **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). * Take care not to use the "invoked ARN" directly but replace any * [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) - * with the resolved function version, as the same runtime instance may be invokable with + * with the resolved function version, as the same runtime instance may be invocable with * multiple different aliases. * * **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names) * * **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function, @@ -560,9 +918,11 @@ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; /** - * The CPU state for this data point. + * Deprecated, use `cpu.mode` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `cpu.mode`. */ export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; @@ -594,7 +954,7 @@ export const ATTR_CONTAINER_ID = 'container.id'; * * @note Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. - * The ID is assinged by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. + * The ID is assigned by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -630,6 +990,15 @@ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; */ export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; +/** + * Deprecated, use `container.label` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `container.label`.. + */ +export const ATTR_CONTAINER_LABELS = (key: string) => `container.labels.${key}`; + /** * Container name used by container runtime. * @@ -644,6 +1013,54 @@ export const ATTR_CONTAINER_NAME = 'container.name'; */ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; +/** + * The mode of the CPU + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_CPU_MODE = 'cpu.mode'; + +/** + * Enum value 'idle' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_IDLE = 'idle'; + +/** + * Enum value 'interrupt' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_INTERRUPT = 'interrupt'; + +/** + * Enum value 'iowait' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_IOWAIT = 'iowait'; + +/** + * Enum value 'kernel' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_KERNEL = 'kernel'; + +/** + * Enum value 'nice' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_NICE = 'nice'; + +/** + * Enum value 'steal' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_STEAL = 'steal'; + +/** + * Enum value 'system' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_SYSTEM = 'system'; + +/** + * Enum value 'user' for attribute {@link ATTR_CPU_MODE}. + */ +export const ATTR_CPU_MODE_VALUE_USER = 'user'; + + /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * @@ -743,14 +1160,88 @@ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; /** - * The name of the primary Cassandra table that the operation is acting upon, including the keyspace name (if applicable). - * - * @note This mirrors the db.sql.table attribute but references cassandra rather than sql. It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value **MUST** **NOT** be set. + * Deprecated, use `db.collection.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.collection.name`.. */ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; +/** + * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation **SHOULD** use a combination of parameters that would make the name unique, for example, combining attributes `server.address`, `server.port`, and `db.namespace`, formatted as `server.address:server.port/db.namespace`. Instrumentations that generate connection pool name following different patterns **SHOULD** document it. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.name'; + +/** + * The state of a connection in the pool + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state'; + +/** + * Enum value 'idle' for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. + */ +export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = 'idle'; + +/** + * Enum value 'used' for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. + */ +export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_USED = 'used'; + + +/** + * Deprecated, use `db.client.connection.pool.name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.pool.name`.. + */ +export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool.name'; + +/** + * Deprecated, use `db.client.connection.state` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.state`.. + */ +export const ATTR_DB_CLIENT_CONNECTIONS_STATE = 'db.client.connections.state'; + +/** + * Enum value 'idle' for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. + */ +export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = 'idle'; + +/** + * Enum value 'used' for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. + */ +export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = 'used'; + + +/** + * The name of a collection (table, container) within the database. + * + * @note It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. + * If the collection name is parsed from the query text, it **SHOULD** be the first collection name found in the query and it **SHOULD** match the value provided in the query text including any schema and database name prefix. + * For batch operations, if the individual operations are known to have the same collection name then that collection name **SHOULD** be used, otherwise `db.collection.name` **SHOULD** **NOT** be captured. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_COLLECTION_NAME = 'db.collection.name'; + +/** + * Deprecated, use `server.address`, `server.port` attributes instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * "Replaced by `server.address` and `server.port`.". + */ +export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; + /** * Unique Cosmos client instance id. * @@ -777,9 +1268,11 @@ export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway'; /** - * Cosmos DB container name. + * Deprecated, use `db.collection.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.collection.name`.. */ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; @@ -895,12 +1388,21 @@ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; /** - * Represents the identifier of an Elasticsearch cluster. + * Deprecated, use `db.namespace` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.namespace`.. */ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; +/** + * Represents the human-readable identifier of the node/instance to which a request was routed. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; + /** * A dynamic value in the url path. * @@ -911,59 +1413,126 @@ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsearch.path_parts.${key}`; /** - * An identifier (address, unique name, or any other identifier) of the database instance that is executing queries or mutations on the current connection. This is useful in cases where the database is running in a clustered environment and the instrumentation is able to record the node executing the query. The client may obtain this value in databases like MySQL using queries like `select @@hostname`. + * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead.. */ export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; /** - * The MongoDB collection being accessed within the database stated in `db.name`. + * Removed, no replacement at this time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Removed as not used.. */ -export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; +export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; /** - * The Microsoft SQL Server [instance name](https://docs.microsoft.com/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15) connecting to. This name is used to determine the port of a named instance. + * Deprecated, use `db.collection.name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @note If setting a `db.mssql.instance_name`, `server.port` is no longer required (but still recommended if non-standard). + * @deprecated * Replaced by `db.collection.name`.. + */ +export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; + +/** + * Deprecated, SQL Server instance is now populated as a part of `db.namespace` attribute. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Deprecated, no replacement at this time.. */ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; /** - * This attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails). - * - * @note In some SQL databases, the database name to be used is called "schema name". In case there are multiple layers that could be considered for database name (e.g. Oracle instance name and schema name), the database name to be used is the more specific layer (e.g. Oracle schema name). + * Deprecated, use `db.namespace` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.namespace`.. */ export const ATTR_DB_NAME = 'db.name'; /** - * The name of the operation being executed, e.g. the [MongoDB command name](https://docs.mongodb.com/manual/reference/command/#database-operations) such as `findAndModify`, or the SQL keyword. + * The name of the database, fully qualified within the server address and port. * - * @note When setting this to an SQL keyword, it is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if the operation name is provided by the library being instrumented. If the SQL statement has an ambiguous operation, or performs more than one operation, this value may be omitted. + * @note If a database system has multiple namespace components, they **SHOULD** be concatenated (potentially using database system specific conventions) from most general to most specific namespace component, and more specific namespaces **SHOULD** **NOT** be captured without the more general namespaces, to ensure that "startswith" queries for the more general namespaces will be valid. + * Semantic conventions for individual database systems **SHOULD** document what `db.namespace` means in the context of that system. + * It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_NAMESPACE = 'db.namespace'; + +/** + * Deprecated, use `db.operation.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.operation.name`.. */ export const ATTR_DB_OPERATION = 'db.operation'; /** - * The index of the database being accessed as used in the [`SELECT` command](https://redis.io/commands/select), provided as an integer. To be used instead of the generic `db.name` attribute. + * The number of queries included in a [batch operation](/docs/database/database-spans.md#batch-operations). + * + * @note Operations are only considered batches when they contain two or more operations, and so `db.operation.batch.size` **SHOULD** never be `1`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; +export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size'; + +/** + * The name of the operation or command being executed. + * + * @note It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. + * If the operation name is parsed from the query text, it **SHOULD** be the first operation name found in the query. + * For batch operations, if the individual operations are known to have the same operation name then that operation name **SHOULD** be used prepended by `BATCH `, otherwise `db.operation.name` **SHOULD** be `BATCH` or some other database system specific term if more applicable. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_OPERATION_NAME = 'db.operation.name'; + +/** + * A query parameter used in `db.query.text`, with `` being the parameter name, and the attribute value being a string representation of the parameter value. + * + * @note Query parameters should only be captured when `db.query.text` is parameterized with placeholders. + * If a parameter has no name and instead is referenced only by index, then `` **SHOULD** be the 0-based index. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_QUERY_PARAMETER = (key: string) => `db.query.parameter.${key}`; /** - * The name of the primary table that the operation is acting upon, including the database name (if applicable). + * The database query being executed. + * + * @note For sanitization see [Sanitization of `db.query.text`](../../docs/database/database-spans.md#sanitization-of-dbquerytext). + * For batch operations, if the individual operations are known to have the same query text then that query text **SHOULD** be used, otherwise all of the individual query texts **SHOULD** be concatenated with separator `; ` or some other database system specific separator if more applicable. + * Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DB_QUERY_TEXT = 'db.query.text'; + +/** + * Deprecated, use `db.namespace` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @note It is not recommended to attempt any client-side parsing of `db.statement` just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value **MUST** **NOT** be set. + * @deprecated * Replaced by `db.namespace`.. + */ +export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; + +/** + * Deprecated, use `db.collection.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.collection.name`.. */ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; @@ -971,11 +1540,15 @@ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; * The database statement being executed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.query.text`.. */ export const ATTR_DB_STATEMENT = 'db.statement'; /** - * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. + * The database management system (DBMS) product as identified by the client instrumentation. + * + * @note The actual DBMS may differ from the one identified by the client. For example, when using PostgreSQL client libraries to connect to a CockroachDB, the `db.system` is set to `postgresql` based on the instrumentation's best knowledge. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ @@ -1101,6 +1674,11 @@ export const ATTR_DB_SYSTEM_VALUE_HIVE = 'hive'; */ export const ATTR_DB_SYSTEM_VALUE_HSQLDB = 'hsqldb'; +/** + * Enum value 'influxdb' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_INFLUXDB = 'influxdb'; + /** * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. */ @@ -1121,6 +1699,11 @@ export const ATTR_DB_SYSTEM_VALUE_INSTANTDB = 'instantdb'; */ export const ATTR_DB_SYSTEM_VALUE_INTERBASE = 'interbase'; +/** + * Enum value 'intersystems_cache' for attribute {@link ATTR_DB_SYSTEM}. + */ +export const ATTR_DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = 'intersystems_cache'; + /** * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. */ @@ -1243,26 +1826,69 @@ export const ATTR_DB_SYSTEM_VALUE_VERTICA = 'vertica'; /** - * Username for accessing the database. + * Deprecated, no replacement at this time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * No replacement at this time.. */ export const ATTR_DB_USER = 'db.user'; +/** + * 'Deprecated, use `deployment.environment.name` instead.' + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Deprecated, use `deployment.environment.name` instead.. + */ +export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; + /** * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). * - * @note `deployment.environment` does not affect the uniqueness constraints defined through + * @note `deployment.environment.name` does not affect the uniqueness constraints defined through * the `service.namespace`, `service.name` and `service.instance.id` resource attributes. * This implies that resources carrying the following attribute combinations **MUST** be * considered to be identifying the same service: * - * * `service.name=frontend`, `deployment.environment=production` - * * `service.name=frontend`, `deployment.environment=staging`. + * * `service.name=frontend`, `deployment.environment.name=production` + * * `service.name=frontend`, `deployment.environment.name=staging`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; +export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name'; + +/** + * The id of the deployment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEPLOYMENT_ID = 'deployment.id'; + +/** + * The name of the deployment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEPLOYMENT_NAME = 'deployment.name'; + +/** + * The status of the deployment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_DEPLOYMENT_STATUS = 'deployment.status'; + +/** + * Enum value 'failed' for attribute {@link ATTR_DEPLOYMENT_STATUS}. + */ +export const ATTR_DEPLOYMENT_STATUS_VALUE_FAILED = 'failed'; + +/** + * Enum value 'succeeded' for attribute {@link ATTR_DEPLOYMENT_STATUS}. + */ +export const ATTR_DEPLOYMENT_STATUS_VALUE_SUCCEEDED = 'succeeded'; + /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -1344,26 +1970,41 @@ export const ATTR_DISK_IO_DIRECTION_VALUE_WRITE = 'write'; export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; /** - * Username or client_id extracted from the access token or [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in the inbound request from outside the system. + * Deprecated, use `user.id` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `user.id` attribute.. */ export const ATTR_ENDUSER_ID = 'enduser.id'; /** - * Actual/assumed role the client is making the request under extracted from token or application security context. + * Deprecated, use `user.roles` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `user.roles` attribute.. */ export const ATTR_ENDUSER_ROLE = 'enduser.role'; /** - * Scopes or granted authorities the client currently possesses extracted from token or application security context. The value would come from the scope associated with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). + * Deprecated, no replacement at this time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Removed.. */ export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; +/** + * Identifies the class / type of event. + * + * @note Event names are subject to the same rules as [attribute names](/docs/general/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_EVENT_NAME = 'event.name'; + /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). * @@ -1648,6 +2289,15 @@ export const ATTR_FILE_PATH = 'file.path'; */ export const ATTR_FILE_SIZE = 'file.size'; +/** + * Identifies the Google Cloud service for which the official client library is intended. + * + * @note Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo'. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service'; + /** * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * @@ -1677,1551 +2327,3139 @@ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; /** - * The CPU architecture the host system is running on. + * The full response received from the GenAI model. + * + * @note It's RECOMMENDED to format completions as JSON string matching [OpenAI messages format](https://platform.openai.com/docs/guides/text-generation) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_ARCH = 'host.arch'; - -/** - * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. - */ -export const ATTR_HOST_ARCH_VALUE_AMD64 = 'amd64'; - -/** - * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. - */ -export const ATTR_HOST_ARCH_VALUE_ARM32 = 'arm32'; - -/** - * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. - */ -export const ATTR_HOST_ARCH_VALUE_ARM64 = 'arm64'; - -/** - * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. - */ -export const ATTR_HOST_ARCH_VALUE_IA64 = 'ia64'; - -/** - * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. - */ -export const ATTR_HOST_ARCH_VALUE_PPC32 = 'ppc32'; +export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion'; /** - * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. - */ -export const ATTR_HOST_ARCH_VALUE_PPC64 = 'ppc64'; + * The name of the operation being performed. + * + * @note If one of the predefined values applies, but specific system uses a different name it's RECOMMENDED to document it in the semantic conventions for specific GenAI system and use system-specific name in the instrumentation. If a different name is not documented, instrumentation libraries **SHOULD** use applicable predefined value. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_GEN_AI_OPERATION_NAME = 'gen_ai.operation.name'; /** - * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. + * Enum value 'chat' for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const ATTR_HOST_ARCH_VALUE_S390X = 's390x'; +export const ATTR_GEN_AI_OPERATION_NAME_VALUE_CHAT = 'chat'; /** - * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. + * Enum value 'text_completion' for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const ATTR_HOST_ARCH_VALUE_X86 = 'x86'; +export const ATTR_GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = 'text_completion'; /** - * The amount of level 2 memory cache available to the processor (in Bytes). + * The full prompt sent to the GenAI model. + * + * @note It's RECOMMENDED to format prompts as JSON string matching [OpenAI messages format](https://platform.openai.com/docs/guides/text-generation) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; +export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt'; /** - * Family or generation of the CPU. + * The frequency penalty setting for the GenAI request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; +export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_penalty'; /** - * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. + * The maximum number of tokens the model generates for a request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; +export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens'; /** - * Model designation of the processor. + * The name of the GenAI model a request is being made to. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; +export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model'; /** - * Stepping or core revisions. + * The presence penalty setting for the GenAI request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; +export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_penalty'; /** - * Processor manufacturer identifier. A maximum 12-character string. - * - * @note [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. + * List of sequences that the model will use to stop generating further tokens. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; +export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences'; /** - * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. + * The temperature setting for the GenAI request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_ID = 'host.id'; +export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature'; /** - * VM image ID or host OS image ID. For Cloud, this value is from the provider. + * The top_k sampling setting for the GenAI request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_ID = 'host.image.id'; +export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k'; /** - * Name of the VM image or OS install the host was instantiated from. + * The top_p sampling setting for the GenAI request. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; +export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p'; /** - * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * Array of reasons the model stopped generating tokens, corresponding to each generation received. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; +export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reasons'; /** - * Available IP addresses of the host, excluding loopback interfaces. - * - * @note IPv4 Addresses **MUST** be specified in dotted-quad notation. IPv6 addresses **MUST** be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. + * The unique identifier for the completion. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IP = 'host.ip'; +export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id'; /** - * Available MAC addresses of the host, excluding loopback interfaces. - * - * @note MAC Addresses **MUST** be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. + * The name of the model that generated the response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_MAC = 'host.mac'; +export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model'; /** - * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. + * The Generative AI product as identified by the client or server instrumentation. + * + * @note The `gen_ai.system` describes a family of GenAI models with specific model identified + * by `gen_ai.request.model` and `gen_ai.response.model` attributes. + * + * The actual GenAI product may differ from the one identified by the client. + * For example, when using OpenAI client libraries to communicate with Mistral, the `gen_ai.system` + * is set to `openai` based on the instrumentation's best knowledge. + * + * For custom model, a custom friendly name **SHOULD** be used. + * If none of these options apply, the `gen_ai.system` **SHOULD** be set to `_OTHER`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_NAME = 'host.name'; +export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system'; /** - * Type of host. For Cloud, this must be the machine type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_HOST_TYPE = 'host.type'; + * Enum value 'anthropic' for attribute {@link ATTR_GEN_AI_SYSTEM}. + */ +export const ATTR_GEN_AI_SYSTEM_VALUE_ANTHROPIC = 'anthropic'; /** - * State of the HTTP connection in the HTTP connection pool. + * Enum value 'cohere' for attribute {@link ATTR_GEN_AI_SYSTEM}. + */ +export const ATTR_GEN_AI_SYSTEM_VALUE_COHERE = 'cohere'; + +/** + * Enum value 'openai' for attribute {@link ATTR_GEN_AI_SYSTEM}. + */ +export const ATTR_GEN_AI_SYSTEM_VALUE_OPENAI = 'openai'; + +/** + * Enum value 'vertex_ai' for attribute {@link ATTR_GEN_AI_SYSTEM}. + */ +export const ATTR_GEN_AI_SYSTEM_VALUE_VERTEX_AI = 'vertex_ai'; + + +/** + * The type of token being counted. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; +export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type'; /** - * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + * Enum value 'input' for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active'; +export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_INPUT = 'input'; /** - * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + * Enum value 'output' for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; +export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = 'output'; /** - * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * Deprecated, use `gen_ai.usage.output_tokens` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `gen_ai.usage.output_tokens` attribute.. */ -export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; +export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_tokens'; /** - * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. + * The number of tokens used in the GenAI input (prompt). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; +export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens'; /** - * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. + * The number of tokens used in the GenAI response (completion). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; +export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens'; /** - * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. + * Deprecated, use `gen_ai.usage.input_tokens` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `gen_ai.usage.input_tokens` attribute.. */ -export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; +export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens'; /** - * The name of the cluster. + * The type of memory. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; +export const ATTR_GO_MEMORY_TYPE = 'go.memory.type'; /** - * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. + * Enum value 'other' for attribute {@link ATTR_GO_MEMORY_TYPE}. + */ +export const ATTR_GO_MEMORY_TYPE_VALUE_OTHER = 'other'; + +/** + * Enum value 'stack' for attribute {@link ATTR_GO_MEMORY_TYPE}. + */ +export const ATTR_GO_MEMORY_TYPE_VALUE_STACK = 'stack'; + + +/** + * The GraphQL document being executed. * - * @note K8s doesn't have support for obtaining a cluster ID. If this is ever - * added, we will recommend collecting the `k8s.cluster.uid` through the - * official APIs. In the meantime, we are able to use the `uid` of the - * `kube-system` namespace as a proxy for cluster ID. Read on for the - * rationale. - * - * Every object created in a K8s cluster is assigned a distinct UID. The - * `kube-system` namespace is used by Kubernetes itself and will exist - * for the lifetime of the cluster. Using the `uid` of the `kube-system` - * namespace is a reasonable proxy for the K8s ClusterID as it will only - * change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are - * UUIDs as standardized by - * [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). - * Which states: - * - * > If generated according to one of the mechanisms defined in Rec. - * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be - * different from all other UUIDs generated before 3603 A.D., or is - * extremely likely to be different (depending on the mechanism chosen). - * - * Therefore, UIDs between clusters should be extremely unlikely to - * conflict. + * @note The value may be sanitized to exclude sensitive information. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; +export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; /** - * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). + * The name of the operation being executed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; +export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; /** - * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. + * The type of the operation being executed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; +export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; /** - * The name of the CronJob. + * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. + */ +export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation'; + +/** + * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. + */ +export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query'; + +/** + * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. + */ +export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = 'subscription'; + + +/** + * Unique identifier for the application * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; +export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; /** - * The UID of the CronJob. + * Commit hash for the current release * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; +export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; /** - * The name of the DaemonSet. + * Time and date the release was created * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; +export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp'; /** - * The UID of the DaemonSet. + * The CPU architecture the host system is running on. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; +export const ATTR_HOST_ARCH = 'host.arch'; /** - * The name of the Deployment. + * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_AMD64 = 'amd64'; + +/** + * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_ARM32 = 'arm32'; + +/** + * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_ARM64 = 'arm64'; + +/** + * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_IA64 = 'ia64'; + +/** + * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_PPC32 = 'ppc32'; + +/** + * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_PPC64 = 'ppc64'; + +/** + * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_S390X = 's390x'; + +/** + * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. + */ +export const ATTR_HOST_ARCH_VALUE_X86 = 'x86'; + + +/** + * The amount of level 2 memory cache available to the processor (in Bytes). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; +export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; /** - * The UID of the Deployment. + * Family or generation of the CPU. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; +export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; /** - * The name of the Job. + * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; +export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; /** - * The UID of the Job. + * Model designation of the processor. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; +export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; /** - * The name of the namespace that the pod is running in. + * Stepping or core revisions. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; +export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; /** - * The name of the Node. + * Processor manufacturer identifier. A maximum 12-character string. + * + * @note [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; +export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; /** - * The UID of the Node. + * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; +export const ATTR_HOST_ID = 'host.id'; /** - * The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. + * VM image ID or host OS image ID. For Cloud, this value is from the provider. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${key}`; +export const ATTR_HOST_IMAGE_ID = 'host.image.id'; /** - * The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. + * Name of the VM image or OS install the host was instantiated from. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; +export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; /** - * The name of the Pod. + * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; +export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; /** - * The UID of the Pod. + * Available IP addresses of the host, excluding loopback interfaces. + * + * @note IPv4 Addresses **MUST** be specified in dotted-quad notation. IPv6 addresses **MUST** be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; +export const ATTR_HOST_IP = 'host.ip'; /** - * The name of the ReplicaSet. + * Available MAC addresses of the host, excluding loopback interfaces. + * + * @note MAC Addresses **MUST** be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; +export const ATTR_HOST_MAC = 'host.mac'; /** - * The UID of the ReplicaSet. + * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; +export const ATTR_HOST_NAME = 'host.name'; /** - * The name of the StatefulSet. + * Type of host. For Cloud, this must be the machine type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; +export const ATTR_HOST_TYPE = 'host.type'; /** - * The UID of the StatefulSet. + * Deprecated, use `client.address` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `client.address`.. */ -export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; +export const ATTR_HTTP_CLIENT_IP = 'http.client_ip'; /** - * The number of messages sent, received, or processed in the scope of the batching operation. - * - * @note Instrumentations **SHOULD** **NOT** set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations **SHOULD** use `messaging.batch.message_count` for batching APIs and **SHOULD** **NOT** use it for single-message APIs. + * State of the HTTP connection in the HTTP connection pool. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; +export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; /** - * A unique identifier for the client that consumes or produces a message. + * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + */ +export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active'; + +/** + * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + */ +export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; + + +/** + * Deprecated, use `network.protocol.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.protocol.name`.. */ -export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client_id'; +export const ATTR_HTTP_FLAVOR = 'http.flavor'; /** - * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). + * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. + */ +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0'; + +/** + * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. + */ +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1'; + +/** + * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. + */ +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0'; + +/** + * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. + */ +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0'; + +/** + * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. + */ +export const ATTR_HTTP_FLAVOR_VALUE_QUIC = 'QUIC'; + +/** + * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. + */ +export const ATTR_HTTP_FLAVOR_VALUE_SPDY = 'SPDY'; + + +/** + * Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage.. */ -export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; +export const ATTR_HTTP_HOST = 'http.host'; /** - * The message destination name - * - * @note Destination name **SHOULD** uniquely identify a specific queue, topic or other entity within the broker. If - * the broker doesn't have such notion, the destination name **SHOULD** uniquely identify the broker. + * Deprecated, use `http.request.method` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `http.request.method`.. */ -export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; +export const ATTR_HTTP_METHOD = 'http.method'; /** - * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. + * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; +export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; /** - * Low cardinality representation of the messaging destination name - * - * @note Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. + * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; +export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; /** - * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. + * Deprecated, use `http.request.header.content-length` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `http.request.header.content-length`.. */ -export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; /** - * A boolean that is true if the publish message destination is anonymous (could be unnamed or have auto-generated name). + * Deprecated, use `http.request.body.size` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `http.request.body.size`.. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_content_length_uncompressed'; /** - * The name of the original destination the message was published to - * - * @note The name **SHOULD** uniquely identify a specific queue, topic, or other entity within the broker. If - * the broker doesn't have such notion, the original destination name **SHOULD** uniquely identify the broker. + * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; +export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; /** - * The name of the consumer group the event consumer is associated with. + * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; +export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; /** - * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * Deprecated, use `http.response.header.content-length` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `http.response.header.content-length`.. */ -export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; /** - * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. + * Deprecated, use `http.response.body.size` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replace by `http.response.body.size`.. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed'; /** - * Name of the Kafka Consumer Group that is handling the message. Only applies to consumers, not producers. + * Deprecated, use `url.scheme` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `url.scheme` instead.. */ -export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; +export const ATTR_HTTP_SCHEME = 'http.scheme'; /** - * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute **MUST** **NOT** be set. - * - * @note If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. + * Deprecated, use `server.address` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `server.address`.. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; +export const ATTR_HTTP_SERVER_NAME = 'http.server_name'; /** - * The offset of a record in the corresponding Kafka partition. + * Deprecated, use `http.response.status_code` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `http.response.status_code`.. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; +export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; /** - * A boolean that is true if the message is a tombstone. + * Deprecated, use `url.path` and `url.query` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Split to `url.path` and `url.query.. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; +export const ATTR_HTTP_TARGET = 'http.target'; /** - * The size of the message body in bytes. - * - * @note This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed - * body size should be used. + * Deprecated, use `url.full` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; - -/** - * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @deprecated * Replaced by `url.full`.. */ -export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; +export const ATTR_HTTP_URL = 'http.url'; /** - * The size of the message body and metadata in bytes. - * - * @note This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed - * size should be used. + * Deprecated, use `user_agent.original` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; - -/** - * A value used by the messaging system as an identifier for the message, represented as a string. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @deprecated * Replaced by `user_agent.original`.. */ -export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; +export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; /** - * A string identifying the kind of messaging operation. + * Deprecated use the `device.app.lifecycle` event definition including `ios.state` as a payload field instead. * - * @note If a custom value is used, it **MUST** be of low cardinality. + * @note The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Moved to a payload field of `device.app.lifecycle`.. */ -export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; +export const ATTR_IOS_STATE = 'ios.state'; /** - * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION}. + * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_MESSAGING_OPERATION_VALUE_CREATE = 'create'; +export const ATTR_IOS_STATE_VALUE_ACTIVE = 'active'; /** - * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION}. + * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_MESSAGING_OPERATION_VALUE_DELIVER = 'process'; +export const ATTR_IOS_STATE_VALUE_BACKGROUND = 'background'; /** - * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION}. + * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_MESSAGING_OPERATION_VALUE_PUBLISH = 'publish'; +export const ATTR_IOS_STATE_VALUE_FOREGROUND = 'foreground'; /** - * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION}. + * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_MESSAGING_OPERATION_VALUE_RECEIVE = 'receive'; +export const ATTR_IOS_STATE_VALUE_INACTIVE = 'inactive'; /** - * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION}. + * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_MESSAGING_OPERATION_VALUE_SETTLE = 'settle'; +export const ATTR_IOS_STATE_VALUE_TERMINATE = 'terminate'; /** - * RabbitMQ message routing key. + * Name of the buffer pool. + * + * @note Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; +export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; /** - * RabbitMQ message delivery tag + * The name of the cluster. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; +export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; /** - * Name of the RocketMQ producer/consumer group that is handling the message. The client type is identified by the SpanKind. + * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. + * + * @note K8s doesn't have support for obtaining a cluster ID. If this is ever + * added, we will recommend collecting the `k8s.cluster.uid` through the + * official APIs. In the meantime, we are able to use the `uid` of the + * `kube-system` namespace as a proxy for cluster ID. Read on for the + * rationale. + * + * Every object created in a K8s cluster is assigned a distinct UID. The + * `kube-system` namespace is used by Kubernetes itself and will exist + * for the lifetime of the cluster. Using the `uid` of the `kube-system` + * namespace is a reasonable proxy for the K8s ClusterID as it will only + * change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are + * UUIDs as standardized by + * [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html). + * Which states: + * + * > If generated according to one of the mechanisms defined in Rec. + * ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be + * different from all other UUIDs generated before 3603 A.D., or is + * extremely likely to be different (depending on the mechanism chosen). + * + * Therefore, UIDs between clusters should be extremely unlikely to + * conflict. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; +export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; /** - * Model of message consumption. This only applies to consumer spans. + * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; +export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; /** - * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. - */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting'; + * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; /** - * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. - */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering'; - + * Last terminated reason of the Container. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason'; /** - * The delay time level for delay message, which determines the message delay time. + * The name of the CronJob. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; +export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; /** - * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. + * The UID of the CronJob. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; +export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; /** - * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. + * The name of the DaemonSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; +export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; /** - * Key(s) of message, another way to mark message besides message id. + * The UID of the DaemonSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; +export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; /** - * The secondary classifier of message besides topic. + * The name of the Deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; +export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; /** - * Type of message. + * The UID of the Deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; +export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; /** - * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay'; + * The name of the Job. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; /** - * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo'; + * The UID of the Job. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; /** - * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal'; + * The name of the namespace that the pod is running in. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; /** - * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. - */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; - + * The name of the Node. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; /** - * Namespace of RocketMQ resources, resources in different namespaces are individual. + * The UID of the Node. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; +export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; /** - * The name of the subscription in the topic messages are received from. + * The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; +export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${key}`; /** - * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; +export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; /** - * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. - */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; + * Deprecated, use `k8s.pod.label` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `k8s.pod.label`.. + */ +export const ATTR_K8S_POD_LABELS = (key: string) => `k8s.pod.labels.${key}`; /** - * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. - */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete'; + * The name of the Pod. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; /** - * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. - */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter'; + * The UID of the Pod. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; /** - * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. - */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer'; - + * The name of the ReplicaSet. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; /** - * Number of deliveries that have been attempted for this message. + * The UID of the ReplicaSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; +export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; /** - * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * The name of the StatefulSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; +export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; /** - * An identifier for the messaging system being used. See below for a list of well-known identifiers. + * The UID of the StatefulSet. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; +export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; /** - * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. - */ -export const ATTR_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq'; + * The Linux Slab memory state + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state'; /** - * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value 'reclaimable' for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs'; +export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = 'reclaimable'; /** - * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value 'unreclaimable' for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid'; +export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = 'unreclaimable'; + /** - * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. - */ -export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs'; + * The basename of the file. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_LOG_FILE_NAME = 'log.file.name'; /** - * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. - */ -export const ATTR_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub'; + * The basename of the file, with symlinks resolved. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; /** - * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. - */ -export const ATTR_MESSAGING_SYSTEM_VALUE_JMS = 'jms'; + * The full path to the file. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_LOG_FILE_PATH = 'log.file.path'; /** - * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. - */ -export const ATTR_MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka'; + * The full path to the file, with symlinks resolved. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; /** - * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. - */ -export const ATTR_MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq'; + * The stream associated with the log. See below for a list of well-known values. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_LOG_IOSTREAM = 'log.iostream'; /** - * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq'; +export const ATTR_LOG_IOSTREAM_VALUE_STDERR = 'stderr'; /** - * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus'; +export const ATTR_LOG_IOSTREAM_VALUE_STDOUT = 'stdout'; /** - * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. + * The complete orignal Log Record. + * + * @note This value **MAY** be added when processing a Log Record which was originally transmitted as a string or equivalent data type AND the Body field of the Log Record does not contain the same value. (e.g. a syslog or a log record read from a file.) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; +export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original'; /** - * The mobile carrier country code. + * A unique identifier for the Log Record. + * + * @note If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records **MUST** have different values. + * The id **MAY** be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; +export const ATTR_LOG_RECORD_UID = 'log.record.uid'; /** - * The mobile carrier network code. + * Deprecated, use `rpc.message.compressed_size` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `rpc.message.compressed_size`.. */ -export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; +export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; /** - * The name of the mobile carrier. + * Deprecated, use `rpc.message.id` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `rpc.message.id`.. */ -export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; +export const ATTR_MESSAGE_ID = 'message.id'; /** - * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * Deprecated, use `rpc.message.type` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `rpc.message.type`.. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; +export const ATTR_MESSAGE_TYPE = 'message.type'; /** - * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma'; +export const ATTR_MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED'; /** - * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt'; +export const ATTR_MESSAGE_TYPE_VALUE_SENT = 'SENT'; + /** - * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. - */ + * Deprecated, use `rpc.message.uncompressed_size` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `rpc.message.uncompressed_size`.. + */ +export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; + +/** + * The number of messages sent, received, or processed in the scope of the batching operation. + * + * @note Instrumentations **SHOULD** **NOT** set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations **SHOULD** use `messaging.batch.message_count` for batching APIs and **SHOULD** **NOT** use it for single-message APIs. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; + +/** + * A unique identifier for the client that consumes or produces a message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id'; + + +/** + * The name of the consumer group with which a consumer is associated. + * + * @note Semantic conventions for individual messaging systems **SHOULD** document whether `messaging.consumer.group.name` is applicable and what it means in the context of that system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_CONSUMER_GROUP_NAME = 'messaging.consumer.group.name'; + +/** + * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; + +/** + * The message destination name + * + * @note Destination name **SHOULD** uniquely identify a specific queue, topic or other entity within the broker. If + * the broker doesn't have such notion, the destination name **SHOULD** uniquely identify the broker. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; + +/** + * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; + +/** + * The name of the destination subscription from which a message is consumed. + * + * @note Semantic conventions for individual messaging systems **SHOULD** document whether `messaging.destination.subscription.name` is applicable and what it means in the context of that system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destination.subscription.name'; + +/** + * Low cardinality representation of the messaging destination name + * + * @note Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; + +/** + * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; + +/** + * Deprecated, no replacement at this time. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * No replacement at this time.. + */ +export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; + +/** + * Deprecated, no replacement at this time. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * No replacement at this time.. + */ +export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; + +/** + * Deprecated, use `messaging.consumer.group.name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.consumer.group.name`.. + */ +export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; + +/** + * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; + +/** + * The ack deadline in seconds set for the modify ack deadline request. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pubsub.message.ack_deadline'; + +/** + * The ack id for a given message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.message.ack_id'; + +/** + * The delivery attempt for a given message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp_pubsub.message.delivery_attempt'; + +/** + * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; + +/** + * Deprecated, use `messaging.consumer.group.name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.consumer.group.name`.. + */ +export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; + +/** + * Deprecated, use `messaging.destination.partition.id` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.destination.partition.id`.. + */ +export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition'; + +/** + * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute **MUST** **NOT** be set. + * + * @note If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; + +/** + * Deprecated, use `messaging.kafka.offset` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.kafka.offset`.. + */ +export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; + +/** + * A boolean that is true if the message is a tombstone. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; + +/** + * The offset of a record in the corresponding Kafka partition. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset'; + +/** + * The size of the message body in bytes. + * + * @note This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed + * body size should be used. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; + +/** + * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; + +/** + * The size of the message body and metadata in bytes. + * + * @note This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed + * size should be used. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; + +/** + * A value used by the messaging system as an identifier for the message, represented as a string. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; + +/** + * Deprecated, use `messaging.operation.type` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.operation.type`.. + */ +export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; + +/** + * The system-specific name of the messaging operation. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name'; + +/** + * A string identifying the type of the messaging operation. + * + * @note If a custom value is used, it **MUST** be of low cardinality. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type'; + +/** + * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + */ +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_CREATE = 'create'; + +/** + * Enum value 'deliver' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + */ +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_DELIVER = 'deliver'; + +/** + * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + */ +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PROCESS = 'process'; + +/** + * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + */ +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = 'publish'; + +/** + * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + */ +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = 'receive'; + +/** + * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + */ +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_SETTLE = 'settle'; + + +/** + * RabbitMQ message routing key. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; + +/** + * RabbitMQ message delivery tag + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; + +/** + * Deprecated, use `messaging.consumer.group.name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans.. + */ +export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; + +/** + * Model of message consumption. This only applies to consumer spans. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; + +/** + * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + */ +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting'; + +/** + * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + */ +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering'; + + +/** + * The delay time level for delay message, which determines the message delay time. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; + +/** + * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; + +/** + * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; + +/** + * Key(s) of message, another way to mark message besides message id. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; + +/** + * The secondary classifier of message besides topic. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; + +/** + * Type of message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; + +/** + * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay'; + +/** + * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo'; + +/** + * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal'; + +/** + * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + */ +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; + + +/** + * Namespace of RocketMQ resources, resources in different namespaces are individual. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; + +/** + * Deprecated, use `messaging.servicebus.destination.subscription_name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.servicebus.destination.subscription_name`.. + */ +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; + +/** + * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; + +/** + * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; + +/** + * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete'; + +/** + * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter'; + +/** + * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + */ +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer'; + + +/** + * Number of deliveries that have been attempted for this message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; + +/** + * The UTC epoch seconds at which the message has been accepted and stored in the entity. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; + +/** + * The messaging system as identified by the client instrumentation. + * + * @note The actual messaging system may differ from the one known by the client. For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system` is set to `kafka` based on the instrumentation's best knowledge. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; + +/** + * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq'; + +/** + * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs'; + +/** + * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid'; + +/** + * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs'; + +/** + * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub'; + +/** + * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_JMS = 'jms'; + +/** + * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka'; + +/** + * Enum value 'pulsar' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_PULSAR = 'pulsar'; + +/** + * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq'; + +/** + * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq'; + +/** + * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. + */ +export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus'; + + +/** + * Deprecated, use `network.local.address`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.local.address`.. + */ +export const ATTR_NET_HOST_IP = 'net.host.ip'; + +/** + * Deprecated, use `server.address`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `server.address`.. + */ +export const ATTR_NET_HOST_NAME = 'net.host.name'; + +/** + * Deprecated, use `server.port`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `server.port`.. + */ +export const ATTR_NET_HOST_PORT = 'net.host.port'; + +/** + * Deprecated, use `network.peer.address`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.peer.address`.. + */ +export const ATTR_NET_PEER_IP = 'net.peer.ip'; + +/** + * Deprecated, use `server.address` on client spans and `client.address` on server spans. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `server.address` on client spans and `client.address` on server spans.. + */ +export const ATTR_NET_PEER_NAME = 'net.peer.name'; + +/** + * Deprecated, use `server.port` on client spans and `client.port` on server spans. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `server.port` on client spans and `client.port` on server spans.. + */ +export const ATTR_NET_PEER_PORT = 'net.peer.port'; + +/** + * Deprecated, use `network.protocol.name`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.protocol.name`.. + */ +export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; + +/** + * Deprecated, use `network.protocol.version`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.protocol.version`.. + */ +export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; + +/** + * Deprecated, use `network.transport` and `network.type`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Split to `network.transport` and `network.type`.. + */ +export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; + +/** + * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. + */ +export const ATTR_NET_SOCK_FAMILY_VALUE_INET = 'inet'; + +/** + * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. + */ +export const ATTR_NET_SOCK_FAMILY_VALUE_INET6 = 'inet6'; + +/** + * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. + */ +export const ATTR_NET_SOCK_FAMILY_VALUE_UNIX = 'unix'; + + +/** + * Deprecated, use `network.local.address`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.local.address`.. + */ +export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; + +/** + * Deprecated, use `network.local.port`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.local.port`.. + */ +export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; + +/** + * Deprecated, use `network.peer.address`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.peer.address`.. + */ +export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; + +/** + * Deprecated, no replacement at this time. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Removed.. + */ +export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; + +/** + * Deprecated, use `network.peer.port`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.peer.port`.. + */ +export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; + +/** + * Deprecated, use `network.transport`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `network.transport`.. + */ +export const ATTR_NET_TRANSPORT = 'net.transport'; + +/** + * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. + */ +export const ATTR_NET_TRANSPORT_VALUE_INPROC = 'inproc'; + +/** + * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. + */ +export const ATTR_NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp'; + +/** + * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. + */ +export const ATTR_NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp'; + +/** + * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. + */ +export const ATTR_NET_TRANSPORT_VALUE_OTHER = 'other'; + +/** + * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. + */ +export const ATTR_NET_TRANSPORT_VALUE_PIPE = 'pipe'; + + +/** + * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; + +/** + * The mobile carrier country code. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; + +/** + * The mobile carrier network code. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; + +/** + * The name of the mobile carrier. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; + +/** + * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; + +/** + * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma'; + +/** + * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt'; + +/** + * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge'; /** - * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd'; + +/** + * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0'; + +/** + * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a'; + +/** + * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b'; + +/** + * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs'; + +/** + * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm'; + +/** + * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa'; + +/** + * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa'; + +/** + * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap'; + +/** + * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa'; + +/** + * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden'; + +/** + * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan'; + +/** + * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte'; + +/** + * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca'; + +/** + * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr'; + +/** + * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa'; + +/** + * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma'; + +/** + * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + */ +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; + + +/** + * The internet connection type. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; + +/** + * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell'; + +/** + * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable'; + +/** + * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown'; + +/** + * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi'; + +/** + * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + */ +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; + + +/** + * The network IO operation direction. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; + +/** + * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + */ +export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive'; + +/** + * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + */ +export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit'; + + +/** + * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. + * + * @note Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). + * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; + +/** + * Parent-child Reference type + * + * @note The causal relationship between a child Span and a parent Span. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; + +/** + * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. + */ +export const ATTR_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of'; + +/** + * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. + */ +export const ATTR_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from'; + + +/** + * Unique identifier for a particular build or compilation of the operating system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_BUILD_ID = 'os.build_id'; + +/** + * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_DESCRIPTION = 'os.description'; + +/** + * Human readable operating system name. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_NAME = 'os.name'; + +/** + * The operating system type. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_TYPE = 'os.type'; + +/** + * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_AIX = 'aix'; + +/** + * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_DARWIN = 'darwin'; + +/** + * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd'; + +/** + * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_FREEBSD = 'freebsd'; + +/** + * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_HPUX = 'hpux'; + +/** + * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_LINUX = 'linux'; + +/** + * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_NETBSD = 'netbsd'; + +/** + * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_OPENBSD = 'openbsd'; + +/** + * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_SOLARIS = 'solaris'; + +/** + * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_WINDOWS = 'windows'; + +/** + * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. + */ +export const ATTR_OS_TYPE_VALUE_Z_OS = 'z_os'; + + +/** + * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_OS_VERSION = 'os.version'; + +/** + + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * use the `otel.scope.name` attribute.. + */ +export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; + +/** + + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * use the `otel.scope.version` attribute.. + */ +export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; + +/** + * The [`service.name`](/docs/resource/README.md#service) of the remote service. **SHOULD** be equal to the actual `service.name` resource attribute of the remote service if any. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PEER_SERVICE = 'peer.service'; + +/** + * Deprecated, use `db.client.connection.pool.name` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.pool.name`.. + */ +export const ATTR_POOL_NAME = 'pool.name'; + +/** + * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_COMMAND = 'process.command'; + +/** + * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; + +/** + * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; + +/** + * Specifies whether the context switches for this data point were voluntary or involuntary. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; + +/** + * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. + */ +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = 'involuntary'; + +/** + * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. + */ +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary'; + + +/** + * Deprecated, use `cpu.mode` instead. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `cpu.mode`. + */ +export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; + +/** + * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. + */ +export const ATTR_PROCESS_CPU_STATE_VALUE_SYSTEM = 'system'; + +/** + * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. + */ +export const ATTR_PROCESS_CPU_STATE_VALUE_USER = 'user'; + +/** + * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. + */ +export const ATTR_PROCESS_CPU_STATE_VALUE_WAIT = 'wait'; + + +/** + * The date and time the process was created, in ISO 8601 format. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time'; + +/** + * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; + +/** + * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; + +/** + * The exit code of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code'; + +/** + * The date and time the process exited, in ISO 8601 format. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time'; + +/** + * The PID of the process's group leader. This is also the process group ID (PGID) of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_GROUP_LEADER_PID = 'process.group_leader.pid'; + +/** + * Whether the process is connected to an interactive shell. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_INTERACTIVE = 'process.interactive'; + +/** + * The username of the user that owns the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_OWNER = 'process.owner'; + +/** + * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; + +/** + * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. + */ +export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major'; + +/** + * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. + */ +export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor'; + + +/** + * Parent Process identifier (PPID). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; + +/** + * Process identifier (PID). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_PID = 'process.pid'; + +/** + * The real user ID (RUID) of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id'; + +/** + * The username of the real user of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name'; + +/** + * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; + +/** + * The name of the runtime of this process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; + +/** + * The version of the runtime of this process, as returned by the runtime without modification. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; + +/** + * The saved user ID (SUID) of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id'; + +/** + * The username of the saved user. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name'; + +/** + * The PID of the process's session leader. This is also the session ID (SID) of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid'; + +/** + * The effective user ID (EUID) of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_USER_ID = 'process.user.id'; + +/** + * The username of the effective user of the process. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_USER_NAME = 'process.user.name'; + +/** + * Virtual process identifier. + * + * @note The process ID within a PID namespace. This is not necessarily unique across all processes on the host but it is unique within the process namespace that the process exists within. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_PROCESS_VPID = 'process.vpid'; + +/** + * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; + +/** + * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted'; + +/** + * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; + +/** + * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + */ +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled'; + +/** + * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; /** - * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded'; /** - * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition'; /** - * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal'; /** - * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument'; /** - * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found'; /** - * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range'; /** - * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied'; /** - * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted'; /** - * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated'; /** - * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable'; /** - * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented'; /** - * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; + /** - * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_CONNECT_RPC_REQUEST_METADATA = (key: string) => `rpc.connect_rpc.request.metadata.${key}`; + +/** + * Connect response metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_CONNECT_RPC_RESPONSE_METADATA = (key: string) => `rpc.connect_rpc.response.metadata.${key}`; + +/** + * gRPC request metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_GRPC_REQUEST_METADATA = (key: string) => `rpc.grpc.request.metadata.${key}`; + +/** + * gRPC response metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. + * + * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_GRPC_RESPONSE_METADATA = (key: string) => `rpc.grpc.response.metadata.${key}`; + +/** + * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; + +/** + * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OK = 0; /** - * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; /** - * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; /** - * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; /** - * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; +/** + * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; /** - * The internet connection type. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; + * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; /** - * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; /** - * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; /** - * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; /** - * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; /** - * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; +/** + * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; /** - * The network IO operation direction. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; + * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; /** - * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; /** - * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit'; +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; + +/** + * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + */ +export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; /** - * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. + * `error.code` property of response if it is an error response. * - * @note Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). - * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; + +/** + * `error.message` property of response if it is an error response. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; +export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; /** - * Unique identifier for a particular build or compilation of the operating system. + * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_BUILD_ID = 'os.build_id'; +export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; /** - * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. + * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_DESCRIPTION = 'os.description'; +export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; /** - * Human readable operating system name. + * Compressed size of the message in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_NAME = 'os.name'; +export const ATTR_RPC_MESSAGE_COMPRESSED_SIZE = 'rpc.message.compressed_size'; /** - * The operating system type. + * **MUST** be calculated as two different counters starting from `1` one for sent messages and one for received message. + * + * @note This way we guarantee that the values will be consistent between different implementations. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_TYPE = 'os.type'; +export const ATTR_RPC_MESSAGE_ID = 'rpc.message.id'; /** - * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. - */ -export const ATTR_OS_TYPE_VALUE_AIX = 'aix'; + * Whether this is a received or sent message. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_MESSAGE_TYPE = 'rpc.message.type'; /** - * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. + * Enum value 'RECEIVED' for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_DARWIN = 'darwin'; +export const ATTR_RPC_MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED'; /** - * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. + * Enum value 'SENT' for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd'; +export const ATTR_RPC_MESSAGE_TYPE_VALUE_SENT = 'SENT'; + /** - * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. - */ -export const ATTR_OS_TYPE_VALUE_FREEBSD = 'freebsd'; + * Uncompressed size of the message in bytes. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size'; /** - * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. - */ -export const ATTR_OS_TYPE_VALUE_HPUX = 'hpux'; + * The name of the (logical) method being called, must be equal to the $method part in the span name. + * + * @note This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_METHOD = 'rpc.method'; /** - * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. - */ -export const ATTR_OS_TYPE_VALUE_LINUX = 'linux'; + * The full (logical) name of the service being called, including its package name, if applicable. + * + * @note This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_SERVICE = 'rpc.service'; /** - * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. + * A string identifying the remoting system. See below for a list of well-known identifiers. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_RPC_SYSTEM = 'rpc.system'; + +/** + * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_OS_TYPE_VALUE_NETBSD = 'netbsd'; +export const ATTR_RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo'; /** - * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. + * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_OS_TYPE_VALUE_OPENBSD = 'openbsd'; +export const ATTR_RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc'; /** - * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. + * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_OS_TYPE_VALUE_SOLARIS = 'solaris'; +export const ATTR_RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf'; /** - * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. + * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_OS_TYPE_VALUE_WINDOWS = 'windows'; +export const ATTR_RPC_SYSTEM_VALUE_GRPC = 'grpc'; /** - * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. + * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_OS_TYPE_VALUE_Z_OS = 'z_os'; +export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi'; /** - * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). + * The string ID of the service instance. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_OS_VERSION = 'os.version'; - -/** - * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. + * @note MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words + * `service.namespace,service.name,service.instance.id` triplet **MUST** be globally unique). The ID helps to + * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled + * service). + * + * Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC + * 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of + * this value if stability is desirable. In that case, the ID **SHOULD** be used as source of a UUID Version 5 and + * SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. + * + * UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is + * needed. Similar to what can be seen in the man page for the + * [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying + * data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it + * or not via another resource attribute. + * + * For applications running behind an application server (like unicorn), we do not recommend using one identifier + * for all processes participating in the application. Instead, it's recommended each division (e.g. a worker + * thread in unicorn) to have its own instance.id. + * + * It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the + * service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will + * likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. + * However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance + * for that telemetry. This is typically the case for scraping receivers, as they know the target address and + * port. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND = 'process.command'; +export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; /** - * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. + * A namespace for `service.name`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; - -/** - * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. + * @note A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; +export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; /** - * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. + * A unique id to identify a session. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; +export const ATTR_SESSION_ID = 'session.id'; /** - * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. + * The previous `session.id` for this user, when known. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; +export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; /** - * The username of the user that owns the process. + * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. + * + * @note When observed from the destination side, and when communicating through an intermediary, `source.address` **SHOULD** represent the source address behind any intermediaries, for example proxies, if it's available. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_OWNER = 'process.owner'; +export const ATTR_SOURCE_ADDRESS = 'source.address'; /** - * Parent Process identifier (PPID). + * Source port number * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; +export const ATTR_SOURCE_PORT = 'source.port'; /** - * Process identifier (PID). + * Deprecated, use `db.client.connection.state` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.state`.. */ -export const ATTR_PROCESS_PID = 'process.pid'; +export const ATTR_STATE = 'state'; /** - * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; + * Enum value 'idle' for attribute {@link ATTR_STATE}. + */ +export const ATTR_STATE_VALUE_IDLE = 'idle'; /** - * The name of the runtime of this process. For compiled native binaries, this **SHOULD** be the name of the compiler. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; + * Enum value 'used' for attribute {@link ATTR_STATE}. + */ +export const ATTR_STATE_VALUE_USED = 'used'; + /** - * The version of the runtime of this process, as returned by the runtime without modification. + * The logical CPU number [0..n-1] * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; +export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; /** - * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. + * Deprecated, use `cpu.mode` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `cpu.mode`. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; +export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; /** - * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_IDLE = 'idle'; /** - * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt'; /** - * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait'; /** - * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_NICE = 'nice'; /** - * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_STEAL = 'steal'; /** - * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system'; /** - * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_USER = 'user'; + /** - * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. - */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument'; + * The device identifier + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_DEVICE = 'system.device'; /** - * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. - */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found'; + * The filesystem mode + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; /** - * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. - */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range'; + * The filesystem mount path + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; /** - * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. - */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied'; + * The filesystem state + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; /** - * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted'; +export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free'; /** - * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated'; +export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved'; /** - * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable'; +export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used'; + /** - * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. - */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented'; + * The filesystem type + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; /** - * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat'; +/** + * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + */ +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4'; /** - * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. - * - * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_CONNECT_RPC_REQUEST_METADATA = (key: string) => `rpc.connect_rpc.request.metadata.${key}`; + * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + */ +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32'; /** - * Connect response metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. - * - * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_CONNECT_RPC_RESPONSE_METADATA = (key: string) => `rpc.connect_rpc.response.metadata.${key}`; + * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + */ +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus'; /** - * gRPC request metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. - * - * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_GRPC_REQUEST_METADATA = (key: string) => `rpc.grpc.request.metadata.${key}`; + * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + */ +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs'; /** - * gRPC response metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. - * - * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_GRPC_RESPONSE_METADATA = (key: string) => `rpc.grpc.response.metadata.${key}`; + * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + */ +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs'; + /** - * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. + * The memory state * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; +export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; /** - * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OK = 0; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers'; /** - * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached'; /** - * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_FREE = 'free'; /** - * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared'; /** - * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_USED = 'used'; + /** - * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. - */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; + * A stateless protocol **MUST** **NOT** set this attribute + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; /** - * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close'; /** - * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait'; /** - * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing'; /** - * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete'; /** - * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established'; /** - * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1'; /** - * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2'; /** - * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack'; /** - * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen'; /** - * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv'; /** - * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. + * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; - +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent'; /** - * `error.code` property of response if it is an error response. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; + * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + */ +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait'; -/** - * `error.message` property of response if it is an error response. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; /** - * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. + * The paging access direction * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; +export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; /** - * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; + * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. + */ +export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in'; /** - * The name of the (logical) method being called, must be equal to the $method part in the span name. - * - * @note This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_RPC_METHOD = 'rpc.method'; + * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. + */ +export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out'; -/** - * The full (logical) name of the service being called, including its package name, if applicable. - * - * @note This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). + +/** + * The memory paging state * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_SERVICE = 'rpc.service'; +export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; /** - * A string identifying the remoting system. See below for a list of well-known identifiers. + * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. + */ +export const ATTR_SYSTEM_PAGING_STATE_VALUE_FREE = 'free'; + +/** + * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. + */ +export const ATTR_SYSTEM_PAGING_STATE_VALUE_USED = 'used'; + + +/** + * The memory paging type * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_SYSTEM = 'rpc.system'; +export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; /** - * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const ATTR_RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo'; +export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major'; /** - * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const ATTR_RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc'; +export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor'; + /** - * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. + * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; + +/** + * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct'; /** - * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_RPC_SYSTEM_VALUE_GRPC = 'grpc'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running'; /** - * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping'; + +/** + * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. + */ +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped'; /** - * The string ID of the service instance. - * - * @note MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words - * `service.namespace,service.name,service.instance.id` triplet **MUST** be globally unique). The ID helps to - * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled - * service). - * - * Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC - * 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of - * this value if stability is desirable. In that case, the ID **SHOULD** be used as source of a UUID Version 5 and - * SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`. - * - * UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is - * needed. Similar to what can be seen in the man page for the - * [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying - * data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it - * or not via another resource attribute. - * - * For applications running behind an application server (like unicorn), we do not recommend using one identifier - * for all processes participating in the application. Instead, it's recommended each division (e.g. a worker - * thread in unicorn) to have its own instance.id. - * - * It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the - * service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will - * likely be wrong, as the Collector might not know from which container within that pod the telemetry originated. - * However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance - * for that telemetry. This is typically the case for scraping receivers, as they know the target address and - * port. + * Deprecated, use `system.process.status` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `system.process.status`.. */ -export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; +export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; /** - * A namespace for `service.name`. + * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + */ +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct'; + +/** + * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + */ +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running'; + +/** + * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + */ +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping'; + +/** + * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + */ +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped'; + + +/** + * The name of the auto instrumentation agent or distribution, if used. * - * @note A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. + * @note Official auto instrumentation agents and distributions **SHOULD** set the `telemetry.distro.name` attribute to + * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; +export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; /** - * A unique id to identify a session. + * The version string of the auto instrumentation agent or distribution, if used. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_ID = 'session.id'; +export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; /** - * The previous `session.id` for this user, when known. + * The fully qualified human readable name of the [test case](https://en.wikipedia.org/wiki/Test_case). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; +export const ATTR_TEST_CASE_NAME = 'test.case.name'; /** - * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. - * - * @note When observed from the destination side, and when communicating through an intermediary, `source.address` **SHOULD** represent the source address behind any intermediaries, for example proxies, if it's available. + * The status of the actual test case result from test execution. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SOURCE_ADDRESS = 'source.address'; +export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status'; /** - * Source port number - * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - */ -export const ATTR_SOURCE_PORT = 'source.port'; + * Enum value 'fail' for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. + */ +export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_FAIL = 'fail'; /** - * The name of the auto instrumentation agent or distribution, if used. - * - * @note Official auto instrumentation agents and distributions **SHOULD** set the `telemetry.distro.name` attribute to - * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. + * Enum value 'pass' for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. + */ +export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_PASS = 'pass'; + + +/** + * The human readable name of a [test suite](https://en.wikipedia.org/wiki/Test_suite). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; +export const ATTR_TEST_SUITE_NAME = 'test.suite.name'; /** - * The version string of the auto instrumentation agent or distribution, if used. + * The status of the test suite run. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; +export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status'; + +/** + * Enum value 'aborted' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + */ +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_ABORTED = 'aborted'; + +/** + * Enum value 'failure' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + */ +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_FAILURE = 'failure'; + +/** + * Enum value 'in_progress' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + */ +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = 'in_progress'; + +/** + * Enum value 'skipped' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + */ +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = 'skipped'; + +/** + * Enum value 'success' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + */ +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = 'success'; + +/** + * Enum value 'timed_out' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + */ +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = 'timed_out'; + /** * Current "managed" thread ID (as opposed to OS thread ID). @@ -3310,9 +5548,11 @@ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; /** - * Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. + * Deprecated, use `server.address` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `server.address.. */ export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; @@ -3506,6 +5746,13 @@ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; */ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; +/** + * The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_URL_TEMPLATE = 'url.template'; + /** * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. * @@ -3515,6 +5762,50 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; */ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; +/** + * User email address. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USER_EMAIL = 'user.email'; + +/** + * User's full name + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USER_FULL_NAME = 'user.full_name'; + +/** + * Unique user hash to correlate information for a user in anonymized form. + * + * @note Useful if `user.id` or `user.name` contain confidential information and cannot be used. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USER_HASH = 'user.hash'; + +/** + * Unique identifier of the user. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USER_ID = 'user.id'; + +/** + * Short name or login/username of the user. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USER_NAME = 'user.name'; + +/** + * Array of user roles at the time of the event. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_USER_ROLES = 'user.roles'; + /** * Name of the user-agent extracted from original. Usually refers to the browser's name. * @@ -3532,3 +5823,150 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; + +/** + * The type of garbage collection. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_V8JS_GC_TYPE = 'v8js.gc.type'; + +/** + * Enum value 'incremental' for attribute {@link ATTR_V8JS_GC_TYPE}. + */ +export const ATTR_V8JS_GC_TYPE_VALUE_INCREMENTAL = 'incremental'; + +/** + * Enum value 'major' for attribute {@link ATTR_V8JS_GC_TYPE}. + */ +export const ATTR_V8JS_GC_TYPE_VALUE_MAJOR = 'major'; + +/** + * Enum value 'minor' for attribute {@link ATTR_V8JS_GC_TYPE}. + */ +export const ATTR_V8JS_GC_TYPE_VALUE_MINOR = 'minor'; + +/** + * Enum value 'weakcb' for attribute {@link ATTR_V8JS_GC_TYPE}. + */ +export const ATTR_V8JS_GC_TYPE_VALUE_WEAKCB = 'weakcb'; + + +/** + * The name of the space type of heap memory. + * + * @note Value can be retrieved from value `space_name` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name'; + +/** + * Enum value 'code_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + */ +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = 'code_space'; + +/** + * Enum value 'large_object_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + */ +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = 'large_object_space'; + +/** + * Enum value 'map_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + */ +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = 'map_space'; + +/** + * Enum value 'new_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + */ +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = 'new_space'; + +/** + * Enum value 'old_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + */ +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = 'old_space'; + + +/** + * The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id'; + +/** + * The human readable title of the change (pull request/merge request). This title is often a brief summary of the change and may get merged in to a ref as the commit summary. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title'; + +/** + * The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name'; + +/** + * The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN. + * + * @note The revision can be a full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), + * of the recorded change to a ref within a repository pointing to a + * commit [commit](https://git-scm.com/docs/git-commit) object. It does + * not necessarily have to be a hash; it can simply define a + * [revision number](https://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html) + * which is an integer that is monotonically increasing. In cases where + * it is identical to the `ref.name`, it **SHOULD** still be included. It is + * up to the implementer to decide which value to set as the revision + * based on the VCS system and situational context. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision'; + +/** + * The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type'; + +/** + * Enum value 'branch' for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. + */ +export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = 'branch'; + +/** + * Enum value 'tag' for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. + */ +export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_TAG = 'tag'; + + +/** + * The [URL](https://en.wikipedia.org/wiki/URL) of the repository providing the complete address in order to locate and identify the repository. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full'; + +/** + * Additional description of the web engine (e.g. detailed version and edition information). + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; + +/** + * The name of the web engine. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_WEBENGINE_NAME = 'webengine.name'; + +/** + * The version of the web engine. + * + * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const ATTR_WEBENGINE_VERSION = 'webengine.version'; diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts index 9bfbd0a375..a1d803d23c 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -54,69 +54,159 @@ export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; */ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; +/** + * The number of connections that are currently in state described by the `state` attribute + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_CONNECTION_COUNT = 'db.client.connection.count'; + /** * The time it took to create a new connection * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; +export const METRIC_DB_CLIENT_CONNECTION_CREATE_TIME = 'db.client.connection.create_time'; /** * The maximum number of idle open connections allowed * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; +export const METRIC_DB_CLIENT_CONNECTION_IDLE_MAX = 'db.client.connection.idle.max'; /** * The minimum number of idle open connections allowed * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; +export const METRIC_DB_CLIENT_CONNECTION_IDLE_MIN = 'db.client.connection.idle.min'; /** * The maximum number of open connections allowed * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; +export const METRIC_DB_CLIENT_CONNECTION_MAX = 'db.client.connection.max'; /** * The number of pending requests for an open connection, cumulative for the entire pool * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change 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 const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.idle.max`.. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.idle.min`.. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.max`.. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.pending_requests`.. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.timeouts`.. + */ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; /** - * The number of connections that are currently in state described by the `state` attribute + * Deprecated, use `db.client.connection.count` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `db.client.connection.count`.. */ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; /** - * The time between borrowing a connection and returning it to the pool + * 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 change 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 const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; /** - * The time it took to obtain an open connection from the pool + * 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 change 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 const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_DB_CLIENT_OPERATION_DURATION = 'db.client.operation.duration'; + /** * Measures the time taken to perform a DNS lookup. * @@ -187,6 +277,122 @@ export const METRIC_FAAS_NET_IO = 'faas.net_io'; */ export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; +/** + * GenAI operation duration + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GEN_AI_CLIENT_OPERATION_DURATION = 'gen_ai.client.operation.duration'; + +/** + * Measures number of input and output tokens used + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GEN_AI_CLIENT_TOKEN_USAGE = 'gen_ai.client.token.usage'; + +/** + * Generative AI server request duration such as time-to-last byte or last output token + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GEN_AI_SERVER_REQUEST_DURATION = 'gen_ai.server.request.duration'; + +/** + * Time per output token generated after the first token for successful responses + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN = 'gen_ai.server.time_per_output_token'; + +/** + * Time to generate first token for successful responses + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GEN_AI_SERVER_TIME_TO_FIRST_TOKEN = 'gen_ai.server.time_to_first_token'; + +/** + * Heap size target percentage configured by the user, otherwise 100. + * + * @note The value range is [0.0,100.0]. Computed from `/gc/gogc:percent`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_CONFIG_GOGC = 'go.config.gogc'; + +/** + * Count of live goroutines. + * + * @note Computed from `/sched/goroutines:goroutines`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_GOROUTINE_COUNT = 'go.goroutine.count'; + +/** + * Memory allocated to the heap by the application. + * + * @note Computed from `/gc/heap/allocs:bytes`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_MEMORY_ALLOCATED = 'go.memory.allocated'; + +/** + * Count of allocations to the heap by the application. + * + * @note Computed from `/gc/heap/allocs:objects`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_MEMORY_ALLOCATIONS = 'go.memory.allocations'; + +/** + * Heap size target for the end of the GC cycle. + * + * @note Computed from `/gc/heap/goal:bytes`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_MEMORY_GC_GOAL = 'go.memory.gc.goal'; + +/** + * Go runtime memory limit configured by the user, if a limit exists. + * + * @note Computed from `/gc/gomemlimit:bytes`. This metric is excluded if the limit obtained from the Go runtime is math.MaxInt64. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_MEMORY_LIMIT = 'go.memory.limit'; + +/** + * Memory used by the Go runtime. + * + * @note Computed from `(/memory/classes/total:bytes - /memory/classes/heap/released:bytes)`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_MEMORY_USED = 'go.memory.used'; + +/** + * The number of OS threads that can execute user-level Go code simultaneously. + * + * @note Computed from `/sched/gomaxprocs:threads`. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_PROCESSOR_LIMIT = 'go.processor.limit'; + +/** + * The time goroutines have spent in the scheduler in a runnable state before actually running. + * + * @note Computed from `/sched/latencies:seconds`. Bucket boundaries are provided by the runtime, and are subject to change. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_GO_SCHEDULE_DURATION = 'go.schedule.duration'; + /** * Number of active HTTP requests. * @@ -266,12 +472,21 @@ export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; /** - * Measure of memory used by buffers. + * Deprecated, use `jvm.buffer.memory.used` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `jvm.buffer.memory.used`.. */ export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; +/** + * Measure of memory used by buffers. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_JVM_BUFFER_MEMORY_USED = 'jvm.buffer.memory.used'; + /** * Measure of initial memory requested. * @@ -298,47 +513,159 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; /** - * Measures the duration of process operation. + * Number of messages that were delivered to the application. + * + * @note Records the number of messages pulled from the broker or number of messages dispatched to the application in push-based scenarios. + * The metric **SHOULD** be reported once per message delivery. For example, if receiving and processing operations are both instrumented for a single message delivery, this counter is incremented when the message is received and not reported when it is processed. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_CLIENT_CONSUMED_MESSAGES = 'messaging.client.consumed.messages'; + +/** + * Duration of messaging operation initiated by a producer or consumer client. + * + * @note This metric **SHOULD** **NOT** be used to report processing duration - processing duration is reported in `messaging.process.duration` metric. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_CLIENT_OPERATION_DURATION = 'messaging.client.operation.duration'; + +/** + * Number of messages producer attempted to publish to the broker. + * + * @note This metric **MUST** **NOT** count messages that were created haven't yet been attempted to be published. + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_MESSAGING_CLIENT_PUBLISHED_MESSAGES = 'messaging.client.published.messages'; + +/** + * Duration of processing operation. + * + * @note This metric **MUST** be reported for operations with `messaging.operation.type` that matches `process`. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; /** - * Measures the number of processed messages. + * Deprecated. Use `messaging.client.consumed.messages` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.client.consumed.messages`.. */ export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; /** - * Measures the duration of publish operation. + * Deprecated. Use `messaging.client.operation.duration` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.client.operation.duration`.. */ export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; /** - * Measures the number of published messages. + * Deprecated. Use `messaging.client.produced.messages` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.client.produced.messages`.. */ export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; /** - * Measures the duration of receive operation. + * Deprecated. Use `messaging.client.operation.duration` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.client.operation.duration`.. */ export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; /** - * Measures the number of received messages. + * Deprecated. Use `messaging.client.consumed.messages` instead. * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * + * @deprecated * Replaced by `messaging.client.consumed.messages`.. */ export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; +/** + * Event loop maximum delay. + * + * @note Value can be retrieved from value `histogram.max` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_MAX = 'nodejs.eventloop.delay.max'; + +/** + * Event loop mean delay. + * + * @note Value can be retrieved from value `histogram.mean` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_MEAN = 'nodejs.eventloop.delay.mean'; + +/** + * Event loop minimum delay. + * + * @note Value can be retrieved from value `histogram.min` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_MIN = 'nodejs.eventloop.delay.min'; + +/** + * Event loop 50 percentile delay. + * + * @note Value can be retrieved from value `histogram.percentile(50)` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_P50 = 'nodejs.eventloop.delay.p50'; + +/** + * Event loop 90 percentile delay. + * + * @note Value can be retrieved from value `histogram.percentile(90)` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_P90 = 'nodejs.eventloop.delay.p90'; + +/** + * Event loop 99 percentile delay. + * + * @note Value can be retrieved from value `histogram.percentile(99)` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_P99 = 'nodejs.eventloop.delay.p99'; + +/** + * Event loop standard deviation delay. + * + * @note Value can be retrieved from value `histogram.stddev` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_DELAY_STDDEV = 'nodejs.eventloop.delay.stddev'; + +/** + * Event loop utilization. + * + * @note The value range is [0.0,1.0] and can be retrieved from value [`performance.eventLoopUtilization([utilization1[, utilization2]])`](https://nodejs.org/api/perf_hooks.html#performanceeventlooputilizationutilization1-utilization2) + * + * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_NODEJS_EVENTLOOP_UTILIZATION = 'nodejs.eventloop.utilization'; + /** * Number of times the process has been context switched. * @@ -622,6 +949,17 @@ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilizati */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_LINUX_MEMORY_SLAB_USAGE = 'system.linux.memory.slab.usage'; + /** * Total memory available in the system. * @@ -631,6 +969,16 @@ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.availab */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_SYSTEM_MEMORY_SHARED = 'system.memory.shared'; + /** * Reports memory in use by state. * @@ -736,3 +1084,48 @@ export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const 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 change in minor releases of `@opentelemetry/semantic-conventions`. + */ +export const METRIC_V8JS_MEMORY_HEAP_USED = 'v8js.memory.heap.used'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index 11b3290ae5..9304f9848a 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -18,6 +18,32 @@ // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- +/** + * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason + */ +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result'; + +/** + * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + */ +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = 'acquired'; + +/** + * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + */ +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = 'endpoint_limiter'; + +/** + * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + */ +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = 'global_limiter'; + +/** + * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + */ +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = 'request_canceled'; + + /** * The language of the telemetry SDK. */ @@ -101,6 +127,68 @@ export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; */ export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; +/** + * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. + */ +export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type'; + +/** + * ASP.NET Core exception middleware handling result + */ +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result'; + +/** + * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + */ +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'aborted'; + +/** + * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + */ +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = 'handled'; + +/** + * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + */ +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = 'skipped'; + +/** + * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + */ +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = 'unhandled'; + + +/** + * Rate limiting policy name. + */ +export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy'; + +/** + * Flag indicating if request was handled by the application pipeline. + */ +export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled'; + +/** + * A value that indicates whether the matched route is a fallback route. + */ +export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback'; + +/** + * Match result - success or failure + */ +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'; + +/** + * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. + */ +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure'; + +/** + * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. + */ +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success'; + + /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * @@ -118,7 +206,11 @@ export const ATTR_CLIENT_PORT = 'client.port'; /** * Describes a class of error the operation ended with. * - * @note The `error.type` **SHOULD** be predictable and **SHOULD** have low cardinality. + * @note The `error.type` **SHOULD** be predictable, and **SHOULD** have low cardinality. + * + * When `error.type` is set to a type (e.g., an exception type), its + * canonical class name identifying the type within the artifact **SHOULD** be used. + * * Instrumentations **SHOULD** document the list of errors they report. * * The cardinality of `error.type` within one instrumentation library **SHOULD** be low. @@ -155,7 +247,7 @@ export const ATTR_ERROR_TYPE_VALUE_OTHER = '_OTHER'; * whether it will escape the scope of a span. * However, it is trivial to know that an exception * will escape, if one checks for an active exception just before ending the span, - * as done in the [example for recording span exceptions](#recording-an-exception). + * as done in the [example for recording span exceptions](https://opentelemetry.io/docs/specs/semconv/exceptions/exceptions-spans/#recording-an-exception). * * It follows that an exception may still escape the scope of the span * even if the `exception.escaped` attribute was not set or set to false, @@ -293,6 +385,84 @@ export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; */ export const ATTR_HTTP_ROUTE = 'http.route'; +/** + * Name of the garbage collector action. + * + * @note Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). + */ +export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; + +/** + * Name of the garbage collector. + * + * @note Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). + */ +export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; + +/** + * Name of the memory pool. + * + * @note Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). + */ +export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; + +/** + * The type of memory. + */ +export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; + +/** + * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. + */ +export const ATTR_JVM_MEMORY_TYPE_VALUE_HEAP = 'heap'; + +/** + * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. + */ +export const ATTR_JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap'; + + +/** + * Whether the thread is daemon or not. + */ +export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; + +/** + * State of the thread. + */ +export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; + +/** + * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. + */ +export const ATTR_JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked'; + +/** + * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. + */ +export const ATTR_JVM_THREAD_STATE_VALUE_NEW = 'new'; + +/** + * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. + */ +export const ATTR_JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable'; + +/** + * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. + */ +export const ATTR_JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated'; + +/** + * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. + */ +export const ATTR_JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting'; + +/** + * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. + */ +export const ATTR_JVM_THREAD_STATE_VALUE_WAITING = 'waiting'; + + /** * Local address of the network connection - IP address or Unix domain socket name. */ @@ -343,6 +513,11 @@ export const ATTR_NETWORK_TRANSPORT = 'network.transport'; */ export const ATTR_NETWORK_TRANSPORT_VALUE_PIPE = 'pipe'; +/** + * Enum value 'quic' for attribute {@link ATTR_NETWORK_TRANSPORT}. + */ +export const ATTR_NETWORK_TRANSPORT_VALUE_QUIC = 'quic'; + /** * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. */ @@ -377,6 +552,37 @@ export const ATTR_NETWORK_TYPE_VALUE_IPV4 = 'ipv4'; export const ATTR_NETWORK_TYPE_VALUE_IPV6 = 'ipv6'; +/** + * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). + */ +export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name'; + +/** + * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). + */ +export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version'; + +/** + * Name of the code, either "OK" or "ERROR". **MUST** **NOT** be set if the status code is UNSET. + */ +export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; + +/** + * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. + */ +export const ATTR_OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR'; + +/** + * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. + */ +export const ATTR_OTEL_STATUS_CODE_VALUE_OK = 'OK'; + + +/** + * Description of the Status if it has a value, otherwise not set. + */ +export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; + /** * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * @@ -394,7 +600,7 @@ export const ATTR_SERVER_PORT = 'server.port'; /** * Logical name of the service. * - * @note MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs **MUST** fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value **MUST** be set to `unknown_service`. + * @note MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs **MUST** fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value **MUST** be set to `unknown_service`. */ export const ATTR_SERVICE_NAME = 'service.name'; @@ -403,6 +609,48 @@ export const ATTR_SERVICE_NAME = 'service.name'; */ export const ATTR_SERVICE_VERSION = 'service.version'; +/** + * SignalR HTTP connection closure status. + */ +export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; + +/** + * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. + */ +export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = 'app_shutdown'; + +/** + * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. + */ +export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = 'normal_closure'; + +/** + * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. + */ +export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout'; + + +/** + * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) + */ +export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; + +/** + * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. + */ +export const ATTR_SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling'; + +/** + * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. + */ +export const ATTR_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = 'server_sent_events'; + +/** + * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. + */ +export const ATTR_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets'; + + /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component */ diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index e032116f87..9783b3552d 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -6,7 +6,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOT_DIR="${SCRIPT_DIR}/../../" # freeze the spec version to make SpanAttributess generation reproducible -SPEC_VERSION=v1.25.0 +SPEC_VERSION=v1.27.0 GENERATOR_VERSION=0.8.0 # When running on windows and your are getting references to ";C" (like Telemetry;C) diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/stable/weaver.yaml index f29966f7be..23b0fac9a9 100644 --- a/scripts/semconv/templates/registry/stable/weaver.yaml +++ b/scripts/semconv/templates/registry/stable/weaver.yaml @@ -1,5 +1,5 @@ params: - excluded_attributes: [] + excluded_attributes: ["messaging.client_id"] templates: - pattern: stable_attributes.ts.j2 From af81446b099532d3ebe8df0bae731ea16a742ef5 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 14:01:35 -0400 Subject: [PATCH 31/47] Apply suggestions from review --- .../src/experimental_attributes.ts | 1492 ++++++++--------- .../src/stable_attributes.ts | 224 +-- .../stable/experimental_attributes.ts.j2 | 7 +- .../registry/stable/stable_attributes.ts.j2 | 7 +- 4 files changed, 864 insertions(+), 866 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index f2ed7de85b..493f3b7b01 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -42,19 +42,19 @@ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; export const ATTR_ANDROID_STATE = 'android.state'; /** - * Enum value 'background' for attribute {@link ATTR_ANDROID_STATE}. + * Enum value "background" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ATTR_ANDROID_STATE_VALUE_BACKGROUND = 'background'; +export const ATTR_ANDROID_STATE_VALUE_BACKGROUND = "background"; /** - * Enum value 'created' for attribute {@link ATTR_ANDROID_STATE}. + * Enum value "created" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ATTR_ANDROID_STATE_VALUE_CREATED = 'created'; +export const ATTR_ANDROID_STATE_VALUE_CREATED = "created"; /** - * Enum value 'foreground' for attribute {@link ATTR_ANDROID_STATE}. + * Enum value "foreground" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ATTR_ANDROID_STATE_VALUE_FOREGROUND = 'foreground'; +export const ATTR_ANDROID_STATE_VALUE_FOREGROUND = "foreground"; /** @@ -296,14 +296,14 @@ export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; /** - * Enum value 'ec2' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. + * Enum value "ec2" for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. */ -export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = 'ec2'; +export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = "ec2"; /** - * Enum value 'fargate' for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. + * Enum value "fargate" for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. */ -export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = 'fargate'; +export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; /** @@ -559,19 +559,19 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url. export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'; /** - * Enum value 'build' for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. + * Enum value "build" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = 'build'; +export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = "build"; /** - * Enum value 'deploy' for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. + * Enum value "deploy" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = 'deploy'; +export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = "deploy"; /** - * Enum value 'test' for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. + * Enum value "test" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_TEST = 'test'; +export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; /** @@ -600,144 +600,144 @@ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; /** - * Enum value 'alibaba_cloud_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "alibaba_cloud_ecs" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs'; +export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs"; /** - * Enum value 'alibaba_cloud_fc' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "alibaba_cloud_fc" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc'; +export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = "alibaba_cloud_fc"; /** - * Enum value 'alibaba_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "alibaba_cloud_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = 'alibaba_cloud_openshift'; +export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift"; /** - * Enum value 'aws_app_runner' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_app_runner" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = 'aws_app_runner'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = "aws_app_runner"; /** - * Enum value 'aws_ec2' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_ec2" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EC2 = 'aws_ec2'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EC2 = "aws_ec2"; /** - * Enum value 'aws_ecs' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_ecs" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ECS = 'aws_ecs'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ECS = "aws_ecs"; /** - * Enum value 'aws_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_eks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EKS = 'aws_eks'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EKS = "aws_eks"; /** - * Enum value 'aws_elastic_beanstalk' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_elastic_beanstalk" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk"; /** - * Enum value 'aws_lambda' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_lambda" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_LAMBDA = 'aws_lambda'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_LAMBDA = "aws_lambda"; /** - * Enum value 'aws_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "aws_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = 'aws_openshift'; +export const ATTR_CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = "aws_openshift"; /** - * Enum value 'azure_aks' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_aks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_AKS = 'azure_aks'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks"; /** - * Enum value 'azure_app_service' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_app_service" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = 'azure_app_service'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure_app_service"; /** - * Enum value 'azure_container_apps' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_container_apps" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = 'azure_container_apps'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure_container_apps"; /** - * Enum value 'azure_container_instances' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_container_instances" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = 'azure_container_instances'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure_container_instances"; /** - * Enum value 'azure_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_functions" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = 'azure_functions'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure_functions"; /** - * Enum value 'azure_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = 'azure_openshift'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure_openshift"; /** - * Enum value 'azure_vm' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "azure_vm" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_VM = 'azure_vm'; +export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_VM = "azure_vm"; /** - * Enum value 'gcp_app_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_app_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = 'gcp_app_engine'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = "gcp_app_engine"; /** - * Enum value 'gcp_bare_metal_solution' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_bare_metal_solution" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = 'gcp_bare_metal_solution'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution"; /** - * Enum value 'gcp_cloud_functions' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_cloud_functions" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions"; /** - * Enum value 'gcp_cloud_run' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_cloud_run" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = 'gcp_cloud_run'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = "gcp_cloud_run"; /** - * Enum value 'gcp_compute_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_compute_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = 'gcp_compute_engine'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = "gcp_compute_engine"; /** - * Enum value 'gcp_kubernetes_engine' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_kubernetes_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine"; /** - * Enum value 'gcp_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "gcp_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = 'gcp_openshift'; +export const ATTR_CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = "gcp_openshift"; /** - * Enum value 'ibm_cloud_openshift' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "ibm_cloud_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = 'ibm_cloud_openshift'; +export const ATTR_CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift"; /** - * Enum value 'tencent_cloud_cvm' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "tencent_cloud_cvm" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = 'tencent_cloud_cvm'; +export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = "tencent_cloud_cvm"; /** - * Enum value 'tencent_cloud_eks' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "tencent_cloud_eks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = 'tencent_cloud_eks'; +export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = "tencent_cloud_eks"; /** - * Enum value 'tencent_cloud_scf' for attribute {@link ATTR_CLOUD_PLATFORM}. + * Enum value "tencent_cloud_scf" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; +export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf"; /** @@ -748,39 +748,39 @@ export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = 'tencent_cloud_scf'; export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; /** - * Enum value 'alibaba_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "alibaba_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; +export const ATTR_CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; /** - * Enum value 'aws' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "aws" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_AWS = 'aws'; +export const ATTR_CLOUD_PROVIDER_VALUE_AWS = "aws"; /** - * Enum value 'azure' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "azure" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_AZURE = 'azure'; +export const ATTR_CLOUD_PROVIDER_VALUE_AZURE = "azure"; /** - * Enum value 'gcp' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "gcp" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_GCP = 'gcp'; +export const ATTR_CLOUD_PROVIDER_VALUE_GCP = "gcp"; /** - * Enum value 'heroku' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "heroku" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_HEROKU = 'heroku'; +export const ATTR_CLOUD_PROVIDER_VALUE_HEROKU = "heroku"; /** - * Enum value 'ibm_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "ibm_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_IBM_CLOUD = 'ibm_cloud'; +export const ATTR_CLOUD_PROVIDER_VALUE_IBM_CLOUD = "ibm_cloud"; /** - * Enum value 'tencent_cloud' for attribute {@link ATTR_CLOUD_PROVIDER}. + * Enum value "tencent_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; +export const ATTR_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; /** @@ -927,19 +927,19 @@ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; /** - * Enum value 'kernel' for attribute {@link ATTR_CONTAINER_CPU_STATE}. + * Enum value "kernel" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const ATTR_CONTAINER_CPU_STATE_VALUE_KERNEL = 'kernel'; +export const ATTR_CONTAINER_CPU_STATE_VALUE_KERNEL = "kernel"; /** - * Enum value 'system' for attribute {@link ATTR_CONTAINER_CPU_STATE}. + * Enum value "system" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const ATTR_CONTAINER_CPU_STATE_VALUE_SYSTEM = 'system'; +export const ATTR_CONTAINER_CPU_STATE_VALUE_SYSTEM = "system"; /** - * Enum value 'user' for attribute {@link ATTR_CONTAINER_CPU_STATE}. + * Enum value "user" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const ATTR_CONTAINER_CPU_STATE_VALUE_USER = 'user'; +export const ATTR_CONTAINER_CPU_STATE_VALUE_USER = "user"; /** @@ -1021,44 +1021,44 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; export const ATTR_CPU_MODE = 'cpu.mode'; /** - * Enum value 'idle' for attribute {@link ATTR_CPU_MODE}. + * Enum value "idle" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_IDLE = 'idle'; +export const ATTR_CPU_MODE_VALUE_IDLE = "idle"; /** - * Enum value 'interrupt' for attribute {@link ATTR_CPU_MODE}. + * Enum value "interrupt" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_INTERRUPT = 'interrupt'; +export const ATTR_CPU_MODE_VALUE_INTERRUPT = "interrupt"; /** - * Enum value 'iowait' for attribute {@link ATTR_CPU_MODE}. + * Enum value "iowait" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_IOWAIT = 'iowait'; +export const ATTR_CPU_MODE_VALUE_IOWAIT = "iowait"; /** - * Enum value 'kernel' for attribute {@link ATTR_CPU_MODE}. + * Enum value "kernel" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_KERNEL = 'kernel'; +export const ATTR_CPU_MODE_VALUE_KERNEL = "kernel"; /** - * Enum value 'nice' for attribute {@link ATTR_CPU_MODE}. + * Enum value "nice" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_NICE = 'nice'; +export const ATTR_CPU_MODE_VALUE_NICE = "nice"; /** - * Enum value 'steal' for attribute {@link ATTR_CPU_MODE}. + * Enum value "steal" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_STEAL = 'steal'; +export const ATTR_CPU_MODE_VALUE_STEAL = "steal"; /** - * Enum value 'system' for attribute {@link ATTR_CPU_MODE}. + * Enum value "system" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_SYSTEM = 'system'; +export const ATTR_CPU_MODE_VALUE_SYSTEM = "system"; /** - * Enum value 'user' for attribute {@link ATTR_CPU_MODE}. + * Enum value "user" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_USER = 'user'; +export const ATTR_CPU_MODE_VALUE_USER = "user"; /** @@ -1069,59 +1069,59 @@ export const ATTR_CPU_MODE_VALUE_USER = 'user'; export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'; /** - * Enum value 'all' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "all" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = 'all'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = "all"; /** - * Enum value 'any' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "any" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = 'any'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = "any"; /** - * Enum value 'each_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "each_quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = 'each_quorum'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = "each_quorum"; /** - * Enum value 'local_one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "local_one" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = 'local_one'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = "local_one"; /** - * Enum value 'local_quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "local_quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = 'local_quorum'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = "local_quorum"; /** - * Enum value 'local_serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "local_serial" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = 'local_serial'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = "local_serial"; /** - * Enum value 'one' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "one" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = 'one'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = "one"; /** - * Enum value 'quorum' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = 'quorum'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = "quorum"; /** - * Enum value 'serial' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "serial" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = 'serial'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = "serial"; /** - * Enum value 'three' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "three" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = 'three'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = "three"; /** - * Enum value 'two' for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. + * Enum value "two" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = 'two'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; /** @@ -1183,14 +1183,14 @@ export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.na export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state'; /** - * Enum value 'idle' for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. + * Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = 'idle'; +export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = "idle"; /** - * Enum value 'used' for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. + * Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_USED = 'used'; +export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; /** @@ -1212,14 +1212,14 @@ export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool. export const ATTR_DB_CLIENT_CONNECTIONS_STATE = 'db.client.connections.state'; /** - * Enum value 'idle' for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. + * Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = 'idle'; +export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = "idle"; /** - * Enum value 'used' for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. + * Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = 'used'; +export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; /** @@ -1257,14 +1257,14 @@ export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; /** - * Enum value 'direct' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. + * Enum value "direct" for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = 'direct'; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = "direct"; /** - * Enum value 'gateway' for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. + * Enum value "gateway" for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = 'gateway'; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; /** @@ -1284,79 +1284,79 @@ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; /** - * Enum value 'Batch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Batch" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = 'Batch'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = "Batch"; /** - * Enum value 'Create' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Create" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = 'Create'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = "Create"; /** - * Enum value 'Delete' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Delete" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = 'Delete'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = "Delete"; /** - * Enum value 'Execute' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Execute" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = 'Execute'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = "Execute"; /** - * Enum value 'ExecuteJavaScript' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "ExecuteJavaScript" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = 'ExecuteJavaScript'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = "ExecuteJavaScript"; /** - * Enum value 'Head' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Head" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = 'Head'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = "Head"; /** - * Enum value 'HeadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "HeadFeed" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = 'HeadFeed'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = "HeadFeed"; /** - * Enum value 'Invalid' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Invalid" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = 'Invalid'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = "Invalid"; /** - * Enum value 'Patch' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Patch" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = 'Patch'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = "Patch"; /** - * Enum value 'Query' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Query" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = 'Query'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = "Query"; /** - * Enum value 'QueryPlan' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "QueryPlan" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = 'QueryPlan'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = "QueryPlan"; /** - * Enum value 'Read' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Read" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = 'Read'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = "Read"; /** - * Enum value 'ReadFeed' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "ReadFeed" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = 'ReadFeed'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = "ReadFeed"; /** - * Enum value 'Replace' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Replace" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = 'Replace'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = "Replace"; /** - * Enum value 'Upsert' for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. + * Enum value "Upsert" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = 'Upsert'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; /** @@ -1555,274 +1555,274 @@ export const ATTR_DB_STATEMENT = 'db.statement'; export const ATTR_DB_SYSTEM = 'db.system'; /** - * Enum value 'adabas' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "adabas" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_ADABAS = 'adabas'; +export const ATTR_DB_SYSTEM_VALUE_ADABAS = "adabas"; /** - * Enum value 'cache' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "cache" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CACHE = 'cache'; +export const ATTR_DB_SYSTEM_VALUE_CACHE = "cache"; /** - * Enum value 'cassandra' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "cassandra" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CASSANDRA = 'cassandra'; +export const ATTR_DB_SYSTEM_VALUE_CASSANDRA = "cassandra"; /** - * Enum value 'clickhouse' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "clickhouse" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CLICKHOUSE = 'clickhouse'; +export const ATTR_DB_SYSTEM_VALUE_CLICKHOUSE = "clickhouse"; /** - * Enum value 'cloudscape' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "cloudscape" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CLOUDSCAPE = 'cloudscape'; +export const ATTR_DB_SYSTEM_VALUE_CLOUDSCAPE = "cloudscape"; /** - * Enum value 'cockroachdb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "cockroachdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COCKROACHDB = 'cockroachdb'; +export const ATTR_DB_SYSTEM_VALUE_COCKROACHDB = "cockroachdb"; /** - * Enum value 'coldfusion' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "coldfusion" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COLDFUSION = 'coldfusion'; +export const ATTR_DB_SYSTEM_VALUE_COLDFUSION = "coldfusion"; /** - * Enum value 'cosmosdb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "cosmosdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COSMOSDB = 'cosmosdb'; +export const ATTR_DB_SYSTEM_VALUE_COSMOSDB = "cosmosdb"; /** - * Enum value 'couchbase' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "couchbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COUCHBASE = 'couchbase'; +export const ATTR_DB_SYSTEM_VALUE_COUCHBASE = "couchbase"; /** - * Enum value 'couchdb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "couchdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COUCHDB = 'couchdb'; +export const ATTR_DB_SYSTEM_VALUE_COUCHDB = "couchdb"; /** - * Enum value 'db2' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "db2" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_DB2 = 'db2'; +export const ATTR_DB_SYSTEM_VALUE_DB2 = "db2"; /** - * Enum value 'derby' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "derby" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_DERBY = 'derby'; +export const ATTR_DB_SYSTEM_VALUE_DERBY = "derby"; /** - * Enum value 'dynamodb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "dynamodb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_DYNAMODB = 'dynamodb'; +export const ATTR_DB_SYSTEM_VALUE_DYNAMODB = "dynamodb"; /** - * Enum value 'edb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "edb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_EDB = 'edb'; +export const ATTR_DB_SYSTEM_VALUE_EDB = "edb"; /** - * Enum value 'elasticsearch' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "elasticsearch" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_ELASTICSEARCH = 'elasticsearch'; +export const ATTR_DB_SYSTEM_VALUE_ELASTICSEARCH = "elasticsearch"; /** - * Enum value 'filemaker' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "filemaker" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_FILEMAKER = 'filemaker'; +export const ATTR_DB_SYSTEM_VALUE_FILEMAKER = "filemaker"; /** - * Enum value 'firebird' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "firebird" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_FIREBIRD = 'firebird'; +export const ATTR_DB_SYSTEM_VALUE_FIREBIRD = "firebird"; /** - * Enum value 'firstsql' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "firstsql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_FIRSTSQL = 'firstsql'; +export const ATTR_DB_SYSTEM_VALUE_FIRSTSQL = "firstsql"; /** - * Enum value 'geode' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "geode" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_GEODE = 'geode'; +export const ATTR_DB_SYSTEM_VALUE_GEODE = "geode"; /** - * Enum value 'h2' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "h2" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_H2 = 'h2'; +export const ATTR_DB_SYSTEM_VALUE_H2 = "h2"; /** - * Enum value 'hanadb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "hanadb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HANADB = 'hanadb'; +export const ATTR_DB_SYSTEM_VALUE_HANADB = "hanadb"; /** - * Enum value 'hbase' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "hbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HBASE = 'hbase'; +export const ATTR_DB_SYSTEM_VALUE_HBASE = "hbase"; /** - * Enum value 'hive' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "hive" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HIVE = 'hive'; +export const ATTR_DB_SYSTEM_VALUE_HIVE = "hive"; /** - * Enum value 'hsqldb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "hsqldb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HSQLDB = 'hsqldb'; +export const ATTR_DB_SYSTEM_VALUE_HSQLDB = "hsqldb"; /** - * Enum value 'influxdb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "influxdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INFLUXDB = 'influxdb'; +export const ATTR_DB_SYSTEM_VALUE_INFLUXDB = "influxdb"; /** - * Enum value 'informix' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "informix" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INFORMIX = 'informix'; +export const ATTR_DB_SYSTEM_VALUE_INFORMIX = "informix"; /** - * Enum value 'ingres' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "ingres" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INGRES = 'ingres'; +export const ATTR_DB_SYSTEM_VALUE_INGRES = "ingres"; /** - * Enum value 'instantdb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "instantdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INSTANTDB = 'instantdb'; +export const ATTR_DB_SYSTEM_VALUE_INSTANTDB = "instantdb"; /** - * Enum value 'interbase' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "interbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INTERBASE = 'interbase'; +export const ATTR_DB_SYSTEM_VALUE_INTERBASE = "interbase"; /** - * Enum value 'intersystems_cache' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "intersystems_cache" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = 'intersystems_cache'; +export const ATTR_DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = "intersystems_cache"; /** - * Enum value 'mariadb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "mariadb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MARIADB = 'mariadb'; +export const ATTR_DB_SYSTEM_VALUE_MARIADB = "mariadb"; /** - * Enum value 'maxdb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "maxdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MAXDB = 'maxdb'; +export const ATTR_DB_SYSTEM_VALUE_MAXDB = "maxdb"; /** - * Enum value 'memcached' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "memcached" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MEMCACHED = 'memcached'; +export const ATTR_DB_SYSTEM_VALUE_MEMCACHED = "memcached"; /** - * Enum value 'mongodb' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MONGODB = 'mongodb'; +export const ATTR_DB_SYSTEM_VALUE_MONGODB = "mongodb"; /** - * Enum value 'mssql' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "mssql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MSSQL = 'mssql'; +export const ATTR_DB_SYSTEM_VALUE_MSSQL = "mssql"; /** - * Enum value 'mssqlcompact' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "mssqlcompact" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MSSQLCOMPACT = 'mssqlcompact'; +export const ATTR_DB_SYSTEM_VALUE_MSSQLCOMPACT = "mssqlcompact"; /** - * Enum value 'mysql' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "mysql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MYSQL = 'mysql'; +export const ATTR_DB_SYSTEM_VALUE_MYSQL = "mysql"; /** - * Enum value 'neo4j' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "neo4j" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_NEO4J = 'neo4j'; +export const ATTR_DB_SYSTEM_VALUE_NEO4J = "neo4j"; /** - * Enum value 'netezza' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "netezza" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_NETEZZA = 'netezza'; +export const ATTR_DB_SYSTEM_VALUE_NETEZZA = "netezza"; /** - * Enum value 'opensearch' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "opensearch" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_OPENSEARCH = 'opensearch'; +export const ATTR_DB_SYSTEM_VALUE_OPENSEARCH = "opensearch"; /** - * Enum value 'oracle' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "oracle" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_ORACLE = 'oracle'; +export const ATTR_DB_SYSTEM_VALUE_ORACLE = "oracle"; /** - * Enum value 'other_sql' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "other_sql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_OTHER_SQL = 'other_sql'; +export const ATTR_DB_SYSTEM_VALUE_OTHER_SQL = "other_sql"; /** - * Enum value 'pervasive' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "pervasive" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_PERVASIVE = 'pervasive'; +export const ATTR_DB_SYSTEM_VALUE_PERVASIVE = "pervasive"; /** - * Enum value 'pointbase' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "pointbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_POINTBASE = 'pointbase'; +export const ATTR_DB_SYSTEM_VALUE_POINTBASE = "pointbase"; /** - * Enum value 'postgresql' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "postgresql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_POSTGRESQL = 'postgresql'; +export const ATTR_DB_SYSTEM_VALUE_POSTGRESQL = "postgresql"; /** - * Enum value 'progress' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "progress" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_PROGRESS = 'progress'; +export const ATTR_DB_SYSTEM_VALUE_PROGRESS = "progress"; /** - * Enum value 'redis' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "redis" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_REDIS = 'redis'; +export const ATTR_DB_SYSTEM_VALUE_REDIS = "redis"; /** - * Enum value 'redshift' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "redshift" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_REDSHIFT = 'redshift'; +export const ATTR_DB_SYSTEM_VALUE_REDSHIFT = "redshift"; /** - * Enum value 'spanner' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "spanner" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_SPANNER = 'spanner'; +export const ATTR_DB_SYSTEM_VALUE_SPANNER = "spanner"; /** - * Enum value 'sqlite' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "sqlite" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_SQLITE = 'sqlite'; +export const ATTR_DB_SYSTEM_VALUE_SQLITE = "sqlite"; /** - * Enum value 'sybase' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "sybase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_SYBASE = 'sybase'; +export const ATTR_DB_SYSTEM_VALUE_SYBASE = "sybase"; /** - * Enum value 'teradata' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "teradata" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_TERADATA = 'teradata'; +export const ATTR_DB_SYSTEM_VALUE_TERADATA = "teradata"; /** - * Enum value 'trino' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "trino" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_TRINO = 'trino'; +export const ATTR_DB_SYSTEM_VALUE_TRINO = "trino"; /** - * Enum value 'vertica' for attribute {@link ATTR_DB_SYSTEM}. + * Enum value "vertica" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_VERTICA = 'vertica'; +export const ATTR_DB_SYSTEM_VALUE_VERTICA = "vertica"; /** @@ -1880,14 +1880,14 @@ export const ATTR_DEPLOYMENT_NAME = 'deployment.name'; export const ATTR_DEPLOYMENT_STATUS = 'deployment.status'; /** - * Enum value 'failed' for attribute {@link ATTR_DEPLOYMENT_STATUS}. + * Enum value "failed" for attribute {@link ATTR_DEPLOYMENT_STATUS}. */ -export const ATTR_DEPLOYMENT_STATUS_VALUE_FAILED = 'failed'; +export const ATTR_DEPLOYMENT_STATUS_VALUE_FAILED = "failed"; /** - * Enum value 'succeeded' for attribute {@link ATTR_DEPLOYMENT_STATUS}. + * Enum value "succeeded" for attribute {@link ATTR_DEPLOYMENT_STATUS}. */ -export const ATTR_DEPLOYMENT_STATUS_VALUE_SUCCEEDED = 'succeeded'; +export const ATTR_DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; /** @@ -1950,14 +1950,14 @@ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; /** - * Enum value 'read' for attribute {@link ATTR_DISK_IO_DIRECTION}. + * Enum value "read" for attribute {@link ATTR_DISK_IO_DIRECTION}. */ -export const ATTR_DISK_IO_DIRECTION_VALUE_READ = 'read'; +export const ATTR_DISK_IO_DIRECTION_VALUE_READ = "read"; /** - * Enum value 'write' for attribute {@link ATTR_DISK_IO_DIRECTION}. + * Enum value "write" for attribute {@link ATTR_DISK_IO_DIRECTION}. */ -export const ATTR_DISK_IO_DIRECTION_VALUE_WRITE = 'write'; +export const ATTR_DISK_IO_DIRECTION_VALUE_WRITE = "write"; /** @@ -2041,19 +2041,19 @@ export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; /** - * Enum value 'delete' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. + * Enum value "delete" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = 'delete'; +export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = "delete"; /** - * Enum value 'edit' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. + * Enum value "edit" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = 'edit'; +export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = "edit"; /** - * Enum value 'insert' for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. + * Enum value "insert" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = 'insert'; +export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; /** @@ -2098,29 +2098,29 @@ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; /** - * Enum value 'alibaba_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value "alibaba_cloud" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = 'alibaba_cloud'; +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; /** - * Enum value 'aws' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value "aws" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AWS = 'aws'; +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AWS = "aws"; /** - * Enum value 'azure' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value "azure" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AZURE = 'azure'; +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AZURE = "azure"; /** - * Enum value 'gcp' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value "gcp" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_GCP = 'gcp'; +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_GCP = "gcp"; /** - * Enum value 'tencent_cloud' for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. + * Enum value "tencent_cloud" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = 'tencent_cloud'; +export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; /** @@ -2180,29 +2180,29 @@ export const ATTR_FAAS_TIME = 'faas.time'; export const ATTR_FAAS_TRIGGER = 'faas.trigger'; /** - * Enum value 'datasource' for attribute {@link ATTR_FAAS_TRIGGER}. + * Enum value "datasource" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_DATASOURCE = 'datasource'; +export const ATTR_FAAS_TRIGGER_VALUE_DATASOURCE = "datasource"; /** - * Enum value 'http' for attribute {@link ATTR_FAAS_TRIGGER}. + * Enum value "http" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_HTTP = 'http'; +export const ATTR_FAAS_TRIGGER_VALUE_HTTP = "http"; /** - * Enum value 'other' for attribute {@link ATTR_FAAS_TRIGGER}. + * Enum value "other" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_OTHER = 'other'; +export const ATTR_FAAS_TRIGGER_VALUE_OTHER = "other"; /** - * Enum value 'pubsub' for attribute {@link ATTR_FAAS_TRIGGER}. + * Enum value "pubsub" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_PUBSUB = 'pubsub'; +export const ATTR_FAAS_TRIGGER_VALUE_PUBSUB = "pubsub"; /** - * Enum value 'timer' for attribute {@link ATTR_FAAS_TRIGGER}. + * Enum value "timer" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_TIMER = 'timer'; +export const ATTR_FAAS_TRIGGER_VALUE_TIMER = "timer"; /** @@ -2345,14 +2345,14 @@ export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion'; export const ATTR_GEN_AI_OPERATION_NAME = 'gen_ai.operation.name'; /** - * Enum value 'chat' for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. + * Enum value "chat" for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const ATTR_GEN_AI_OPERATION_NAME_VALUE_CHAT = 'chat'; +export const ATTR_GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat"; /** - * Enum value 'text_completion' for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. + * Enum value "text_completion" for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const ATTR_GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = 'text_completion'; +export const ATTR_GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; /** @@ -2459,24 +2459,24 @@ export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model'; export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system'; /** - * Enum value 'anthropic' for attribute {@link ATTR_GEN_AI_SYSTEM}. + * Enum value "anthropic" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_ANTHROPIC = 'anthropic'; +export const ATTR_GEN_AI_SYSTEM_VALUE_ANTHROPIC = "anthropic"; /** - * Enum value 'cohere' for attribute {@link ATTR_GEN_AI_SYSTEM}. + * Enum value "cohere" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_COHERE = 'cohere'; +export const ATTR_GEN_AI_SYSTEM_VALUE_COHERE = "cohere"; /** - * Enum value 'openai' for attribute {@link ATTR_GEN_AI_SYSTEM}. + * Enum value "openai" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_OPENAI = 'openai'; +export const ATTR_GEN_AI_SYSTEM_VALUE_OPENAI = "openai"; /** - * Enum value 'vertex_ai' for attribute {@link ATTR_GEN_AI_SYSTEM}. + * Enum value "vertex_ai" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_VERTEX_AI = 'vertex_ai'; +export const ATTR_GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; /** @@ -2487,14 +2487,14 @@ export const ATTR_GEN_AI_SYSTEM_VALUE_VERTEX_AI = 'vertex_ai'; export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type'; /** - * Enum value 'input' for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. + * Enum value "input" for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_INPUT = 'input'; +export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_INPUT = "input"; /** - * Enum value 'output' for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. + * Enum value "output" for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = 'output'; +export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; /** @@ -2537,14 +2537,14 @@ export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens'; export const ATTR_GO_MEMORY_TYPE = 'go.memory.type'; /** - * Enum value 'other' for attribute {@link ATTR_GO_MEMORY_TYPE}. + * Enum value "other" for attribute {@link ATTR_GO_MEMORY_TYPE}. */ -export const ATTR_GO_MEMORY_TYPE_VALUE_OTHER = 'other'; +export const ATTR_GO_MEMORY_TYPE_VALUE_OTHER = "other"; /** - * Enum value 'stack' for attribute {@link ATTR_GO_MEMORY_TYPE}. + * Enum value "stack" for attribute {@link ATTR_GO_MEMORY_TYPE}. */ -export const ATTR_GO_MEMORY_TYPE_VALUE_STACK = 'stack'; +export const ATTR_GO_MEMORY_TYPE_VALUE_STACK = "stack"; /** @@ -2571,19 +2571,19 @@ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; /** - * Enum value 'mutation' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. + * Enum value "mutation" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = 'mutation'; +export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = "mutation"; /** - * Enum value 'query' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. + * Enum value "query" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = 'query'; +export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = "query"; /** - * Enum value 'subscription' for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. + * Enum value "subscription" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = 'subscription'; +export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; /** @@ -2615,44 +2615,44 @@ export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_t export const ATTR_HOST_ARCH = 'host.arch'; /** - * Enum value 'amd64' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "amd64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_AMD64 = 'amd64'; +export const ATTR_HOST_ARCH_VALUE_AMD64 = "amd64"; /** - * Enum value 'arm32' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "arm32" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_ARM32 = 'arm32'; +export const ATTR_HOST_ARCH_VALUE_ARM32 = "arm32"; /** - * Enum value 'arm64' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "arm64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_ARM64 = 'arm64'; +export const ATTR_HOST_ARCH_VALUE_ARM64 = "arm64"; /** - * Enum value 'ia64' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "ia64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_IA64 = 'ia64'; +export const ATTR_HOST_ARCH_VALUE_IA64 = "ia64"; /** - * Enum value 'ppc32' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "ppc32" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_PPC32 = 'ppc32'; +export const ATTR_HOST_ARCH_VALUE_PPC32 = "ppc32"; /** - * Enum value 'ppc64' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "ppc64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_PPC64 = 'ppc64'; +export const ATTR_HOST_ARCH_VALUE_PPC64 = "ppc64"; /** - * Enum value 's390x' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "s390x" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_S390X = 's390x'; +export const ATTR_HOST_ARCH_VALUE_S390X = "s390x"; /** - * Enum value 'x86' for attribute {@link ATTR_HOST_ARCH}. + * Enum value "x86" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_X86 = 'x86'; +export const ATTR_HOST_ARCH_VALUE_X86 = "x86"; /** @@ -2776,14 +2776,14 @@ export const ATTR_HTTP_CLIENT_IP = 'http.client_ip'; export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; /** - * Enum value 'active' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + * Enum value "active" for attribute {@link ATTR_HTTP_CONNECTION_STATE}. */ -export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = 'active'; +export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = "active"; /** - * Enum value 'idle' for attribute {@link ATTR_HTTP_CONNECTION_STATE}. + * Enum value "idle" for attribute {@link ATTR_HTTP_CONNECTION_STATE}. */ -export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; +export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = "idle"; /** @@ -2796,34 +2796,34 @@ export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = 'idle'; export const ATTR_HTTP_FLAVOR = 'http.flavor'; /** - * Enum value '1.0' for attribute {@link ATTR_HTTP_FLAVOR}. + * Enum value "1.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_0 = '1.0'; +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_0 = "1.0"; /** - * Enum value '1.1' for attribute {@link ATTR_HTTP_FLAVOR}. + * Enum value "1.1" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_1 = '1.1'; +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_1 = "1.1"; /** - * Enum value '2.0' for attribute {@link ATTR_HTTP_FLAVOR}. + * Enum value "2.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_2_0 = '2.0'; +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_2_0 = "2.0"; /** - * Enum value '3.0' for attribute {@link ATTR_HTTP_FLAVOR}. + * Enum value "3.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_3_0 = '3.0'; +export const ATTR_HTTP_FLAVOR_VALUE_HTTP_3_0 = "3.0"; /** - * Enum value 'QUIC' for attribute {@link ATTR_HTTP_FLAVOR}. + * Enum value "QUIC" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_QUIC = 'QUIC'; +export const ATTR_HTTP_FLAVOR_VALUE_QUIC = "QUIC"; /** - * Enum value 'SPDY' for attribute {@link ATTR_HTTP_FLAVOR}. + * Enum value "SPDY" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_SPDY = 'SPDY'; +export const ATTR_HTTP_FLAVOR_VALUE_SPDY = "SPDY"; /** @@ -2974,29 +2974,29 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; export const ATTR_IOS_STATE = 'ios.state'; /** - * Enum value 'active' for attribute {@link ATTR_IOS_STATE}. + * Enum value "active" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_ACTIVE = 'active'; +export const ATTR_IOS_STATE_VALUE_ACTIVE = "active"; /** - * Enum value 'background' for attribute {@link ATTR_IOS_STATE}. + * Enum value "background" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_BACKGROUND = 'background'; +export const ATTR_IOS_STATE_VALUE_BACKGROUND = "background"; /** - * Enum value 'foreground' for attribute {@link ATTR_IOS_STATE}. + * Enum value "foreground" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_FOREGROUND = 'foreground'; +export const ATTR_IOS_STATE_VALUE_FOREGROUND = "foreground"; /** - * Enum value 'inactive' for attribute {@link ATTR_IOS_STATE}. + * Enum value "inactive" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_INACTIVE = 'inactive'; +export const ATTR_IOS_STATE_VALUE_INACTIVE = "inactive"; /** - * Enum value 'terminate' for attribute {@link ATTR_IOS_STATE}. + * Enum value "terminate" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_TERMINATE = 'terminate'; +export const ATTR_IOS_STATE_VALUE_TERMINATE = "terminate"; /** @@ -3216,14 +3216,14 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state'; /** - * Enum value 'reclaimable' for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. + * Enum value "reclaimable" for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = 'reclaimable'; +export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = "reclaimable"; /** - * Enum value 'unreclaimable' for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. + * Enum value "unreclaimable" for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = 'unreclaimable'; +export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; /** @@ -3262,14 +3262,14 @@ export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; export const ATTR_LOG_IOSTREAM = 'log.iostream'; /** - * Enum value 'stderr' for attribute {@link ATTR_LOG_IOSTREAM}. + * Enum value "stderr" for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const ATTR_LOG_IOSTREAM_VALUE_STDERR = 'stderr'; +export const ATTR_LOG_IOSTREAM_VALUE_STDERR = "stderr"; /** - * Enum value 'stdout' for attribute {@link ATTR_LOG_IOSTREAM}. + * Enum value "stdout" for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const ATTR_LOG_IOSTREAM_VALUE_STDOUT = 'stdout'; +export const ATTR_LOG_IOSTREAM_VALUE_STDOUT = "stdout"; /** @@ -3319,14 +3319,14 @@ export const ATTR_MESSAGE_ID = 'message.id'; export const ATTR_MESSAGE_TYPE = 'message.type'; /** - * Enum value 'RECEIVED' for attribute {@link ATTR_MESSAGE_TYPE}. + * Enum value "RECEIVED" for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const ATTR_MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED'; +export const ATTR_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; /** - * Enum value 'SENT' for attribute {@link ATTR_MESSAGE_TYPE}. + * Enum value "SENT" for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const ATTR_MESSAGE_TYPE_VALUE_SENT = 'SENT'; +export const ATTR_MESSAGE_TYPE_VALUE_SENT = "SENT"; /** @@ -3585,34 +3585,34 @@ export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name'; export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type'; /** - * Enum value 'create' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + * Enum value "create" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_CREATE = 'create'; +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_CREATE = "create"; /** - * Enum value 'deliver' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + * Enum value "deliver" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_DELIVER = 'deliver'; +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_DELIVER = "deliver"; /** - * Enum value 'process' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + * Enum value "process" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PROCESS = 'process'; +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PROCESS = "process"; /** - * Enum value 'publish' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + * Enum value "publish" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = 'publish'; +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = "publish"; /** - * Enum value 'receive' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + * Enum value "receive" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = 'receive'; +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = "receive"; /** - * Enum value 'settle' for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. + * Enum value "settle" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_SETTLE = 'settle'; +export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; /** @@ -3646,14 +3646,14 @@ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_g export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; /** - * Enum value 'broadcasting' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + * Enum value "broadcasting" for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = 'broadcasting'; +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = "broadcasting"; /** - * Enum value 'clustering' for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. + * Enum value "clustering" for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = 'clustering'; +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering"; /** @@ -3699,24 +3699,24 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.t export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; /** - * Enum value 'delay' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + * Enum value "delay" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = 'delay'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = "delay"; /** - * Enum value 'fifo' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + * Enum value "fifo" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = 'fifo'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = "fifo"; /** - * Enum value 'normal' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + * Enum value "normal" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = 'normal'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = "normal"; /** - * Enum value 'transaction' for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. + * Enum value "transaction" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = 'transaction'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; /** @@ -3743,24 +3743,24 @@ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messagin export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; /** - * Enum value 'abandon' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value "abandon" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = 'abandon'; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = "abandon"; /** - * Enum value 'complete' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value "complete" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = 'complete'; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = "complete"; /** - * Enum value 'dead_letter' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value "dead_letter" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = 'dead_letter'; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = "dead_letter"; /** - * Enum value 'defer' for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. + * Enum value "defer" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = 'defer'; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; /** @@ -3787,59 +3787,59 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servic export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; /** - * Enum value 'activemq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "activemq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = 'activemq'; +export const ATTR_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = "activemq"; /** - * Enum value 'aws_sqs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "aws_sqs" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_AWS_SQS = 'aws_sqs'; +export const ATTR_MESSAGING_SYSTEM_VALUE_AWS_SQS = "aws_sqs"; /** - * Enum value 'eventgrid' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "eventgrid" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTGRID = 'eventgrid'; +export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTGRID = "eventgrid"; /** - * Enum value 'eventhubs' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "eventhubs" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTHUBS = 'eventhubs'; +export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTHUBS = "eventhubs"; /** - * Enum value 'gcp_pubsub' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "gcp_pubsub" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = 'gcp_pubsub'; +export const ATTR_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = "gcp_pubsub"; /** - * Enum value 'jms' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "jms" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_JMS = 'jms'; +export const ATTR_MESSAGING_SYSTEM_VALUE_JMS = "jms"; /** - * Enum value 'kafka' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "kafka" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_KAFKA = 'kafka'; +export const ATTR_MESSAGING_SYSTEM_VALUE_KAFKA = "kafka"; /** - * Enum value 'pulsar' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "pulsar" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_PULSAR = 'pulsar'; +export const ATTR_MESSAGING_SYSTEM_VALUE_PULSAR = "pulsar"; /** - * Enum value 'rabbitmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "rabbitmq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_RABBITMQ = 'rabbitmq'; +export const ATTR_MESSAGING_SYSTEM_VALUE_RABBITMQ = "rabbitmq"; /** - * Enum value 'rocketmq' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "rocketmq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = 'rocketmq'; +export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = "rocketmq"; /** - * Enum value 'servicebus' for attribute {@link ATTR_MESSAGING_SYSTEM}. + * Enum value "servicebus" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = 'servicebus'; +export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; /** @@ -3924,19 +3924,19 @@ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; /** - * Enum value 'inet' for attribute {@link ATTR_NET_SOCK_FAMILY}. + * Enum value "inet" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const ATTR_NET_SOCK_FAMILY_VALUE_INET = 'inet'; +export const ATTR_NET_SOCK_FAMILY_VALUE_INET = "inet"; /** - * Enum value 'inet6' for attribute {@link ATTR_NET_SOCK_FAMILY}. + * Enum value "inet6" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const ATTR_NET_SOCK_FAMILY_VALUE_INET6 = 'inet6'; +export const ATTR_NET_SOCK_FAMILY_VALUE_INET6 = "inet6"; /** - * Enum value 'unix' for attribute {@link ATTR_NET_SOCK_FAMILY}. + * Enum value "unix" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const ATTR_NET_SOCK_FAMILY_VALUE_UNIX = 'unix'; +export const ATTR_NET_SOCK_FAMILY_VALUE_UNIX = "unix"; /** @@ -3994,29 +3994,29 @@ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; export const ATTR_NET_TRANSPORT = 'net.transport'; /** - * Enum value 'inproc' for attribute {@link ATTR_NET_TRANSPORT}. + * Enum value "inproc" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_INPROC = 'inproc'; +export const ATTR_NET_TRANSPORT_VALUE_INPROC = "inproc"; /** - * Enum value 'ip_tcp' for attribute {@link ATTR_NET_TRANSPORT}. + * Enum value "ip_tcp" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_IP_TCP = 'ip_tcp'; +export const ATTR_NET_TRANSPORT_VALUE_IP_TCP = "ip_tcp"; /** - * Enum value 'ip_udp' for attribute {@link ATTR_NET_TRANSPORT}. + * Enum value "ip_udp" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_IP_UDP = 'ip_udp'; +export const ATTR_NET_TRANSPORT_VALUE_IP_UDP = "ip_udp"; /** - * Enum value 'other' for attribute {@link ATTR_NET_TRANSPORT}. + * Enum value "other" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_OTHER = 'other'; +export const ATTR_NET_TRANSPORT_VALUE_OTHER = "other"; /** - * Enum value 'pipe' for attribute {@link ATTR_NET_TRANSPORT}. + * Enum value "pipe" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_PIPE = 'pipe'; +export const ATTR_NET_TRANSPORT_VALUE_PIPE = "pipe"; /** @@ -4055,109 +4055,109 @@ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; /** - * Enum value 'cdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "cdma" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = 'cdma'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = "cdma"; /** - * Enum value 'cdma2000_1xrtt' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "cdma2000_1xrtt" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = 'cdma2000_1xrtt'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = "cdma2000_1xrtt"; /** - * Enum value 'edge' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "edge" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = 'edge'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = "edge"; /** - * Enum value 'ehrpd' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "ehrpd" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = 'ehrpd'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = "ehrpd"; /** - * Enum value 'evdo_0' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "evdo_0" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = 'evdo_0'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = "evdo_0"; /** - * Enum value 'evdo_a' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "evdo_a" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = 'evdo_a'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = "evdo_a"; /** - * Enum value 'evdo_b' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "evdo_b" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = 'evdo_b'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = "evdo_b"; /** - * Enum value 'gprs' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "gprs" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = 'gprs'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = "gprs"; /** - * Enum value 'gsm' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "gsm" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = 'gsm'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = "gsm"; /** - * Enum value 'hsdpa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "hsdpa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = 'hsdpa'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = "hsdpa"; /** - * Enum value 'hspa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "hspa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = 'hspa'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = "hspa"; /** - * Enum value 'hspap' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "hspap" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = 'hspap'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = "hspap"; /** - * Enum value 'hsupa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "hsupa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = 'hsupa'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = "hsupa"; /** - * Enum value 'iden' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "iden" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = 'iden'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = "iden"; /** - * Enum value 'iwlan' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "iwlan" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = 'iwlan'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = "iwlan"; /** - * Enum value 'lte' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "lte" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = 'lte'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = "lte"; /** - * Enum value 'lte_ca' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "lte_ca" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = 'lte_ca'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = "lte_ca"; /** - * Enum value 'nr' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "nr" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = 'nr'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = "nr"; /** - * Enum value 'nrnsa' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "nrnsa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = 'nrnsa'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = "nrnsa"; /** - * Enum value 'td_scdma' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "td_scdma" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = 'td_scdma'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = "td_scdma"; /** - * Enum value 'umts' for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. + * Enum value "umts" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; /** @@ -4168,29 +4168,29 @@ export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = 'umts'; export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; /** - * Enum value 'cell' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value "cell" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_CELL = 'cell'; +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_CELL = "cell"; /** - * Enum value 'unavailable' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value "unavailable" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = 'unavailable'; +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = "unavailable"; /** - * Enum value 'unknown' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value "unknown" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = 'unknown'; +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = "unknown"; /** - * Enum value 'wifi' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value "wifi" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = 'wifi'; +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = "wifi"; /** - * Enum value 'wired' for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. + * Enum value "wired" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; +export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; /** @@ -4201,14 +4201,14 @@ export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = 'wired'; export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; /** - * Enum value 'receive' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + * Enum value "receive" for attribute {@link ATTR_NETWORK_IO_DIRECTION}. */ -export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = 'receive'; +export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = "receive"; /** - * Enum value 'transmit' for attribute {@link ATTR_NETWORK_IO_DIRECTION}. + * Enum value "transmit" for attribute {@link ATTR_NETWORK_IO_DIRECTION}. */ -export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = 'transmit'; +export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; /** @@ -4231,14 +4231,14 @@ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; /** - * Enum value 'child_of' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. + * Enum value "child_of" for attribute {@link ATTR_OPENTRACING_REF_TYPE}. */ -export const ATTR_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = 'child_of'; +export const ATTR_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = "child_of"; /** - * Enum value 'follows_from' for attribute {@link ATTR_OPENTRACING_REF_TYPE}. + * Enum value "follows_from" for attribute {@link ATTR_OPENTRACING_REF_TYPE}. */ -export const ATTR_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = 'follows_from'; +export const ATTR_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; /** @@ -4270,59 +4270,59 @@ export const ATTR_OS_NAME = 'os.name'; export const ATTR_OS_TYPE = 'os.type'; /** - * Enum value 'aix' for attribute {@link ATTR_OS_TYPE}. + * Enum value "aix" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_AIX = 'aix'; +export const ATTR_OS_TYPE_VALUE_AIX = "aix"; /** - * Enum value 'darwin' for attribute {@link ATTR_OS_TYPE}. + * Enum value "darwin" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_DARWIN = 'darwin'; +export const ATTR_OS_TYPE_VALUE_DARWIN = "darwin"; /** - * Enum value 'dragonflybsd' for attribute {@link ATTR_OS_TYPE}. + * Enum value "dragonflybsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_DRAGONFLYBSD = 'dragonflybsd'; +export const ATTR_OS_TYPE_VALUE_DRAGONFLYBSD = "dragonflybsd"; /** - * Enum value 'freebsd' for attribute {@link ATTR_OS_TYPE}. + * Enum value "freebsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_FREEBSD = 'freebsd'; +export const ATTR_OS_TYPE_VALUE_FREEBSD = "freebsd"; /** - * Enum value 'hpux' for attribute {@link ATTR_OS_TYPE}. + * Enum value "hpux" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_HPUX = 'hpux'; +export const ATTR_OS_TYPE_VALUE_HPUX = "hpux"; /** - * Enum value 'linux' for attribute {@link ATTR_OS_TYPE}. + * Enum value "linux" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_LINUX = 'linux'; +export const ATTR_OS_TYPE_VALUE_LINUX = "linux"; /** - * Enum value 'netbsd' for attribute {@link ATTR_OS_TYPE}. + * Enum value "netbsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_NETBSD = 'netbsd'; +export const ATTR_OS_TYPE_VALUE_NETBSD = "netbsd"; /** - * Enum value 'openbsd' for attribute {@link ATTR_OS_TYPE}. + * Enum value "openbsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_OPENBSD = 'openbsd'; +export const ATTR_OS_TYPE_VALUE_OPENBSD = "openbsd"; /** - * Enum value 'solaris' for attribute {@link ATTR_OS_TYPE}. + * Enum value "solaris" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_SOLARIS = 'solaris'; +export const ATTR_OS_TYPE_VALUE_SOLARIS = "solaris"; /** - * Enum value 'windows' for attribute {@link ATTR_OS_TYPE}. + * Enum value "windows" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_WINDOWS = 'windows'; +export const ATTR_OS_TYPE_VALUE_WINDOWS = "windows"; /** - * Enum value 'z_os' for attribute {@link ATTR_OS_TYPE}. + * Enum value "z_os" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_Z_OS = 'z_os'; +export const ATTR_OS_TYPE_VALUE_Z_OS = "z_os"; /** @@ -4395,14 +4395,14 @@ export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; /** - * Enum value 'involuntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. + * Enum value "involuntary" for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = 'involuntary'; +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = "involuntary"; /** - * Enum value 'voluntary' for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. + * Enum value "voluntary" for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary'; +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary"; /** @@ -4415,19 +4415,19 @@ export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = 'voluntary'; export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; /** - * Enum value 'system' for attribute {@link ATTR_PROCESS_CPU_STATE}. + * Enum value "system" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const ATTR_PROCESS_CPU_STATE_VALUE_SYSTEM = 'system'; +export const ATTR_PROCESS_CPU_STATE_VALUE_SYSTEM = "system"; /** - * Enum value 'user' for attribute {@link ATTR_PROCESS_CPU_STATE}. + * Enum value "user" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const ATTR_PROCESS_CPU_STATE_VALUE_USER = 'user'; +export const ATTR_PROCESS_CPU_STATE_VALUE_USER = "user"; /** - * Enum value 'wait' for attribute {@link ATTR_PROCESS_CPU_STATE}. + * Enum value "wait" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const ATTR_PROCESS_CPU_STATE_VALUE_WAIT = 'wait'; +export const ATTR_PROCESS_CPU_STATE_VALUE_WAIT = "wait"; /** @@ -4494,14 +4494,14 @@ export const ATTR_PROCESS_OWNER = 'process.owner'; export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; /** - * Enum value 'major' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. + * Enum value "major" for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = 'major'; +export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = "major"; /** - * Enum value 'minor' for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. + * Enum value "minor" for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = 'minor'; +export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; /** @@ -4605,84 +4605,84 @@ export const ATTR_PROCESS_VPID = 'process.vpid'; export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; /** - * Enum value 'aborted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "aborted" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = 'aborted'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = "aborted"; /** - * Enum value 'already_exists' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "already_exists" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = 'already_exists'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = "already_exists"; /** - * Enum value 'cancelled' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "cancelled" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = 'cancelled'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = "cancelled"; /** - * Enum value 'data_loss' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "data_loss" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = 'data_loss'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = "data_loss"; /** - * Enum value 'deadline_exceeded' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "deadline_exceeded" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = 'deadline_exceeded'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = "deadline_exceeded"; /** - * Enum value 'failed_precondition' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "failed_precondition" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = 'failed_precondition'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = "failed_precondition"; /** - * Enum value 'internal' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "internal" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = 'internal'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = "internal"; /** - * Enum value 'invalid_argument' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "invalid_argument" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = 'invalid_argument'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = "invalid_argument"; /** - * Enum value 'not_found' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "not_found" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = 'not_found'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = "not_found"; /** - * Enum value 'out_of_range' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "out_of_range" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = 'out_of_range'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = "out_of_range"; /** - * Enum value 'permission_denied' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "permission_denied" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = 'permission_denied'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = "permission_denied"; /** - * Enum value 'resource_exhausted' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "resource_exhausted" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = 'resource_exhausted'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = "resource_exhausted"; /** - * Enum value 'unauthenticated' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "unauthenticated" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = 'unauthenticated'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = "unauthenticated"; /** - * Enum value 'unavailable' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "unavailable" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = 'unavailable'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = "unavailable"; /** - * Enum value 'unimplemented' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "unimplemented" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = 'unimplemented'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = "unimplemented"; /** - * Enum value 'unknown' for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. + * Enum value "unknown" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = 'unknown'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown"; /** @@ -4866,14 +4866,14 @@ export const ATTR_RPC_MESSAGE_ID = 'rpc.message.id'; export const ATTR_RPC_MESSAGE_TYPE = 'rpc.message.type'; /** - * Enum value 'RECEIVED' for attribute {@link ATTR_RPC_MESSAGE_TYPE}. + * Enum value "RECEIVED" for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const ATTR_RPC_MESSAGE_TYPE_VALUE_RECEIVED = 'RECEIVED'; +export const ATTR_RPC_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; /** - * Enum value 'SENT' for attribute {@link ATTR_RPC_MESSAGE_TYPE}. + * Enum value "SENT" for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const ATTR_RPC_MESSAGE_TYPE_VALUE_SENT = 'SENT'; +export const ATTR_RPC_MESSAGE_TYPE_VALUE_SENT = "SENT"; /** @@ -4909,29 +4909,29 @@ export const ATTR_RPC_SERVICE = 'rpc.service'; export const ATTR_RPC_SYSTEM = 'rpc.system'; /** - * Enum value 'apache_dubbo' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value "apache_dubbo" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_APACHE_DUBBO = 'apache_dubbo'; +export const ATTR_RPC_SYSTEM_VALUE_APACHE_DUBBO = "apache_dubbo"; /** - * Enum value 'connect_rpc' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value "connect_rpc" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_CONNECT_RPC = 'connect_rpc'; +export const ATTR_RPC_SYSTEM_VALUE_CONNECT_RPC = "connect_rpc"; /** - * Enum value 'dotnet_wcf' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value "dotnet_wcf" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_DOTNET_WCF = 'dotnet_wcf'; +export const ATTR_RPC_SYSTEM_VALUE_DOTNET_WCF = "dotnet_wcf"; /** - * Enum value 'grpc' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value "grpc" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_GRPC = 'grpc'; +export const ATTR_RPC_SYSTEM_VALUE_GRPC = "grpc"; /** - * Enum value 'java_rmi' for attribute {@link ATTR_RPC_SYSTEM}. + * Enum value "java_rmi" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = 'java_rmi'; +export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; /** @@ -5017,14 +5017,14 @@ export const ATTR_SOURCE_PORT = 'source.port'; export const ATTR_STATE = 'state'; /** - * Enum value 'idle' for attribute {@link ATTR_STATE}. + * Enum value "idle" for attribute {@link ATTR_STATE}. */ -export const ATTR_STATE_VALUE_IDLE = 'idle'; +export const ATTR_STATE_VALUE_IDLE = "idle"; /** - * Enum value 'used' for attribute {@link ATTR_STATE}. + * Enum value "used" for attribute {@link ATTR_STATE}. */ -export const ATTR_STATE_VALUE_USED = 'used'; +export const ATTR_STATE_VALUE_USED = "used"; /** @@ -5044,39 +5044,39 @@ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; /** - * Enum value 'idle' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "idle" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_IDLE = 'idle'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_IDLE = "idle"; /** - * Enum value 'interrupt' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "interrupt" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_INTERRUPT = 'interrupt'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_INTERRUPT = "interrupt"; /** - * Enum value 'iowait' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "iowait" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_IOWAIT = 'iowait'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_IOWAIT = "iowait"; /** - * Enum value 'nice' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "nice" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_NICE = 'nice'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_NICE = "nice"; /** - * Enum value 'steal' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "steal" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_STEAL = 'steal'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_STEAL = "steal"; /** - * Enum value 'system' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "system" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_SYSTEM = 'system'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_SYSTEM = "system"; /** - * Enum value 'user' for attribute {@link ATTR_SYSTEM_CPU_STATE}. + * Enum value "user" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_USER = 'user'; +export const ATTR_SYSTEM_CPU_STATE_VALUE_USER = "user"; /** @@ -5108,19 +5108,19 @@ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; /** - * Enum value 'free' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. + * Enum value "free" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_FREE = 'free'; +export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_FREE = "free"; /** - * Enum value 'reserved' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. + * Enum value "reserved" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = 'reserved'; +export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = "reserved"; /** - * Enum value 'used' for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. + * Enum value "used" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used'; +export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; /** @@ -5131,34 +5131,34 @@ export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_USED = 'used'; export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; /** - * Enum value 'exfat' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + * Enum value "exfat" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = 'exfat'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = "exfat"; /** - * Enum value 'ext4' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + * Enum value "ext4" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = 'ext4'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = "ext4"; /** - * Enum value 'fat32' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + * Enum value "fat32" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = 'fat32'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = "fat32"; /** - * Enum value 'hfsplus' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + * Enum value "hfsplus" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = 'hfsplus'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = "hfsplus"; /** - * Enum value 'ntfs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + * Enum value "ntfs" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = 'ntfs'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = "ntfs"; /** - * Enum value 'refs' for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. + * Enum value "refs" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; /** @@ -5169,29 +5169,29 @@ export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = 'refs'; export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; /** - * Enum value 'buffers' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. + * Enum value "buffers" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_BUFFERS = 'buffers'; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_BUFFERS = "buffers"; /** - * Enum value 'cached' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. + * Enum value "cached" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_CACHED = 'cached'; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_CACHED = "cached"; /** - * Enum value 'free' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. + * Enum value "free" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_FREE = 'free'; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_FREE = "free"; /** - * Enum value 'shared' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. + * Enum value "shared" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_SHARED = 'shared'; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_SHARED = "shared"; /** - * Enum value 'used' for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. + * Enum value "used" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_USED = 'used'; +export const ATTR_SYSTEM_MEMORY_STATE_VALUE_USED = "used"; /** @@ -5202,64 +5202,64 @@ export const ATTR_SYSTEM_MEMORY_STATE_VALUE_USED = 'used'; export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; /** - * Enum value 'close' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "close" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE = 'close'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE = "close"; /** - * Enum value 'close_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "close_wait" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = 'close_wait'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = "close_wait"; /** - * Enum value 'closing' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "closing" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSING = 'closing'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSING = "closing"; /** - * Enum value 'delete' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "delete" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_DELETE = 'delete'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_DELETE = "delete"; /** - * Enum value 'established' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "established" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = 'established'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = "established"; /** - * Enum value 'fin_wait_1' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "fin_wait_1" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = 'fin_wait_1'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = "fin_wait_1"; /** - * Enum value 'fin_wait_2' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "fin_wait_2" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = 'fin_wait_2'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = "fin_wait_2"; /** - * Enum value 'last_ack' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "last_ack" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = 'last_ack'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = "last_ack"; /** - * Enum value 'listen' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "listen" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LISTEN = 'listen'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LISTEN = "listen"; /** - * Enum value 'syn_recv' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "syn_recv" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = 'syn_recv'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = "syn_recv"; /** - * Enum value 'syn_sent' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "syn_sent" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = 'syn_sent'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = "syn_sent"; /** - * Enum value 'time_wait' for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. + * Enum value "time_wait" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait'; +export const ATTR_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; /** @@ -5270,14 +5270,14 @@ export const ATTR_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = 'time_wait'; export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; /** - * Enum value 'in' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. + * Enum value "in" for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. */ -export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_IN = 'in'; +export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_IN = "in"; /** - * Enum value 'out' for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. + * Enum value "out" for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. */ -export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out'; +export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; /** @@ -5288,14 +5288,14 @@ export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_OUT = 'out'; export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; /** - * Enum value 'free' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. + * Enum value "free" for attribute {@link ATTR_SYSTEM_PAGING_STATE}. */ -export const ATTR_SYSTEM_PAGING_STATE_VALUE_FREE = 'free'; +export const ATTR_SYSTEM_PAGING_STATE_VALUE_FREE = "free"; /** - * Enum value 'used' for attribute {@link ATTR_SYSTEM_PAGING_STATE}. + * Enum value "used" for attribute {@link ATTR_SYSTEM_PAGING_STATE}. */ -export const ATTR_SYSTEM_PAGING_STATE_VALUE_USED = 'used'; +export const ATTR_SYSTEM_PAGING_STATE_VALUE_USED = "used"; /** @@ -5306,14 +5306,14 @@ export const ATTR_SYSTEM_PAGING_STATE_VALUE_USED = 'used'; export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; /** - * Enum value 'major' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. + * Enum value "major" for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MAJOR = 'major'; +export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MAJOR = "major"; /** - * Enum value 'minor' for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. + * Enum value "minor" for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor'; +export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; /** @@ -5324,24 +5324,24 @@ export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MINOR = 'minor'; export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; /** - * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. + * Enum value "defunct" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = 'defunct'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = "defunct"; /** - * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. + * Enum value "running" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_RUNNING = 'running'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_RUNNING = "running"; /** - * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. + * Enum value "sleeping" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = 'sleeping'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = "sleeping"; /** - * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. + * Enum value "stopped" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped'; +export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; /** @@ -5354,24 +5354,24 @@ export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = 'stopped'; export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; /** - * Enum value 'defunct' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + * Enum value "defunct" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = 'defunct'; +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = "defunct"; /** - * Enum value 'running' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + * Enum value "running" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = 'running'; +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = "running"; /** - * Enum value 'sleeping' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + * Enum value "sleeping" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = 'sleeping'; +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = "sleeping"; /** - * Enum value 'stopped' for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. + * Enum value "stopped" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = 'stopped'; +export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; /** @@ -5406,14 +5406,14 @@ export const ATTR_TEST_CASE_NAME = 'test.case.name'; export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status'; /** - * Enum value 'fail' for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. + * Enum value "fail" for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. */ -export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_FAIL = 'fail'; +export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_FAIL = "fail"; /** - * Enum value 'pass' for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. + * Enum value "pass" for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. */ -export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_PASS = 'pass'; +export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; /** @@ -5431,34 +5431,34 @@ export const ATTR_TEST_SUITE_NAME = 'test.suite.name'; export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status'; /** - * Enum value 'aborted' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + * Enum value "aborted" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_ABORTED = 'aborted'; +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_ABORTED = "aborted"; /** - * Enum value 'failure' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + * Enum value "failure" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_FAILURE = 'failure'; +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_FAILURE = "failure"; /** - * Enum value 'in_progress' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + * Enum value "in_progress" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = 'in_progress'; +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = "in_progress"; /** - * Enum value 'skipped' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + * Enum value "skipped" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = 'skipped'; +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = "skipped"; /** - * Enum value 'success' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + * Enum value "success" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = 'success'; +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = "success"; /** - * Enum value 'timed_out' for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. + * Enum value "timed_out" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = 'timed_out'; +export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; /** @@ -5599,14 +5599,14 @@ export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; /** - * Enum value 'ssl' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. + * Enum value "ssl" for attribute {@link ATTR_TLS_PROTOCOL_NAME}. */ -export const ATTR_TLS_PROTOCOL_NAME_VALUE_SSL = 'ssl'; +export const ATTR_TLS_PROTOCOL_NAME_VALUE_SSL = "ssl"; /** - * Enum value 'tls' for attribute {@link ATTR_TLS_PROTOCOL_NAME}. + * Enum value "tls" for attribute {@link ATTR_TLS_PROTOCOL_NAME}. */ -export const ATTR_TLS_PROTOCOL_NAME_VALUE_TLS = 'tls'; +export const ATTR_TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; /** @@ -5832,24 +5832,24 @@ export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; export const ATTR_V8JS_GC_TYPE = 'v8js.gc.type'; /** - * Enum value 'incremental' for attribute {@link ATTR_V8JS_GC_TYPE}. + * Enum value "incremental" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_INCREMENTAL = 'incremental'; +export const ATTR_V8JS_GC_TYPE_VALUE_INCREMENTAL = "incremental"; /** - * Enum value 'major' for attribute {@link ATTR_V8JS_GC_TYPE}. + * Enum value "major" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_MAJOR = 'major'; +export const ATTR_V8JS_GC_TYPE_VALUE_MAJOR = "major"; /** - * Enum value 'minor' for attribute {@link ATTR_V8JS_GC_TYPE}. + * Enum value "minor" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_MINOR = 'minor'; +export const ATTR_V8JS_GC_TYPE_VALUE_MINOR = "minor"; /** - * Enum value 'weakcb' for attribute {@link ATTR_V8JS_GC_TYPE}. + * Enum value "weakcb" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_WEAKCB = 'weakcb'; +export const ATTR_V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb"; /** @@ -5862,29 +5862,29 @@ export const ATTR_V8JS_GC_TYPE_VALUE_WEAKCB = 'weakcb'; export const ATTR_V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name'; /** - * Enum value 'code_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + * Enum value "code_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = 'code_space'; +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = "code_space"; /** - * Enum value 'large_object_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + * Enum value "large_object_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = 'large_object_space'; +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = "large_object_space"; /** - * Enum value 'map_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + * Enum value "map_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = 'map_space'; +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = "map_space"; /** - * Enum value 'new_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + * Enum value "new_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = 'new_space'; +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = "new_space"; /** - * Enum value 'old_space' for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. + * Enum value "old_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = 'old_space'; +export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; /** @@ -5933,14 +5933,14 @@ export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision'; export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type'; /** - * Enum value 'branch' for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. + * Enum value "branch" for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. */ -export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = 'branch'; +export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = "branch"; /** - * Enum value 'tag' for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. + * Enum value "tag" for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. */ -export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_TAG = 'tag'; +export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; /** diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index 9304f9848a..a108b38893 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -24,24 +24,24 @@ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result'; /** - * Enum value 'acquired' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value "acquired" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = 'acquired'; +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = "acquired"; /** - * Enum value 'endpoint_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value "endpoint_limiter" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = 'endpoint_limiter'; +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = "endpoint_limiter"; /** - * Enum value 'global_limiter' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value "global_limiter" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = 'global_limiter'; +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = "global_limiter"; /** - * Enum value 'request_canceled' for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. + * Enum value "request_canceled" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = 'request_canceled'; +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = "request_canceled"; /** @@ -50,64 +50,64 @@ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = 'requ export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; /** - * Enum value 'cpp' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "cpp" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_CPP = 'cpp'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_CPP = "cpp"; /** - * Enum value 'dotnet' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "dotnet" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = 'dotnet'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = "dotnet"; /** - * Enum value 'erlang' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "erlang" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = 'erlang'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = "erlang"; /** - * Enum value 'go' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "go" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_GO = 'go'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_GO = "go"; /** - * Enum value 'java' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "java" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = 'java'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = "java"; /** - * Enum value 'nodejs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "nodejs" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = 'nodejs'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = "nodejs"; /** - * Enum value 'php' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "php" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PHP = 'php'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PHP = "php"; /** - * Enum value 'python' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "python" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = 'python'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = "python"; /** - * Enum value 'ruby' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "ruby" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = 'ruby'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = "ruby"; /** - * Enum value 'rust' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "rust" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUST = 'rust'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUST = "rust"; /** - * Enum value 'swift' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "swift" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = 'swift'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = "swift"; /** - * Enum value 'webjs' for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. + * Enum value "webjs" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = 'webjs'; +export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; /** @@ -138,24 +138,24 @@ export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics. export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result'; /** - * Enum value 'aborted' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + * Enum value "aborted" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = 'aborted'; +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = "aborted"; /** - * Enum value 'handled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + * Enum value "handled" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = 'handled'; +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = "handled"; /** - * Enum value 'skipped' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + * Enum value "skipped" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = 'skipped'; +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = "skipped"; /** - * Enum value 'unhandled' for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. + * Enum value "unhandled" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = 'unhandled'; +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandled"; /** @@ -179,14 +179,14 @@ export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallba export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'; /** - * Enum value 'failure' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. + * Enum value "failure" for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = 'failure'; +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = "failure"; /** - * Enum value 'success' for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. + * Enum value "success" for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = 'success'; +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; /** @@ -229,9 +229,9 @@ export const ATTR_CLIENT_PORT = 'client.port'; export const ATTR_ERROR_TYPE = 'error.type'; /** - * Enum value '_OTHER' for attribute {@link ATTR_ERROR_TYPE}. + * Enum value "_OTHER" for attribute {@link ATTR_ERROR_TYPE}. */ -export const ATTR_ERROR_TYPE_VALUE_OTHER = '_OTHER'; +export const ATTR_ERROR_TYPE_VALUE_OTHER = "_OTHER"; /** @@ -301,54 +301,54 @@ export const ATTR_HTTP_REQUEST_HEADER = (key: string) => `http.request.header.${ export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; /** - * Enum value '_OTHER' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "_OTHER" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_OTHER = '_OTHER'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_OTHER = "_OTHER"; /** - * Enum value 'CONNECT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "CONNECT" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_CONNECT = 'CONNECT'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_CONNECT = "CONNECT"; /** - * Enum value 'DELETE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "DELETE" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_DELETE = 'DELETE'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_DELETE = "DELETE"; /** - * Enum value 'GET' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "GET" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_GET = 'GET'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_GET = "GET"; /** - * Enum value 'HEAD' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "HEAD" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_HEAD = 'HEAD'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_HEAD = "HEAD"; /** - * Enum value 'OPTIONS' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "OPTIONS" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_OPTIONS = 'OPTIONS'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_OPTIONS = "OPTIONS"; /** - * Enum value 'PATCH' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "PATCH" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_PATCH = 'PATCH'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_PATCH = "PATCH"; /** - * Enum value 'POST' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "POST" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_POST = 'POST'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_POST = "POST"; /** - * Enum value 'PUT' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "PUT" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_PUT = 'PUT'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_PUT = "PUT"; /** - * Enum value 'TRACE' for attribute {@link ATTR_HTTP_REQUEST_METHOD}. + * Enum value "TRACE" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_TRACE = 'TRACE'; +export const ATTR_HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; /** @@ -412,14 +412,14 @@ export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; /** - * Enum value 'heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. + * Enum value "heap" for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const ATTR_JVM_MEMORY_TYPE_VALUE_HEAP = 'heap'; +export const ATTR_JVM_MEMORY_TYPE_VALUE_HEAP = "heap"; /** - * Enum value 'non_heap' for attribute {@link ATTR_JVM_MEMORY_TYPE}. + * Enum value "non_heap" for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const ATTR_JVM_MEMORY_TYPE_VALUE_NON_HEAP = 'non_heap'; +export const ATTR_JVM_MEMORY_TYPE_VALUE_NON_HEAP = "non_heap"; /** @@ -433,34 +433,34 @@ export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; /** - * Enum value 'blocked' for attribute {@link ATTR_JVM_THREAD_STATE}. + * Enum value "blocked" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_BLOCKED = 'blocked'; +export const ATTR_JVM_THREAD_STATE_VALUE_BLOCKED = "blocked"; /** - * Enum value 'new' for attribute {@link ATTR_JVM_THREAD_STATE}. + * Enum value "new" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_NEW = 'new'; +export const ATTR_JVM_THREAD_STATE_VALUE_NEW = "new"; /** - * Enum value 'runnable' for attribute {@link ATTR_JVM_THREAD_STATE}. + * Enum value "runnable" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_RUNNABLE = 'runnable'; +export const ATTR_JVM_THREAD_STATE_VALUE_RUNNABLE = "runnable"; /** - * Enum value 'terminated' for attribute {@link ATTR_JVM_THREAD_STATE}. + * Enum value "terminated" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_TERMINATED = 'terminated'; +export const ATTR_JVM_THREAD_STATE_VALUE_TERMINATED = "terminated"; /** - * Enum value 'timed_waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. + * Enum value "timed_waiting" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_TIMED_WAITING = 'timed_waiting'; +export const ATTR_JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting"; /** - * Enum value 'waiting' for attribute {@link ATTR_JVM_THREAD_STATE}. + * Enum value "waiting" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_WAITING = 'waiting'; +export const ATTR_JVM_THREAD_STATE_VALUE_WAITING = "waiting"; /** @@ -509,29 +509,29 @@ export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; export const ATTR_NETWORK_TRANSPORT = 'network.transport'; /** - * Enum value 'pipe' for attribute {@link ATTR_NETWORK_TRANSPORT}. + * Enum value "pipe" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_PIPE = 'pipe'; +export const ATTR_NETWORK_TRANSPORT_VALUE_PIPE = "pipe"; /** - * Enum value 'quic' for attribute {@link ATTR_NETWORK_TRANSPORT}. + * Enum value "quic" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_QUIC = 'quic'; +export const ATTR_NETWORK_TRANSPORT_VALUE_QUIC = "quic"; /** - * Enum value 'tcp' for attribute {@link ATTR_NETWORK_TRANSPORT}. + * Enum value "tcp" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_TCP = 'tcp'; +export const ATTR_NETWORK_TRANSPORT_VALUE_TCP = "tcp"; /** - * Enum value 'udp' for attribute {@link ATTR_NETWORK_TRANSPORT}. + * Enum value "udp" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_UDP = 'udp'; +export const ATTR_NETWORK_TRANSPORT_VALUE_UDP = "udp"; /** - * Enum value 'unix' for attribute {@link ATTR_NETWORK_TRANSPORT}. + * Enum value "unix" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_UNIX = 'unix'; +export const ATTR_NETWORK_TRANSPORT_VALUE_UNIX = "unix"; /** @@ -542,14 +542,14 @@ export const ATTR_NETWORK_TRANSPORT_VALUE_UNIX = 'unix'; export const ATTR_NETWORK_TYPE = 'network.type'; /** - * Enum value 'ipv4' for attribute {@link ATTR_NETWORK_TYPE}. + * Enum value "ipv4" for attribute {@link ATTR_NETWORK_TYPE}. */ -export const ATTR_NETWORK_TYPE_VALUE_IPV4 = 'ipv4'; +export const ATTR_NETWORK_TYPE_VALUE_IPV4 = "ipv4"; /** - * Enum value 'ipv6' for attribute {@link ATTR_NETWORK_TYPE}. + * Enum value "ipv6" for attribute {@link ATTR_NETWORK_TYPE}. */ -export const ATTR_NETWORK_TYPE_VALUE_IPV6 = 'ipv6'; +export const ATTR_NETWORK_TYPE_VALUE_IPV6 = "ipv6"; /** @@ -568,14 +568,14 @@ export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version'; export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; /** - * Enum value 'ERROR' for attribute {@link ATTR_OTEL_STATUS_CODE}. + * Enum value "ERROR" for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const ATTR_OTEL_STATUS_CODE_VALUE_ERROR = 'ERROR'; +export const ATTR_OTEL_STATUS_CODE_VALUE_ERROR = "ERROR"; /** - * Enum value 'OK' for attribute {@link ATTR_OTEL_STATUS_CODE}. + * Enum value "OK" for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const ATTR_OTEL_STATUS_CODE_VALUE_OK = 'OK'; +export const ATTR_OTEL_STATUS_CODE_VALUE_OK = "OK"; /** @@ -615,19 +615,19 @@ export const ATTR_SERVICE_VERSION = 'service.version'; export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; /** - * Enum value 'app_shutdown' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. + * Enum value "app_shutdown" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = 'app_shutdown'; +export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = "app_shutdown"; /** - * Enum value 'normal_closure' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. + * Enum value "normal_closure" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = 'normal_closure'; +export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = "normal_closure"; /** - * Enum value 'timeout' for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. + * Enum value "timeout" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout'; +export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; /** @@ -636,19 +636,19 @@ export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = 'timeout'; export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; /** - * Enum value 'long_polling' for attribute {@link ATTR_SIGNALR_TRANSPORT}. + * Enum value "long_polling" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ATTR_SIGNALR_TRANSPORT_VALUE_LONG_POLLING = 'long_polling'; +export const ATTR_SIGNALR_TRANSPORT_VALUE_LONG_POLLING = "long_polling"; /** - * Enum value 'server_sent_events' for attribute {@link ATTR_SIGNALR_TRANSPORT}. + * Enum value "server_sent_events" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ATTR_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = 'server_sent_events'; +export const ATTR_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = "server_sent_events"; /** - * Enum value 'web_sockets' for attribute {@link ATTR_SIGNALR_TRANSPORT}. + * Enum value "web_sockets" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ATTR_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = 'web_sockets'; +export const ATTR_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets"; /** diff --git a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 index 149833aa4f..91c994cd4f 100644 --- a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 @@ -1,6 +1,5 @@ {{- template.set_file_name("experimental_attributes.ts") -}} {%- import 'docstring.ts.j2' as d -%} -{%- import 'common.j2' as c -%} /* * Copyright The OpenTelemetry Authors * @@ -23,7 +22,7 @@ {% for attribute in ctx | attribute_sort %} {%- if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute, "attribute")}} -{%- if attribute.type is not startingwith("template[") %} +{%- if attribute.type is not template_type %} export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; {%- else %} export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; @@ -31,9 +30,9 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => {%- if attribute.type is mapping %} {% for espec in attribute.type.members | sort(attribute='value') %} /** - * Enum value {{ c.print(espec.value) }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. + * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. */ -export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ c.print(espec.value) }}; +export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; {% endfor %} {%- endif %} {%- endif %} diff --git a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 index 5c02408210..6b7a1a0a97 100644 --- a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 @@ -1,6 +1,5 @@ {{- template.set_file_name("stable_attributes.ts") -}} {%- import 'docstring.ts.j2' as d -%} -{%- import 'common.j2' as c -%} /* * Copyright The OpenTelemetry Authors * @@ -23,7 +22,7 @@ {% for attribute in ctx | attribute_sort %} {%- if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute)}} -{%- if attribute.type is not startingwith("template[") %} +{%- if attribute.type is not template_type %} export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; {%- else %} export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; @@ -31,9 +30,9 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => {%- if attribute.type is mapping %} {% for espec in attribute.type.members | sort(attribute='value') %} /** - * Enum value {{ c.print(espec.value) }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. + * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. */ -export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ c.print(espec.value) }}; +export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; {% endfor %} {%- endif %} {%- endif %} From ba26b28956200fba051c8ba8206e179f9c74bbb6 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 14:31:02 -0400 Subject: [PATCH 32/47] Consolidate templates --- ...ntal_attributes.ts.j2 => attributes.ts.j2} | 2 +- .../templates/registry/stable/common.j2 | 3 -- ...perimental_metrics.ts.j2 => metrics.ts.j2} | 2 +- .../registry/stable/stable_attributes.ts.j2 | 39 ------------------- .../registry/stable/stable_metrics.ts.j2 | 25 ------------ .../templates/registry/stable/weaver.yaml | 25 ++++++------ 6 files changed, 15 insertions(+), 81 deletions(-) rename scripts/semconv/templates/registry/stable/{experimental_attributes.ts.j2 => attributes.ts.j2} (96%) delete mode 100644 scripts/semconv/templates/registry/stable/common.j2 rename scripts/semconv/templates/registry/stable/{experimental_metrics.ts.j2 => metrics.ts.j2} (94%) delete mode 100644 scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 delete mode 100644 scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 diff --git a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/attributes.ts.j2 similarity index 96% rename from scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 rename to scripts/semconv/templates/registry/stable/attributes.ts.j2 index 91c994cd4f..b98b520d39 100644 --- a/scripts/semconv/templates/registry/stable/experimental_attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/attributes.ts.j2 @@ -1,4 +1,4 @@ -{{- template.set_file_name("experimental_attributes.ts") -}} +{{- template.set_file_name(ctx[0].file_name_prefix ~ "_attributes.ts") -}} {%- import 'docstring.ts.j2' as d -%} /* * Copyright The OpenTelemetry Authors diff --git a/scripts/semconv/templates/registry/stable/common.j2 b/scripts/semconv/templates/registry/stable/common.j2 deleted file mode 100644 index 64b2f4124e..0000000000 --- a/scripts/semconv/templates/registry/stable/common.j2 +++ /dev/null @@ -1,3 +0,0 @@ -{%- macro print(value) -%} -{%- if value is string %}'{{value}}'{%- else %}{{value}}{% endif %} -{%- endmacro -%} diff --git a/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 b/scripts/semconv/templates/registry/stable/metrics.ts.j2 similarity index 94% rename from scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 rename to scripts/semconv/templates/registry/stable/metrics.ts.j2 index ce4d0538a0..6d09afc89e 100644 --- a/scripts/semconv/templates/registry/stable/experimental_metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/metrics.ts.j2 @@ -1,4 +1,4 @@ -{{- template.set_file_name("experimental_metrics.ts") -}} +{{- template.set_file_name(ctx[0].file_name_prefix ~ "_metrics.ts") -}} {%- import 'docstring.ts.j2' as d -%} /* * Copyright The OpenTelemetry Authors diff --git a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 b/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 deleted file mode 100644 index 6b7a1a0a97..0000000000 --- a/scripts/semconv/templates/registry/stable/stable_attributes.ts.j2 +++ /dev/null @@ -1,39 +0,0 @@ -{{- template.set_file_name("stable_attributes.ts") -}} -{%- import 'docstring.ts.j2' as d -%} -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -//---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 -//---------------------------------------------------------------------------------------------------------- -{% for attribute in ctx | attribute_sort %} -{%- if attribute.name not in params.excluded_attributes %} -{{d.docstring(attribute)}} -{%- if attribute.type is not template_type %} -export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; -{%- else %} -export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; -{%- endif %} -{%- if attribute.type is mapping %} -{% for espec in attribute.type.members | sort(attribute='value') %} -/** - * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. - */ -export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; -{% endfor %} -{%- endif %} -{%- endif %} -{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 b/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 deleted file mode 100644 index 5c9d0b4770..0000000000 --- a/scripts/semconv/templates/registry/stable/stable_metrics.ts.j2 +++ /dev/null @@ -1,25 +0,0 @@ -{{- template.set_file_name("stable_metrics.ts") -}} -{%- import 'docstring.ts.j2' as d -%} -/* - * Copyright The OpenTelemetry Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -//---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 -//---------------------------------------------------------------------------------------------------------- -{% for metric in ctx | sort(attribute="metric_name") %} -{{d.docstring(metric)}} -export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}'; -{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/stable/weaver.yaml index 23b0fac9a9..ef63a32303 100644 --- a/scripts/semconv/templates/registry/stable/weaver.yaml +++ b/scripts/semconv/templates/registry/stable/weaver.yaml @@ -2,29 +2,30 @@ params: excluded_attributes: ["messaging.client_id"] templates: - - pattern: stable_attributes.ts.j2 + - pattern: attributes.ts.j2 + # Remove file name prefix when per-pattern params are available https://github.com/open-telemetry/weaver/issues/288 filter: > semconv_attributes({ "exclude_stability": ["experimental"] - }) + }) | map(. + { file_name_prefix: "stable" }) application_mode: single - - pattern: stable_metrics.ts.j2 - filter: > - semconv_metrics({ - "exclude_stability": ["experimental"] - }) - application_mode: single - - pattern: experimental_attributes.ts.j2 + - pattern: attributes.ts.j2 filter: > semconv_attributes({ "exclude_stability": ["stable"] - }) + }) | map(. + { file_name_prefix: "experimental" }) + application_mode: single + - pattern: metrics.ts.j2 + filter: > + semconv_metrics({ + "exclude_stability": ["experimental"] + }) | map(. + { file_name_prefix: "stable" }) application_mode: single - - pattern: experimental_metrics.ts.j2 + - pattern: metrics.ts.j2 filter: > semconv_metrics({ "exclude_stability": ["stable"] - }) + }) | map(. + { file_name_prefix: "experimental" }) application_mode: single text_maps: From bb6708edebac5882827544ebd52aafdfc5bcc6ca Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 14:37:07 -0400 Subject: [PATCH 33/47] Explicit stability in ctx --- .../registry/stable/attributes.ts.j2 | 4 ++-- .../templates/registry/stable/metrics.ts.j2 | 4 ++-- .../templates/registry/stable/weaver.yaml | 20 +++++++++++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/scripts/semconv/templates/registry/stable/attributes.ts.j2 b/scripts/semconv/templates/registry/stable/attributes.ts.j2 index b98b520d39..1ddb6c0615 100644 --- a/scripts/semconv/templates/registry/stable/attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/attributes.ts.j2 @@ -1,4 +1,4 @@ -{{- template.set_file_name(ctx[0].file_name_prefix ~ "_attributes.ts") -}} +{{- template.set_file_name(ctx.stability ~ "_attributes.ts") -}} {%- import 'docstring.ts.j2' as d -%} /* * Copyright The OpenTelemetry Authors @@ -19,7 +19,7 @@ //---------------------------------------------------------------------------------------------------------- // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- -{% for attribute in ctx | attribute_sort %} +{% for attribute in ctx.attributes | attribute_sort %} {%- if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute, "attribute")}} {%- if attribute.type is not template_type %} diff --git a/scripts/semconv/templates/registry/stable/metrics.ts.j2 b/scripts/semconv/templates/registry/stable/metrics.ts.j2 index 6d09afc89e..57dff7a8f6 100644 --- a/scripts/semconv/templates/registry/stable/metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/metrics.ts.j2 @@ -1,4 +1,4 @@ -{{- template.set_file_name(ctx[0].file_name_prefix ~ "_metrics.ts") -}} +{{- template.set_file_name(ctx.stability ~ "_metrics.ts") -}} {%- import 'docstring.ts.j2' as d -%} /* * Copyright The OpenTelemetry Authors @@ -19,7 +19,7 @@ //---------------------------------------------------------------------------------------------------------- // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- -{% for metric in ctx | sort(attribute="metric_name") %} +{% for metric in ctx.metrics | sort(attribute="metric_name") %} {{d.docstring(metric, "metric")}} export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}'; {% endfor %} diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/stable/weaver.yaml index ef63a32303..e0073daf6b 100644 --- a/scripts/semconv/templates/registry/stable/weaver.yaml +++ b/scripts/semconv/templates/registry/stable/weaver.yaml @@ -7,25 +7,37 @@ templates: filter: > semconv_attributes({ "exclude_stability": ["experimental"] - }) | map(. + { file_name_prefix: "stable" }) + }) | { + stability: "stable", + attributes: . + } application_mode: single - pattern: attributes.ts.j2 filter: > semconv_attributes({ "exclude_stability": ["stable"] - }) | map(. + { file_name_prefix: "experimental" }) + }) | { + stability: "experimental", + attributes: . + } application_mode: single - pattern: metrics.ts.j2 filter: > semconv_metrics({ "exclude_stability": ["experimental"] - }) | map(. + { file_name_prefix: "stable" }) + }) | { + stability: "stable", + metrics: . + } application_mode: single - pattern: metrics.ts.j2 filter: > semconv_metrics({ "exclude_stability": ["stable"] - }) | map(. + { file_name_prefix: "experimental" }) + }) | { + stability: "experimental", + metrics: . + } application_mode: single text_maps: From 8bfbdf166a7472f77be57c3457a61f3d3b31f8eb Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 14:42:30 -0400 Subject: [PATCH 34/47] Changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8af8b2f1db..cfd002ce0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) * feat: include instrumentation scope info in console span and log record exporters [#4848](https://github.com/open-telemetry/opentelemetry-js/pull/4848) @blumamir +* feat(semconv): update semantic conventions to 1.27 [#4690](https://github.com/open-telemetry/opentelemetry-js/pull/4690) @dyladan ### :bug: (Bug Fix) @@ -50,7 +51,6 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ * refactor(sdk-trace-base): Use tree-shakeable string constants for semconv [#4749](https://github.com/open-telemetry/opentelemetry-js/pull/4749) @JohannesHuster * refactor(resources): update deprecated semconv to use exported strings [#4755](https://github.com/open-telemetry/opentelemetry-js/pull/#4755) @JamieDanielson * refactor(exporters): update deprecated semconv to use exported strings [#4756](https://github.com/open-telemetry/opentelemetry-js/pull/#4756) @JamieDanielson -* feat(semconv): update semantic conventions to 1.25 and include metric names [#4690](https://github.com/open-telemetry/opentelemetry-js/pull/4690) @dyladan ### :books: (Refine Doc) From fc56c569aa80e3dc99470d268ce15d46a8aaf079 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Fri, 2 Aug 2024 15:41:11 -0400 Subject: [PATCH 35/47] Formatting fixes --- .../src/experimental_attributes.ts | 220 ++++++------------ .../src/experimental_metrics.ts | 31 +-- .../src/stable_attributes.ts | 14 +- .../src/stable_metrics.ts | 1 + .../registry/stable/attributes.ts.j2 | 24 +- .../templates/registry/stable/docstring.ts.j2 | 22 +- .../templates/registry/stable/metrics.ts.j2 | 6 +- .../templates/registry/stable/weaver.yaml | 5 + 8 files changed, 126 insertions(+), 197 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index 493f3b7b01..4bcfe74ea8 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -56,7 +56,6 @@ export const ATTR_ANDROID_STATE_VALUE_CREATED = "created"; */ export const ATTR_ANDROID_STATE_VALUE_FOREGROUND = "foreground"; - /** * The provenance filename of the built attestation which directly relates to the build artifact filename. This filename **SHOULD** accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. * @@ -305,7 +304,6 @@ export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = "ec2"; */ export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; - /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). * @@ -573,7 +571,6 @@ export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = "deploy"; */ export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; - /** * The cloud account ID the resource is assigned to. * @@ -739,7 +736,6 @@ export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = "tencent_cloud_eks"; */ export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf"; - /** * Name of the cloud provider. * @@ -782,7 +778,6 @@ export const ATTR_CLOUD_PROVIDER_VALUE_IBM_CLOUD = "ibm_cloud"; */ export const ATTR_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; - /** * The geographical region the resource is running. * @@ -922,7 +917,7 @@ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `cpu.mode`. + * @deprecated * Replaced by `cpu.mode` */ export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; @@ -941,7 +936,6 @@ export const ATTR_CONTAINER_CPU_STATE_VALUE_SYSTEM = "system"; */ export const ATTR_CONTAINER_CPU_STATE_VALUE_USER = "user"; - /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. * @@ -995,7 +989,7 @@ export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `container.label`.. + * @deprecated * Replaced by `container.label`. */ export const ATTR_CONTAINER_LABELS = (key: string) => `container.labels.${key}`; @@ -1060,7 +1054,6 @@ export const ATTR_CPU_MODE_VALUE_SYSTEM = "system"; */ export const ATTR_CPU_MODE_VALUE_USER = "user"; - /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * @@ -1123,7 +1116,6 @@ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = "three"; */ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; - /** * The data center of the coordinating node for a query. * @@ -1164,7 +1156,7 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.specu * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.collection.name`.. + * @deprecated * Replaced by `db.collection.name`. */ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; @@ -1192,13 +1184,12 @@ export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = "idle"; */ export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; - /** * Deprecated, use `db.client.connection.pool.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.pool.name`.. + * @deprecated * Replaced by `db.client.connection.pool.name`. */ export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool.name'; @@ -1207,7 +1198,7 @@ export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.state`.. + * @deprecated * Replaced by `db.client.connection.state`. */ export const ATTR_DB_CLIENT_CONNECTIONS_STATE = 'db.client.connections.state'; @@ -1221,7 +1212,6 @@ export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = "idle"; */ export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; - /** * The name of a collection (table, container) within the database. * @@ -1238,7 +1228,7 @@ export const ATTR_DB_COLLECTION_NAME = 'db.collection.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * "Replaced by `server.address` and `server.port`.". + * @deprecated * "Replaced by `server.address` and `server.port`." */ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; @@ -1266,13 +1256,12 @@ export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = "direct"; */ export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; - /** * Deprecated, use `db.collection.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.collection.name`.. + * @deprecated * Replaced by `db.collection.name`. */ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; @@ -1358,7 +1347,6 @@ export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = "Replace"; */ export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; - /** * RU consumed for that operation * @@ -1392,7 +1380,7 @@ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.namespace`.. + * @deprecated * Replaced by `db.namespace`. */ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; @@ -1417,7 +1405,7 @@ export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsear * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead.. + * @deprecated * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. */ export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; @@ -1426,7 +1414,7 @@ export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Removed as not used.. + * @deprecated * Removed as not used. */ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; @@ -1435,7 +1423,7 @@ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.collection.name`.. + * @deprecated * Replaced by `db.collection.name`. */ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; @@ -1444,7 +1432,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Deprecated, no replacement at this time.. + * @deprecated * Deprecated, no replacement at this time. */ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; @@ -1453,7 +1441,7 @@ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.namespace`.. + * @deprecated * Replaced by `db.namespace`. */ export const ATTR_DB_NAME = 'db.name'; @@ -1473,7 +1461,7 @@ export const ATTR_DB_NAMESPACE = 'db.namespace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.operation.name`.. + * @deprecated * Replaced by `db.operation.name`. */ export const ATTR_DB_OPERATION = 'db.operation'; @@ -1523,7 +1511,7 @@ export const ATTR_DB_QUERY_TEXT = 'db.query.text'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.namespace`.. + * @deprecated * Replaced by `db.namespace`. */ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; @@ -1532,7 +1520,7 @@ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.collection.name`.. + * @deprecated * Replaced by `db.collection.name`. */ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; @@ -1541,7 +1529,7 @@ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.query.text`.. + * @deprecated * Replaced by `db.query.text`. */ export const ATTR_DB_STATEMENT = 'db.statement'; @@ -1824,13 +1812,12 @@ export const ATTR_DB_SYSTEM_VALUE_TRINO = "trino"; */ export const ATTR_DB_SYSTEM_VALUE_VERTICA = "vertica"; - /** * Deprecated, no replacement at this time. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * No replacement at this time.. + * @deprecated * No replacement at this time. */ export const ATTR_DB_USER = 'db.user'; @@ -1839,7 +1826,7 @@ export const ATTR_DB_USER = 'db.user'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Deprecated, use `deployment.environment.name` instead.. + * @deprecated * Deprecated, use `deployment.environment.name` instead. */ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; @@ -1889,7 +1876,6 @@ export const ATTR_DEPLOYMENT_STATUS_VALUE_FAILED = "failed"; */ export const ATTR_DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; - /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * @@ -1959,7 +1945,6 @@ export const ATTR_DISK_IO_DIRECTION_VALUE_READ = "read"; */ export const ATTR_DISK_IO_DIRECTION_VALUE_WRITE = "write"; - /** * The name being queried. * @@ -1974,7 +1959,7 @@ export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `user.id` attribute.. + * @deprecated * Replaced by `user.id` attribute. */ export const ATTR_ENDUSER_ID = 'enduser.id'; @@ -1983,7 +1968,7 @@ export const ATTR_ENDUSER_ID = 'enduser.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `user.roles` attribute.. + * @deprecated * Replaced by `user.roles` attribute. */ export const ATTR_ENDUSER_ROLE = 'enduser.role'; @@ -1992,7 +1977,7 @@ export const ATTR_ENDUSER_ROLE = 'enduser.role'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Removed.. + * @deprecated * Removed. */ export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; @@ -2055,7 +2040,6 @@ export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = "edit"; */ export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; - /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * @@ -2122,7 +2106,6 @@ export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_GCP = "gcp"; */ export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; - /** * The cloud region of the invoked function. * @@ -2204,7 +2187,6 @@ export const ATTR_FAAS_TRIGGER_VALUE_PUBSUB = "pubsub"; */ export const ATTR_FAAS_TRIGGER_VALUE_TIMER = "timer"; - /** * The immutable version of the function being executed. * @@ -2354,7 +2336,6 @@ export const ATTR_GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat"; */ export const ATTR_GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; - /** * The full prompt sent to the GenAI model. * @@ -2478,7 +2459,6 @@ export const ATTR_GEN_AI_SYSTEM_VALUE_OPENAI = "openai"; */ export const ATTR_GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; - /** * The type of token being counted. * @@ -2496,13 +2476,12 @@ export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_INPUT = "input"; */ export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; - /** * Deprecated, use `gen_ai.usage.output_tokens` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `gen_ai.usage.output_tokens` attribute.. + * @deprecated * Replaced by `gen_ai.usage.output_tokens` attribute. */ export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_tokens'; @@ -2525,7 +2504,7 @@ export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `gen_ai.usage.input_tokens` attribute.. + * @deprecated * Replaced by `gen_ai.usage.input_tokens` attribute. */ export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens'; @@ -2546,7 +2525,6 @@ export const ATTR_GO_MEMORY_TYPE_VALUE_OTHER = "other"; */ export const ATTR_GO_MEMORY_TYPE_VALUE_STACK = "stack"; - /** * The GraphQL document being executed. * @@ -2585,7 +2563,6 @@ export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = "query"; */ export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; - /** * Unique identifier for the application * @@ -2654,7 +2631,6 @@ export const ATTR_HOST_ARCH_VALUE_S390X = "s390x"; */ export const ATTR_HOST_ARCH_VALUE_X86 = "x86"; - /** * The amount of level 2 memory cache available to the processor (in Bytes). * @@ -2764,7 +2740,7 @@ export const ATTR_HOST_TYPE = 'host.type'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `client.address`.. + * @deprecated * Replaced by `client.address`. */ export const ATTR_HTTP_CLIENT_IP = 'http.client_ip'; @@ -2785,13 +2761,12 @@ export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = "active"; */ export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = "idle"; - /** * Deprecated, use `network.protocol.name` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.protocol.name`.. + * @deprecated * Replaced by `network.protocol.name`. */ export const ATTR_HTTP_FLAVOR = 'http.flavor'; @@ -2825,13 +2800,12 @@ export const ATTR_HTTP_FLAVOR_VALUE_QUIC = "QUIC"; */ export const ATTR_HTTP_FLAVOR_VALUE_SPDY = "SPDY"; - /** * Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage.. + * @deprecated * Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. */ export const ATTR_HTTP_HOST = 'http.host'; @@ -2840,7 +2814,7 @@ export const ATTR_HTTP_HOST = 'http.host'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `http.request.method`.. + * @deprecated * Replaced by `http.request.method`. */ export const ATTR_HTTP_METHOD = 'http.method'; @@ -2863,7 +2837,7 @@ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `http.request.header.content-length`.. + * @deprecated * Replaced by `http.request.header.content-length`. */ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; @@ -2872,7 +2846,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `http.request.body.size`.. + * @deprecated * Replaced by `http.request.body.size`. */ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_content_length_uncompressed'; @@ -2895,7 +2869,7 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `http.response.header.content-length`.. + * @deprecated * Replaced by `http.response.header.content-length`. */ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; @@ -2904,7 +2878,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replace by `http.response.body.size`.. + * @deprecated * Replace by `http.response.body.size`. */ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed'; @@ -2913,7 +2887,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_con * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `url.scheme` instead.. + * @deprecated * Replaced by `url.scheme` instead. */ export const ATTR_HTTP_SCHEME = 'http.scheme'; @@ -2922,7 +2896,7 @@ export const ATTR_HTTP_SCHEME = 'http.scheme'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `server.address`.. + * @deprecated * Replaced by `server.address`. */ export const ATTR_HTTP_SERVER_NAME = 'http.server_name'; @@ -2931,7 +2905,7 @@ export const ATTR_HTTP_SERVER_NAME = 'http.server_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `http.response.status_code`.. + * @deprecated * Replaced by `http.response.status_code`. */ export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; @@ -2940,7 +2914,7 @@ export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Split to `url.path` and `url.query.. + * @deprecated * Split to `url.path` and `url.query. */ export const ATTR_HTTP_TARGET = 'http.target'; @@ -2949,7 +2923,7 @@ export const ATTR_HTTP_TARGET = 'http.target'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `url.full`.. + * @deprecated * Replaced by `url.full`. */ export const ATTR_HTTP_URL = 'http.url'; @@ -2958,7 +2932,7 @@ export const ATTR_HTTP_URL = 'http.url'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `user_agent.original`.. + * @deprecated * Replaced by `user_agent.original`. */ export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; @@ -2969,7 +2943,7 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Moved to a payload field of `device.app.lifecycle`.. + * @deprecated * Moved to a payload field of `device.app.lifecycle`. */ export const ATTR_IOS_STATE = 'ios.state'; @@ -2998,7 +2972,6 @@ export const ATTR_IOS_STATE_VALUE_INACTIVE = "inactive"; */ export const ATTR_IOS_STATE_VALUE_TERMINATE = "terminate"; - /** * Name of the buffer pool. * @@ -3162,7 +3135,7 @@ export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `k8s.pod.label`.. + * @deprecated * Replaced by `k8s.pod.label`. */ export const ATTR_K8S_POD_LABELS = (key: string) => `k8s.pod.labels.${key}`; @@ -3225,7 +3198,6 @@ export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = "reclaimable"; */ export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; - /** * The basename of the file. * @@ -3271,7 +3243,6 @@ export const ATTR_LOG_IOSTREAM_VALUE_STDERR = "stderr"; */ export const ATTR_LOG_IOSTREAM_VALUE_STDOUT = "stdout"; - /** * The complete orignal Log Record. * @@ -3296,7 +3267,7 @@ export const ATTR_LOG_RECORD_UID = 'log.record.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `rpc.message.compressed_size`.. + * @deprecated * Replaced by `rpc.message.compressed_size`. */ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; @@ -3305,7 +3276,7 @@ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `rpc.message.id`.. + * @deprecated * Replaced by `rpc.message.id`. */ export const ATTR_MESSAGE_ID = 'message.id'; @@ -3314,7 +3285,7 @@ export const ATTR_MESSAGE_ID = 'message.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `rpc.message.type`.. + * @deprecated * Replaced by `rpc.message.type`. */ export const ATTR_MESSAGE_TYPE = 'message.type'; @@ -3328,13 +3299,12 @@ export const ATTR_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; */ export const ATTR_MESSAGE_TYPE_VALUE_SENT = "SENT"; - /** * Deprecated, use `rpc.message.uncompressed_size` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `rpc.message.uncompressed_size`.. + * @deprecated * Replaced by `rpc.message.uncompressed_size`. */ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; @@ -3354,7 +3324,6 @@ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count */ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id'; - /** * The name of the consumer group with which a consumer is associated. * @@ -3418,7 +3387,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.tempo * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * No replacement at this time.. + * @deprecated * No replacement at this time. */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; @@ -3427,7 +3396,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destinati * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * No replacement at this time.. + * @deprecated * No replacement at this time. */ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; @@ -3436,7 +3405,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_pu * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.consumer.group.name`.. + * @deprecated * Replaced by `messaging.consumer.group.name`. */ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; @@ -3480,7 +3449,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pub * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.consumer.group.name`.. + * @deprecated * Replaced by `messaging.consumer.group.name`. */ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; @@ -3489,7 +3458,7 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.gro * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.destination.partition.id`.. + * @deprecated * Replaced by `messaging.destination.partition.id`. */ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition'; @@ -3507,7 +3476,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.kafka.offset`.. + * @deprecated * Replaced by `messaging.kafka.offset`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; @@ -3564,7 +3533,7 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.operation.type`.. + * @deprecated * Replaced by `messaging.operation.type`. */ export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; @@ -3614,7 +3583,6 @@ export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = "receive"; */ export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; - /** * RabbitMQ message routing key. * @@ -3634,7 +3602,7 @@ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans.. + * @deprecated * Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans. */ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; @@ -3655,7 +3623,6 @@ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = "bro */ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering"; - /** * The delay time level for delay message, which determines the message delay time. * @@ -3718,7 +3685,6 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = "normal"; */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; - /** * Namespace of RocketMQ resources, resources in different namespaces are individual. * @@ -3731,7 +3697,7 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.servicebus.destination.subscription_name`.. + * @deprecated * Replaced by `messaging.servicebus.destination.subscription_name`. */ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; @@ -3762,7 +3728,6 @@ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = "d */ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; - /** * Number of deliveries that have been attempted for this message. * @@ -3841,13 +3806,12 @@ export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = "rocketmq"; */ export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; - /** * Deprecated, use `network.local.address`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.local.address`.. + * @deprecated * Replaced by `network.local.address`. */ export const ATTR_NET_HOST_IP = 'net.host.ip'; @@ -3856,7 +3820,7 @@ export const ATTR_NET_HOST_IP = 'net.host.ip'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `server.address`.. + * @deprecated * Replaced by `server.address`. */ export const ATTR_NET_HOST_NAME = 'net.host.name'; @@ -3865,7 +3829,7 @@ export const ATTR_NET_HOST_NAME = 'net.host.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `server.port`.. + * @deprecated * Replaced by `server.port`. */ export const ATTR_NET_HOST_PORT = 'net.host.port'; @@ -3874,7 +3838,7 @@ export const ATTR_NET_HOST_PORT = 'net.host.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.peer.address`.. + * @deprecated * Replaced by `network.peer.address`. */ export const ATTR_NET_PEER_IP = 'net.peer.ip'; @@ -3883,7 +3847,7 @@ export const ATTR_NET_PEER_IP = 'net.peer.ip'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `server.address` on client spans and `client.address` on server spans.. + * @deprecated * Replaced by `server.address` on client spans and `client.address` on server spans. */ export const ATTR_NET_PEER_NAME = 'net.peer.name'; @@ -3892,7 +3856,7 @@ export const ATTR_NET_PEER_NAME = 'net.peer.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `server.port` on client spans and `client.port` on server spans.. + * @deprecated * Replaced by `server.port` on client spans and `client.port` on server spans. */ export const ATTR_NET_PEER_PORT = 'net.peer.port'; @@ -3901,7 +3865,7 @@ export const ATTR_NET_PEER_PORT = 'net.peer.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.protocol.name`.. + * @deprecated * Replaced by `network.protocol.name`. */ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; @@ -3910,7 +3874,7 @@ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.protocol.version`.. + * @deprecated * Replaced by `network.protocol.version`. */ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; @@ -3919,7 +3883,7 @@ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Split to `network.transport` and `network.type`.. + * @deprecated * Split to `network.transport` and `network.type`. */ export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; @@ -3938,13 +3902,12 @@ export const ATTR_NET_SOCK_FAMILY_VALUE_INET6 = "inet6"; */ export const ATTR_NET_SOCK_FAMILY_VALUE_UNIX = "unix"; - /** * Deprecated, use `network.local.address`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.local.address`.. + * @deprecated * Replaced by `network.local.address`. */ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; @@ -3953,7 +3916,7 @@ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.local.port`.. + * @deprecated * Replaced by `network.local.port`. */ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; @@ -3962,7 +3925,7 @@ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.peer.address`.. + * @deprecated * Replaced by `network.peer.address`. */ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; @@ -3971,7 +3934,7 @@ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Removed.. + * @deprecated * Removed. */ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; @@ -3980,7 +3943,7 @@ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.peer.port`.. + * @deprecated * Replaced by `network.peer.port`. */ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; @@ -3989,7 +3952,7 @@ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `network.transport`.. + * @deprecated * Replaced by `network.transport`. */ export const ATTR_NET_TRANSPORT = 'net.transport'; @@ -4018,7 +3981,6 @@ export const ATTR_NET_TRANSPORT_VALUE_OTHER = "other"; */ export const ATTR_NET_TRANSPORT_VALUE_PIPE = "pipe"; - /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. * @@ -4159,7 +4121,6 @@ export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = "td_scdma"; */ export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; - /** * The internet connection type. * @@ -4192,7 +4153,6 @@ export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = "wifi"; */ export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; - /** * The network IO operation direction. * @@ -4210,7 +4170,6 @@ export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = "receive"; */ export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; - /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. * @@ -4240,7 +4199,6 @@ export const ATTR_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = "child_of"; */ export const ATTR_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; - /** * Unique identifier for a particular build or compilation of the operating system. * @@ -4324,7 +4282,6 @@ export const ATTR_OS_TYPE_VALUE_WINDOWS = "windows"; */ export const ATTR_OS_TYPE_VALUE_Z_OS = "z_os"; - /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * @@ -4337,7 +4294,7 @@ export const ATTR_OS_VERSION = 'os.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * use the `otel.scope.name` attribute.. + * @deprecated * use the `otel.scope.name` attribute. */ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; @@ -4346,7 +4303,7 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * use the `otel.scope.version` attribute.. + * @deprecated * use the `otel.scope.version` attribute. */ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; @@ -4362,7 +4319,7 @@ export const ATTR_PEER_SERVICE = 'peer.service'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.pool.name`.. + * @deprecated * Replaced by `db.client.connection.pool.name`. */ export const ATTR_POOL_NAME = 'pool.name'; @@ -4404,13 +4361,12 @@ export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = "involuntary"; */ export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary"; - /** * Deprecated, use `cpu.mode` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `cpu.mode`. + * @deprecated * Replaced by `cpu.mode` */ export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; @@ -4429,7 +4385,6 @@ export const ATTR_PROCESS_CPU_STATE_VALUE_USER = "user"; */ export const ATTR_PROCESS_CPU_STATE_VALUE_WAIT = "wait"; - /** * The date and time the process was created, in ISO 8601 format. * @@ -4503,7 +4458,6 @@ export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = "major"; */ export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; - /** * Parent Process identifier (PPID). * @@ -4684,7 +4638,6 @@ export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = "unimplemente */ export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown"; - /** * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. * @@ -4813,7 +4766,6 @@ export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; */ export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; - /** * `error.code` property of response if it is an error response. * @@ -4875,7 +4827,6 @@ export const ATTR_RPC_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; */ export const ATTR_RPC_MESSAGE_TYPE_VALUE_SENT = "SENT"; - /** * Uncompressed size of the message in bytes. * @@ -4933,7 +4884,6 @@ export const ATTR_RPC_SYSTEM_VALUE_GRPC = "grpc"; */ export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; - /** * The string ID of the service instance. * @@ -5012,7 +4962,7 @@ export const ATTR_SOURCE_PORT = 'source.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.state`.. + * @deprecated * Replaced by `db.client.connection.state`. */ export const ATTR_STATE = 'state'; @@ -5026,7 +4976,6 @@ export const ATTR_STATE_VALUE_IDLE = "idle"; */ export const ATTR_STATE_VALUE_USED = "used"; - /** * The logical CPU number [0..n-1] * @@ -5039,7 +4988,7 @@ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `cpu.mode`. + * @deprecated * Replaced by `cpu.mode` */ export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; @@ -5078,7 +5027,6 @@ export const ATTR_SYSTEM_CPU_STATE_VALUE_SYSTEM = "system"; */ export const ATTR_SYSTEM_CPU_STATE_VALUE_USER = "user"; - /** * The device identifier * @@ -5122,7 +5070,6 @@ export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = "reserved"; */ export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; - /** * The filesystem type * @@ -5160,7 +5107,6 @@ export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = "ntfs"; */ export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; - /** * The memory state * @@ -5193,7 +5139,6 @@ export const ATTR_SYSTEM_MEMORY_STATE_VALUE_SHARED = "shared"; */ export const ATTR_SYSTEM_MEMORY_STATE_VALUE_USED = "used"; - /** * A stateless protocol **MUST** **NOT** set this attribute * @@ -5261,7 +5206,6 @@ export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = "syn_sent"; */ export const ATTR_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; - /** * The paging access direction * @@ -5279,7 +5223,6 @@ export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_IN = "in"; */ export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; - /** * The memory paging state * @@ -5297,7 +5240,6 @@ export const ATTR_SYSTEM_PAGING_STATE_VALUE_FREE = "free"; */ export const ATTR_SYSTEM_PAGING_STATE_VALUE_USED = "used"; - /** * The memory paging type * @@ -5315,7 +5257,6 @@ export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MAJOR = "major"; */ export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; - /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) * @@ -5343,13 +5284,12 @@ export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = "sleeping"; */ export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; - /** * Deprecated, use `system.process.status` instead. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `system.process.status`.. + * @deprecated * Replaced by `system.process.status`. */ export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; @@ -5373,7 +5313,6 @@ export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = "sleeping"; */ export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; - /** * The name of the auto instrumentation agent or distribution, if used. * @@ -5415,7 +5354,6 @@ export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_FAIL = "fail"; */ export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; - /** * The human readable name of a [test suite](https://en.wikipedia.org/wiki/Test_suite). * @@ -5460,7 +5398,6 @@ export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = "success"; */ export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; - /** * Current "managed" thread ID (as opposed to OS thread ID). * @@ -5552,7 +5489,7 @@ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `server.address.. + * @deprecated * Replaced by `server.address. */ export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; @@ -5608,7 +5545,6 @@ export const ATTR_TLS_PROTOCOL_NAME_VALUE_SSL = "ssl"; */ export const ATTR_TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; - /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) * @@ -5851,7 +5787,6 @@ export const ATTR_V8JS_GC_TYPE_VALUE_MINOR = "minor"; */ export const ATTR_V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb"; - /** * The name of the space type of heap memory. * @@ -5886,7 +5821,6 @@ export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = "new_space"; */ export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; - /** * The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system. * @@ -5942,7 +5876,6 @@ export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = "branch"; */ export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; - /** * The [URL](https://en.wikipedia.org/wiki/URL) of the repository providing the complete address in order to locate and identify the repository. * @@ -5970,3 +5903,4 @@ export const ATTR_WEBENGINE_NAME = 'webengine.name'; * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_VERSION = 'webengine.version'; + diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts index a1d803d23c..27c63e9907 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -122,7 +122,7 @@ export const METRIC_DB_CLIENT_CONNECTION_WAIT_TIME = 'db.client.connection.wait_ * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.create_time`. Note: the unit also changed from `ms` to `s`.. + * @deprecated * Replaced by `db.client.connection.create_time`. Note: the unit also changed from `ms` to `s`. */ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; @@ -131,7 +131,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.c * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.idle.max`.. + * @deprecated * Replaced by `db.client.connection.idle.max`. */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; @@ -140,7 +140,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.idle.min`.. + * @deprecated * Replaced by `db.client.connection.idle.min`. */ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; @@ -149,7 +149,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.max`.. + * @deprecated * Replaced by `db.client.connection.max`. */ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; @@ -158,7 +158,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.pending_requests`.. + * @deprecated * Replaced by `db.client.connection.pending_requests`. */ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; @@ -167,7 +167,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connecti * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.timeouts`.. + * @deprecated * Replaced by `db.client.connection.timeouts`. */ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; @@ -176,7 +176,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.time * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.count`.. + * @deprecated * Replaced by `db.client.connection.count`. */ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; @@ -185,7 +185,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.use_time`. Note: the unit also changed from `ms` to `s`.. + * @deprecated * Replaced by `db.client.connection.use_time`. Note: the unit also changed from `ms` to `s`. */ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; @@ -194,7 +194,7 @@ export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_ * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `db.client.connection.wait_time`. Note: the unit also changed from `ms` to `s`.. + * @deprecated * Replaced by `db.client.connection.wait_time`. Note: the unit also changed from `ms` to `s`. */ export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time'; @@ -476,7 +476,7 @@ export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `jvm.buffer.memory.used`.. + * @deprecated * Replaced by `jvm.buffer.memory.used`. */ export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; @@ -554,7 +554,7 @@ export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.client.consumed.messages`.. + * @deprecated * Replaced by `messaging.client.consumed.messages`. */ export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; @@ -563,7 +563,7 @@ export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.client.operation.duration`.. + * @deprecated * Replaced by `messaging.client.operation.duration`. */ export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; @@ -572,7 +572,7 @@ export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.client.produced.messages`.. + * @deprecated * Replaced by `messaging.client.produced.messages`. */ export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; @@ -581,7 +581,7 @@ export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.client.operation.duration`.. + * @deprecated * Replaced by `messaging.client.operation.duration`. */ export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; @@ -590,7 +590,7 @@ export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; * * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * - * @deprecated * Replaced by `messaging.client.consumed.messages`.. + * @deprecated * Replaced by `messaging.client.consumed.messages`. */ export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; @@ -1129,3 +1129,4 @@ export const METRIC_V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit'; * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const METRIC_V8JS_MEMORY_HEAP_USED = 'v8js.memory.heap.used'; + diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index a108b38893..28aab19b5b 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -43,7 +43,6 @@ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = "global */ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = "request_canceled"; - /** * The language of the telemetry SDK. */ @@ -109,7 +108,6 @@ export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = "swift"; */ export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; - /** * The name of the telemetry SDK as defined above. * @@ -157,7 +155,6 @@ export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = "skipp */ export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandled"; - /** * Rate limiting policy name. */ @@ -188,7 +185,6 @@ export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = "failure"; */ export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; - /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * @@ -233,7 +229,6 @@ export const ATTR_ERROR_TYPE = 'error.type'; */ export const ATTR_ERROR_TYPE_VALUE_OTHER = "_OTHER"; - /** * **SHOULD** be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. * @@ -350,7 +345,6 @@ export const ATTR_HTTP_REQUEST_METHOD_VALUE_PUT = "PUT"; */ export const ATTR_HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; - /** * Original HTTP method sent by the client in the request line. */ @@ -421,7 +415,6 @@ export const ATTR_JVM_MEMORY_TYPE_VALUE_HEAP = "heap"; */ export const ATTR_JVM_MEMORY_TYPE_VALUE_NON_HEAP = "non_heap"; - /** * Whether the thread is daemon or not. */ @@ -462,7 +455,6 @@ export const ATTR_JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting"; */ export const ATTR_JVM_THREAD_STATE_VALUE_WAITING = "waiting"; - /** * Local address of the network connection - IP address or Unix domain socket name. */ @@ -533,7 +525,6 @@ export const ATTR_NETWORK_TRANSPORT_VALUE_UDP = "udp"; */ export const ATTR_NETWORK_TRANSPORT_VALUE_UNIX = "unix"; - /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. * @@ -551,7 +542,6 @@ export const ATTR_NETWORK_TYPE_VALUE_IPV4 = "ipv4"; */ export const ATTR_NETWORK_TYPE_VALUE_IPV6 = "ipv6"; - /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). */ @@ -577,7 +567,6 @@ export const ATTR_OTEL_STATUS_CODE_VALUE_ERROR = "ERROR"; */ export const ATTR_OTEL_STATUS_CODE_VALUE_OK = "OK"; - /** * Description of the Status if it has a value, otherwise not set. */ @@ -629,7 +618,6 @@ export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = "normal_closu */ export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; - /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) */ @@ -650,7 +638,6 @@ export const ATTR_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = "server_sent_even */ export const ATTR_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets"; - /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component */ @@ -688,3 +675,4 @@ export const ATTR_URL_SCHEME = 'url.scheme'; * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. */ export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original'; + diff --git a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts index 59fb1f5831..0a89ed83d6 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts @@ -216,3 +216,4 @@ export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_c * @note Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0 */ export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connection.duration'; + diff --git a/scripts/semconv/templates/registry/stable/attributes.ts.j2 b/scripts/semconv/templates/registry/stable/attributes.ts.j2 index 1ddb6c0615..f4e3e99178 100644 --- a/scripts/semconv/templates/registry/stable/attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/attributes.ts.j2 @@ -1,5 +1,5 @@ -{{- template.set_file_name(ctx.stability ~ "_attributes.ts") -}} -{%- import 'docstring.ts.j2' as d -%} +{{- template.set_file_name(ctx.stability ~ "_attributes.ts") }} +{%- import 'docstring.ts.j2' as d %} /* * Copyright The OpenTelemetry Authors * @@ -19,21 +19,25 @@ //---------------------------------------------------------------------------------------------------------- // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- + {% for attribute in ctx.attributes | attribute_sort %} -{%- if attribute.name not in params.excluded_attributes %} +{% if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute, "attribute")}} -{%- if attribute.type is not template_type %} +{% if attribute.type is not template_type %} export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; -{%- else %} + +{% else %} export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; -{%- endif %} -{%- if attribute.type is mapping %} + +{% endif %} +{% if attribute.type is mapping %} {% for espec in attribute.type.members | sort(attribute='value') %} /** * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. */ export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; + {% endfor %} -{%- endif %} -{%- endif %} -{% endfor %} +{% endif %} +{% endif %} +{% endfor %} \ No newline at end of file diff --git a/scripts/semconv/templates/registry/stable/docstring.ts.j2 b/scripts/semconv/templates/registry/stable/docstring.ts.j2 index a351c55c64..1988c7b276 100644 --- a/scripts/semconv/templates/registry/stable/docstring.ts.j2 +++ b/scripts/semconv/templates/registry/stable/docstring.ts.j2 @@ -1,21 +1,15 @@ -{%- macro strong_reqs(string) -%} - {{ string | replace(" MUST ", " **MUST** ") | replace(" MUST NOT ", " **MUST NOT** ") | replace(" SHOULD ", " **SHOULD** ") | replace(" SHOULD NOT ", " **SHOULD NOT** ") | replace(" MAY ", " **MAY** ") | replace(" NOT ", " **NOT** ") }} -{%- endmacro -%} +{% macro strong_reqs(string) -%}{{ string | replace(" MUST ", " **MUST** ") | replace(" MUST NOT ", " **MUST NOT** ") | replace(" SHOULD ", " **SHOULD** ") | replace(" SHOULD NOT ", " **SHOULD NOT** ") | replace(" MAY ", " **MAY** ") | replace(" NOT ", " **NOT** ") }}{% endmacro -%} -{%- macro docstring(obj, type="value") -%} -/** +{% macro docstring(obj, type="value") -%}/** {{ strong_reqs(obj.brief | comment_with_prefix(" * ")) }} -{%- if obj.note %} +{% if obj.note %} * {{ ("@note " ~ strong_reqs(obj.note)) | comment_with_prefix(" * ") }} -{%- endif %} - {%- if (obj.stability) != "stable" %} +{% endif %}{% if (obj.stability) != "stable" %} * * @experimental This {{type}} is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. - {%- endif %} - {%- if obj.deprecated %} +{% endif %}{% if obj.deprecated %} * - * @deprecated {{ strong_reqs(obj.deprecated) | comment_with_prefix(" * ") }}. - {%- endif %} - */ -{%- endmacro -%} + * @deprecated {{ strong_reqs(obj.deprecated) | comment_with_prefix(" * ") }} +{% endif %} + */{% endmacro -%} diff --git a/scripts/semconv/templates/registry/stable/metrics.ts.j2 b/scripts/semconv/templates/registry/stable/metrics.ts.j2 index 57dff7a8f6..8be14a82b8 100644 --- a/scripts/semconv/templates/registry/stable/metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/metrics.ts.j2 @@ -1,5 +1,5 @@ -{{- template.set_file_name(ctx.stability ~ "_metrics.ts") -}} -{%- import 'docstring.ts.j2' as d -%} +{{- template.set_file_name(ctx.stability ~ "_metrics.ts") }} +{%- import 'docstring.ts.j2' as d %} /* * Copyright The OpenTelemetry Authors * @@ -19,7 +19,9 @@ //---------------------------------------------------------------------------------------------------------- // DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 //---------------------------------------------------------------------------------------------------------- + {% for metric in ctx.metrics | sort(attribute="metric_name") %} {{d.docstring(metric, "metric")}} export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}'; + {% endfor %} diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/stable/weaver.yaml index e0073daf6b..928fdd9b91 100644 --- a/scripts/semconv/templates/registry/stable/weaver.yaml +++ b/scripts/semconv/templates/registry/stable/weaver.yaml @@ -40,6 +40,11 @@ templates: } application_mode: single +# Whitespace control settings to simplify the definition of templates +whitespace_control: + trim_blocks: true + lstrip_blocks: true + text_maps: js_types: int: number From f6e1f115bdda6e955774611db47b46e17553b85b Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 08:29:59 -0400 Subject: [PATCH 36/47] Apply suggestions from code review Co-authored-by: Trent Mick --- CHANGELOG.md | 4 +++- scripts/semconv/templates/registry/stable/attributes.ts.j2 | 2 +- scripts/semconv/templates/registry/stable/metrics.ts.j2 | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfd002ce0d..e10b72964c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,9 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) * feat: include instrumentation scope info in console span and log record exporters [#4848](https://github.com/open-telemetry/opentelemetry-js/pull/4848) @blumamir -* feat(semconv): update semantic conventions to 1.27 [#4690](https://github.com/open-telemetry/opentelemetry-js/pull/4690) @dyladan +* feat(semconv): update semantic conventions to 1.27 (from 1.7.0) [#4690](https://github.com/open-telemetry/opentelemetry-js/pull/4690) @dyladan + * Exported names have changed to `ATTR_{name}` for attributes (e.g. `ATTR_HTTP_REQUEST_METHOD`), `{name}_VALUE_{value}` for enumeration values (e.g. `HTTP_REQUEST_METHOD_VALUE_POST`), and `METRIC_{name}` for metrics. Exported names from previous versions are deprecated. + * Import `@opentelemetry/semantic-conventions` for *stable* semantic conventions. Import `@opentelemetry/semantic-conventions/incubating` for all semantic conventions, stable and unstable. ### :bug: (Bug Fix) diff --git a/scripts/semconv/templates/registry/stable/attributes.ts.j2 b/scripts/semconv/templates/registry/stable/attributes.ts.j2 index f4e3e99178..ebb98586d0 100644 --- a/scripts/semconv/templates/registry/stable/attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/attributes.ts.j2 @@ -17,7 +17,7 @@ */ //---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/stable/attributes.ts.j2 //---------------------------------------------------------------------------------------------------------- {% for attribute in ctx.attributes | attribute_sort %} diff --git a/scripts/semconv/templates/registry/stable/metrics.ts.j2 b/scripts/semconv/templates/registry/stable/metrics.ts.j2 index 8be14a82b8..a9f9caf526 100644 --- a/scripts/semconv/templates/registry/stable/metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/metrics.ts.j2 @@ -17,7 +17,7 @@ */ //---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/register/stable/metrics.ts.j2 //---------------------------------------------------------------------------------------------------------- {% for metric in ctx.metrics | sort(attribute="metric_name") %} From 343849919e596c9a8732da7211bba0c04f5b7d7a Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 08:30:50 -0400 Subject: [PATCH 37/47] Remove errant entry from changelog --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e10b72964c..704930db03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,7 +44,6 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :rocket: (Enhancement) * feat: support node 22 [#4666](https://github.com/open-telemetry/opentelemetry-js/pull/4666) @dyladan -* feat(sdk-trace-node): support `xray` Propagator via `OTEL_PROPAGATORS` environment variable [#4602](https://github.com/open-telemetry/opentelemetry-js/pull/4602) @anuraags * feat(context-zone*): support zone.js 0.12.x [#4376](https://github.com/open-telemetry/opentelemetry-js/pull/4736) @maldago * refactor(core): Use tree-shakeable string constants for semconv [#4739](https://github.com/open-telemetry/opentelemetry-js/pull/4739) @JohannesHuster * refactor(shim-opentracing): Use tree-shakeable string constants for semconv [#4746](https://github.com/open-telemetry/opentelemetry-js/pull/4746) @JohannesHuster From 85b18b8671c176a1521351deddbc0bbd49790a58 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 08:31:59 -0400 Subject: [PATCH 38/47] Rename constants in deprecated comment --- .../resource/SemanticResourceAttributes.ts | 102 +++---- .../src/trace/SemanticAttributes.ts | 262 +++++++++--------- 2 files changed, 182 insertions(+), 182 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts b/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts index 2383ae97bb..e69bb8e56e 100644 --- a/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/resource/SemanticResourceAttributes.ts @@ -1301,7 +1301,7 @@ const TMP_CLOUDPROVIDERVALUES_GCP = 'gcp'; /** * Name of the cloud provider. * - * @deprecated Use CLOUD_PROVIDER_VALUES_ALIBABA_CLOUD. + * @deprecated Use CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD. */ export const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD; @@ -1309,21 +1309,21 @@ export const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = /** * Name of the cloud provider. * - * @deprecated Use CLOUD_PROVIDER_VALUES_AWS. + * @deprecated Use CLOUD_PROVIDER_VALUE_AWS. */ export const CLOUDPROVIDERVALUES_AWS = TMP_CLOUDPROVIDERVALUES_AWS; /** * Name of the cloud provider. * - * @deprecated Use CLOUD_PROVIDER_VALUES_AZURE. + * @deprecated Use CLOUD_PROVIDER_VALUE_AZURE. */ export const CLOUDPROVIDERVALUES_AZURE = TMP_CLOUDPROVIDERVALUES_AZURE; /** * Name of the cloud provider. * - * @deprecated Use CLOUD_PROVIDER_VALUES_GCP. + * @deprecated Use CLOUD_PROVIDER_VALUE_GCP. */ export const CLOUDPROVIDERVALUES_GCP = TMP_CLOUDPROVIDERVALUES_GCP; @@ -1393,7 +1393,7 @@ const TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE = 'gcp_app_engine'; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_ECS. + * @deprecated Use CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS. */ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS; @@ -1403,7 +1403,7 @@ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_ALIBABA_CLOUD_FC. + * @deprecated Use CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC. */ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC; @@ -1413,7 +1413,7 @@ export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_EC2. + * @deprecated Use CLOUD_PLATFORM_VALUE_AWS_EC2. */ export const CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2; @@ -1422,7 +1422,7 @@ export const CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_ECS. + * @deprecated Use CLOUD_PLATFORM_VALUE_AWS_ECS. */ export const CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS; @@ -1431,7 +1431,7 @@ export const CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_EKS. + * @deprecated Use CLOUD_PLATFORM_VALUE_AWS_EKS. */ export const CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS; @@ -1440,7 +1440,7 @@ export const CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_LAMBDA. + * @deprecated Use CLOUD_PLATFORM_VALUE_AWS_LAMBDA. */ export const CLOUDPLATFORMVALUES_AWS_LAMBDA = TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA; @@ -1450,7 +1450,7 @@ export const CLOUDPLATFORMVALUES_AWS_LAMBDA = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AWS_ELASTIC_BEANSTALK. + * @deprecated Use CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK. */ export const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK; @@ -1460,7 +1460,7 @@ export const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_VM. + * @deprecated Use CLOUD_PLATFORM_VALUE_AZURE_VM. */ export const CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM; @@ -1469,7 +1469,7 @@ export const CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_CONTAINER_INSTANCES. + * @deprecated Use CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES. */ export const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES; @@ -1479,7 +1479,7 @@ export const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_AKS. + * @deprecated Use CLOUD_PLATFORM_VALUE_AZURE_AKS. */ export const CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS; @@ -1488,7 +1488,7 @@ export const CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS; * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_FUNCTIONS. + * @deprecated Use CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS. */ export const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS; @@ -1498,7 +1498,7 @@ export const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_AZURE_APP_SERVICE. + * @deprecated Use CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE. */ export const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE; @@ -1508,7 +1508,7 @@ export const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_COMPUTE_ENGINE. + * @deprecated Use CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE. */ export const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE; @@ -1518,7 +1518,7 @@ export const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_CLOUD_RUN. + * @deprecated Use CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN. */ export const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN; @@ -1528,7 +1528,7 @@ export const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_KUBERNETES_ENGINE. + * @deprecated Use CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE. */ export const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE; @@ -1538,7 +1538,7 @@ export const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_CLOUD_FUNCTIONS. + * @deprecated Use CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS. */ export const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS; @@ -1548,7 +1548,7 @@ export const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = * * Note: The prefix of the service SHOULD match the one specified in `cloud.provider`. * - * @deprecated Use CLOUD_PLATFORM_VALUES_GCP_APP_ENGINE. + * @deprecated Use CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE. */ export const CLOUDPLATFORMVALUES_GCP_APP_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE; @@ -1653,14 +1653,14 @@ const TMP_AWSECSLAUNCHTYPEVALUES_FARGATE = 'fargate'; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * - * @deprecated Use AWS_ECS_LAUNCHTYPE_VALUES_EC2. + * @deprecated Use AWS_ECS_LAUNCHTYPE_VALUE_EC2. */ export const AWSECSLAUNCHTYPEVALUES_EC2 = TMP_AWSECSLAUNCHTYPEVALUES_EC2; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * - * @deprecated Use AWS_ECS_LAUNCHTYPE_VALUES_FARGATE. + * @deprecated Use AWS_ECS_LAUNCHTYPE_VALUE_FARGATE. */ export const AWSECSLAUNCHTYPEVALUES_FARGATE = TMP_AWSECSLAUNCHTYPEVALUES_FARGATE; @@ -1708,49 +1708,49 @@ const TMP_HOSTARCHVALUES_X86 = 'x86'; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_AMD64. + * @deprecated Use HOST_ARCH_VALUE_AMD64. */ export const HOSTARCHVALUES_AMD64 = TMP_HOSTARCHVALUES_AMD64; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_ARM32. + * @deprecated Use HOST_ARCH_VALUE_ARM32. */ export const HOSTARCHVALUES_ARM32 = TMP_HOSTARCHVALUES_ARM32; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_ARM64. + * @deprecated Use HOST_ARCH_VALUE_ARM64. */ export const HOSTARCHVALUES_ARM64 = TMP_HOSTARCHVALUES_ARM64; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_IA64. + * @deprecated Use HOST_ARCH_VALUE_IA64. */ export const HOSTARCHVALUES_IA64 = TMP_HOSTARCHVALUES_IA64; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_PPC32. + * @deprecated Use HOST_ARCH_VALUE_PPC32. */ export const HOSTARCHVALUES_PPC32 = TMP_HOSTARCHVALUES_PPC32; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_PPC64. + * @deprecated Use HOST_ARCH_VALUE_PPC64. */ export const HOSTARCHVALUES_PPC64 = TMP_HOSTARCHVALUES_PPC64; /** * The CPU architecture the host system is running on. * - * @deprecated Use HOST_ARCH_VALUES_X86. + * @deprecated Use HOST_ARCH_VALUE_X86. */ export const HOSTARCHVALUES_X86 = TMP_HOSTARCHVALUES_X86; @@ -1821,77 +1821,77 @@ const TMP_OSTYPEVALUES_Z_OS = 'z_os'; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_WINDOWS. + * @deprecated Use OS_TYPE_VALUE_WINDOWS. */ export const OSTYPEVALUES_WINDOWS = TMP_OSTYPEVALUES_WINDOWS; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_LINUX. + * @deprecated Use OS_TYPE_VALUE_LINUX. */ export const OSTYPEVALUES_LINUX = TMP_OSTYPEVALUES_LINUX; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_DARWIN. + * @deprecated Use OS_TYPE_VALUE_DARWIN. */ export const OSTYPEVALUES_DARWIN = TMP_OSTYPEVALUES_DARWIN; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_FREEBSD. + * @deprecated Use OS_TYPE_VALUE_FREEBSD. */ export const OSTYPEVALUES_FREEBSD = TMP_OSTYPEVALUES_FREEBSD; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_NETBSD. + * @deprecated Use OS_TYPE_VALUE_NETBSD. */ export const OSTYPEVALUES_NETBSD = TMP_OSTYPEVALUES_NETBSD; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_OPENBSD. + * @deprecated Use OS_TYPE_VALUE_OPENBSD. */ export const OSTYPEVALUES_OPENBSD = TMP_OSTYPEVALUES_OPENBSD; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_DRAGONFLYBSD. + * @deprecated Use OS_TYPE_VALUE_DRAGONFLYBSD. */ export const OSTYPEVALUES_DRAGONFLYBSD = TMP_OSTYPEVALUES_DRAGONFLYBSD; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_HPUX. + * @deprecated Use OS_TYPE_VALUE_HPUX. */ export const OSTYPEVALUES_HPUX = TMP_OSTYPEVALUES_HPUX; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_AIX. + * @deprecated Use OS_TYPE_VALUE_AIX. */ export const OSTYPEVALUES_AIX = TMP_OSTYPEVALUES_AIX; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_SOLARIS. + * @deprecated Use OS_TYPE_VALUE_SOLARIS. */ export const OSTYPEVALUES_SOLARIS = TMP_OSTYPEVALUES_SOLARIS; /** * The operating system type. * - * @deprecated Use OS_TYPE_VALUES_Z_OS. + * @deprecated Use OS_TYPE_VALUE_Z_OS. */ export const OSTYPEVALUES_Z_OS = TMP_OSTYPEVALUES_Z_OS; @@ -1977,7 +1977,7 @@ const TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS = 'webjs'; /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_CPP. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_CPP. */ export const TELEMETRYSDKLANGUAGEVALUES_CPP = TMP_TELEMETRYSDKLANGUAGEVALUES_CPP; @@ -1985,7 +1985,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_CPP = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_DOTNET. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET. */ export const TELEMETRYSDKLANGUAGEVALUES_DOTNET = TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET; @@ -1993,7 +1993,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_DOTNET = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_ERLANG. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG. */ export const TELEMETRYSDKLANGUAGEVALUES_ERLANG = TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG; @@ -2001,14 +2001,14 @@ export const TELEMETRYSDKLANGUAGEVALUES_ERLANG = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_GO. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_GO. */ export const TELEMETRYSDKLANGUAGEVALUES_GO = TMP_TELEMETRYSDKLANGUAGEVALUES_GO; /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_JAVA. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_JAVA. */ export const TELEMETRYSDKLANGUAGEVALUES_JAVA = TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA; @@ -2016,7 +2016,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_JAVA = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_NODEJS. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS. */ export const TELEMETRYSDKLANGUAGEVALUES_NODEJS = TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS; @@ -2024,7 +2024,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_NODEJS = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_PHP. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_PHP. */ export const TELEMETRYSDKLANGUAGEVALUES_PHP = TMP_TELEMETRYSDKLANGUAGEVALUES_PHP; @@ -2032,7 +2032,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_PHP = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_PYTHON. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON. */ export const TELEMETRYSDKLANGUAGEVALUES_PYTHON = TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON; @@ -2040,7 +2040,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_PYTHON = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_RUBY. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_RUBY. */ export const TELEMETRYSDKLANGUAGEVALUES_RUBY = TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY; @@ -2048,7 +2048,7 @@ export const TELEMETRYSDKLANGUAGEVALUES_RUBY = /** * The language of the telemetry SDK. * - * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUES_WEBJS. + * @deprecated Use TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS. */ export const TELEMETRYSDKLANGUAGEVALUES_WEBJS = TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS; diff --git a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts index 441e9aa015..2b81c6fb4d 100644 --- a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts @@ -2068,329 +2068,329 @@ const TMP_DBSYSTEMVALUES_COCKROACHDB = 'cockroachdb'; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_OTHER_SQL. + * @deprecated Use DB_SYSTEM_VALUE_OTHER_SQL. */ export const DBSYSTEMVALUES_OTHER_SQL = TMP_DBSYSTEMVALUES_OTHER_SQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_MSSQL. + * @deprecated Use DB_SYSTEM_VALUE_MSSQL. */ export const DBSYSTEMVALUES_MSSQL = TMP_DBSYSTEMVALUES_MSSQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_MYSQL. + * @deprecated Use DB_SYSTEM_VALUE_MYSQL. */ export const DBSYSTEMVALUES_MYSQL = TMP_DBSYSTEMVALUES_MYSQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_ORACLE. + * @deprecated Use DB_SYSTEM_VALUE_ORACLE. */ export const DBSYSTEMVALUES_ORACLE = TMP_DBSYSTEMVALUES_ORACLE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_DB2. + * @deprecated Use DB_SYSTEM_VALUE_DB2. */ export const DBSYSTEMVALUES_DB2 = TMP_DBSYSTEMVALUES_DB2; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_POSTGRESQL. + * @deprecated Use DB_SYSTEM_VALUE_POSTGRESQL. */ export const DBSYSTEMVALUES_POSTGRESQL = TMP_DBSYSTEMVALUES_POSTGRESQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_REDSHIFT. + * @deprecated Use DB_SYSTEM_VALUE_REDSHIFT. */ export const DBSYSTEMVALUES_REDSHIFT = TMP_DBSYSTEMVALUES_REDSHIFT; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_HIVE. + * @deprecated Use DB_SYSTEM_VALUE_HIVE. */ export const DBSYSTEMVALUES_HIVE = TMP_DBSYSTEMVALUES_HIVE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_CLOUDSCAPE. + * @deprecated Use DB_SYSTEM_VALUE_CLOUDSCAPE. */ export const DBSYSTEMVALUES_CLOUDSCAPE = TMP_DBSYSTEMVALUES_CLOUDSCAPE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_HSQLDB. + * @deprecated Use DB_SYSTEM_VALUE_HSQLDB. */ export const DBSYSTEMVALUES_HSQLDB = TMP_DBSYSTEMVALUES_HSQLDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_PROGRESS. + * @deprecated Use DB_SYSTEM_VALUE_PROGRESS. */ export const DBSYSTEMVALUES_PROGRESS = TMP_DBSYSTEMVALUES_PROGRESS; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_MAXDB. + * @deprecated Use DB_SYSTEM_VALUE_MAXDB. */ export const DBSYSTEMVALUES_MAXDB = TMP_DBSYSTEMVALUES_MAXDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_HANADB. + * @deprecated Use DB_SYSTEM_VALUE_HANADB. */ export const DBSYSTEMVALUES_HANADB = TMP_DBSYSTEMVALUES_HANADB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_INGRES. + * @deprecated Use DB_SYSTEM_VALUE_INGRES. */ export const DBSYSTEMVALUES_INGRES = TMP_DBSYSTEMVALUES_INGRES; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_FIRSTSQL. + * @deprecated Use DB_SYSTEM_VALUE_FIRSTSQL. */ export const DBSYSTEMVALUES_FIRSTSQL = TMP_DBSYSTEMVALUES_FIRSTSQL; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_EDB. + * @deprecated Use DB_SYSTEM_VALUE_EDB. */ export const DBSYSTEMVALUES_EDB = TMP_DBSYSTEMVALUES_EDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_CACHE. + * @deprecated Use DB_SYSTEM_VALUE_CACHE. */ export const DBSYSTEMVALUES_CACHE = TMP_DBSYSTEMVALUES_CACHE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_ADABAS. + * @deprecated Use DB_SYSTEM_VALUE_ADABAS. */ export const DBSYSTEMVALUES_ADABAS = TMP_DBSYSTEMVALUES_ADABAS; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_FIREBIRD. + * @deprecated Use DB_SYSTEM_VALUE_FIREBIRD. */ export const DBSYSTEMVALUES_FIREBIRD = TMP_DBSYSTEMVALUES_FIREBIRD; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_DERBY. + * @deprecated Use DB_SYSTEM_VALUE_DERBY. */ export const DBSYSTEMVALUES_DERBY = TMP_DBSYSTEMVALUES_DERBY; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_FILEMAKER. + * @deprecated Use DB_SYSTEM_VALUE_FILEMAKER. */ export const DBSYSTEMVALUES_FILEMAKER = TMP_DBSYSTEMVALUES_FILEMAKER; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_INFORMIX. + * @deprecated Use DB_SYSTEM_VALUE_INFORMIX. */ export const DBSYSTEMVALUES_INFORMIX = TMP_DBSYSTEMVALUES_INFORMIX; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_INSTANTDB. + * @deprecated Use DB_SYSTEM_VALUE_INSTANTDB. */ export const DBSYSTEMVALUES_INSTANTDB = TMP_DBSYSTEMVALUES_INSTANTDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_INTERBASE. + * @deprecated Use DB_SYSTEM_VALUE_INTERBASE. */ export const DBSYSTEMVALUES_INTERBASE = TMP_DBSYSTEMVALUES_INTERBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_MARIADB. + * @deprecated Use DB_SYSTEM_VALUE_MARIADB. */ export const DBSYSTEMVALUES_MARIADB = TMP_DBSYSTEMVALUES_MARIADB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_NETEZZA. + * @deprecated Use DB_SYSTEM_VALUE_NETEZZA. */ export const DBSYSTEMVALUES_NETEZZA = TMP_DBSYSTEMVALUES_NETEZZA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_PERVASIVE. + * @deprecated Use DB_SYSTEM_VALUE_PERVASIVE. */ export const DBSYSTEMVALUES_PERVASIVE = TMP_DBSYSTEMVALUES_PERVASIVE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_POINTBASE. + * @deprecated Use DB_SYSTEM_VALUE_POINTBASE. */ export const DBSYSTEMVALUES_POINTBASE = TMP_DBSYSTEMVALUES_POINTBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_SQLITE. + * @deprecated Use DB_SYSTEM_VALUE_SQLITE. */ export const DBSYSTEMVALUES_SQLITE = TMP_DBSYSTEMVALUES_SQLITE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_SYBASE. + * @deprecated Use DB_SYSTEM_VALUE_SYBASE. */ export const DBSYSTEMVALUES_SYBASE = TMP_DBSYSTEMVALUES_SYBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_TERADATA. + * @deprecated Use DB_SYSTEM_VALUE_TERADATA. */ export const DBSYSTEMVALUES_TERADATA = TMP_DBSYSTEMVALUES_TERADATA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_VERTICA. + * @deprecated Use DB_SYSTEM_VALUE_VERTICA. */ export const DBSYSTEMVALUES_VERTICA = TMP_DBSYSTEMVALUES_VERTICA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_H2. + * @deprecated Use DB_SYSTEM_VALUE_H2. */ export const DBSYSTEMVALUES_H2 = TMP_DBSYSTEMVALUES_H2; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_COLDFUSION. + * @deprecated Use DB_SYSTEM_VALUE_COLDFUSION. */ export const DBSYSTEMVALUES_COLDFUSION = TMP_DBSYSTEMVALUES_COLDFUSION; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_CASSANDRA. + * @deprecated Use DB_SYSTEM_VALUE_CASSANDRA. */ export const DBSYSTEMVALUES_CASSANDRA = TMP_DBSYSTEMVALUES_CASSANDRA; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_HBASE. + * @deprecated Use DB_SYSTEM_VALUE_HBASE. */ export const DBSYSTEMVALUES_HBASE = TMP_DBSYSTEMVALUES_HBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_MONGODB. + * @deprecated Use DB_SYSTEM_VALUE_MONGODB. */ export const DBSYSTEMVALUES_MONGODB = TMP_DBSYSTEMVALUES_MONGODB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_REDIS. + * @deprecated Use DB_SYSTEM_VALUE_REDIS. */ export const DBSYSTEMVALUES_REDIS = TMP_DBSYSTEMVALUES_REDIS; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_COUCHBASE. + * @deprecated Use DB_SYSTEM_VALUE_COUCHBASE. */ export const DBSYSTEMVALUES_COUCHBASE = TMP_DBSYSTEMVALUES_COUCHBASE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_COUCHDB. + * @deprecated Use DB_SYSTEM_VALUE_COUCHDB. */ export const DBSYSTEMVALUES_COUCHDB = TMP_DBSYSTEMVALUES_COUCHDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_COSMOSDB. + * @deprecated Use DB_SYSTEM_VALUE_COSMOSDB. */ export const DBSYSTEMVALUES_COSMOSDB = TMP_DBSYSTEMVALUES_COSMOSDB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_DYNAMODB. + * @deprecated Use DB_SYSTEM_VALUE_DYNAMODB. */ export const DBSYSTEMVALUES_DYNAMODB = TMP_DBSYSTEMVALUES_DYNAMODB; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_NEO4J. + * @deprecated Use DB_SYSTEM_VALUE_NEO4J. */ export const DBSYSTEMVALUES_NEO4J = TMP_DBSYSTEMVALUES_NEO4J; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_GEODE. + * @deprecated Use DB_SYSTEM_VALUE_GEODE. */ export const DBSYSTEMVALUES_GEODE = TMP_DBSYSTEMVALUES_GEODE; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_ELASTICSEARCH. + * @deprecated Use DB_SYSTEM_VALUE_ELASTICSEARCH. */ export const DBSYSTEMVALUES_ELASTICSEARCH = TMP_DBSYSTEMVALUES_ELASTICSEARCH; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_MEMCACHED. + * @deprecated Use DB_SYSTEM_VALUE_MEMCACHED. */ export const DBSYSTEMVALUES_MEMCACHED = TMP_DBSYSTEMVALUES_MEMCACHED; /** * An identifier for the database management system (DBMS) product being used. See below for a list of well-known identifiers. * - * @deprecated Use DB_SYSTEM_VALUES_COCKROACHDB. + * @deprecated Use DB_SYSTEM_VALUE_COCKROACHDB. */ export const DBSYSTEMVALUES_COCKROACHDB = TMP_DBSYSTEMVALUES_COCKROACHDB; @@ -2621,7 +2621,7 @@ const TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL = 'local_serial'; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ALL. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_ALL = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ALL; @@ -2629,7 +2629,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_ALL = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_EACH_QUORUM. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM; @@ -2637,7 +2637,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_QUORUM. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM; @@ -2645,7 +2645,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_QUORUM. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM; @@ -2653,7 +2653,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ONE. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_ONE = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ONE; @@ -2661,7 +2661,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_ONE = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_TWO. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_TWO = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_TWO; @@ -2669,7 +2669,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_TWO = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_THREE. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_THREE = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_THREE; @@ -2677,7 +2677,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_THREE = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_ONE. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE; @@ -2685,7 +2685,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_ANY. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_ANY = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_ANY; @@ -2693,7 +2693,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_ANY = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_SERIAL. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL; @@ -2701,7 +2701,7 @@ export const DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL = /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUES_LOCAL_SERIAL. + * @deprecated Use DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL. */ export const DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL = TMP_DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL; @@ -2783,35 +2783,35 @@ const TMP_FAASTRIGGERVALUES_OTHER = 'other'; /** * Type of the trigger on which the function is executed. * - * @deprecated Use FAAS_TRIGGER_VALUES_DATASOURCE. + * @deprecated Use FAAS_TRIGGER_VALUE_DATASOURCE. */ export const FAASTRIGGERVALUES_DATASOURCE = TMP_FAASTRIGGERVALUES_DATASOURCE; /** * Type of the trigger on which the function is executed. * - * @deprecated Use FAAS_TRIGGER_VALUES_HTTP. + * @deprecated Use FAAS_TRIGGER_VALUE_HTTP. */ export const FAASTRIGGERVALUES_HTTP = TMP_FAASTRIGGERVALUES_HTTP; /** * Type of the trigger on which the function is executed. * - * @deprecated Use FAAS_TRIGGER_VALUES_PUBSUB. + * @deprecated Use FAAS_TRIGGER_VALUE_PUBSUB. */ export const FAASTRIGGERVALUES_PUBSUB = TMP_FAASTRIGGERVALUES_PUBSUB; /** * Type of the trigger on which the function is executed. * - * @deprecated Use FAAS_TRIGGER_VALUES_TIMER. + * @deprecated Use FAAS_TRIGGER_VALUE_TIMER. */ export const FAASTRIGGERVALUES_TIMER = TMP_FAASTRIGGERVALUES_TIMER; /** * Type of the trigger on which the function is executed. * - * @deprecated Use FAAS_TRIGGER_VALUES_OTHER. + * @deprecated Use FAAS_TRIGGER_VALUE_OTHER. */ export const FAASTRIGGERVALUES_OTHER = TMP_FAASTRIGGERVALUES_OTHER; @@ -2866,7 +2866,7 @@ const TMP_FAASDOCUMENTOPERATIONVALUES_DELETE = 'delete'; /** * Describes the type of the operation that was performed on the data. * - * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUES_INSERT. + * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUE_INSERT. */ export const FAASDOCUMENTOPERATIONVALUES_INSERT = TMP_FAASDOCUMENTOPERATIONVALUES_INSERT; @@ -2874,7 +2874,7 @@ export const FAASDOCUMENTOPERATIONVALUES_INSERT = /** * Describes the type of the operation that was performed on the data. * - * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUES_EDIT. + * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUE_EDIT. */ export const FAASDOCUMENTOPERATIONVALUES_EDIT = TMP_FAASDOCUMENTOPERATIONVALUES_EDIT; @@ -2882,7 +2882,7 @@ export const FAASDOCUMENTOPERATIONVALUES_EDIT = /** * Describes the type of the operation that was performed on the data. * - * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUES_DELETE. + * @deprecated Use FAAS_DOCUMENT_OPERATION_VALUE_DELETE. */ export const FAASDOCUMENTOPERATIONVALUES_DELETE = TMP_FAASDOCUMENTOPERATIONVALUES_DELETE; @@ -2935,7 +2935,7 @@ const TMP_FAASINVOKEDPROVIDERVALUES_GCP = 'gcp'; * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. * - * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_ALIBABA_CLOUD. + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD. */ export const FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD = TMP_FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD; @@ -2945,7 +2945,7 @@ export const FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD = * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. * - * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_AWS. + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUE_AWS. */ export const FAASINVOKEDPROVIDERVALUES_AWS = TMP_FAASINVOKEDPROVIDERVALUES_AWS; @@ -2954,7 +2954,7 @@ export const FAASINVOKEDPROVIDERVALUES_AWS = TMP_FAASINVOKEDPROVIDERVALUES_AWS; * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. * - * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_AZURE. + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUE_AZURE. */ export const FAASINVOKEDPROVIDERVALUES_AZURE = TMP_FAASINVOKEDPROVIDERVALUES_AZURE; @@ -2964,7 +2964,7 @@ export const FAASINVOKEDPROVIDERVALUES_AZURE = * * Note: SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. * - * @deprecated Use FAAS_INVOKED_PROVIDER_VALUES_GCP. + * @deprecated Use FAAS_INVOKED_PROVIDER_VALUE_GCP. */ export const FAASINVOKEDPROVIDERVALUES_GCP = TMP_FAASINVOKEDPROVIDERVALUES_GCP; @@ -3021,49 +3021,49 @@ const TMP_NETTRANSPORTVALUES_OTHER = 'other'; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_IP_TCP. + * @deprecated Use NET_TRANSPORT_VALUE_IP_TCP. */ export const NETTRANSPORTVALUES_IP_TCP = TMP_NETTRANSPORTVALUES_IP_TCP; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_IP_UDP. + * @deprecated Use NET_TRANSPORT_VALUE_IP_UDP. */ export const NETTRANSPORTVALUES_IP_UDP = TMP_NETTRANSPORTVALUES_IP_UDP; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_IP. + * @deprecated Use NET_TRANSPORT_VALUE_IP. */ export const NETTRANSPORTVALUES_IP = TMP_NETTRANSPORTVALUES_IP; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_UNIX. + * @deprecated Use NET_TRANSPORT_VALUE_UNIX. */ export const NETTRANSPORTVALUES_UNIX = TMP_NETTRANSPORTVALUES_UNIX; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_PIPE. + * @deprecated Use NET_TRANSPORT_VALUE_PIPE. */ export const NETTRANSPORTVALUES_PIPE = TMP_NETTRANSPORTVALUES_PIPE; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_INPROC. + * @deprecated Use NET_TRANSPORT_VALUE_INPROC. */ export const NETTRANSPORTVALUES_INPROC = TMP_NETTRANSPORTVALUES_INPROC; /** * Transport protocol used. See note below. * - * @deprecated Use NET_TRANSPORT_VALUES_OTHER. + * @deprecated Use NET_TRANSPORT_VALUE_OTHER. */ export const NETTRANSPORTVALUES_OTHER = TMP_NETTRANSPORTVALUES_OTHER; @@ -3128,7 +3128,7 @@ const TMP_NETHOSTCONNECTIONTYPEVALUES_UNKNOWN = 'unknown'; /** * The internet connection type currently being used by the host. * - * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_WIFI. + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUE_WIFI. */ export const NETHOSTCONNECTIONTYPEVALUES_WIFI = TMP_NETHOSTCONNECTIONTYPEVALUES_WIFI; @@ -3136,7 +3136,7 @@ export const NETHOSTCONNECTIONTYPEVALUES_WIFI = /** * The internet connection type currently being used by the host. * - * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_WIRED. + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUE_WIRED. */ export const NETHOSTCONNECTIONTYPEVALUES_WIRED = TMP_NETHOSTCONNECTIONTYPEVALUES_WIRED; @@ -3144,7 +3144,7 @@ export const NETHOSTCONNECTIONTYPEVALUES_WIRED = /** * The internet connection type currently being used by the host. * - * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_CELL. + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUE_CELL. */ export const NETHOSTCONNECTIONTYPEVALUES_CELL = TMP_NETHOSTCONNECTIONTYPEVALUES_CELL; @@ -3152,7 +3152,7 @@ export const NETHOSTCONNECTIONTYPEVALUES_CELL = /** * The internet connection type currently being used by the host. * - * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_UNAVAILABLE. + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUE_UNAVAILABLE. */ export const NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE = TMP_NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE; @@ -3160,7 +3160,7 @@ export const NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE = /** * The internet connection type currently being used by the host. * - * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUES_UNKNOWN. + * @deprecated Use NET_HOST_CONNECTION_TYPE_VALUE_UNKNOWN. */ export const NETHOSTCONNECTIONTYPEVALUES_UNKNOWN = TMP_NETHOSTCONNECTIONTYPEVALUES_UNKNOWN; @@ -3234,7 +3234,7 @@ const TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA = 'lte_ca'; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_GPRS. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_GPRS. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_GPRS = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GPRS; @@ -3242,7 +3242,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_GPRS = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EDGE. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_EDGE. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EDGE = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EDGE; @@ -3250,7 +3250,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_EDGE = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_UMTS. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_UMTS. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_UMTS = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_UMTS; @@ -3258,7 +3258,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_UMTS = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_CDMA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_CDMA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_CDMA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_CDMA; @@ -3266,7 +3266,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_CDMA = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EVDO_0. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_EVDO_0. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0 = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0; @@ -3274,7 +3274,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0 = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EVDO_A. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_EVDO_A. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A; @@ -3282,7 +3282,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_CDMA2000_1XRTT. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT; @@ -3290,7 +3290,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSDPA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_HSDPA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA; @@ -3298,7 +3298,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSUPA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_HSUPA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA; @@ -3306,7 +3306,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSPA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_HSPA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSPA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSPA; @@ -3314,7 +3314,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSPA = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_IDEN. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_IDEN. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_IDEN = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_IDEN; @@ -3322,7 +3322,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_IDEN = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EVDO_B. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_EVDO_B. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B; @@ -3330,7 +3330,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_LTE. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_LTE. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_LTE = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE; @@ -3338,7 +3338,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_LTE = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_EHRPD. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_EHRPD. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD; @@ -3346,7 +3346,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_HSPAP. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_HSPAP. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP; @@ -3354,7 +3354,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_GSM. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_GSM. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_GSM = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_GSM; @@ -3362,7 +3362,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_GSM = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_TD_SCDMA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_TD_SCDMA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA; @@ -3370,7 +3370,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_IWLAN. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_IWLAN. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN; @@ -3378,7 +3378,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_NR. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_NR. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_NR = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_NR; @@ -3386,7 +3386,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_NR = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_NRNSA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_NRNSA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA; @@ -3394,7 +3394,7 @@ export const NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA = /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * - * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUES_LTE_CA. + * @deprecated Use NET_HOST_CONNECTION_SUBTYPE_VALUE_LTE_CA. */ export const NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA = TMP_NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA; @@ -3520,7 +3520,7 @@ const TMP_HTTPFLAVORVALUES_QUIC = 'QUIC'; * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. * - * @deprecated Use HTTP_FLAVOR_VALUES_HTTP_1_0. + * @deprecated Use HTTP_FLAVOR_VALUE_HTTP_1_0. */ export const HTTPFLAVORVALUES_HTTP_1_0 = TMP_HTTPFLAVORVALUES_HTTP_1_0; @@ -3529,7 +3529,7 @@ export const HTTPFLAVORVALUES_HTTP_1_0 = TMP_HTTPFLAVORVALUES_HTTP_1_0; * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. * - * @deprecated Use HTTP_FLAVOR_VALUES_HTTP_1_1. + * @deprecated Use HTTP_FLAVOR_VALUE_HTTP_1_1. */ export const HTTPFLAVORVALUES_HTTP_1_1 = TMP_HTTPFLAVORVALUES_HTTP_1_1; @@ -3538,7 +3538,7 @@ export const HTTPFLAVORVALUES_HTTP_1_1 = TMP_HTTPFLAVORVALUES_HTTP_1_1; * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. * - * @deprecated Use HTTP_FLAVOR_VALUES_HTTP_2_0. + * @deprecated Use HTTP_FLAVOR_VALUE_HTTP_2_0. */ export const HTTPFLAVORVALUES_HTTP_2_0 = TMP_HTTPFLAVORVALUES_HTTP_2_0; @@ -3547,7 +3547,7 @@ export const HTTPFLAVORVALUES_HTTP_2_0 = TMP_HTTPFLAVORVALUES_HTTP_2_0; * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. * - * @deprecated Use HTTP_FLAVOR_VALUES_SPDY. + * @deprecated Use HTTP_FLAVOR_VALUE_SPDY. */ export const HTTPFLAVORVALUES_SPDY = TMP_HTTPFLAVORVALUES_SPDY; @@ -3556,7 +3556,7 @@ export const HTTPFLAVORVALUES_SPDY = TMP_HTTPFLAVORVALUES_SPDY; * * Note: If `net.transport` is not specified, it can be assumed to be `IP.TCP` except if `http.flavor` is `QUIC`, in which case `IP.UDP` is assumed. * - * @deprecated Use HTTP_FLAVOR_VALUES_QUIC. + * @deprecated Use HTTP_FLAVOR_VALUE_QUIC. */ export const HTTPFLAVORVALUES_QUIC = TMP_HTTPFLAVORVALUES_QUIC; @@ -3611,7 +3611,7 @@ const TMP_MESSAGINGDESTINATIONKINDVALUES_TOPIC = 'topic'; /** * The kind of message destination. * - * @deprecated Use MESSAGING_DESTINATION_KIND_VALUES_QUEUE. + * @deprecated Use MESSAGING_DESTINATION_KIND_VALUE_QUEUE. */ export const MESSAGINGDESTINATIONKINDVALUES_QUEUE = TMP_MESSAGINGDESTINATIONKINDVALUES_QUEUE; @@ -3619,7 +3619,7 @@ export const MESSAGINGDESTINATIONKINDVALUES_QUEUE = /** * The kind of message destination. * - * @deprecated Use MESSAGING_DESTINATION_KIND_VALUES_TOPIC. + * @deprecated Use MESSAGING_DESTINATION_KIND_VALUE_TOPIC. */ export const MESSAGINGDESTINATIONKINDVALUES_TOPIC = TMP_MESSAGINGDESTINATIONKINDVALUES_TOPIC; @@ -3662,7 +3662,7 @@ const TMP_MESSAGINGOPERATIONVALUES_PROCESS = 'process'; /** * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. * - * @deprecated Use MESSAGING_OPERATION_VALUES_RECEIVE. + * @deprecated Use MESSAGING_OPERATION_VALUE_RECEIVE. */ export const MESSAGINGOPERATIONVALUES_RECEIVE = TMP_MESSAGINGOPERATIONVALUES_RECEIVE; @@ -3670,7 +3670,7 @@ export const MESSAGINGOPERATIONVALUES_RECEIVE = /** * A string identifying the kind of message consumption as defined in the [Operation names](#operation-names) section above. If the operation is "send", this attribute MUST NOT be set, since the operation can be inferred from the span kind in that case. * - * @deprecated Use MESSAGING_OPERATION_VALUES_PROCESS. + * @deprecated Use MESSAGING_OPERATION_VALUE_PROCESS. */ export const MESSAGINGOPERATIONVALUES_PROCESS = TMP_MESSAGINGOPERATIONVALUES_PROCESS; @@ -3728,14 +3728,14 @@ const TMP_RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED = 16; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_OK. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_OK. */ export const RPCGRPCSTATUSCODEVALUES_OK = TMP_RPCGRPCSTATUSCODEVALUES_OK; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_CANCELLED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_CANCELLED. */ export const RPCGRPCSTATUSCODEVALUES_CANCELLED = TMP_RPCGRPCSTATUSCODEVALUES_CANCELLED; @@ -3743,7 +3743,7 @@ export const RPCGRPCSTATUSCODEVALUES_CANCELLED = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNKNOWN. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN. */ export const RPCGRPCSTATUSCODEVALUES_UNKNOWN = TMP_RPCGRPCSTATUSCODEVALUES_UNKNOWN; @@ -3751,7 +3751,7 @@ export const RPCGRPCSTATUSCODEVALUES_UNKNOWN = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_INVALID_ARGUMENT. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT. */ export const RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT = TMP_RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT; @@ -3759,7 +3759,7 @@ export const RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_DEADLINE_EXCEEDED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED. */ export const RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED = TMP_RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED; @@ -3767,7 +3767,7 @@ export const RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_NOT_FOUND. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND. */ export const RPCGRPCSTATUSCODEVALUES_NOT_FOUND = TMP_RPCGRPCSTATUSCODEVALUES_NOT_FOUND; @@ -3775,7 +3775,7 @@ export const RPCGRPCSTATUSCODEVALUES_NOT_FOUND = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_ALREADY_EXISTS. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS. */ export const RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS = TMP_RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS; @@ -3783,7 +3783,7 @@ export const RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_PERMISSION_DENIED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED. */ export const RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED = TMP_RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED; @@ -3791,7 +3791,7 @@ export const RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_RESOURCE_EXHAUSTED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED. */ export const RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED = TMP_RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED; @@ -3799,7 +3799,7 @@ export const RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_FAILED_PRECONDITION. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION. */ export const RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION = TMP_RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION; @@ -3807,7 +3807,7 @@ export const RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_ABORTED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_ABORTED. */ export const RPCGRPCSTATUSCODEVALUES_ABORTED = TMP_RPCGRPCSTATUSCODEVALUES_ABORTED; @@ -3815,7 +3815,7 @@ export const RPCGRPCSTATUSCODEVALUES_ABORTED = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_OUT_OF_RANGE. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE. */ export const RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE = TMP_RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE; @@ -3823,7 +3823,7 @@ export const RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNIMPLEMENTED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED. */ export const RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED = TMP_RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED; @@ -3831,7 +3831,7 @@ export const RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_INTERNAL. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_INTERNAL. */ export const RPCGRPCSTATUSCODEVALUES_INTERNAL = TMP_RPCGRPCSTATUSCODEVALUES_INTERNAL; @@ -3839,7 +3839,7 @@ export const RPCGRPCSTATUSCODEVALUES_INTERNAL = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNAVAILABLE. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE. */ export const RPCGRPCSTATUSCODEVALUES_UNAVAILABLE = TMP_RPCGRPCSTATUSCODEVALUES_UNAVAILABLE; @@ -3847,7 +3847,7 @@ export const RPCGRPCSTATUSCODEVALUES_UNAVAILABLE = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_DATA_LOSS. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS. */ export const RPCGRPCSTATUSCODEVALUES_DATA_LOSS = TMP_RPCGRPCSTATUSCODEVALUES_DATA_LOSS; @@ -3855,7 +3855,7 @@ export const RPCGRPCSTATUSCODEVALUES_DATA_LOSS = /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @deprecated Use RPC_GRPC_STATUS_CODE_VALUES_UNAUTHENTICATED. + * @deprecated Use RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED. */ export const RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED = TMP_RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED; @@ -3957,14 +3957,14 @@ const TMP_MESSAGETYPEVALUES_RECEIVED = 'RECEIVED'; /** * Whether this is a received or sent message. * - * @deprecated Use MESSAGE_TYPE_VALUES_SENT. + * @deprecated Use MESSAGE_TYPE_VALUE_SENT. */ export const MESSAGETYPEVALUES_SENT = TMP_MESSAGETYPEVALUES_SENT; /** * Whether this is a received or sent message. * - * @deprecated Use MESSAGE_TYPE_VALUES_RECEIVED. + * @deprecated Use MESSAGE_TYPE_VALUE_RECEIVED. */ export const MESSAGETYPEVALUES_RECEIVED = TMP_MESSAGETYPEVALUES_RECEIVED; From 25eeaeebfa70d195214b50b488702b69c55620c3 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 08:34:00 -0400 Subject: [PATCH 39/47] Remove ATTR prefix from enum values --- scripts/semconv/templates/registry/stable/attributes.ts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/semconv/templates/registry/stable/attributes.ts.j2 b/scripts/semconv/templates/registry/stable/attributes.ts.j2 index ebb98586d0..3e0b6e815a 100644 --- a/scripts/semconv/templates/registry/stable/attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/attributes.ts.j2 @@ -35,7 +35,7 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => /** * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. */ -export const ATTR_{{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; +export const {{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; {% endfor %} {% endif %} From 9e4887d2c8d61fa713204a2867ce69c17f72d16e Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 08:47:09 -0400 Subject: [PATCH 40/47] Update semconv readme --- .../README.md | 43 +++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/README.md b/packages/opentelemetry-semantic-conventions/README.md index bf2700473b..0c43afa155 100644 --- a/packages/opentelemetry-semantic-conventions/README.md +++ b/packages/opentelemetry-semantic-conventions/README.md @@ -11,14 +11,51 @@ Semantic Convention constants for use with the OpenTelemetry SDK/APIs. [This doc npm install --save @opentelemetry/semantic-conventions ``` +## Import Structure + +This package has 2 separate exports. +The main export (`@opentelemetry/semantic-conventions`) includes only stable semantic conventions. +It is subject to the restrictions of semantic versioning 2.0. +The `/incubating` export (`@opentelemetry/semantic-conventions/incubating`) contains all stable and unstable semantic conventions. +It is _NOT_ subject to the restrictions of semantic versioning and _MAY_ contain breaking changes in minor releases. + ## Usage +### Stable SemConv + +```ts +import { + ATTR_NETWORK_PEER_ADDRESS, + ATTR_NETWORK_PEER_PORT, + ATTR_NETWORK_PROTOCOL_NAME, + ATTR_NETWORK_PROTOCOL_VERSION, + ATTR_NETWORK_TRANSPORT_VALUE_TCP, +} from '@opentelemetry/semantic-conventions'; + +const span = tracer.startSpan(spanName, spanOptions) + .setAttributes({ + [ATTR_NETWORK_PEER_ADDRESS]: 'localhost', + [ATTR_NETWORK_PEER_PORT]: 8080, + [ATTR_NETWORK_PROTOCOL_NAME]: 'http', + [ATTR_NETWORK_PROTOCOL_VERSION]: '1.1', + [ATTR_NETWORK_TRANSPORT]: ATTR_NETWORK_TRANSPORT_VALUE_TCP, + }); +``` + +### Unstable SemConv + ```ts -import { SemanticAttributes } from '@opentelemetry/semantic-conventions'; +import { + ATTR_PROCESS_COMMAND, + ATTR_PROCESS_COMMAND_ARGS, + ATTR_PROCESS_COMMAND_LINE, +} from '@opentelemetry/semantic-conventions/incubating'; -const span = tracer.startSpan().startSpan(spanName, spanOptions) +const span = tracer.startSpan(spanName, spanOptions) .setAttributes({ - [SemanticAttributes.NET_PEER_NAME]: 'localhost', + [ATTR_PROCESS_COMMAND]: 'cat', + [ATTR_PROCESS_COMMAND_ARGS]: ['file1', 'file2'], + [ATTR_CONTAINER_COMMAND_LINE]: 'cat file1 file2', }); ``` From 29d7efb69c7e3ba78aaa4ea41c8df90bd005747a Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 08:56:35 -0400 Subject: [PATCH 41/47] Run code gen --- .../src/experimental_attributes.ts | 782 +++++++++--------- .../src/experimental_metrics.ts | 2 +- .../src/stable_attributes.ts | 114 +-- .../src/stable_metrics.ts | 2 +- 4 files changed, 450 insertions(+), 450 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index 4bcfe74ea8..52320703e2 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -15,7 +15,7 @@ */ //---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/stable/attributes.ts.j2 //---------------------------------------------------------------------------------------------------------- /** @@ -44,17 +44,17 @@ export const ATTR_ANDROID_STATE = 'android.state'; /** * Enum value "background" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ATTR_ANDROID_STATE_VALUE_BACKGROUND = "background"; +export const ANDROID_STATE_VALUE_BACKGROUND = "background"; /** * Enum value "created" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ATTR_ANDROID_STATE_VALUE_CREATED = "created"; +export const ANDROID_STATE_VALUE_CREATED = "created"; /** * Enum value "foreground" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ATTR_ANDROID_STATE_VALUE_FOREGROUND = "foreground"; +export const ANDROID_STATE_VALUE_FOREGROUND = "foreground"; /** * The provenance filename of the built attestation which directly relates to the build artifact filename. This filename **SHOULD** accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. @@ -297,12 +297,12 @@ export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; /** * Enum value "ec2" for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. */ -export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_EC2 = "ec2"; +export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = "ec2"; /** * Enum value "fargate" for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. */ -export const ATTR_AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; +export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). @@ -559,17 +559,17 @@ export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'; /** * Enum value "build" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = "build"; +export const CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = "build"; /** * Enum value "deploy" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = "deploy"; +export const CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = "deploy"; /** * Enum value "test" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; +export const CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; /** * The cloud account ID the resource is assigned to. @@ -599,142 +599,142 @@ export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; /** * Enum value "alibaba_cloud_ecs" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs"; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs"; /** * Enum value "alibaba_cloud_fc" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = "alibaba_cloud_fc"; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = "alibaba_cloud_fc"; /** * Enum value "alibaba_cloud_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift"; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift"; /** * Enum value "aws_app_runner" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = "aws_app_runner"; +export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = "aws_app_runner"; /** * Enum value "aws_ec2" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EC2 = "aws_ec2"; +export const CLOUD_PLATFORM_VALUE_AWS_EC2 = "aws_ec2"; /** * Enum value "aws_ecs" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ECS = "aws_ecs"; +export const CLOUD_PLATFORM_VALUE_AWS_ECS = "aws_ecs"; /** * Enum value "aws_eks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_EKS = "aws_eks"; +export const CLOUD_PLATFORM_VALUE_AWS_EKS = "aws_eks"; /** * Enum value "aws_elastic_beanstalk" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk"; +export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk"; /** * Enum value "aws_lambda" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_LAMBDA = "aws_lambda"; +export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = "aws_lambda"; /** * Enum value "aws_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = "aws_openshift"; +export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = "aws_openshift"; /** * Enum value "azure_aks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks"; +export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks"; /** * Enum value "azure_app_service" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure_app_service"; +export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure_app_service"; /** * Enum value "azure_container_apps" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure_container_apps"; +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure_container_apps"; /** * Enum value "azure_container_instances" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure_container_instances"; +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure_container_instances"; /** * Enum value "azure_functions" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure_functions"; +export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure_functions"; /** * Enum value "azure_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure_openshift"; +export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure_openshift"; /** * Enum value "azure_vm" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_AZURE_VM = "azure_vm"; +export const CLOUD_PLATFORM_VALUE_AZURE_VM = "azure_vm"; /** * Enum value "gcp_app_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = "gcp_app_engine"; +export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = "gcp_app_engine"; /** * Enum value "gcp_bare_metal_solution" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution"; +export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution"; /** * Enum value "gcp_cloud_functions" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions"; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions"; /** * Enum value "gcp_cloud_run" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = "gcp_cloud_run"; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = "gcp_cloud_run"; /** * Enum value "gcp_compute_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = "gcp_compute_engine"; +export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = "gcp_compute_engine"; /** * Enum value "gcp_kubernetes_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine"; +export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine"; /** * Enum value "gcp_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = "gcp_openshift"; +export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = "gcp_openshift"; /** * Enum value "ibm_cloud_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift"; +export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift"; /** * Enum value "tencent_cloud_cvm" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = "tencent_cloud_cvm"; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = "tencent_cloud_cvm"; /** * Enum value "tencent_cloud_eks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = "tencent_cloud_eks"; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = "tencent_cloud_eks"; /** * Enum value "tencent_cloud_scf" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const ATTR_CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf"; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf"; /** * Name of the cloud provider. @@ -746,37 +746,37 @@ export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; /** * Enum value "alibaba_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; +export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; /** * Enum value "aws" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_AWS = "aws"; +export const CLOUD_PROVIDER_VALUE_AWS = "aws"; /** * Enum value "azure" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_AZURE = "azure"; +export const CLOUD_PROVIDER_VALUE_AZURE = "azure"; /** * Enum value "gcp" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_GCP = "gcp"; +export const CLOUD_PROVIDER_VALUE_GCP = "gcp"; /** * Enum value "heroku" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_HEROKU = "heroku"; +export const CLOUD_PROVIDER_VALUE_HEROKU = "heroku"; /** * Enum value "ibm_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_IBM_CLOUD = "ibm_cloud"; +export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = "ibm_cloud"; /** * Enum value "tencent_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const ATTR_CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; +export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; /** * The geographical region the resource is running. @@ -924,17 +924,17 @@ export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; /** * Enum value "kernel" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const ATTR_CONTAINER_CPU_STATE_VALUE_KERNEL = "kernel"; +export const CONTAINER_CPU_STATE_VALUE_KERNEL = "kernel"; /** * Enum value "system" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const ATTR_CONTAINER_CPU_STATE_VALUE_SYSTEM = "system"; +export const CONTAINER_CPU_STATE_VALUE_SYSTEM = "system"; /** * Enum value "user" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const ATTR_CONTAINER_CPU_STATE_VALUE_USER = "user"; +export const CONTAINER_CPU_STATE_VALUE_USER = "user"; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. @@ -1017,42 +1017,42 @@ export const ATTR_CPU_MODE = 'cpu.mode'; /** * Enum value "idle" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_IDLE = "idle"; +export const CPU_MODE_VALUE_IDLE = "idle"; /** * Enum value "interrupt" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_INTERRUPT = "interrupt"; +export const CPU_MODE_VALUE_INTERRUPT = "interrupt"; /** * Enum value "iowait" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_IOWAIT = "iowait"; +export const CPU_MODE_VALUE_IOWAIT = "iowait"; /** * Enum value "kernel" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_KERNEL = "kernel"; +export const CPU_MODE_VALUE_KERNEL = "kernel"; /** * Enum value "nice" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_NICE = "nice"; +export const CPU_MODE_VALUE_NICE = "nice"; /** * Enum value "steal" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_STEAL = "steal"; +export const CPU_MODE_VALUE_STEAL = "steal"; /** * Enum value "system" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_SYSTEM = "system"; +export const CPU_MODE_VALUE_SYSTEM = "system"; /** * Enum value "user" for attribute {@link ATTR_CPU_MODE}. */ -export const ATTR_CPU_MODE_VALUE_USER = "user"; +export const CPU_MODE_VALUE_USER = "user"; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). @@ -1064,57 +1064,57 @@ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_lev /** * Enum value "all" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = "all"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = "all"; /** * Enum value "any" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = "any"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = "any"; /** * Enum value "each_quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = "each_quorum"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = "each_quorum"; /** * Enum value "local_one" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = "local_one"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = "local_one"; /** * Enum value "local_quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = "local_quorum"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = "local_quorum"; /** * Enum value "local_serial" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = "local_serial"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = "local_serial"; /** * Enum value "one" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = "one"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = "one"; /** * Enum value "quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = "quorum"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = "quorum"; /** * Enum value "serial" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = "serial"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = "serial"; /** * Enum value "three" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = "three"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = "three"; /** * Enum value "two" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; /** * The data center of the coordinating node for a query. @@ -1177,12 +1177,12 @@ export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state'; /** * Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = "idle"; +export const DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = "idle"; /** * Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; +export const DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; /** * Deprecated, use `db.client.connection.pool.name` instead. @@ -1205,12 +1205,12 @@ export const ATTR_DB_CLIENT_CONNECTIONS_STATE = 'db.client.connections.state'; /** * Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = "idle"; +export const DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = "idle"; /** * Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. */ -export const ATTR_DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; +export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; /** * The name of a collection (table, container) within the database. @@ -1249,12 +1249,12 @@ export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; /** * Enum value "direct" for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = "direct"; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = "direct"; /** * Enum value "gateway" for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; /** * Deprecated, use `db.collection.name` instead. @@ -1275,77 +1275,77 @@ export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; /** * Enum value "Batch" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = "Batch"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = "Batch"; /** * Enum value "Create" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = "Create"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = "Create"; /** * Enum value "Delete" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = "Delete"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = "Delete"; /** * Enum value "Execute" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = "Execute"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = "Execute"; /** * Enum value "ExecuteJavaScript" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = "ExecuteJavaScript"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = "ExecuteJavaScript"; /** * Enum value "Head" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = "Head"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = "Head"; /** * Enum value "HeadFeed" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = "HeadFeed"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = "HeadFeed"; /** * Enum value "Invalid" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = "Invalid"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = "Invalid"; /** * Enum value "Patch" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = "Patch"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = "Patch"; /** * Enum value "Query" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = "Query"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = "Query"; /** * Enum value "QueryPlan" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = "QueryPlan"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = "QueryPlan"; /** * Enum value "Read" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = "Read"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = "Read"; /** * Enum value "ReadFeed" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = "ReadFeed"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = "ReadFeed"; /** * Enum value "Replace" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = "Replace"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = "Replace"; /** * Enum value "Upsert" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; /** * RU consumed for that operation @@ -1545,272 +1545,272 @@ export const ATTR_DB_SYSTEM = 'db.system'; /** * Enum value "adabas" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_ADABAS = "adabas"; +export const DB_SYSTEM_VALUE_ADABAS = "adabas"; /** * Enum value "cache" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CACHE = "cache"; +export const DB_SYSTEM_VALUE_CACHE = "cache"; /** * Enum value "cassandra" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CASSANDRA = "cassandra"; +export const DB_SYSTEM_VALUE_CASSANDRA = "cassandra"; /** * Enum value "clickhouse" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CLICKHOUSE = "clickhouse"; +export const DB_SYSTEM_VALUE_CLICKHOUSE = "clickhouse"; /** * Enum value "cloudscape" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_CLOUDSCAPE = "cloudscape"; +export const DB_SYSTEM_VALUE_CLOUDSCAPE = "cloudscape"; /** * Enum value "cockroachdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COCKROACHDB = "cockroachdb"; +export const DB_SYSTEM_VALUE_COCKROACHDB = "cockroachdb"; /** * Enum value "coldfusion" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COLDFUSION = "coldfusion"; +export const DB_SYSTEM_VALUE_COLDFUSION = "coldfusion"; /** * Enum value "cosmosdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COSMOSDB = "cosmosdb"; +export const DB_SYSTEM_VALUE_COSMOSDB = "cosmosdb"; /** * Enum value "couchbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COUCHBASE = "couchbase"; +export const DB_SYSTEM_VALUE_COUCHBASE = "couchbase"; /** * Enum value "couchdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_COUCHDB = "couchdb"; +export const DB_SYSTEM_VALUE_COUCHDB = "couchdb"; /** * Enum value "db2" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_DB2 = "db2"; +export const DB_SYSTEM_VALUE_DB2 = "db2"; /** * Enum value "derby" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_DERBY = "derby"; +export const DB_SYSTEM_VALUE_DERBY = "derby"; /** * Enum value "dynamodb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_DYNAMODB = "dynamodb"; +export const DB_SYSTEM_VALUE_DYNAMODB = "dynamodb"; /** * Enum value "edb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_EDB = "edb"; +export const DB_SYSTEM_VALUE_EDB = "edb"; /** * Enum value "elasticsearch" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_ELASTICSEARCH = "elasticsearch"; +export const DB_SYSTEM_VALUE_ELASTICSEARCH = "elasticsearch"; /** * Enum value "filemaker" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_FILEMAKER = "filemaker"; +export const DB_SYSTEM_VALUE_FILEMAKER = "filemaker"; /** * Enum value "firebird" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_FIREBIRD = "firebird"; +export const DB_SYSTEM_VALUE_FIREBIRD = "firebird"; /** * Enum value "firstsql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_FIRSTSQL = "firstsql"; +export const DB_SYSTEM_VALUE_FIRSTSQL = "firstsql"; /** * Enum value "geode" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_GEODE = "geode"; +export const DB_SYSTEM_VALUE_GEODE = "geode"; /** * Enum value "h2" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_H2 = "h2"; +export const DB_SYSTEM_VALUE_H2 = "h2"; /** * Enum value "hanadb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HANADB = "hanadb"; +export const DB_SYSTEM_VALUE_HANADB = "hanadb"; /** * Enum value "hbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HBASE = "hbase"; +export const DB_SYSTEM_VALUE_HBASE = "hbase"; /** * Enum value "hive" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HIVE = "hive"; +export const DB_SYSTEM_VALUE_HIVE = "hive"; /** * Enum value "hsqldb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_HSQLDB = "hsqldb"; +export const DB_SYSTEM_VALUE_HSQLDB = "hsqldb"; /** * Enum value "influxdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INFLUXDB = "influxdb"; +export const DB_SYSTEM_VALUE_INFLUXDB = "influxdb"; /** * Enum value "informix" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INFORMIX = "informix"; +export const DB_SYSTEM_VALUE_INFORMIX = "informix"; /** * Enum value "ingres" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INGRES = "ingres"; +export const DB_SYSTEM_VALUE_INGRES = "ingres"; /** * Enum value "instantdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INSTANTDB = "instantdb"; +export const DB_SYSTEM_VALUE_INSTANTDB = "instantdb"; /** * Enum value "interbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INTERBASE = "interbase"; +export const DB_SYSTEM_VALUE_INTERBASE = "interbase"; /** * Enum value "intersystems_cache" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = "intersystems_cache"; +export const DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = "intersystems_cache"; /** * Enum value "mariadb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MARIADB = "mariadb"; +export const DB_SYSTEM_VALUE_MARIADB = "mariadb"; /** * Enum value "maxdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MAXDB = "maxdb"; +export const DB_SYSTEM_VALUE_MAXDB = "maxdb"; /** * Enum value "memcached" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MEMCACHED = "memcached"; +export const DB_SYSTEM_VALUE_MEMCACHED = "memcached"; /** * Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MONGODB = "mongodb"; +export const DB_SYSTEM_VALUE_MONGODB = "mongodb"; /** * Enum value "mssql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MSSQL = "mssql"; +export const DB_SYSTEM_VALUE_MSSQL = "mssql"; /** * Enum value "mssqlcompact" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MSSQLCOMPACT = "mssqlcompact"; +export const DB_SYSTEM_VALUE_MSSQLCOMPACT = "mssqlcompact"; /** * Enum value "mysql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_MYSQL = "mysql"; +export const DB_SYSTEM_VALUE_MYSQL = "mysql"; /** * Enum value "neo4j" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_NEO4J = "neo4j"; +export const DB_SYSTEM_VALUE_NEO4J = "neo4j"; /** * Enum value "netezza" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_NETEZZA = "netezza"; +export const DB_SYSTEM_VALUE_NETEZZA = "netezza"; /** * Enum value "opensearch" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_OPENSEARCH = "opensearch"; +export const DB_SYSTEM_VALUE_OPENSEARCH = "opensearch"; /** * Enum value "oracle" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_ORACLE = "oracle"; +export const DB_SYSTEM_VALUE_ORACLE = "oracle"; /** * Enum value "other_sql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_OTHER_SQL = "other_sql"; +export const DB_SYSTEM_VALUE_OTHER_SQL = "other_sql"; /** * Enum value "pervasive" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_PERVASIVE = "pervasive"; +export const DB_SYSTEM_VALUE_PERVASIVE = "pervasive"; /** * Enum value "pointbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_POINTBASE = "pointbase"; +export const DB_SYSTEM_VALUE_POINTBASE = "pointbase"; /** * Enum value "postgresql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_POSTGRESQL = "postgresql"; +export const DB_SYSTEM_VALUE_POSTGRESQL = "postgresql"; /** * Enum value "progress" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_PROGRESS = "progress"; +export const DB_SYSTEM_VALUE_PROGRESS = "progress"; /** * Enum value "redis" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_REDIS = "redis"; +export const DB_SYSTEM_VALUE_REDIS = "redis"; /** * Enum value "redshift" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_REDSHIFT = "redshift"; +export const DB_SYSTEM_VALUE_REDSHIFT = "redshift"; /** * Enum value "spanner" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_SPANNER = "spanner"; +export const DB_SYSTEM_VALUE_SPANNER = "spanner"; /** * Enum value "sqlite" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_SQLITE = "sqlite"; +export const DB_SYSTEM_VALUE_SQLITE = "sqlite"; /** * Enum value "sybase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_SYBASE = "sybase"; +export const DB_SYSTEM_VALUE_SYBASE = "sybase"; /** * Enum value "teradata" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_TERADATA = "teradata"; +export const DB_SYSTEM_VALUE_TERADATA = "teradata"; /** * Enum value "trino" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_TRINO = "trino"; +export const DB_SYSTEM_VALUE_TRINO = "trino"; /** * Enum value "vertica" for attribute {@link ATTR_DB_SYSTEM}. */ -export const ATTR_DB_SYSTEM_VALUE_VERTICA = "vertica"; +export const DB_SYSTEM_VALUE_VERTICA = "vertica"; /** * Deprecated, no replacement at this time. @@ -1869,12 +1869,12 @@ export const ATTR_DEPLOYMENT_STATUS = 'deployment.status'; /** * Enum value "failed" for attribute {@link ATTR_DEPLOYMENT_STATUS}. */ -export const ATTR_DEPLOYMENT_STATUS_VALUE_FAILED = "failed"; +export const DEPLOYMENT_STATUS_VALUE_FAILED = "failed"; /** * Enum value "succeeded" for attribute {@link ATTR_DEPLOYMENT_STATUS}. */ -export const ATTR_DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; +export const DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -1938,12 +1938,12 @@ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; /** * Enum value "read" for attribute {@link ATTR_DISK_IO_DIRECTION}. */ -export const ATTR_DISK_IO_DIRECTION_VALUE_READ = "read"; +export const DISK_IO_DIRECTION_VALUE_READ = "read"; /** * Enum value "write" for attribute {@link ATTR_DISK_IO_DIRECTION}. */ -export const ATTR_DISK_IO_DIRECTION_VALUE_WRITE = "write"; +export const DISK_IO_DIRECTION_VALUE_WRITE = "write"; /** * The name being queried. @@ -2028,17 +2028,17 @@ export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; /** * Enum value "delete" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_DELETE = "delete"; +export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = "delete"; /** * Enum value "edit" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_EDIT = "edit"; +export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = "edit"; /** * Enum value "insert" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const ATTR_FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; +export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). @@ -2084,27 +2084,27 @@ export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; /** * Enum value "alibaba_cloud" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; +export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; /** * Enum value "aws" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AWS = "aws"; +export const FAAS_INVOKED_PROVIDER_VALUE_AWS = "aws"; /** * Enum value "azure" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_AZURE = "azure"; +export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = "azure"; /** * Enum value "gcp" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_GCP = "gcp"; +export const FAAS_INVOKED_PROVIDER_VALUE_GCP = "gcp"; /** * Enum value "tencent_cloud" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const ATTR_FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; +export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; /** * The cloud region of the invoked function. @@ -2165,27 +2165,27 @@ export const ATTR_FAAS_TRIGGER = 'faas.trigger'; /** * Enum value "datasource" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_DATASOURCE = "datasource"; +export const FAAS_TRIGGER_VALUE_DATASOURCE = "datasource"; /** * Enum value "http" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_HTTP = "http"; +export const FAAS_TRIGGER_VALUE_HTTP = "http"; /** * Enum value "other" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_OTHER = "other"; +export const FAAS_TRIGGER_VALUE_OTHER = "other"; /** * Enum value "pubsub" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_PUBSUB = "pubsub"; +export const FAAS_TRIGGER_VALUE_PUBSUB = "pubsub"; /** * Enum value "timer" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const ATTR_FAAS_TRIGGER_VALUE_TIMER = "timer"; +export const FAAS_TRIGGER_VALUE_TIMER = "timer"; /** * The immutable version of the function being executed. @@ -2329,12 +2329,12 @@ export const ATTR_GEN_AI_OPERATION_NAME = 'gen_ai.operation.name'; /** * Enum value "chat" for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const ATTR_GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat"; +export const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat"; /** * Enum value "text_completion" for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const ATTR_GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; +export const GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; /** * The full prompt sent to the GenAI model. @@ -2442,22 +2442,22 @@ export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system'; /** * Enum value "anthropic" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_ANTHROPIC = "anthropic"; +export const GEN_AI_SYSTEM_VALUE_ANTHROPIC = "anthropic"; /** * Enum value "cohere" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_COHERE = "cohere"; +export const GEN_AI_SYSTEM_VALUE_COHERE = "cohere"; /** * Enum value "openai" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_OPENAI = "openai"; +export const GEN_AI_SYSTEM_VALUE_OPENAI = "openai"; /** * Enum value "vertex_ai" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const ATTR_GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; +export const GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; /** * The type of token being counted. @@ -2469,12 +2469,12 @@ export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type'; /** * Enum value "input" for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_INPUT = "input"; +export const GEN_AI_TOKEN_TYPE_VALUE_INPUT = "input"; /** * Enum value "output" for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const ATTR_GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; +export const GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; /** * Deprecated, use `gen_ai.usage.output_tokens` instead. @@ -2518,12 +2518,12 @@ export const ATTR_GO_MEMORY_TYPE = 'go.memory.type'; /** * Enum value "other" for attribute {@link ATTR_GO_MEMORY_TYPE}. */ -export const ATTR_GO_MEMORY_TYPE_VALUE_OTHER = "other"; +export const GO_MEMORY_TYPE_VALUE_OTHER = "other"; /** * Enum value "stack" for attribute {@link ATTR_GO_MEMORY_TYPE}. */ -export const ATTR_GO_MEMORY_TYPE_VALUE_STACK = "stack"; +export const GO_MEMORY_TYPE_VALUE_STACK = "stack"; /** * The GraphQL document being executed. @@ -2551,17 +2551,17 @@ export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; /** * Enum value "mutation" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = "mutation"; +export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = "mutation"; /** * Enum value "query" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_QUERY = "query"; +export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = "query"; /** * Enum value "subscription" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const ATTR_GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; +export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; /** * Unique identifier for the application @@ -2594,42 +2594,42 @@ export const ATTR_HOST_ARCH = 'host.arch'; /** * Enum value "amd64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_AMD64 = "amd64"; +export const HOST_ARCH_VALUE_AMD64 = "amd64"; /** * Enum value "arm32" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_ARM32 = "arm32"; +export const HOST_ARCH_VALUE_ARM32 = "arm32"; /** * Enum value "arm64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_ARM64 = "arm64"; +export const HOST_ARCH_VALUE_ARM64 = "arm64"; /** * Enum value "ia64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_IA64 = "ia64"; +export const HOST_ARCH_VALUE_IA64 = "ia64"; /** * Enum value "ppc32" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_PPC32 = "ppc32"; +export const HOST_ARCH_VALUE_PPC32 = "ppc32"; /** * Enum value "ppc64" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_PPC64 = "ppc64"; +export const HOST_ARCH_VALUE_PPC64 = "ppc64"; /** * Enum value "s390x" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_S390X = "s390x"; +export const HOST_ARCH_VALUE_S390X = "s390x"; /** * Enum value "x86" for attribute {@link ATTR_HOST_ARCH}. */ -export const ATTR_HOST_ARCH_VALUE_X86 = "x86"; +export const HOST_ARCH_VALUE_X86 = "x86"; /** * The amount of level 2 memory cache available to the processor (in Bytes). @@ -2754,12 +2754,12 @@ export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; /** * Enum value "active" for attribute {@link ATTR_HTTP_CONNECTION_STATE}. */ -export const ATTR_HTTP_CONNECTION_STATE_VALUE_ACTIVE = "active"; +export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = "active"; /** * Enum value "idle" for attribute {@link ATTR_HTTP_CONNECTION_STATE}. */ -export const ATTR_HTTP_CONNECTION_STATE_VALUE_IDLE = "idle"; +export const HTTP_CONNECTION_STATE_VALUE_IDLE = "idle"; /** * Deprecated, use `network.protocol.name` instead. @@ -2773,32 +2773,32 @@ export const ATTR_HTTP_FLAVOR = 'http.flavor'; /** * Enum value "1.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_0 = "1.0"; +export const HTTP_FLAVOR_VALUE_HTTP_1_0 = "1.0"; /** * Enum value "1.1" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_1_1 = "1.1"; +export const HTTP_FLAVOR_VALUE_HTTP_1_1 = "1.1"; /** * Enum value "2.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_2_0 = "2.0"; +export const HTTP_FLAVOR_VALUE_HTTP_2_0 = "2.0"; /** * Enum value "3.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_HTTP_3_0 = "3.0"; +export const HTTP_FLAVOR_VALUE_HTTP_3_0 = "3.0"; /** * Enum value "QUIC" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_QUIC = "QUIC"; +export const HTTP_FLAVOR_VALUE_QUIC = "QUIC"; /** * Enum value "SPDY" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const ATTR_HTTP_FLAVOR_VALUE_SPDY = "SPDY"; +export const HTTP_FLAVOR_VALUE_SPDY = "SPDY"; /** * Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. @@ -2950,27 +2950,27 @@ export const ATTR_IOS_STATE = 'ios.state'; /** * Enum value "active" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_ACTIVE = "active"; +export const IOS_STATE_VALUE_ACTIVE = "active"; /** * Enum value "background" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_BACKGROUND = "background"; +export const IOS_STATE_VALUE_BACKGROUND = "background"; /** * Enum value "foreground" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_FOREGROUND = "foreground"; +export const IOS_STATE_VALUE_FOREGROUND = "foreground"; /** * Enum value "inactive" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_INACTIVE = "inactive"; +export const IOS_STATE_VALUE_INACTIVE = "inactive"; /** * Enum value "terminate" for attribute {@link ATTR_IOS_STATE}. */ -export const ATTR_IOS_STATE_VALUE_TERMINATE = "terminate"; +export const IOS_STATE_VALUE_TERMINATE = "terminate"; /** * Name of the buffer pool. @@ -3191,12 +3191,12 @@ export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state'; /** * Enum value "reclaimable" for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = "reclaimable"; +export const LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = "reclaimable"; /** * Enum value "unreclaimable" for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const ATTR_LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; +export const LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; /** * The basename of the file. @@ -3236,12 +3236,12 @@ export const ATTR_LOG_IOSTREAM = 'log.iostream'; /** * Enum value "stderr" for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const ATTR_LOG_IOSTREAM_VALUE_STDERR = "stderr"; +export const LOG_IOSTREAM_VALUE_STDERR = "stderr"; /** * Enum value "stdout" for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const ATTR_LOG_IOSTREAM_VALUE_STDOUT = "stdout"; +export const LOG_IOSTREAM_VALUE_STDOUT = "stdout"; /** * The complete orignal Log Record. @@ -3292,12 +3292,12 @@ export const ATTR_MESSAGE_TYPE = 'message.type'; /** * Enum value "RECEIVED" for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const ATTR_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; +export const MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; /** * Enum value "SENT" for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const ATTR_MESSAGE_TYPE_VALUE_SENT = "SENT"; +export const MESSAGE_TYPE_VALUE_SENT = "SENT"; /** * Deprecated, use `rpc.message.uncompressed_size` instead. @@ -3556,32 +3556,32 @@ export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type'; /** * Enum value "create" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_CREATE = "create"; +export const MESSAGING_OPERATION_TYPE_VALUE_CREATE = "create"; /** * Enum value "deliver" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_DELIVER = "deliver"; +export const MESSAGING_OPERATION_TYPE_VALUE_DELIVER = "deliver"; /** * Enum value "process" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PROCESS = "process"; +export const MESSAGING_OPERATION_TYPE_VALUE_PROCESS = "process"; /** * Enum value "publish" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = "publish"; +export const MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = "publish"; /** * Enum value "receive" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = "receive"; +export const MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = "receive"; /** * Enum value "settle" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const ATTR_MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; +export const MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; /** * RabbitMQ message routing key. @@ -3616,12 +3616,12 @@ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.con /** * Enum value "broadcasting" for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = "broadcasting"; +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = "broadcasting"; /** * Enum value "clustering" for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering"; +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering"; /** * The delay time level for delay message, which determines the message delay time. @@ -3668,22 +3668,22 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message. /** * Enum value "delay" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = "delay"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = "delay"; /** * Enum value "fifo" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = "fifo"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = "fifo"; /** * Enum value "normal" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = "normal"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = "normal"; /** * Enum value "transaction" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; /** * Namespace of RocketMQ resources, resources in different namespaces are individual. @@ -3711,22 +3711,22 @@ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebu /** * Enum value "abandon" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = "abandon"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = "abandon"; /** * Enum value "complete" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = "complete"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = "complete"; /** * Enum value "dead_letter" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = "dead_letter"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = "dead_letter"; /** * Enum value "defer" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; /** * Number of deliveries that have been attempted for this message. @@ -3754,57 +3754,57 @@ export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; /** * Enum value "activemq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_ACTIVEMQ = "activemq"; +export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = "activemq"; /** * Enum value "aws_sqs" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_AWS_SQS = "aws_sqs"; +export const MESSAGING_SYSTEM_VALUE_AWS_SQS = "aws_sqs"; /** * Enum value "eventgrid" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTGRID = "eventgrid"; +export const MESSAGING_SYSTEM_VALUE_EVENTGRID = "eventgrid"; /** * Enum value "eventhubs" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_EVENTHUBS = "eventhubs"; +export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = "eventhubs"; /** * Enum value "gcp_pubsub" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = "gcp_pubsub"; +export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = "gcp_pubsub"; /** * Enum value "jms" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_JMS = "jms"; +export const MESSAGING_SYSTEM_VALUE_JMS = "jms"; /** * Enum value "kafka" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_KAFKA = "kafka"; +export const MESSAGING_SYSTEM_VALUE_KAFKA = "kafka"; /** * Enum value "pulsar" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_PULSAR = "pulsar"; +export const MESSAGING_SYSTEM_VALUE_PULSAR = "pulsar"; /** * Enum value "rabbitmq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_RABBITMQ = "rabbitmq"; +export const MESSAGING_SYSTEM_VALUE_RABBITMQ = "rabbitmq"; /** * Enum value "rocketmq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_ROCKETMQ = "rocketmq"; +export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = "rocketmq"; /** * Enum value "servicebus" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const ATTR_MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; +export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; /** * Deprecated, use `network.local.address`. @@ -3890,17 +3890,17 @@ export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; /** * Enum value "inet" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const ATTR_NET_SOCK_FAMILY_VALUE_INET = "inet"; +export const NET_SOCK_FAMILY_VALUE_INET = "inet"; /** * Enum value "inet6" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const ATTR_NET_SOCK_FAMILY_VALUE_INET6 = "inet6"; +export const NET_SOCK_FAMILY_VALUE_INET6 = "inet6"; /** * Enum value "unix" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const ATTR_NET_SOCK_FAMILY_VALUE_UNIX = "unix"; +export const NET_SOCK_FAMILY_VALUE_UNIX = "unix"; /** * Deprecated, use `network.local.address`. @@ -3959,27 +3959,27 @@ export const ATTR_NET_TRANSPORT = 'net.transport'; /** * Enum value "inproc" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_INPROC = "inproc"; +export const NET_TRANSPORT_VALUE_INPROC = "inproc"; /** * Enum value "ip_tcp" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_IP_TCP = "ip_tcp"; +export const NET_TRANSPORT_VALUE_IP_TCP = "ip_tcp"; /** * Enum value "ip_udp" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_IP_UDP = "ip_udp"; +export const NET_TRANSPORT_VALUE_IP_UDP = "ip_udp"; /** * Enum value "other" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_OTHER = "other"; +export const NET_TRANSPORT_VALUE_OTHER = "other"; /** * Enum value "pipe" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const ATTR_NET_TRANSPORT_VALUE_PIPE = "pipe"; +export const NET_TRANSPORT_VALUE_PIPE = "pipe"; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. @@ -4019,107 +4019,107 @@ export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; /** * Enum value "cdma" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = "cdma"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = "cdma"; /** * Enum value "cdma2000_1xrtt" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = "cdma2000_1xrtt"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = "cdma2000_1xrtt"; /** * Enum value "edge" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = "edge"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = "edge"; /** * Enum value "ehrpd" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = "ehrpd"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = "ehrpd"; /** * Enum value "evdo_0" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = "evdo_0"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = "evdo_0"; /** * Enum value "evdo_a" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = "evdo_a"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = "evdo_a"; /** * Enum value "evdo_b" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = "evdo_b"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = "evdo_b"; /** * Enum value "gprs" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = "gprs"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = "gprs"; /** * Enum value "gsm" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = "gsm"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = "gsm"; /** * Enum value "hsdpa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = "hsdpa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = "hsdpa"; /** * Enum value "hspa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = "hspa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = "hspa"; /** * Enum value "hspap" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = "hspap"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = "hspap"; /** * Enum value "hsupa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = "hsupa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = "hsupa"; /** * Enum value "iden" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = "iden"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = "iden"; /** * Enum value "iwlan" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = "iwlan"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = "iwlan"; /** * Enum value "lte" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = "lte"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = "lte"; /** * Enum value "lte_ca" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = "lte_ca"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = "lte_ca"; /** * Enum value "nr" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NR = "nr"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = "nr"; /** * Enum value "nrnsa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = "nrnsa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = "nrnsa"; /** * Enum value "td_scdma" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = "td_scdma"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = "td_scdma"; /** * Enum value "umts" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; /** * The internet connection type. @@ -4131,27 +4131,27 @@ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; /** * Enum value "cell" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_CELL = "cell"; +export const NETWORK_CONNECTION_TYPE_VALUE_CELL = "cell"; /** * Enum value "unavailable" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = "unavailable"; +export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = "unavailable"; /** * Enum value "unknown" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = "unknown"; +export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = "unknown"; /** * Enum value "wifi" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIFI = "wifi"; +export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = "wifi"; /** * Enum value "wired" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const ATTR_NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; +export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; /** * The network IO operation direction. @@ -4163,12 +4163,12 @@ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; /** * Enum value "receive" for attribute {@link ATTR_NETWORK_IO_DIRECTION}. */ -export const ATTR_NETWORK_IO_DIRECTION_VALUE_RECEIVE = "receive"; +export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = "receive"; /** * Enum value "transmit" for attribute {@link ATTR_NETWORK_IO_DIRECTION}. */ -export const ATTR_NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; +export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. @@ -4192,12 +4192,12 @@ export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; /** * Enum value "child_of" for attribute {@link ATTR_OPENTRACING_REF_TYPE}. */ -export const ATTR_OPENTRACING_REF_TYPE_VALUE_CHILD_OF = "child_of"; +export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = "child_of"; /** * Enum value "follows_from" for attribute {@link ATTR_OPENTRACING_REF_TYPE}. */ -export const ATTR_OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; +export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; /** * Unique identifier for a particular build or compilation of the operating system. @@ -4230,57 +4230,57 @@ export const ATTR_OS_TYPE = 'os.type'; /** * Enum value "aix" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_AIX = "aix"; +export const OS_TYPE_VALUE_AIX = "aix"; /** * Enum value "darwin" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_DARWIN = "darwin"; +export const OS_TYPE_VALUE_DARWIN = "darwin"; /** * Enum value "dragonflybsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_DRAGONFLYBSD = "dragonflybsd"; +export const OS_TYPE_VALUE_DRAGONFLYBSD = "dragonflybsd"; /** * Enum value "freebsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_FREEBSD = "freebsd"; +export const OS_TYPE_VALUE_FREEBSD = "freebsd"; /** * Enum value "hpux" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_HPUX = "hpux"; +export const OS_TYPE_VALUE_HPUX = "hpux"; /** * Enum value "linux" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_LINUX = "linux"; +export const OS_TYPE_VALUE_LINUX = "linux"; /** * Enum value "netbsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_NETBSD = "netbsd"; +export const OS_TYPE_VALUE_NETBSD = "netbsd"; /** * Enum value "openbsd" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_OPENBSD = "openbsd"; +export const OS_TYPE_VALUE_OPENBSD = "openbsd"; /** * Enum value "solaris" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_SOLARIS = "solaris"; +export const OS_TYPE_VALUE_SOLARIS = "solaris"; /** * Enum value "windows" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_WINDOWS = "windows"; +export const OS_TYPE_VALUE_WINDOWS = "windows"; /** * Enum value "z_os" for attribute {@link ATTR_OS_TYPE}. */ -export const ATTR_OS_TYPE_VALUE_Z_OS = "z_os"; +export const OS_TYPE_VALUE_Z_OS = "z_os"; /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). @@ -4354,12 +4354,12 @@ export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; /** * Enum value "involuntary" for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = "involuntary"; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = "involuntary"; /** * Enum value "voluntary" for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary"; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary"; /** * Deprecated, use `cpu.mode` instead. @@ -4373,17 +4373,17 @@ export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; /** * Enum value "system" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const ATTR_PROCESS_CPU_STATE_VALUE_SYSTEM = "system"; +export const PROCESS_CPU_STATE_VALUE_SYSTEM = "system"; /** * Enum value "user" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const ATTR_PROCESS_CPU_STATE_VALUE_USER = "user"; +export const PROCESS_CPU_STATE_VALUE_USER = "user"; /** * Enum value "wait" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const ATTR_PROCESS_CPU_STATE_VALUE_WAIT = "wait"; +export const PROCESS_CPU_STATE_VALUE_WAIT = "wait"; /** * The date and time the process was created, in ISO 8601 format. @@ -4451,12 +4451,12 @@ export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; /** * Enum value "major" for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = "major"; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = "major"; /** * Enum value "minor" for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; /** * Parent Process identifier (PPID). @@ -4561,82 +4561,82 @@ export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; /** * Enum value "aborted" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = "aborted"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = "aborted"; /** * Enum value "already_exists" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = "already_exists"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = "already_exists"; /** * Enum value "cancelled" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = "cancelled"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = "cancelled"; /** * Enum value "data_loss" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = "data_loss"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = "data_loss"; /** * Enum value "deadline_exceeded" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = "deadline_exceeded"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = "deadline_exceeded"; /** * Enum value "failed_precondition" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = "failed_precondition"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = "failed_precondition"; /** * Enum value "internal" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = "internal"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = "internal"; /** * Enum value "invalid_argument" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = "invalid_argument"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = "invalid_argument"; /** * Enum value "not_found" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = "not_found"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = "not_found"; /** * Enum value "out_of_range" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = "out_of_range"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = "out_of_range"; /** * Enum value "permission_denied" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = "permission_denied"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = "permission_denied"; /** * Enum value "resource_exhausted" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = "resource_exhausted"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = "resource_exhausted"; /** * Enum value "unauthenticated" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = "unauthenticated"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = "unauthenticated"; /** * Enum value "unavailable" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = "unavailable"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = "unavailable"; /** * Enum value "unimplemented" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = "unimplemented"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = "unimplemented"; /** * Enum value "unknown" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown"; /** * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. @@ -4684,87 +4684,87 @@ export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; /** * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OK = 0; +export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; +export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; +export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; +export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; +export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; +export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; +export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; +export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; +export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; +export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; +export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; +export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; +export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; +export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; +export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const ATTR_RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; /** * `error.code` property of response if it is an error response. @@ -4820,12 +4820,12 @@ export const ATTR_RPC_MESSAGE_TYPE = 'rpc.message.type'; /** * Enum value "RECEIVED" for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const ATTR_RPC_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; +export const RPC_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; /** * Enum value "SENT" for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const ATTR_RPC_MESSAGE_TYPE_VALUE_SENT = "SENT"; +export const RPC_MESSAGE_TYPE_VALUE_SENT = "SENT"; /** * Uncompressed size of the message in bytes. @@ -4862,27 +4862,27 @@ export const ATTR_RPC_SYSTEM = 'rpc.system'; /** * Enum value "apache_dubbo" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_APACHE_DUBBO = "apache_dubbo"; +export const RPC_SYSTEM_VALUE_APACHE_DUBBO = "apache_dubbo"; /** * Enum value "connect_rpc" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_CONNECT_RPC = "connect_rpc"; +export const RPC_SYSTEM_VALUE_CONNECT_RPC = "connect_rpc"; /** * Enum value "dotnet_wcf" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_DOTNET_WCF = "dotnet_wcf"; +export const RPC_SYSTEM_VALUE_DOTNET_WCF = "dotnet_wcf"; /** * Enum value "grpc" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_GRPC = "grpc"; +export const RPC_SYSTEM_VALUE_GRPC = "grpc"; /** * Enum value "java_rmi" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const ATTR_RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; +export const RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; /** * The string ID of the service instance. @@ -4969,12 +4969,12 @@ export const ATTR_STATE = 'state'; /** * Enum value "idle" for attribute {@link ATTR_STATE}. */ -export const ATTR_STATE_VALUE_IDLE = "idle"; +export const STATE_VALUE_IDLE = "idle"; /** * Enum value "used" for attribute {@link ATTR_STATE}. */ -export const ATTR_STATE_VALUE_USED = "used"; +export const STATE_VALUE_USED = "used"; /** * The logical CPU number [0..n-1] @@ -4995,37 +4995,37 @@ export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; /** * Enum value "idle" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_IDLE = "idle"; +export const SYSTEM_CPU_STATE_VALUE_IDLE = "idle"; /** * Enum value "interrupt" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_INTERRUPT = "interrupt"; +export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = "interrupt"; /** * Enum value "iowait" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_IOWAIT = "iowait"; +export const SYSTEM_CPU_STATE_VALUE_IOWAIT = "iowait"; /** * Enum value "nice" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_NICE = "nice"; +export const SYSTEM_CPU_STATE_VALUE_NICE = "nice"; /** * Enum value "steal" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_STEAL = "steal"; +export const SYSTEM_CPU_STATE_VALUE_STEAL = "steal"; /** * Enum value "system" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_SYSTEM = "system"; +export const SYSTEM_CPU_STATE_VALUE_SYSTEM = "system"; /** * Enum value "user" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const ATTR_SYSTEM_CPU_STATE_VALUE_USER = "user"; +export const SYSTEM_CPU_STATE_VALUE_USER = "user"; /** * The device identifier @@ -5058,17 +5058,17 @@ export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; /** * Enum value "free" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_FREE = "free"; +export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = "free"; /** * Enum value "reserved" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = "reserved"; +export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = "reserved"; /** * Enum value "used" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; +export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; /** * The filesystem type @@ -5080,32 +5080,32 @@ export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; /** * Enum value "exfat" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = "exfat"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = "exfat"; /** * Enum value "ext4" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = "ext4"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = "ext4"; /** * Enum value "fat32" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = "fat32"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = "fat32"; /** * Enum value "hfsplus" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = "hfsplus"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = "hfsplus"; /** * Enum value "ntfs" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = "ntfs"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = "ntfs"; /** * Enum value "refs" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; /** * The memory state @@ -5117,27 +5117,27 @@ export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; /** * Enum value "buffers" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_BUFFERS = "buffers"; +export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = "buffers"; /** * Enum value "cached" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_CACHED = "cached"; +export const SYSTEM_MEMORY_STATE_VALUE_CACHED = "cached"; /** * Enum value "free" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_FREE = "free"; +export const SYSTEM_MEMORY_STATE_VALUE_FREE = "free"; /** * Enum value "shared" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_SHARED = "shared"; +export const SYSTEM_MEMORY_STATE_VALUE_SHARED = "shared"; /** * Enum value "used" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const ATTR_SYSTEM_MEMORY_STATE_VALUE_USED = "used"; +export const SYSTEM_MEMORY_STATE_VALUE_USED = "used"; /** * A stateless protocol **MUST** **NOT** set this attribute @@ -5149,62 +5149,62 @@ export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; /** * Enum value "close" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE = "close"; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = "close"; /** * Enum value "close_wait" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = "close_wait"; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = "close_wait"; /** * Enum value "closing" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_CLOSING = "closing"; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = "closing"; /** * Enum value "delete" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_DELETE = "delete"; +export const SYSTEM_NETWORK_STATE_VALUE_DELETE = "delete"; /** * Enum value "established" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = "established"; +export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = "established"; /** * Enum value "fin_wait_1" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = "fin_wait_1"; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = "fin_wait_1"; /** * Enum value "fin_wait_2" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = "fin_wait_2"; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = "fin_wait_2"; /** * Enum value "last_ack" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = "last_ack"; +export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = "last_ack"; /** * Enum value "listen" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_LISTEN = "listen"; +export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = "listen"; /** * Enum value "syn_recv" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = "syn_recv"; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = "syn_recv"; /** * Enum value "syn_sent" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = "syn_sent"; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = "syn_sent"; /** * Enum value "time_wait" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const ATTR_SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; +export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; /** * The paging access direction @@ -5216,12 +5216,12 @@ export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; /** * Enum value "in" for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. */ -export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_IN = "in"; +export const SYSTEM_PAGING_DIRECTION_VALUE_IN = "in"; /** * Enum value "out" for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. */ -export const ATTR_SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; +export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; /** * The memory paging state @@ -5233,12 +5233,12 @@ export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; /** * Enum value "free" for attribute {@link ATTR_SYSTEM_PAGING_STATE}. */ -export const ATTR_SYSTEM_PAGING_STATE_VALUE_FREE = "free"; +export const SYSTEM_PAGING_STATE_VALUE_FREE = "free"; /** * Enum value "used" for attribute {@link ATTR_SYSTEM_PAGING_STATE}. */ -export const ATTR_SYSTEM_PAGING_STATE_VALUE_USED = "used"; +export const SYSTEM_PAGING_STATE_VALUE_USED = "used"; /** * The memory paging type @@ -5250,12 +5250,12 @@ export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; /** * Enum value "major" for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MAJOR = "major"; +export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = "major"; /** * Enum value "minor" for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const ATTR_SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; +export const SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) @@ -5267,22 +5267,22 @@ export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; /** * Enum value "defunct" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = "defunct"; +export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = "defunct"; /** * Enum value "running" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_RUNNING = "running"; +export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = "running"; /** * Enum value "sleeping" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = "sleeping"; +export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = "sleeping"; /** * Enum value "stopped" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const ATTR_SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; +export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; /** * Deprecated, use `system.process.status` instead. @@ -5296,22 +5296,22 @@ export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; /** * Enum value "defunct" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = "defunct"; +export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = "defunct"; /** * Enum value "running" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = "running"; +export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = "running"; /** * Enum value "sleeping" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = "sleeping"; +export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = "sleeping"; /** * Enum value "stopped" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const ATTR_SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; +export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; /** * The name of the auto instrumentation agent or distribution, if used. @@ -5347,12 +5347,12 @@ export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status'; /** * Enum value "fail" for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. */ -export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_FAIL = "fail"; +export const TEST_CASE_RESULT_STATUS_VALUE_FAIL = "fail"; /** * Enum value "pass" for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. */ -export const ATTR_TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; +export const TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; /** * The human readable name of a [test suite](https://en.wikipedia.org/wiki/Test_suite). @@ -5371,32 +5371,32 @@ export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status'; /** * Enum value "aborted" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_ABORTED = "aborted"; +export const TEST_SUITE_RUN_STATUS_VALUE_ABORTED = "aborted"; /** * Enum value "failure" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_FAILURE = "failure"; +export const TEST_SUITE_RUN_STATUS_VALUE_FAILURE = "failure"; /** * Enum value "in_progress" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = "in_progress"; +export const TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = "in_progress"; /** * Enum value "skipped" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = "skipped"; +export const TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = "skipped"; /** * Enum value "success" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = "success"; +export const TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = "success"; /** * Enum value "timed_out" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const ATTR_TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; +export const TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; /** * Current "managed" thread ID (as opposed to OS thread ID). @@ -5538,12 +5538,12 @@ export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; /** * Enum value "ssl" for attribute {@link ATTR_TLS_PROTOCOL_NAME}. */ -export const ATTR_TLS_PROTOCOL_NAME_VALUE_SSL = "ssl"; +export const TLS_PROTOCOL_NAME_VALUE_SSL = "ssl"; /** * Enum value "tls" for attribute {@link ATTR_TLS_PROTOCOL_NAME}. */ -export const ATTR_TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; +export const TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) @@ -5770,22 +5770,22 @@ export const ATTR_V8JS_GC_TYPE = 'v8js.gc.type'; /** * Enum value "incremental" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_INCREMENTAL = "incremental"; +export const V8JS_GC_TYPE_VALUE_INCREMENTAL = "incremental"; /** * Enum value "major" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_MAJOR = "major"; +export const V8JS_GC_TYPE_VALUE_MAJOR = "major"; /** * Enum value "minor" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_MINOR = "minor"; +export const V8JS_GC_TYPE_VALUE_MINOR = "minor"; /** * Enum value "weakcb" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const ATTR_V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb"; +export const V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb"; /** * The name of the space type of heap memory. @@ -5799,27 +5799,27 @@ export const ATTR_V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name'; /** * Enum value "code_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = "code_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = "code_space"; /** * Enum value "large_object_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = "large_object_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = "large_object_space"; /** * Enum value "map_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = "map_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = "map_space"; /** * Enum value "new_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = "new_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = "new_space"; /** * Enum value "old_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const ATTR_V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; /** * The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system. @@ -5869,12 +5869,12 @@ export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type'; /** * Enum value "branch" for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. */ -export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = "branch"; +export const VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = "branch"; /** * Enum value "tag" for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. */ -export const ATTR_VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; +export const VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; /** * The [URL](https://en.wikipedia.org/wiki/URL) of the repository providing the complete address in order to locate and identify the repository. diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts index 27c63e9907..666f74a827 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -15,7 +15,7 @@ */ //---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/register/stable/metrics.ts.j2 //---------------------------------------------------------------------------------------------------------- /** diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index 28aab19b5b..d6ee4f39cb 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -15,7 +15,7 @@ */ //---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/stable/attributes.ts.j2 //---------------------------------------------------------------------------------------------------------- /** @@ -26,22 +26,22 @@ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.re /** * Enum value "acquired" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = "acquired"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = "acquired"; /** * Enum value "endpoint_limiter" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = "endpoint_limiter"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = "endpoint_limiter"; /** * Enum value "global_limiter" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = "global_limiter"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = "global_limiter"; /** * Enum value "request_canceled" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = "request_canceled"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = "request_canceled"; /** * The language of the telemetry SDK. @@ -51,62 +51,62 @@ export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; /** * Enum value "cpp" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_CPP = "cpp"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = "cpp"; /** * Enum value "dotnet" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = "dotnet"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = "dotnet"; /** * Enum value "erlang" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = "erlang"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = "erlang"; /** * Enum value "go" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_GO = "go"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = "go"; /** * Enum value "java" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = "java"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = "java"; /** * Enum value "nodejs" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = "nodejs"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = "nodejs"; /** * Enum value "php" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PHP = "php"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = "php"; /** * Enum value "python" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = "python"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = "python"; /** * Enum value "ruby" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = "ruby"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = "ruby"; /** * Enum value "rust" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_RUST = "rust"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = "rust"; /** * Enum value "swift" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = "swift"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = "swift"; /** * Enum value "webjs" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; /** * The name of the telemetry SDK as defined above. @@ -138,22 +138,22 @@ export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnost /** * Enum value "aborted" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = "aborted"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = "aborted"; /** * Enum value "handled" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = "handled"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = "handled"; /** * Enum value "skipped" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = "skipped"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = "skipped"; /** * Enum value "unhandled" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandled"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandled"; /** * Rate limiting policy name. @@ -178,12 +178,12 @@ export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_st /** * Enum value "failure" for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = "failure"; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = "failure"; /** * Enum value "success" for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -227,7 +227,7 @@ export const ATTR_ERROR_TYPE = 'error.type'; /** * Enum value "_OTHER" for attribute {@link ATTR_ERROR_TYPE}. */ -export const ATTR_ERROR_TYPE_VALUE_OTHER = "_OTHER"; +export const ERROR_TYPE_VALUE_OTHER = "_OTHER"; /** * **SHOULD** be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. @@ -298,52 +298,52 @@ export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; /** * Enum value "_OTHER" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_OTHER = "_OTHER"; +export const HTTP_REQUEST_METHOD_VALUE_OTHER = "_OTHER"; /** * Enum value "CONNECT" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_CONNECT = "CONNECT"; +export const HTTP_REQUEST_METHOD_VALUE_CONNECT = "CONNECT"; /** * Enum value "DELETE" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_DELETE = "DELETE"; +export const HTTP_REQUEST_METHOD_VALUE_DELETE = "DELETE"; /** * Enum value "GET" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_GET = "GET"; +export const HTTP_REQUEST_METHOD_VALUE_GET = "GET"; /** * Enum value "HEAD" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_HEAD = "HEAD"; +export const HTTP_REQUEST_METHOD_VALUE_HEAD = "HEAD"; /** * Enum value "OPTIONS" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_OPTIONS = "OPTIONS"; +export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = "OPTIONS"; /** * Enum value "PATCH" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_PATCH = "PATCH"; +export const HTTP_REQUEST_METHOD_VALUE_PATCH = "PATCH"; /** * Enum value "POST" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_POST = "POST"; +export const HTTP_REQUEST_METHOD_VALUE_POST = "POST"; /** * Enum value "PUT" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_PUT = "PUT"; +export const HTTP_REQUEST_METHOD_VALUE_PUT = "PUT"; /** * Enum value "TRACE" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const ATTR_HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; +export const HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; /** * Original HTTP method sent by the client in the request line. @@ -408,12 +408,12 @@ export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; /** * Enum value "heap" for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const ATTR_JVM_MEMORY_TYPE_VALUE_HEAP = "heap"; +export const JVM_MEMORY_TYPE_VALUE_HEAP = "heap"; /** * Enum value "non_heap" for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const ATTR_JVM_MEMORY_TYPE_VALUE_NON_HEAP = "non_heap"; +export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = "non_heap"; /** * Whether the thread is daemon or not. @@ -428,32 +428,32 @@ export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; /** * Enum value "blocked" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_BLOCKED = "blocked"; +export const JVM_THREAD_STATE_VALUE_BLOCKED = "blocked"; /** * Enum value "new" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_NEW = "new"; +export const JVM_THREAD_STATE_VALUE_NEW = "new"; /** * Enum value "runnable" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_RUNNABLE = "runnable"; +export const JVM_THREAD_STATE_VALUE_RUNNABLE = "runnable"; /** * Enum value "terminated" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_TERMINATED = "terminated"; +export const JVM_THREAD_STATE_VALUE_TERMINATED = "terminated"; /** * Enum value "timed_waiting" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting"; +export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting"; /** * Enum value "waiting" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const ATTR_JVM_THREAD_STATE_VALUE_WAITING = "waiting"; +export const JVM_THREAD_STATE_VALUE_WAITING = "waiting"; /** * Local address of the network connection - IP address or Unix domain socket name. @@ -503,27 +503,27 @@ export const ATTR_NETWORK_TRANSPORT = 'network.transport'; /** * Enum value "pipe" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_PIPE = "pipe"; +export const NETWORK_TRANSPORT_VALUE_PIPE = "pipe"; /** * Enum value "quic" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_QUIC = "quic"; +export const NETWORK_TRANSPORT_VALUE_QUIC = "quic"; /** * Enum value "tcp" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_TCP = "tcp"; +export const NETWORK_TRANSPORT_VALUE_TCP = "tcp"; /** * Enum value "udp" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_UDP = "udp"; +export const NETWORK_TRANSPORT_VALUE_UDP = "udp"; /** * Enum value "unix" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const ATTR_NETWORK_TRANSPORT_VALUE_UNIX = "unix"; +export const NETWORK_TRANSPORT_VALUE_UNIX = "unix"; /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. @@ -535,12 +535,12 @@ export const ATTR_NETWORK_TYPE = 'network.type'; /** * Enum value "ipv4" for attribute {@link ATTR_NETWORK_TYPE}. */ -export const ATTR_NETWORK_TYPE_VALUE_IPV4 = "ipv4"; +export const NETWORK_TYPE_VALUE_IPV4 = "ipv4"; /** * Enum value "ipv6" for attribute {@link ATTR_NETWORK_TYPE}. */ -export const ATTR_NETWORK_TYPE_VALUE_IPV6 = "ipv6"; +export const NETWORK_TYPE_VALUE_IPV6 = "ipv6"; /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). @@ -560,12 +560,12 @@ export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; /** * Enum value "ERROR" for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const ATTR_OTEL_STATUS_CODE_VALUE_ERROR = "ERROR"; +export const OTEL_STATUS_CODE_VALUE_ERROR = "ERROR"; /** * Enum value "OK" for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const ATTR_OTEL_STATUS_CODE_VALUE_OK = "OK"; +export const OTEL_STATUS_CODE_VALUE_OK = "OK"; /** * Description of the Status if it has a value, otherwise not set. @@ -606,17 +606,17 @@ export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; /** * Enum value "app_shutdown" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = "app_shutdown"; +export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = "app_shutdown"; /** * Enum value "normal_closure" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = "normal_closure"; +export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = "normal_closure"; /** * Enum value "timeout" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const ATTR_SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; +export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) @@ -626,17 +626,17 @@ export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; /** * Enum value "long_polling" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ATTR_SIGNALR_TRANSPORT_VALUE_LONG_POLLING = "long_polling"; +export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = "long_polling"; /** * Enum value "server_sent_events" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ATTR_SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = "server_sent_events"; +export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = "server_sent_events"; /** * Enum value "web_sockets" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const ATTR_SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets"; +export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets"; /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component diff --git a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts index 0a89ed83d6..d3accf42a0 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts @@ -15,7 +15,7 @@ */ //---------------------------------------------------------------------------------------------------------- -// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2 +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/register/stable/metrics.ts.j2 //---------------------------------------------------------------------------------------------------------- /** From 478bb0941c5f7a32dbdce34c848e72d075052213 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 09:03:12 -0400 Subject: [PATCH 42/47] Add examples to docstring --- .../src/experimental_attributes.ts | 1242 +++++++++++++++++ .../src/stable_attributes.ts | 188 +++ .../templates/registry/stable/docstring.ts.j2 | 8 +- 3 files changed, 1437 insertions(+), 1 deletion(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index 52320703e2..c1cd0cb39d 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -21,6 +21,10 @@ /** * The ID of a running ECS task. The ID **MUST** be extracted from `task.arn`. * + * @example 10838bed-421f-43ef-870a-f43feacbbb5b + * + * @example 23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; @@ -28,6 +32,10 @@ export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; /** * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). * + * @example 33 + * + * @example 32 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; @@ -59,6 +67,14 @@ export const ANDROID_STATE_VALUE_FOREGROUND = "foreground"; /** * The provenance filename of the built attestation which directly relates to the build artifact filename. This filename **SHOULD** accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. * + * @example golang-binary-amd64-v0.1.0.attestation + * + * @example docker-image-amd64-v0.1.0.intoto.json1 + * + * @example release-1.tar.gz.attestation + * + * @example file-name-package.tar.gz.intoto.json1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename'; @@ -66,6 +82,8 @@ export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename /** * The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the software attestation space also refer to this as the [digest](https://github.com/in-toto/attestation/blob/main/spec/README.md#in-toto-attestation-framework-spec). * + * @example 1b31dfcd5b7f9267bf2ff47651df1cfb9147b9e4df1f335accf65b4cda498408 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash'; @@ -73,6 +91,8 @@ export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash'; /** * The id of the build [software attestation](https://slsa.dev/attestation-model). * + * @example 123 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id'; @@ -80,6 +100,14 @@ export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id'; /** * The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name. * + * @example golang-binary-amd64-v0.1.0 + * + * @example docker-image-amd64-v0.1.0 + * + * @example release-1.tar.gz + * + * @example file-name-package.tar.gz + * * @note This file name can also act as the [Package Name](https://slsa.dev/spec/v1.0/terminology#package-model) * in cases where the package ecosystem maps accordingly. * Additionally, the artifact [can be published](https://slsa.dev/spec/v1.0/terminology#software-supply-chain) @@ -92,6 +120,8 @@ export const ATTR_ARTIFACT_FILENAME = 'artifact.filename'; /** * The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity. * + * @example 9ff4c52759e2c4ac70b7d517bc7fcdc1cda631ca0045271ddd1b192544f8a3e9 + * * @note The specific algorithm used to create the cryptographic hash value is * not defined. In situations where an artifact has multiple * cryptographic hashes, it is up to the implementer to choose which @@ -108,6 +138,10 @@ export const ATTR_ARTIFACT_HASH = 'artifact.hash'; /** * The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact. * + * @example pkg:github/package-url/purl-spec@1209109710924 + * + * @example pkg:npm/foo@12.12.3 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_PURL = 'artifact.purl'; @@ -115,6 +149,12 @@ export const ATTR_ARTIFACT_PURL = 'artifact.purl'; /** * The version of the artifact. * + * @example v0.1.0 + * + * @example 1.2.1 + * + * @example 122691-build + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_VERSION = 'artifact.version'; @@ -122,6 +162,8 @@ export const ATTR_ARTIFACT_VERSION = 'artifact.version'; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. * + * @example { "AttributeName": "string", "AttributeType": "string" } + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions'; @@ -129,6 +171,10 @@ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_d /** * The value of the `AttributesToGet` request parameter. * + * @example lives + * + * @example id + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get'; @@ -143,6 +189,8 @@ export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. * + * @example { "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table": { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName": "string", "WriteCapacityUnits": number } + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity'; @@ -150,6 +198,8 @@ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capaci /** * The value of the `Count` response parameter. * + * @example 10 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; @@ -157,6 +207,10 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; /** * The value of the `ExclusiveStartTableName` request parameter. * + * @example Users + * + * @example CatsTable + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table'; @@ -164,6 +218,8 @@ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_s /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. * + * @example { "Create": { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } } + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates'; @@ -171,6 +227,8 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.gl /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field * + * @example { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } } + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes'; @@ -178,6 +236,8 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_s /** * The value of the `IndexName` request parameter. * + * @example name_to_group + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; @@ -185,6 +245,8 @@ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. * + * @example { "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] } + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics'; @@ -192,6 +254,8 @@ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_coll /** * The value of the `Limit` request parameter. * + * @example 10 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; @@ -199,6 +263,8 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; /** * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. * + * @example { "IndexArn": "string", "IndexName": "string", "IndexSizeBytes": number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" } } + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes'; @@ -206,6 +272,12 @@ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_sec /** * The value of the `ProjectionExpression` request parameter. * + * @example Title + * + * @example Title, Price, Color + * + * @example Title, Description, RelatedItems, ProductReviews + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; @@ -213,6 +285,10 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; /** * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. * + * @example 1.0 + * + * @example 2.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity'; @@ -220,6 +296,10 @@ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisi /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. * + * @example 1.0 + * + * @example 2.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity'; @@ -234,6 +314,8 @@ export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; /** * The value of the `ScannedCount` response parameter. * + * @example 50 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; @@ -241,6 +323,8 @@ export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; /** * The value of the `Segment` request parameter. * + * @example 10 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; @@ -248,6 +332,10 @@ export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; /** * The value of the `Select` request parameter. * + * @example ALL_ATTRIBUTES + * + * @example COUNT + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; @@ -255,6 +343,8 @@ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; /** * The number of items in the `TableNames` response parameter. * + * @example 20 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; @@ -262,6 +352,10 @@ export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; /** * The keys in the `RequestItems` object field. * + * @example Users + * + * @example Cats + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; @@ -269,6 +363,8 @@ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; /** * The value of the `TotalSegments` request parameter. * + * @example 100 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; @@ -276,6 +372,8 @@ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; /** * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). * + * @example arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; @@ -283,6 +381,8 @@ export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; /** * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). * + * @example arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; @@ -307,6 +407,10 @@ export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). * + * @example arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b + * + * @example arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; @@ -314,6 +418,8 @@ export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; /** * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. * + * @example opentelemetry-family + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; @@ -321,6 +427,10 @@ export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; /** * The revision for the task definition used to create the ECS task. * + * @example 8 + * + * @example 26 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; @@ -328,6 +438,8 @@ export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; /** * The ARN of an EKS cluster. * + * @example arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; @@ -335,6 +447,8 @@ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; /** * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). * + * @example arn:aws:lambda:us-east-1:123456:function:myfunction:myalias + * * @note This may be different from `cloud.resource_id` if an alias is involved. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -344,6 +458,8 @@ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; /** * The Amazon Resource Name(s) (ARN) of the AWS log group(s). * + * @example arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:* + * * @note See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -353,6 +469,10 @@ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; /** * The name(s) of the AWS log group(s) an application is writing to. * + * @example /aws/lambda/my-function + * + * @example opentelemetry-service + * * @note Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -362,6 +482,8 @@ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; /** * The ARN(s) of the AWS log stream(s). * + * @example arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b + * * @note See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -371,6 +493,8 @@ export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; /** * The name(s) of the AWS log stream(s) an application is writing to. * + * @example logs/main/10838bed-421f-43ef-870a-f43feacbbb5b + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; @@ -378,6 +502,10 @@ export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; /** * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. * + * @example 79b9da39-b7ae-508a-a6bc-864b2829c622 + * + * @example C9ER4AJX75574TDJ + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; @@ -385,6 +513,8 @@ export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; /** * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. * + * @example some-bucket-name + * * @note The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. * This applies to almost all S3 operations except `list-buckets`. * @@ -395,6 +525,8 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; /** * The source object (in the form `bucket`/`key`) for the copy operation. * + * @example someFile.yml + * * @note The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter * of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html). * This applies in particular to the following operations: @@ -409,6 +541,8 @@ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; /** * The delete request container that specifies the objects to be deleted. * + * @example Objects=[{Key=string,VersionId=string},{Key=string,VersionId=string}],Quiet=boolean + * * @note The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation. * The `delete` attribute corresponds to the `--delete` parameter of the * [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). @@ -420,6 +554,8 @@ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; /** * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. * + * @example someFile.yml + * * @note The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter. * This applies in particular to the following operations: * @@ -444,6 +580,8 @@ export const ATTR_AWS_S3_KEY = 'aws.s3.key'; /** * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. * + * @example 3456 + * * @note The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) * and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations. * The `part_number` attribute corresponds to the `--part-number` parameter of the @@ -456,6 +594,8 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; /** * Upload ID that identifies the multipart upload. * + * @example dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ + * * @note The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter * of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations. * This applies in particular to the following operations: @@ -473,6 +613,8 @@ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; /** * The unique identifier of the service request. It's generated by the Azure service and returned with the response. * + * @example 00000000-0000-0000-0000-000000000000 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id'; @@ -480,6 +622,12 @@ export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id'; /** * Array of brand name and version separated by a space * + * @example Not A;Brand 99 + * + * @example Chromium 99 + * + * @example Chrome 99 + * * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -489,6 +637,14 @@ export const ATTR_BROWSER_BRANDS = 'browser.brands'; /** * Preferred language of the user using the browser * + * @example en + * + * @example en-US + * + * @example fr + * + * @example fr-FR + * * @note This value is intended to be taken from the Navigator API `navigator.language`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -507,6 +663,12 @@ export const ATTR_BROWSER_MOBILE = 'browser.mobile'; /** * The platform on which the browser is running * + * @example Windows + * + * @example macOS + * + * @example Android + * * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API **SHOULD** **NOT** be used instead and this attribute **SHOULD** be left unset in order for the values to be consistent. * The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. * @@ -517,6 +679,14 @@ export const ATTR_BROWSER_PLATFORM = 'browser.platform'; /** * The human readable name of the pipeline within a CI/CD system. * + * @example Build and Test + * + * @example Lint + * + * @example Deploy Go Project + * + * @example deploy_to_environment + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name'; @@ -524,6 +694,8 @@ export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name'; /** * The unique identifier of a pipeline run within a CI/CD system. * + * @example 120912 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id'; @@ -531,6 +703,14 @@ export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id'; /** * The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://en.wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures. * + * @example Run GoLang Linter + * + * @example Go Build + * + * @example go-test + * + * @example deploy_binary + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name'; @@ -538,6 +718,8 @@ export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name'; /** * The unique identifier of a task run within a pipeline. * + * @example 12097 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id'; @@ -545,6 +727,8 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id'; /** * The [URL](https://en.wikipedia.org/wiki/URL) of the pipeline run providing the complete address in order to locate and identify the pipeline run. * + * @example https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763/job/26920038674?pr=1075 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url.full'; @@ -552,6 +736,12 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url. /** * The type of the task within a pipeline. * + * @example build + * + * @example test + * + * @example deploy + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'; @@ -574,6 +764,10 @@ export const CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; /** * The cloud account ID the resource is assigned to. * + * @example 111111111111 + * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; @@ -581,6 +775,8 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; /** * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. * + * @example us-east-1c + * * @note Availability zones are called "zones" on Alibaba Cloud and Google Cloud. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -781,6 +977,10 @@ export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; /** * The geographical region the resource is running. * + * @example us-central1 + * + * @example us-east-1 + * * @note Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -790,6 +990,12 @@ export const ATTR_CLOUD_REGION = 'cloud.region'; /** * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP) * + * @example arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function + * + * @example //run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID + * + * @example /subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/ + * * @note On some cloud providers, it may not be possible to determine the full ID at startup, * so it may be necessary to set `cloud.resource_id` as a span attribute instead. * @@ -815,6 +1021,10 @@ export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. * + * @example 123e4567-e89b-12d3-a456-426614174000 + * + * @example 0001 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; @@ -822,6 +1032,12 @@ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. * + * @example https://github.com/cloudevents + * + * @example /cloudevents/spec/pull/123 + * + * @example my-service + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; @@ -829,6 +1045,8 @@ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. * + * @example "1.0" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'; @@ -836,6 +1054,8 @@ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_versi /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). * + * @example "mynewfile.jpg" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; @@ -843,6 +1063,10 @@ export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. * + * @example com.github.pull_request.opened + * + * @example com.example.object.deleted.v2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; @@ -850,6 +1074,8 @@ export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; /** * The column number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. * + * @example 16 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_COLUMN = 'code.column'; @@ -857,6 +1083,8 @@ export const ATTR_CODE_COLUMN = 'code.column'; /** * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). * + * @example "/usr/local/MyApplication/content_root/app/index.php" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_FILEPATH = 'code.filepath'; @@ -864,6 +1092,8 @@ export const ATTR_CODE_FILEPATH = 'code.filepath'; /** * The method or function name, or equivalent (usually rightmost part of the code unit's name). * + * @example "serveRequest" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_FUNCTION = 'code.function'; @@ -871,6 +1101,8 @@ export const ATTR_CODE_FUNCTION = 'code.function'; /** * The line number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. * + * @example 42 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_LINENO = 'code.lineno'; @@ -878,6 +1110,8 @@ export const ATTR_CODE_LINENO = 'code.lineno'; /** * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. * + * @example "com.example.MyHttpService" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_NAMESPACE = 'code.namespace'; @@ -885,6 +1119,8 @@ export const ATTR_CODE_NAMESPACE = 'code.namespace'; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. * + * @example "at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; @@ -892,6 +1128,8 @@ export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; /** * The command used to run the container (i.e. the command name). * + * @example otelcontribcol + * * @note If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -901,6 +1139,8 @@ export const ATTR_CONTAINER_COMMAND = 'container.command'; /** * All the command arguments (including the command/executable itself) run by the container. [2] * + * @example otelcontribcol, --config, config.yaml + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; @@ -908,6 +1148,8 @@ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; /** * The full command run by the container as a single string representing the full command. [2] * + * @example otelcontribcol --config config.yaml + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; @@ -915,6 +1157,10 @@ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; /** * Deprecated, use `cpu.mode` instead. * + * @example user + * + * @example kernel + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `cpu.mode` @@ -939,6 +1185,8 @@ export const CONTAINER_CPU_STATE_VALUE_USER = "user"; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. * + * @example a3bf90e006b2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_ID = 'container.id'; @@ -946,6 +1194,8 @@ export const ATTR_CONTAINER_ID = 'container.id'; /** * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. * + * @example sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f + * * @note Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. * The ID is assigned by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. @@ -957,6 +1207,8 @@ export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; /** * Name of the image the container was built on. * + * @example gcr.io/opentelemetry/operator + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; @@ -964,6 +1216,10 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; /** * Repo digests of the container image as provided by the container runtime. * + * @example example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb + * + * @example internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578 + * * @note [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -973,6 +1229,10 @@ export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. * + * @example v1.27.1 + * + * @example 3.5.7-0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; @@ -980,6 +1240,8 @@ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; /** * Container labels, `` being the label name, the value being the label value. * + * @example container.label.app=nginx + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; @@ -987,6 +1249,8 @@ export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; /** * Deprecated, use `container.label` instead. * + * @example container.label.app=nginx + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `container.label`. @@ -996,6 +1260,8 @@ export const ATTR_CONTAINER_LABELS = (key: string) => `container.labels.${key}`; /** * Container name used by container runtime. * + * @example opentelemetry-autoconf + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_NAME = 'container.name'; @@ -1003,6 +1269,12 @@ export const ATTR_CONTAINER_NAME = 'container.name'; /** * The container runtime managing this container. * + * @example docker + * + * @example containerd + * + * @example rkt + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; @@ -1010,6 +1282,10 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; /** * The mode of the CPU * + * @example user + * + * @example system + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CPU_MODE = 'cpu.mode'; @@ -1119,6 +1395,8 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; /** * The data center of the coordinating node for a query. * + * @example "us-west-2" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; @@ -1126,6 +1404,8 @@ export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; /** * The ID of the coordinating node for a query. * + * @example "be13faa2-8574-4d71-926d-27f16cf8a7af" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; @@ -1140,6 +1420,8 @@ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; /** * The fetch size used for paging, i.e. how many rows will be returned at once. * + * @example 5000 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; @@ -1147,6 +1429,10 @@ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. * + * @example 0 + * + * @example 2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; @@ -1154,6 +1440,8 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.specu /** * Deprecated, use `db.collection.name` instead. * + * @example "mytable" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. @@ -1163,6 +1451,8 @@ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; /** * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation **SHOULD** use a combination of parameters that would make the name unique, for example, combining attributes `server.address`, `server.port`, and `db.namespace`, formatted as `server.address:server.port/db.namespace`. Instrumentations that generate connection pool name following different patterns **SHOULD** document it. * + * @example myDataSource + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.name'; @@ -1170,6 +1460,8 @@ export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.na /** * The state of a connection in the pool * + * @example idle + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state'; @@ -1187,6 +1479,8 @@ export const DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; /** * Deprecated, use `db.client.connection.pool.name` instead. * + * @example myDataSource + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.pool.name`. @@ -1196,6 +1490,8 @@ export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool. /** * Deprecated, use `db.client.connection.state` instead. * + * @example idle + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.state`. @@ -1215,6 +1511,10 @@ export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; /** * The name of a collection (table, container) within the database. * + * @example public.users + * + * @example customers + * * @note It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. * If the collection name is parsed from the query text, it **SHOULD** be the first collection name found in the query and it **SHOULD** match the value provided in the query text including any schema and database name prefix. * For batch operations, if the individual operations are known to have the same collection name then that collection name **SHOULD** be used, otherwise `db.collection.name` **SHOULD** **NOT** be captured. @@ -1226,6 +1526,8 @@ export const ATTR_DB_COLLECTION_NAME = 'db.collection.name'; /** * Deprecated, use `server.address`, `server.port` attributes instead. * + * @example "Server=(localdb)\\v11.0;Integrated Security=true;" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * "Replaced by `server.address` and `server.port`." @@ -1235,6 +1537,8 @@ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; /** * Unique Cosmos client instance id. * + * @example "3ba4827d-4422-483f-b59f-85b74211c11d" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; @@ -1259,6 +1563,8 @@ export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; /** * Deprecated, use `db.collection.name` instead. * + * @example "mytable" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. @@ -1350,6 +1656,10 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; /** * RU consumed for that operation * + * @example 46.18 + * + * @example 1.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; @@ -1364,6 +1674,10 @@ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_cont /** * Cosmos DB status code. * + * @example 200 + * + * @example 201 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; @@ -1371,6 +1685,10 @@ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; /** * Cosmos DB sub status code. * + * @example 1000 + * + * @example 1002 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; @@ -1378,6 +1696,8 @@ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; /** * Deprecated, use `db.namespace` instead. * + * @example e9106fc68e3044f0b1475b04bf4ffd5f + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.namespace`. @@ -1387,6 +1707,8 @@ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name /** * Represents the human-readable identifier of the node/instance to which a request was routed. * + * @example instance-0000000001 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; @@ -1394,6 +1716,10 @@ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; /** * A dynamic value in the url path. * + * @example db.elasticsearch.path_parts.index=test-index + * + * @example db.elasticsearch.path_parts.doc_id=123 + * * @note Many Elasticsearch url paths allow dynamic values. These **SHOULD** be recorded in span attributes in the format `db.elasticsearch.path_parts.`, where `` is the url path part name. The implementation **SHOULD** reference the [elasticsearch schema](https://raw.githubusercontent.com/elastic/elasticsearch-specification/main/output/schema/schema.json) in order to map the path part values to their names. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1403,6 +1729,8 @@ export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsear /** * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. * + * @example "mysql-e26b99z.example.com" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. @@ -1412,6 +1740,10 @@ export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; /** * Removed, no replacement at this time. * + * @example org.postgresql.Driver + * + * @example com.microsoft.sqlserver.jdbc.SQLServerDriver + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Removed as not used. @@ -1421,6 +1753,8 @@ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; /** * Deprecated, use `db.collection.name` instead. * + * @example "mytable" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. @@ -1430,6 +1764,8 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; /** * Deprecated, SQL Server instance is now populated as a part of `db.namespace` attribute. * + * @example "MSSQLSERVER" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Deprecated, no replacement at this time. @@ -1439,6 +1775,10 @@ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; /** * Deprecated, use `db.namespace` instead. * + * @example customers + * + * @example main + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.namespace`. @@ -1448,6 +1788,10 @@ export const ATTR_DB_NAME = 'db.name'; /** * The name of the database, fully qualified within the server address and port. * + * @example customers + * + * @example test.users + * * @note If a database system has multiple namespace components, they **SHOULD** be concatenated (potentially using database system specific conventions) from most general to most specific namespace component, and more specific namespaces **SHOULD** **NOT** be captured without the more general namespaces, to ensure that "startswith" queries for the more general namespaces will be valid. * Semantic conventions for individual database systems **SHOULD** document what `db.namespace` means in the context of that system. * It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. @@ -1459,6 +1803,12 @@ export const ATTR_DB_NAMESPACE = 'db.namespace'; /** * Deprecated, use `db.operation.name` instead. * + * @example findAndModify + * + * @example HMSET + * + * @example SELECT + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.operation.name`. @@ -1468,6 +1818,12 @@ export const ATTR_DB_OPERATION = 'db.operation'; /** * The number of queries included in a [batch operation](/docs/database/database-spans.md#batch-operations). * + * @example 2 + * + * @example 3 + * + * @example 4 + * * @note Operations are only considered batches when they contain two or more operations, and so `db.operation.batch.size` **SHOULD** never be `1`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1477,6 +1833,12 @@ export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size'; /** * The name of the operation or command being executed. * + * @example findAndModify + * + * @example HMSET + * + * @example SELECT + * * @note It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. * If the operation name is parsed from the query text, it **SHOULD** be the first operation name found in the query. * For batch operations, if the individual operations are known to have the same operation name then that operation name **SHOULD** be used prepended by `BATCH `, otherwise `db.operation.name` **SHOULD** be `BATCH` or some other database system specific term if more applicable. @@ -1488,6 +1850,10 @@ export const ATTR_DB_OPERATION_NAME = 'db.operation.name'; /** * A query parameter used in `db.query.text`, with `` being the parameter name, and the attribute value being a string representation of the parameter value. * + * @example someval + * + * @example 55 + * * @note Query parameters should only be captured when `db.query.text` is parameterized with placeholders. * If a parameter has no name and instead is referenced only by index, then `` **SHOULD** be the 0-based index. * @@ -1498,6 +1864,10 @@ export const ATTR_DB_QUERY_PARAMETER = (key: string) => `db.query.parameter.${ke /** * The database query being executed. * + * @example SELECT * FROM wuser_table where username = ? + * + * @example SET mykey "WuValue" + * * @note For sanitization see [Sanitization of `db.query.text`](../../docs/database/database-spans.md#sanitization-of-dbquerytext). * For batch operations, if the individual operations are known to have the same query text then that query text **SHOULD** be used, otherwise all of the individual query texts **SHOULD** be concatenated with separator `; ` or some other database system specific separator if more applicable. * Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk. @@ -1509,6 +1879,12 @@ export const ATTR_DB_QUERY_TEXT = 'db.query.text'; /** * Deprecated, use `db.namespace` instead. * + * @example 0 + * + * @example 1 + * + * @example 15 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.namespace`. @@ -1518,6 +1894,8 @@ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; /** * Deprecated, use `db.collection.name` instead. * + * @example "mytable" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. @@ -1527,6 +1905,10 @@ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; /** * The database statement being executed. * + * @example SELECT * FROM wuser_table + * + * @example SET mykey "WuValue" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.query.text`. @@ -1815,6 +2197,10 @@ export const DB_SYSTEM_VALUE_VERTICA = "vertica"; /** * Deprecated, no replacement at this time. * + * @example readonly_user + * + * @example reporting_user + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * No replacement at this time. @@ -1824,6 +2210,10 @@ export const ATTR_DB_USER = 'db.user'; /** * 'Deprecated, use `deployment.environment.name` instead.' * + * @example staging + * + * @example production + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Deprecated, use `deployment.environment.name` instead. @@ -1833,6 +2223,10 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; /** * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). * + * @example staging + * + * @example production + * * @note `deployment.environment.name` does not affect the uniqueness constraints defined through * the `service.namespace`, `service.name` and `service.instance.id` resource attributes. * This implies that resources carrying the following attribute combinations **MUST** be @@ -1848,6 +2242,8 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name'; /** * The id of the deployment. * + * @example 1208 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_ID = 'deployment.id'; @@ -1855,6 +2251,10 @@ export const ATTR_DEPLOYMENT_ID = 'deployment.id'; /** * The name of the deployment. * + * @example deploy my app + * + * @example deploy-frontend + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_NAME = 'deployment.name'; @@ -1879,6 +2279,12 @@ export const DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * + * @example destination.example.com + * + * @example 10.1.2.80 + * + * @example /tmp/my.sock + * * @note When observed from the source side, and when communicating through an intermediary, `destination.address` **SHOULD** represent the destination address behind any intermediaries, for example proxies, if it's available. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1888,6 +2294,10 @@ export const ATTR_DESTINATION_ADDRESS = 'destination.address'; /** * Destination port number * + * @example 3389 + * + * @example 2888 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DESTINATION_PORT = 'destination.port'; @@ -1895,6 +2305,8 @@ export const ATTR_DESTINATION_PORT = 'destination.port'; /** * A unique identifier representing the device * + * @example 2ab2916d-a51f-4ac8-80ee-45ac31a28092 + * * @note The device identifier **MUST** only be defined using the values outlined below. This value is not an advertising identifier and **MUST** **NOT** be used as such. On iOS (Swift or Objective-C), this value **MUST** be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value **MUST** be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1904,6 +2316,10 @@ export const ATTR_DEVICE_ID = 'device.id'; /** * The name of the device manufacturer * + * @example Apple + * + * @example Samsung + * * @note The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps **SHOULD** hardcode the value `Apple`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1913,6 +2329,10 @@ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; /** * The model identifier for the device * + * @example iPhone3,4 + * + * @example SM-G920F + * * @note It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1922,6 +2342,10 @@ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; /** * The marketing name for the device model * + * @example iPhone 6s Plus + * + * @example Samsung Galaxy S6 + * * @note It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1931,6 +2355,8 @@ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; /** * The disk IO operation direction. * + * @example read + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; @@ -1948,6 +2374,10 @@ export const DISK_IO_DIRECTION_VALUE_WRITE = "write"; /** * The name being queried. * + * @example www.example.com + * + * @example opentelemetry.io + * * @note If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -1957,6 +2387,8 @@ export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; /** * Deprecated, use `user.id` instead. * + * @example "username" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `user.id` attribute. @@ -1966,6 +2398,8 @@ export const ATTR_ENDUSER_ID = 'enduser.id'; /** * Deprecated, use `user.roles` instead. * + * @example "admin" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `user.roles` attribute. @@ -1975,6 +2409,8 @@ export const ATTR_ENDUSER_ROLE = 'enduser.role'; /** * Deprecated, no replacement at this time. * + * @example "read:message, write:files" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Removed. @@ -1984,6 +2420,10 @@ export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; /** * Identifies the class / type of event. * + * @example browser.mouse.click + * + * @example device.app.lifecycle + * * @note Event names are subject to the same rules as [attribute names](/docs/general/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2000,6 +2440,8 @@ export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; /** * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). * + * @example "0/5 * * * ? *" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_CRON = 'faas.cron'; @@ -2007,6 +2449,10 @@ export const ATTR_FAAS_CRON = 'faas.cron'; /** * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. * + * @example myBucketName + * + * @example myDbName + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; @@ -2014,6 +2460,10 @@ export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. * + * @example myFile.txt + * + * @example myTableName + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; @@ -2043,6 +2493,8 @@ export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * + * @example "2020-01-23T13:47:06Z" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; @@ -2050,6 +2502,8 @@ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; /** * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. * + * @example 2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de + * * @note * **AWS Lambda:** Use the (full) log stream name. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2059,6 +2513,8 @@ export const ATTR_FAAS_INSTANCE = 'faas.instance'; /** * The invocation ID of the current function invocation. * + * @example "af9d5aa4-a685-4c5f-a22b-444f80b3cc28" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; @@ -2066,6 +2522,8 @@ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; /** * The name of the invoked function. * + * @example "my-function" + * * @note SHOULD be equal to the `faas.name` resource attribute of the invoked function. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2109,6 +2567,8 @@ export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; /** * The cloud region of the invoked function. * + * @example "eu-central-1" + * * @note SHOULD be equal to the `cloud.region` resource attribute of the invoked function. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2118,6 +2578,8 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; /** * The amount of memory available to the serverless function converted to Bytes. * + * @example 134217728 + * * @note It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2127,6 +2589,10 @@ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; /** * The name of the single function that this runtime instance executes. * + * @example my-function + * + * @example myazurefunctionapp/some-function-name + * * @note This is the name of the function as configured/deployed on the FaaS * platform and is usually different from the name of the callback * function (which may be stored in the @@ -2151,6 +2617,8 @@ export const ATTR_FAAS_NAME = 'faas.name'; /** * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). * + * @example "2020-01-23T13:47:06Z" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_TIME = 'faas.time'; @@ -2190,6 +2658,10 @@ export const FAAS_TRIGGER_VALUE_TIMER = "timer"; /** * The immutable version of the function being executed. * + * @example 26 + * + * @example pinkfroid-00002 + * * @note Depending on the cloud provider and platform, use: * * * **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html) @@ -2207,6 +2679,8 @@ export const ATTR_FAAS_VERSION = 'faas.version'; /** * The unique identifier of the feature flag. * + * @example logo-color + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; @@ -2214,6 +2688,8 @@ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; /** * The name of the service provider that performs the flag evaluation. * + * @example Flag Manager + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; @@ -2221,6 +2697,12 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; /** * **SHOULD** be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. * + * @example red + * + * @example true + * + * @example on + * * @note A semantic identifier, commonly referred to as a variant, provides a means * for referring to a value without including the value itself. This can * provide additional context for understanding the meaning behind a value. @@ -2237,6 +2719,10 @@ export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; /** * Directory where the file is located. It should include the drive letter, when appropriate. * + * @example /home/user + * + * @example C:\Program Files\MyApp + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_DIRECTORY = 'file.directory'; @@ -2244,6 +2730,10 @@ export const ATTR_FILE_DIRECTORY = 'file.directory'; /** * File extension, excluding the leading dot. * + * @example png + * + * @example gz + * * @note When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz"). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2253,6 +2743,8 @@ export const ATTR_FILE_EXTENSION = 'file.extension'; /** * Name of the file including the extension, without the directory. * + * @example example.png + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_NAME = 'file.name'; @@ -2260,6 +2752,10 @@ export const ATTR_FILE_NAME = 'file.name'; /** * Full path to the file, including the file name. It should include the drive letter, when appropriate. * + * @example /home/alice/example.png + * + * @example C:\Program Files\MyApp\myapp.exe + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_PATH = 'file.path'; @@ -2274,6 +2770,16 @@ export const ATTR_FILE_SIZE = 'file.size'; /** * Identifies the Google Cloud service for which the official client library is intended. * + * @example appengine + * + * @example run + * + * @example firestore + * + * @example alloydb + * + * @example spanner + * * @note Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo'. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2283,6 +2789,10 @@ export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service'; /** * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * + * @example job-name-xxxx + * + * @example sample-job-mdw84 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; @@ -2290,6 +2800,10 @@ export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. * + * @example 0 + * + * @example 1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; @@ -2297,6 +2811,10 @@ export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). * + * @example my-host1234.example.com + * + * @example sample-vm.us-west1-b.c.my-project.internal + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; @@ -2304,6 +2822,10 @@ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; /** * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). * + * @example instance-1 + * + * @example my-vm-name + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; @@ -2311,6 +2833,8 @@ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; /** * The full response received from the GenAI model. * + * @example [{'role': 'assistant', 'content': 'The capital of France is Paris.'}] + * * @note It's RECOMMENDED to format completions as JSON string matching [OpenAI messages format](https://platform.openai.com/docs/guides/text-generation) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2339,6 +2863,8 @@ export const GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; /** * The full prompt sent to the GenAI model. * + * @example [{'role': 'user', 'content': 'What is the capital of France?'}] + * * @note It's RECOMMENDED to format prompts as JSON string matching [OpenAI messages format](https://platform.openai.com/docs/guides/text-generation) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2348,6 +2874,8 @@ export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt'; /** * The frequency penalty setting for the GenAI request. * + * @example 0.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_penalty'; @@ -2355,6 +2883,8 @@ export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_p /** * The maximum number of tokens the model generates for a request. * + * @example 100 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens'; @@ -2362,6 +2892,8 @@ export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens'; /** * The name of the GenAI model a request is being made to. * + * @example "gpt-4" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model'; @@ -2369,6 +2901,8 @@ export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model'; /** * The presence penalty setting for the GenAI request. * + * @example 0.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_penalty'; @@ -2376,6 +2910,10 @@ export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_pen /** * List of sequences that the model will use to stop generating further tokens. * + * @example forest + * + * @example lived + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences'; @@ -2383,6 +2921,8 @@ export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences /** * The temperature setting for the GenAI request. * + * @example 0.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature'; @@ -2390,6 +2930,8 @@ export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature'; /** * The top_k sampling setting for the GenAI request. * + * @example 1.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k'; @@ -2397,6 +2939,8 @@ export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k'; /** * The top_p sampling setting for the GenAI request. * + * @example 1.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p'; @@ -2404,6 +2948,8 @@ export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p'; /** * Array of reasons the model stopped generating tokens, corresponding to each generation received. * + * @example stop + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reasons'; @@ -2411,6 +2957,8 @@ export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reaso /** * The unique identifier for the completion. * + * @example chatcmpl-123 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id'; @@ -2418,6 +2966,8 @@ export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id'; /** * The name of the model that generated the response. * + * @example gpt-4-0613 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model'; @@ -2425,6 +2975,8 @@ export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model'; /** * The Generative AI product as identified by the client or server instrumentation. * + * @example "openai" + * * @note The `gen_ai.system` describes a family of GenAI models with specific model identified * by `gen_ai.request.model` and `gen_ai.response.model` attributes. * @@ -2462,6 +3014,10 @@ export const GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; /** * The type of token being counted. * + * @example input + * + * @example output + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type'; @@ -2479,6 +3035,8 @@ export const GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; /** * Deprecated, use `gen_ai.usage.output_tokens` instead. * + * @example 42 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `gen_ai.usage.output_tokens` attribute. @@ -2488,6 +3046,8 @@ export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_toke /** * The number of tokens used in the GenAI input (prompt). * + * @example 100 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens'; @@ -2495,6 +3055,8 @@ export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens'; /** * The number of tokens used in the GenAI response (completion). * + * @example 180 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens'; @@ -2502,6 +3064,8 @@ export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens'; /** * Deprecated, use `gen_ai.usage.input_tokens` instead. * + * @example 42 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `gen_ai.usage.input_tokens` attribute. @@ -2511,6 +3075,10 @@ export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens'; /** * The type of memory. * + * @example other + * + * @example stack + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GO_MEMORY_TYPE = 'go.memory.type'; @@ -2528,6 +3096,8 @@ export const GO_MEMORY_TYPE_VALUE_STACK = "stack"; /** * The GraphQL document being executed. * + * @example "query findBookById { bookById(id: ?) { name } }" + * * @note The value may be sanitized to exclude sensitive information. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2537,6 +3107,8 @@ export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; /** * The name of the operation being executed. * + * @example "findBookById" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; @@ -2544,6 +3116,12 @@ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; /** * The type of the operation being executed. * + * @example query + * + * @example mutation + * + * @example subscription + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; @@ -2566,6 +3144,8 @@ export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; /** * Unique identifier for the application * + * @example 2daa2797-e42b-4624-9322-ec3f968df4da + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; @@ -2573,6 +3153,8 @@ export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; /** * Commit hash for the current release * + * @example e6134959463efd8966b20e75b913cafe3f5ec + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; @@ -2580,6 +3162,8 @@ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; /** * Time and date the release was created * + * @example 2022-10-23T18:00:42Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp'; @@ -2634,6 +3218,8 @@ export const HOST_ARCH_VALUE_X86 = "x86"; /** * The amount of level 2 memory cache available to the processor (in Bytes). * + * @example 12288000 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; @@ -2641,6 +3227,10 @@ export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; /** * Family or generation of the CPU. * + * @example 6 + * + * @example PA-RISC 1.1e + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; @@ -2648,6 +3238,10 @@ export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; /** * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. * + * @example 6 + * + * @example 9000/778/B180L + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; @@ -2655,6 +3249,8 @@ export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; /** * Model designation of the processor. * + * @example 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; @@ -2662,6 +3258,10 @@ export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; /** * Stepping or core revisions. * + * @example 1 + * + * @example r1p1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; @@ -2669,6 +3269,8 @@ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; /** * Processor manufacturer identifier. A maximum 12-character string. * + * @example GenuineIntel + * * @note [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2678,6 +3280,8 @@ export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; /** * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. * + * @example fdbf79e8af94cb7f9e8df36789187052 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_ID = 'host.id'; @@ -2685,6 +3289,8 @@ export const ATTR_HOST_ID = 'host.id'; /** * VM image ID or host OS image ID. For Cloud, this value is from the provider. * + * @example ami-07b06b442921831e5 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_ID = 'host.image.id'; @@ -2692,6 +3298,10 @@ export const ATTR_HOST_IMAGE_ID = 'host.image.id'; /** * Name of the VM image or OS install the host was instantiated from. * + * @example infra-ami-eks-worker-node-7d4ec78312 + * + * @example CentOS-8-x86_64-1905 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; @@ -2699,6 +3309,8 @@ export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; /** * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * + * @example 0.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; @@ -2706,6 +3318,10 @@ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; /** * Available IP addresses of the host, excluding loopback interfaces. * + * @example 192.168.1.140 + * + * @example fe80::abc2:4a28:737a:609e + * * @note IPv4 Addresses **MUST** be specified in dotted-quad notation. IPv6 addresses **MUST** be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2715,6 +3331,10 @@ export const ATTR_HOST_IP = 'host.ip'; /** * Available MAC addresses of the host, excluding loopback interfaces. * + * @example AC-DE-48-23-45-67 + * + * @example AC-DE-48-23-45-67-01-9F + * * @note MAC Addresses **MUST** be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2724,6 +3344,8 @@ export const ATTR_HOST_MAC = 'host.mac'; /** * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. * + * @example opentelemetry-test + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_NAME = 'host.name'; @@ -2731,6 +3353,8 @@ export const ATTR_HOST_NAME = 'host.name'; /** * Type of host. For Cloud, this must be the machine type. * + * @example n1-standard-1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_TYPE = 'host.type'; @@ -2738,6 +3362,8 @@ export const ATTR_HOST_TYPE = 'host.type'; /** * Deprecated, use `client.address` instead. * + * @example "83.164.160.102" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `client.address`. @@ -2747,6 +3373,10 @@ export const ATTR_HTTP_CLIENT_IP = 'http.client_ip'; /** * State of the HTTP connection in the HTTP connection pool. * + * @example active + * + * @example idle + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; @@ -2803,6 +3433,8 @@ export const HTTP_FLAVOR_VALUE_SPDY = "SPDY"; /** * Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. * + * @example www.example.org + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. @@ -2812,6 +3444,12 @@ export const ATTR_HTTP_HOST = 'http.host'; /** * Deprecated, use `http.request.method` instead. * + * @example GET + * + * @example POST + * + * @example HEAD + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.request.method`. @@ -2821,6 +3459,8 @@ export const ATTR_HTTP_METHOD = 'http.method'; /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * + * @example 3495 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; @@ -2828,6 +3468,8 @@ export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; /** * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. * + * @example 1437 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; @@ -2835,6 +3477,8 @@ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; /** * Deprecated, use `http.request.header.content-length` instead. * + * @example 3495 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.request.header.content-length`. @@ -2844,6 +3488,8 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; /** * Deprecated, use `http.request.body.size` instead. * + * @example 5493 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.request.body.size`. @@ -2853,6 +3499,8 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_conte /** * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * + * @example 3495 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; @@ -2860,6 +3508,8 @@ export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; /** * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. * + * @example 1437 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; @@ -2867,6 +3517,8 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; /** * Deprecated, use `http.response.header.content-length` instead. * + * @example 3495 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.response.header.content-length`. @@ -2876,6 +3528,8 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; /** * Deprecated, use `http.response.body.size` instead. * + * @example 5493 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replace by `http.response.body.size`. @@ -2885,6 +3539,10 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_con /** * Deprecated, use `url.scheme` instead. * + * @example http + * + * @example https + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `url.scheme` instead. @@ -2894,6 +3552,8 @@ export const ATTR_HTTP_SCHEME = 'http.scheme'; /** * Deprecated, use `server.address` instead. * + * @example example.com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address`. @@ -2903,6 +3563,8 @@ export const ATTR_HTTP_SERVER_NAME = 'http.server_name'; /** * Deprecated, use `http.response.status_code` instead. * + * @example 200 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.response.status_code`. @@ -2912,6 +3574,8 @@ export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; /** * Deprecated, use `url.path` and `url.query` instead. * + * @example /search?q=OpenTelemetry#SemConv + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Split to `url.path` and `url.query. @@ -2921,6 +3585,8 @@ export const ATTR_HTTP_TARGET = 'http.target'; /** * Deprecated, use `url.full` instead. * + * @example https://www.foo.bar/search?q=OpenTelemetry#SemConv + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `url.full`. @@ -2930,6 +3596,10 @@ export const ATTR_HTTP_URL = 'http.url'; /** * Deprecated, use `user_agent.original` instead. * + * @example CERN-LineMode/2.15 libwww/2.17b3 + * + * @example Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `user_agent.original`. @@ -2975,6 +3645,10 @@ export const IOS_STATE_VALUE_TERMINATE = "terminate"; /** * Name of the buffer pool. * + * @example mapped + * + * @example direct + * * @note Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -2984,6 +3658,8 @@ export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; /** * The name of the cluster. * + * @example opentelemetry-cluster + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; @@ -2991,6 +3667,8 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; /** * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. * + * @example 218fc5a9-a5f1-4b54-aa05-46717d0ab26d + * * @note K8s doesn't have support for obtaining a cluster ID. If this is ever * added, we will recommend collecting the `k8s.cluster.uid` through the * official APIs. In the meantime, we are able to use the `uid` of the @@ -3021,6 +3699,8 @@ export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; /** * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). * + * @example redis + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; @@ -3035,6 +3715,10 @@ export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; /** * Last terminated reason of the Container. * + * @example Evicted + * + * @example Error + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason'; @@ -3042,6 +3726,8 @@ export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.s /** * The name of the CronJob. * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; @@ -3049,6 +3735,8 @@ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; /** * The UID of the CronJob. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; @@ -3056,6 +3744,8 @@ export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; /** * The name of the DaemonSet. * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; @@ -3063,6 +3753,8 @@ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; /** * The UID of the DaemonSet. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; @@ -3070,6 +3762,8 @@ export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; /** * The name of the Deployment. * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; @@ -3077,6 +3771,8 @@ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; /** * The UID of the Deployment. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; @@ -3084,6 +3780,8 @@ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; /** * The name of the Job. * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; @@ -3091,6 +3789,8 @@ export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; /** * The UID of the Job. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; @@ -3098,6 +3798,8 @@ export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; /** * The name of the namespace that the pod is running in. * + * @example default + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; @@ -3105,6 +3807,8 @@ export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; /** * The name of the Node. * + * @example node-1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; @@ -3112,6 +3816,8 @@ export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; /** * The UID of the Node. * + * @example 1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; @@ -3119,6 +3825,12 @@ export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; /** * The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. * + * @example k8s.pod.annotation.kubernetes.io/enforce-mountable-secrets=true + * + * @example k8s.pod.annotation.mycompany.io/arch=x64 + * + * @example k8s.pod.annotation.data= + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${key}`; @@ -3126,6 +3838,12 @@ export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${ke /** * The label key-value pairs placed on the Pod, the `` being the label name, the value being the label value. * + * @example k8s.pod.label.app=my-app + * + * @example k8s.pod.label.mycompany.io/arch=x64 + * + * @example k8s.pod.label.data= + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; @@ -3133,6 +3851,8 @@ export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; /** * Deprecated, use `k8s.pod.label` instead. * + * @example k8s.pod.label.app=my-app + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `k8s.pod.label`. @@ -3142,6 +3862,8 @@ export const ATTR_K8S_POD_LABELS = (key: string) => `k8s.pod.labels.${key}`; /** * The name of the Pod. * + * @example opentelemetry-pod-autoconf + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; @@ -3149,6 +3871,8 @@ export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; /** * The UID of the Pod. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; @@ -3156,6 +3880,8 @@ export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; /** * The name of the ReplicaSet. * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; @@ -3163,6 +3889,8 @@ export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; /** * The UID of the ReplicaSet. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; @@ -3170,6 +3898,8 @@ export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; /** * The name of the StatefulSet. * + * @example opentelemetry + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; @@ -3177,6 +3907,8 @@ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; /** * The UID of the StatefulSet. * + * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; @@ -3184,6 +3916,10 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; /** * The Linux Slab memory state * + * @example reclaimable + * + * @example unreclaimable + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state'; @@ -3201,6 +3937,8 @@ export const LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; /** * The basename of the file. * + * @example audit.log + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_NAME = 'log.file.name'; @@ -3208,6 +3946,8 @@ export const ATTR_LOG_FILE_NAME = 'log.file.name'; /** * The basename of the file, with symlinks resolved. * + * @example uuid.log + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; @@ -3215,6 +3955,8 @@ export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; /** * The full path to the file. * + * @example /var/log/mysql/audit.log + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_PATH = 'log.file.path'; @@ -3222,6 +3964,8 @@ export const ATTR_LOG_FILE_PATH = 'log.file.path'; /** * The full path to the file, with symlinks resolved. * + * @example /var/lib/docker/uuid.log + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; @@ -3246,6 +3990,10 @@ export const LOG_IOSTREAM_VALUE_STDOUT = "stdout"; /** * The complete orignal Log Record. * + * @example 77 <86>1 2015-08-06T21:58:59.694Z 192.168.2.133 inactive - - - Something happened + * + * @example [INFO] 8/3/24 12:34:56 Something happened + * * @note This value **MAY** be added when processing a Log Record which was originally transmitted as a string or equivalent data type AND the Body field of the Log Record does not contain the same value. (e.g. a syslog or a log record read from a file.) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -3255,6 +4003,8 @@ export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original'; /** * A unique identifier for the Log Record. * + * @example 01ARZ3NDEKTSV4RRFFQ69G5FAV + * * @note If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records **MUST** have different values. * The id **MAY** be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. * @@ -3311,6 +4061,12 @@ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; /** * The number of messages sent, received, or processed in the scope of the batching operation. * + * @example 0 + * + * @example 1 + * + * @example 2 + * * @note Instrumentations **SHOULD** **NOT** set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations **SHOULD** use `messaging.batch.message_count` for batching APIs and **SHOULD** **NOT** use it for single-message APIs. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -3320,6 +4076,10 @@ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count /** * A unique identifier for the client that consumes or produces a message. * + * @example client-5 + * + * @example myhost@8742@s8083jm + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id'; @@ -3327,6 +4087,10 @@ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id'; /** * The name of the consumer group with which a consumer is associated. * + * @example my-group + * + * @example indexer + * * @note Semantic conventions for individual messaging systems **SHOULD** document whether `messaging.consumer.group.name` is applicable and what it means in the context of that system. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -3343,6 +4107,10 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anony /** * The message destination name * + * @example MyQueue + * + * @example MyTopic + * * @note Destination name **SHOULD** uniquely identify a specific queue, topic or other entity within the broker. If * the broker doesn't have such notion, the destination name **SHOULD** uniquely identify the broker. * @@ -3353,6 +4121,8 @@ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; /** * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. * + * @example "1" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; @@ -3360,6 +4130,8 @@ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.pa /** * The name of the destination subscription from which a message is consumed. * + * @example subscription-a + * * @note Semantic conventions for individual messaging systems **SHOULD** document whether `messaging.destination.subscription.name` is applicable and what it means in the context of that system. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -3369,6 +4141,8 @@ export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destinati /** * Low cardinality representation of the messaging destination name * + * @example /customers/{customerId} + * * @note Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -3394,6 +4168,10 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destinati /** * Deprecated, no replacement at this time. * + * @example MyQueue + * + * @example MyTopic + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * No replacement at this time. @@ -3403,6 +4181,8 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_pu /** * Deprecated, use `messaging.consumer.group.name` instead. * + * @example "$Default" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.consumer.group.name`. @@ -3412,6 +4192,8 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.cons /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * + * @example 1701393730 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; @@ -3419,6 +4201,8 @@ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhu /** * The ack deadline in seconds set for the modify ack deadline request. * + * @example 10 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pubsub.message.ack_deadline'; @@ -3426,6 +4210,8 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pub /** * The ack id for a given message. * + * @example "ack_id" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.message.ack_id'; @@ -3433,6 +4219,8 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.me /** * The delivery attempt for a given message. * + * @example 2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp_pubsub.message.delivery_attempt'; @@ -3440,6 +4228,8 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. * + * @example "ordering_key" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; @@ -3447,6 +4237,8 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pub /** * Deprecated, use `messaging.consumer.group.name` instead. * + * @example "my-group" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.consumer.group.name`. @@ -3456,6 +4248,8 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.gro /** * Deprecated, use `messaging.destination.partition.id` instead. * + * @example 2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.destination.partition.id`. @@ -3465,6 +4259,8 @@ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.desti /** * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute **MUST** **NOT** be set. * + * @example "myKey" + * * @note If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -3474,6 +4270,8 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; /** * Deprecated, use `messaging.kafka.offset` instead. * + * @example 42 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.kafka.offset`. @@ -3490,6 +4288,8 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.t /** * The offset of a record in the corresponding Kafka partition. * + * @example 42 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset'; @@ -3497,6 +4297,8 @@ export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset'; /** * The size of the message body in bytes. * + * @example 1439 + * * @note This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed * body size should be used. * @@ -3507,6 +4309,8 @@ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; /** * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". * + * @example "MyConversationId" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; @@ -3514,6 +4318,8 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.convers /** * The size of the message body and metadata in bytes. * + * @example 2738 + * * @note This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed * size should be used. * @@ -3524,6 +4330,8 @@ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope. /** * A value used by the messaging system as an identifier for the message, represented as a string. * + * @example "452a7c7c7c7048c2f887f61572b18fc2" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; @@ -3531,6 +4339,12 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; /** * Deprecated, use `messaging.operation.type` instead. * + * @example publish + * + * @example create + * + * @example process + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.operation.type`. @@ -3540,6 +4354,12 @@ export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; /** * The system-specific name of the messaging operation. * + * @example ack + * + * @example nack + * + * @example send + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name'; @@ -3586,6 +4406,8 @@ export const MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; /** * RabbitMQ message routing key. * + * @example "myKey" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; @@ -3593,6 +4415,8 @@ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbit /** * RabbitMQ message delivery tag * + * @example 123 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; @@ -3600,6 +4424,8 @@ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq. /** * Deprecated, use `messaging.consumer.group.name` instead. * + * @example "myConsumerGroup" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans. @@ -3626,6 +4452,8 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering /** * The delay time level for delay message, which determines the message delay time. * + * @example 3 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; @@ -3633,6 +4461,8 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocke /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. * + * @example 1665987217045 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; @@ -3640,6 +4470,8 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.roc /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. * + * @example "myMessageGroup" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; @@ -3647,6 +4479,10 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message /** * Key(s) of message, another way to mark message besides message id. * + * @example keyA + * + * @example keyB + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; @@ -3654,6 +4490,8 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message. /** * The secondary classifier of message besides topic. * + * @example "tagA" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; @@ -3688,6 +4526,8 @@ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; /** * Namespace of RocketMQ resources, resources in different namespaces are individual. * + * @example "myNamespace" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; @@ -3695,6 +4535,8 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; /** * Deprecated, use `messaging.servicebus.destination.subscription_name` instead. * + * @example "subscription-a" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.servicebus.destination.subscription_name`. @@ -3731,6 +4573,8 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; /** * Number of deliveries that have been attempted for this message. * + * @example 2 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; @@ -3738,6 +4582,8 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servi /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. * + * @example 1701393730 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; @@ -3809,6 +4655,8 @@ export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; /** * Deprecated, use `network.local.address`. * + * @example "192.168.0.1" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.local.address`. @@ -3818,6 +4666,8 @@ export const ATTR_NET_HOST_IP = 'net.host.ip'; /** * Deprecated, use `server.address`. * + * @example example.com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address`. @@ -3827,6 +4677,8 @@ export const ATTR_NET_HOST_NAME = 'net.host.name'; /** * Deprecated, use `server.port`. * + * @example 8080 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.port`. @@ -3836,6 +4688,8 @@ export const ATTR_NET_HOST_PORT = 'net.host.port'; /** * Deprecated, use `network.peer.address`. * + * @example "127.0.0.1" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.peer.address`. @@ -3845,6 +4699,8 @@ export const ATTR_NET_PEER_IP = 'net.peer.ip'; /** * Deprecated, use `server.address` on client spans and `client.address` on server spans. * + * @example example.com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address` on client spans and `client.address` on server spans. @@ -3854,6 +4710,8 @@ export const ATTR_NET_PEER_NAME = 'net.peer.name'; /** * Deprecated, use `server.port` on client spans and `client.port` on server spans. * + * @example 8080 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.port` on client spans and `client.port` on server spans. @@ -3863,6 +4721,12 @@ export const ATTR_NET_PEER_PORT = 'net.peer.port'; /** * Deprecated, use `network.protocol.name`. * + * @example amqp + * + * @example http + * + * @example mqtt + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.protocol.name`. @@ -3872,6 +4736,8 @@ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; /** * Deprecated, use `network.protocol.version`. * + * @example "3.1.1" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.protocol.version`. @@ -3905,6 +4771,8 @@ export const NET_SOCK_FAMILY_VALUE_UNIX = "unix"; /** * Deprecated, use `network.local.address`. * + * @example /var/my.sock + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.local.address`. @@ -3914,6 +4782,8 @@ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; /** * Deprecated, use `network.local.port`. * + * @example 8080 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.local.port`. @@ -3923,6 +4793,8 @@ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; /** * Deprecated, use `network.peer.address`. * + * @example 192.168.0.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.peer.address`. @@ -3932,6 +4804,8 @@ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; /** * Deprecated, no replacement at this time. * + * @example /var/my.sock + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Removed. @@ -3941,6 +4815,8 @@ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; /** * Deprecated, use `network.peer.port`. * + * @example 65531 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.peer.port`. @@ -3984,6 +4860,8 @@ export const NET_TRANSPORT_VALUE_PIPE = "pipe"; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. * + * @example "DE" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; @@ -3991,6 +4869,8 @@ export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; /** * The mobile carrier country code. * + * @example "310" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; @@ -3998,6 +4878,8 @@ export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; /** * The mobile carrier network code. * + * @example "001" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; @@ -4005,6 +4887,8 @@ export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; /** * The name of the mobile carrier. * + * @example "sprint" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; @@ -4012,6 +4896,8 @@ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. * + * @example "LTE" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; @@ -4124,6 +5010,8 @@ export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; /** * The internet connection type. * + * @example "wifi" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; @@ -4156,6 +5044,8 @@ export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; /** * The network IO operation direction. * + * @example transmit + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; @@ -4173,6 +5063,8 @@ export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. * + * @example sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4 + * * @note Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). * @@ -4202,6 +5094,12 @@ export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; /** * Unique identifier for a particular build or compilation of the operating system. * + * @example TQ3C.230805.001.B2 + * + * @example 20E247 + * + * @example 22621 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_BUILD_ID = 'os.build_id'; @@ -4209,6 +5107,10 @@ export const ATTR_OS_BUILD_ID = 'os.build_id'; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. * + * @example Microsoft Windows [Version 10.0.18363.778] + * + * @example Ubuntu 18.04.1 LTS + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_DESCRIPTION = 'os.description'; @@ -4216,6 +5118,12 @@ export const ATTR_OS_DESCRIPTION = 'os.description'; /** * Human readable operating system name. * + * @example iOS + * + * @example Android + * + * @example Ubuntu + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_NAME = 'os.name'; @@ -4285,12 +5193,18 @@ export const OS_TYPE_VALUE_Z_OS = "z_os"; /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). * + * @example 14.2.1 + * + * @example 18.04.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_VERSION = 'os.version'; /** + * + * @example io.opentelemetry.contrib.mongodb * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -4300,6 +5214,8 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; /** + * + * @example 1.0.0 * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * @@ -4310,6 +5226,8 @@ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; /** * The [`service.name`](/docs/resource/README.md#service) of the remote service. **SHOULD** be equal to the actual `service.name` resource attribute of the remote service if any. * + * @example "AuthTokenCache" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PEER_SERVICE = 'peer.service'; @@ -4317,6 +5235,8 @@ export const ATTR_PEER_SERVICE = 'peer.service'; /** * Deprecated, use `db.client.connection.pool.name` instead. * + * @example myDataSource + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.pool.name`. @@ -4326,6 +5246,8 @@ export const ATTR_POOL_NAME = 'pool.name'; /** * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. * + * @example cmd/otelcol + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND = 'process.command'; @@ -4333,6 +5255,10 @@ export const ATTR_PROCESS_COMMAND = 'process.command'; /** * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. * + * @example cmd/otecol + * + * @example --config=config.yaml + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; @@ -4340,6 +5266,8 @@ export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. * + * @example C:\cmd\otecol --config="my directory\config.yaml" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; @@ -4388,6 +5316,8 @@ export const PROCESS_CPU_STATE_VALUE_WAIT = "wait"; /** * The date and time the process was created, in ISO 8601 format. * + * @example 2023-11-21T09:25:34.853Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time'; @@ -4395,6 +5325,8 @@ export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time'; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. * + * @example otelcol + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; @@ -4402,6 +5334,8 @@ export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; /** * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. * + * @example /usr/bin/cmd/otelcol + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; @@ -4409,6 +5343,8 @@ export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; /** * The exit code of the process. * + * @example 127 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code'; @@ -4416,6 +5352,8 @@ export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code'; /** * The date and time the process exited, in ISO 8601 format. * + * @example 2023-11-21T09:26:12.315Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time'; @@ -4423,6 +5361,8 @@ export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time'; /** * The PID of the process's group leader. This is also the process group ID (PGID) of the process. * + * @example 23 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_GROUP_LEADER_PID = 'process.group_leader.pid'; @@ -4437,6 +5377,8 @@ export const ATTR_PROCESS_INTERACTIVE = 'process.interactive'; /** * The username of the user that owns the process. * + * @example root + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_OWNER = 'process.owner'; @@ -4461,6 +5403,8 @@ export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; /** * Parent Process identifier (PPID). * + * @example 111 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; @@ -4468,6 +5412,8 @@ export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; /** * Process identifier (PID). * + * @example 1234 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PID = 'process.pid'; @@ -4475,6 +5421,8 @@ export const ATTR_PROCESS_PID = 'process.pid'; /** * The real user ID (RUID) of the process. * + * @example 1000 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id'; @@ -4482,6 +5430,8 @@ export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id'; /** * The username of the real user of the process. * + * @example operator + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name'; @@ -4489,6 +5439,8 @@ export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name'; /** * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. * + * @example "Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; @@ -4496,6 +5448,8 @@ export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; /** * The name of the runtime of this process. * + * @example OpenJDK Runtime Environment + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; @@ -4503,6 +5457,8 @@ export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; /** * The version of the runtime of this process, as returned by the runtime without modification. * + * @example "14.0.2" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; @@ -4510,6 +5466,8 @@ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; /** * The saved user ID (SUID) of the process. * + * @example 1002 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id'; @@ -4517,6 +5475,8 @@ export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id'; /** * The username of the saved user. * + * @example operator + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name'; @@ -4524,6 +5484,8 @@ export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name'; /** * The PID of the process's session leader. This is also the session ID (SID) of the process. * + * @example 14 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid'; @@ -4531,6 +5493,8 @@ export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid'; /** * The effective user ID (EUID) of the process. * + * @example 1001 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_USER_ID = 'process.user.id'; @@ -4538,6 +5502,8 @@ export const ATTR_PROCESS_USER_ID = 'process.user.id'; /** * The username of the effective user of the process. * + * @example root + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_USER_NAME = 'process.user.name'; @@ -4545,6 +5511,8 @@ export const ATTR_PROCESS_USER_NAME = 'process.user.name'; /** * Virtual process identifier. * + * @example 12 + * * @note The process ID within a PID namespace. This is not necessarily unique across all processes on the host but it is unique within the process namespace that the process exists within. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4641,6 +5609,8 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown"; /** * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. * + * @example rpc.request.metadata.my-custom-metadata-attribute=["1.2.3.4", "1.2.3.5"] + * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4650,6 +5620,8 @@ export const ATTR_RPC_CONNECT_RPC_REQUEST_METADATA = (key: string) => `rpc.conne /** * Connect response metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. * + * @example rpc.response.metadata.my-custom-metadata-attribute=["attribute_value"] + * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4659,6 +5631,8 @@ export const ATTR_RPC_CONNECT_RPC_RESPONSE_METADATA = (key: string) => `rpc.conn /** * gRPC request metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. * + * @example rpc.grpc.request.metadata.my-custom-metadata-attribute=["1.2.3.4", "1.2.3.5"] + * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4668,6 +5642,8 @@ export const ATTR_RPC_GRPC_REQUEST_METADATA = (key: string) => `rpc.grpc.request /** * gRPC response metadata, `` being the normalized gRPC Metadata key (lowercase), the value being the metadata values. * + * @example rpc.grpc.response.metadata.my-custom-metadata-attribute=["attribute_value"] + * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4769,6 +5745,10 @@ export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; /** * `error.code` property of response if it is an error response. * + * @example -32700 + * + * @example 100 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; @@ -4776,6 +5756,10 @@ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; /** * `error.message` property of response if it is an error response. * + * @example Parse error + * + * @example User already exists + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; @@ -4783,6 +5767,12 @@ export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. * + * @example 10 + * + * @example request-7 + * + * @example + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; @@ -4790,6 +5780,10 @@ export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. * + * @example 2.0 + * + * @example 1.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; @@ -4837,6 +5831,8 @@ export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size /** * The name of the (logical) method being called, must be equal to the $method part in the span name. * + * @example "exampleMethod" + * * @note This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4846,6 +5842,8 @@ export const ATTR_RPC_METHOD = 'rpc.method'; /** * The full (logical) name of the service being called, including its package name, if applicable. * + * @example "myservice.EchoService" + * * @note This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4887,6 +5885,8 @@ export const RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; /** * The string ID of the service instance. * + * @example 627cc493-f310-47de-96bd-71410b7dec09 + * * @note MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words * `service.namespace,service.name,service.instance.id` triplet **MUST** be globally unique). The ID helps to * distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled @@ -4921,6 +5921,8 @@ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; /** * A namespace for `service.name`. * + * @example Shop + * * @note A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4930,6 +5932,8 @@ export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; /** * A unique id to identify a session. * + * @example "00112233-4455-6677-8899-aabbccddeeff" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SESSION_ID = 'session.id'; @@ -4937,6 +5941,8 @@ export const ATTR_SESSION_ID = 'session.id'; /** * The previous `session.id` for this user, when known. * + * @example "00112233-4455-6677-8899-aabbccddeeff" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; @@ -4944,6 +5950,12 @@ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; /** * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * + * @example source.example.com + * + * @example 10.1.2.80 + * + * @example /tmp/my.sock + * * @note When observed from the destination side, and when communicating through an intermediary, `source.address` **SHOULD** represent the source address behind any intermediaries, for example proxies, if it's available. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -4953,6 +5965,10 @@ export const ATTR_SOURCE_ADDRESS = 'source.address'; /** * Source port number * + * @example 3389 + * + * @example 2888 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SOURCE_PORT = 'source.port'; @@ -4960,6 +5976,8 @@ export const ATTR_SOURCE_PORT = 'source.port'; /** * Deprecated, use `db.client.connection.state` instead. * + * @example idle + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.state`. @@ -4979,6 +5997,8 @@ export const STATE_VALUE_USED = "used"; /** * The logical CPU number [0..n-1] * + * @example 1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; @@ -4986,6 +6006,10 @@ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; /** * Deprecated, use `cpu.mode` instead. * + * @example idle + * + * @example interrupt + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `cpu.mode` @@ -5030,6 +6054,8 @@ export const SYSTEM_CPU_STATE_VALUE_USER = "user"; /** * The device identifier * + * @example (identifier) + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_DEVICE = 'system.device'; @@ -5037,6 +6063,8 @@ export const ATTR_SYSTEM_DEVICE = 'system.device'; /** * The filesystem mode * + * @example rw, ro + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; @@ -5044,6 +6072,8 @@ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; /** * The filesystem mount path * + * @example /mnt/data + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; @@ -5051,6 +6081,8 @@ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; /** * The filesystem state * + * @example used + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; @@ -5073,6 +6105,8 @@ export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; /** * The filesystem type * + * @example ext4 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; @@ -5110,6 +6144,10 @@ export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; /** * The memory state * + * @example free + * + * @example cached + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; @@ -5142,6 +6180,8 @@ export const SYSTEM_MEMORY_STATE_VALUE_USED = "used"; /** * A stateless protocol **MUST** **NOT** set this attribute * + * @example close_wait + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; @@ -5209,6 +6249,8 @@ export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; /** * The paging access direction * + * @example in + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; @@ -5226,6 +6268,8 @@ export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; /** * The memory paging state * + * @example free + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; @@ -5243,6 +6287,8 @@ export const SYSTEM_PAGING_STATE_VALUE_USED = "used"; /** * The memory paging type * + * @example minor + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; @@ -5260,6 +6306,8 @@ export const SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) * + * @example running + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; @@ -5287,6 +6335,8 @@ export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; /** * Deprecated, use `system.process.status` instead. * + * @example running + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `system.process.status`. @@ -5316,6 +6366,8 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; /** * The name of the auto instrumentation agent or distribution, if used. * + * @example parts-unlimited-java + * * @note Official auto instrumentation agents and distributions **SHOULD** set the `telemetry.distro.name` attribute to * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. * @@ -5326,6 +6378,8 @@ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; /** * The version string of the auto instrumentation agent or distribution, if used. * + * @example 1.2.3 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; @@ -5333,6 +6387,12 @@ export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; /** * The fully qualified human readable name of the [test case](https://en.wikipedia.org/wiki/Test_case). * + * @example org.example.TestCase1.test1 + * + * @example example/tests/TestCase1.test1 + * + * @example ExampleTestCase1_test1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_CASE_NAME = 'test.case.name'; @@ -5340,6 +6400,10 @@ export const ATTR_TEST_CASE_NAME = 'test.case.name'; /** * The status of the actual test case result from test execution. * + * @example pass + * + * @example fail + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status'; @@ -5357,6 +6421,8 @@ export const TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; /** * The human readable name of a [test suite](https://en.wikipedia.org/wiki/Test_suite). * + * @example TestSuite1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_SUITE_NAME = 'test.suite.name'; @@ -5364,6 +6430,18 @@ export const ATTR_TEST_SUITE_NAME = 'test.suite.name'; /** * The status of the test suite run. * + * @example success + * + * @example failure + * + * @example skipped + * + * @example aborted + * + * @example timed_out + * + * @example in_progress + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status'; @@ -5401,6 +6479,8 @@ export const TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; /** * Current "managed" thread ID (as opposed to OS thread ID). * + * @example 42 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_THREAD_ID = 'thread.id'; @@ -5408,6 +6488,8 @@ export const ATTR_THREAD_ID = 'thread.id'; /** * Current thread name. * + * @example "main" + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_THREAD_NAME = 'thread.name'; @@ -5415,6 +6497,10 @@ export const ATTR_THREAD_NAME = 'thread.name'; /** * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. * + * @example TLS_RSA_WITH_3DES_EDE_CBC_SHA + * + * @example TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 + * * @note The values allowed for `tls.cipher` **MUST** be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5424,6 +6510,8 @@ export const ATTR_TLS_CIPHER = 'tls.cipher'; /** * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. * + * @example MII... + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; @@ -5431,6 +6519,10 @@ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. * + * @example MII... + * + * @example MI... + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; @@ -5438,6 +6530,8 @@ export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * + * @example 0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; @@ -5445,6 +6539,8 @@ export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * + * @example 9E393D93138888D288266C2D915214D1D1CCEB2A + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; @@ -5452,6 +6548,8 @@ export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. * + * @example 0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; @@ -5459,6 +6557,8 @@ export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * + * @example CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; @@ -5466,6 +6566,8 @@ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; /** * A hash that identifies clients based on how they perform an SSL/TLS handshake. * + * @example d4e5b18d6b55c71272893221c96ba240 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; @@ -5473,6 +6575,8 @@ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; /** * Date/Time indicating when client certificate is no longer considered valid. * + * @example 2021-01-01T00:00:00.000Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; @@ -5480,6 +6584,8 @@ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; /** * Date/Time indicating when client certificate is first considered valid. * + * @example 1970-01-01T00:00:00.000Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; @@ -5487,6 +6593,8 @@ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; /** * Deprecated, use `server.address` instead. * + * @example opentelemetry.io + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address. @@ -5496,6 +6604,8 @@ export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; /** * Distinguished name of subject of the x.509 certificate presented by the client. * + * @example CN=myclient, OU=Documentation Team, DC=example, DC=com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; @@ -5503,6 +6613,12 @@ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; /** * Array of ciphers offered by the client during the client hello. * + * @example TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 + * + * @example TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + * + * @example ... + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; @@ -5510,6 +6626,8 @@ export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; /** * String indicating the curve used for the given cipher, when applicable * + * @example secp256r1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CURVE = 'tls.curve'; @@ -5517,6 +6635,8 @@ export const ATTR_TLS_CURVE = 'tls.curve'; /** * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. * + * @example true + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_ESTABLISHED = 'tls.established'; @@ -5524,6 +6644,8 @@ export const ATTR_TLS_ESTABLISHED = 'tls.established'; /** * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. * + * @example http/1.1 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; @@ -5548,6 +6670,10 @@ export const TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) * + * @example 1.2 + * + * @example 3 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; @@ -5555,6 +6681,8 @@ export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; /** * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. * + * @example true + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_RESUMED = 'tls.resumed'; @@ -5562,6 +6690,8 @@ export const ATTR_TLS_RESUMED = 'tls.resumed'; /** * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. * + * @example MII... + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; @@ -5569,6 +6699,10 @@ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. * + * @example MII... + * + * @example MI... + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; @@ -5576,6 +6710,8 @@ export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * + * @example 0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; @@ -5583,6 +6719,8 @@ export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * + * @example 9E393D93138888D288266C2D915214D1D1CCEB2A + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; @@ -5590,6 +6728,8 @@ export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. * + * @example 0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; @@ -5597,6 +6737,8 @@ export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. * + * @example CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; @@ -5604,6 +6746,8 @@ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; /** * A hash that identifies servers based on how they perform an SSL/TLS handshake. * + * @example d4e5b18d6b55c71272893221c96ba240 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; @@ -5611,6 +6755,8 @@ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; /** * Date/Time indicating when server certificate is no longer considered valid. * + * @example 2021-01-01T00:00:00.000Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; @@ -5618,6 +6764,8 @@ export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; /** * Date/Time indicating when server certificate is first considered valid. * + * @example 1970-01-01T00:00:00.000Z + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; @@ -5625,6 +6773,8 @@ export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; /** * Distinguished name of subject of the x.509 certificate presented by the server. * + * @example CN=myserver, OU=Documentation Team, DC=example, DC=com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; @@ -5632,6 +6782,14 @@ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; /** * Domain extracted from the `url.full`, such as "opentelemetry.io". * + * @example www.foo.bar + * + * @example opentelemetry.io + * + * @example 3.12.167.2 + * + * @example [1080:0:0:0:8:800:200C:417A] + * * @note In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5641,6 +6799,10 @@ export const ATTR_URL_DOMAIN = 'url.domain'; /** * The file extension extracted from the `url.full`, excluding the leading dot. * + * @example png + * + * @example gz + * * @note The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5650,6 +6812,10 @@ export const ATTR_URL_EXTENSION = 'url.extension'; /** * Unmodified original URL as seen in the event source. * + * @example https://www.foo.bar/search?q=OpenTelemetry#SemConv + * + * @example search?q=OpenTelemetry + * * @note In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. * `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username **SHOULD** **NOT** be redacted and attribute's value **SHOULD** remain the same. * @@ -5660,6 +6826,8 @@ export const ATTR_URL_ORIGINAL = 'url.original'; /** * Port extracted from the `url.full` * + * @example 443 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_PORT = 'url.port'; @@ -5667,6 +6835,10 @@ export const ATTR_URL_PORT = 'url.port'; /** * The highest registered url domain, stripped of the subdomain. * + * @example example.com + * + * @example foo.co.uk + * * @note This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5676,6 +6848,10 @@ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; /** * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. * + * @example east + * + * @example sub2.sub1 + * * @note The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5685,6 +6861,12 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; /** * The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2). * + * @example /users/{id} + * + * @example /users/:id + * + * @example /users?id={id} + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_TEMPLATE = 'url.template'; @@ -5692,6 +6874,10 @@ export const ATTR_URL_TEMPLATE = 'url.template'; /** * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. * + * @example com + * + * @example co.uk + * * @note This value can be determined precisely with the [public suffix list](http://publicsuffix.org). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5701,6 +6887,8 @@ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; /** * User email address. * + * @example a.einstein@example.com + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_EMAIL = 'user.email'; @@ -5708,6 +6896,8 @@ export const ATTR_USER_EMAIL = 'user.email'; /** * User's full name * + * @example Albert Einstein + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_FULL_NAME = 'user.full_name'; @@ -5715,6 +6905,8 @@ export const ATTR_USER_FULL_NAME = 'user.full_name'; /** * Unique user hash to correlate information for a user in anonymized form. * + * @example 364fc68eaf4c8acec74a4e52d7d1feaa + * * @note Useful if `user.id` or `user.name` contain confidential information and cannot be used. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5724,6 +6916,8 @@ export const ATTR_USER_HASH = 'user.hash'; /** * Unique identifier of the user. * + * @example S-1-5-21-202424912787-2692429404-2351956786-1000 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_ID = 'user.id'; @@ -5731,6 +6925,8 @@ export const ATTR_USER_ID = 'user.id'; /** * Short name or login/username of the user. * + * @example a.einstein + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_NAME = 'user.name'; @@ -5738,6 +6934,10 @@ export const ATTR_USER_NAME = 'user.name'; /** * Array of user roles at the time of the event. * + * @example admin + * + * @example reporting_user + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_ROLES = 'user.roles'; @@ -5745,6 +6945,10 @@ export const ATTR_USER_ROLES = 'user.roles'; /** * Name of the user-agent extracted from original. Usually refers to the browser's name. * + * @example Safari + * + * @example YourApp + * * @note [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name **SHOULD** be selected. In such a scenario it should align with `user_agent.version` * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5754,6 +6958,10 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name'; /** * Version of the user-agent extracted from original. Usually refers to the browser's version * + * @example 14.1.2 + * + * @example 1.0.0 + * * @note [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version **SHOULD** be selected. In such a scenario it should align with `user_agent.name` * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. @@ -5824,6 +7032,8 @@ export const V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; /** * The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system. * + * @example 123 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id'; @@ -5831,6 +7041,12 @@ export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id'; /** * The human readable title of the change (pull request/merge request). This title is often a brief summary of the change and may get merged in to a ref as the commit summary. * + * @example Fixes broken thing + * + * @example feat: add my new feature + * + * @example [chore] update dependency + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title'; @@ -5838,6 +7054,10 @@ export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title'; /** * The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository. * + * @example my-feature-branch + * + * @example tag-1-test + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name'; @@ -5845,6 +7065,14 @@ export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name'; /** * The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN. * + * @example 9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc + * + * @example main + * + * @example 123 + * + * @example HEAD + * * @note The revision can be a full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), * of the recorded change to a ref within a repository pointing to a * commit [commit](https://git-scm.com/docs/git-commit) object. It does @@ -5862,6 +7090,10 @@ export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision'; /** * The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository. * + * @example branch + * + * @example tag + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type'; @@ -5879,6 +7111,10 @@ export const VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; /** * The [URL](https://en.wikipedia.org/wiki/URL) of the repository providing the complete address in order to locate and identify the repository. * + * @example https://github.com/opentelemetry/open-telemetry-collector-contrib + * + * @example https://gitlab.com/my-org/my-project/my-projects-project/repo + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full'; @@ -5886,6 +7122,8 @@ export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full'; /** * Additional description of the web engine (e.g. detailed version and edition information). * + * @example WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; @@ -5893,6 +7131,8 @@ export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; /** * The name of the web engine. * + * @example WildFly + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_NAME = 'webengine.name'; @@ -5900,6 +7140,8 @@ export const ATTR_WEBENGINE_NAME = 'webengine.name'; /** * The version of the web engine. * + * @example 21.0.0 + * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_VERSION = 'webengine.version'; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index d6ee4f39cb..03171d31f6 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -20,6 +20,10 @@ /** * Rate-limiting result, shows whether the lease was acquired or contains a rejection reason + * + * @example acquired + * + * @example request_canceled */ export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result'; @@ -111,6 +115,8 @@ export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; /** * The name of the telemetry SDK as defined above. * + * @example opentelemetry + * * @note The OpenTelemetry SDK **MUST** set the `telemetry.sdk.name` attribute to `opentelemetry`. * If another SDK, like a fork or a vendor-provided implementation, is used, this SDK **MUST** set the * `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point @@ -122,16 +128,24 @@ export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; /** * The version string of the telemetry SDK. + * + * @example 1.2.3 */ export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; /** * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. + * + * @example Contoso.MyHandler */ export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type'; /** * ASP.NET Core exception middleware handling result + * + * @example handled + * + * @example unhandled */ export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result'; @@ -157,21 +171,35 @@ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandle /** * Rate limiting policy name. + * + * @example fixed + * + * @example sliding + * + * @example token */ export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy'; /** * Flag indicating if request was handled by the application pipeline. + * + * @example true */ export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled'; /** * A value that indicates whether the matched route is a fallback route. + * + * @example true */ export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback'; /** * Match result - success or failure + * + * @example success + * + * @example failure */ export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'; @@ -188,6 +216,12 @@ export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * + * @example client.example.com + * + * @example 10.1.2.80 + * + * @example /tmp/my.sock + * * @note When observed from the server side, and when communicating through an intermediary, `client.address` **SHOULD** represent the client address behind any intermediaries, for example proxies, if it's available. */ export const ATTR_CLIENT_ADDRESS = 'client.address'; @@ -195,6 +229,8 @@ export const ATTR_CLIENT_ADDRESS = 'client.address'; /** * Client port number. * + * @example 65123 + * * @note When observed from the server side, and when communicating through an intermediary, `client.port` **SHOULD** represent the client port behind any intermediaries, for example proxies, if it's available. */ export const ATTR_CLIENT_PORT = 'client.port'; @@ -202,6 +238,14 @@ export const ATTR_CLIENT_PORT = 'client.port'; /** * Describes a class of error the operation ended with. * + * @example timeout + * + * @example java.net.UnknownHostException + * + * @example server_certificate_invalid + * + * @example 500 + * * @note The `error.type` **SHOULD** be predictable, and **SHOULD** have low cardinality. * * When `error.type` is set to a type (e.g., an exception type), its @@ -253,22 +297,36 @@ export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; /** * The exception message. + * + * @example Division by zero + * + * @example Can't convert 'int' object to str implicitly */ export const ATTR_EXCEPTION_MESSAGE = 'exception.message'; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. + * + * @example "Exception in thread \"main\" java.lang.RuntimeException: Test exception\\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)" */ export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; /** * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. + * + * @example java.net.ConnectException + * + * @example OSError */ export const ATTR_EXCEPTION_TYPE = 'exception.type'; /** * HTTP request headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. * + * @example http.request.header.content-type=["application/json"] + * + * @example http.request.header.x-forwarded-for=["1.2.3.4", "1.2.3.5"] + * * @note Instrumentations **SHOULD** require an explicit configuration of which headers are to be captured. Including all request headers can be a security risk - explicit configuration helps avoid leaking sensitive information. * The `User-Agent` header is already captured in the `user_agent.original` attribute. Users **MAY** explicitly configure instrumentations to capture them even though it is not recommended. * The attribute value **MUST** consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers. @@ -278,6 +336,12 @@ export const ATTR_HTTP_REQUEST_HEADER = (key: string) => `http.request.header.${ /** * HTTP request method. * + * @example GET + * + * @example POST + * + * @example HEAD + * * @note HTTP request method value **SHOULD** be "known" to the instrumentation. * By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) * and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). @@ -347,12 +411,20 @@ export const HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; /** * Original HTTP method sent by the client in the request line. + * + * @example GeT + * + * @example ACL + * + * @example foo */ export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; /** * The ordinal number of request resending attempt (for any reason, including redirects). * + * @example 3 + * * @note The resend count **SHOULD** be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; @@ -360,6 +432,10 @@ export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; /** * HTTP response headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. * + * @example http.response.header.content-type=["application/json"] + * + * @example http.response.header.my-custom-header=["abc", "def"] + * * @note Instrumentations **SHOULD** require an explicit configuration of which headers are to be captured. Including all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information. * Users **MAY** explicitly configure instrumentations to capture them even though it is not recommended. * The attribute value **MUST** consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers. @@ -368,12 +444,18 @@ export const ATTR_HTTP_RESPONSE_HEADER = (key: string) => `http.response.header. /** * [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). + * + * @example 200 */ export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; /** * The matched route, that is, the path template in the format used by the respective server framework. * + * @example /users/:userID? + * + * @example {controller}/{action}/{id?} + * * @note MUST **NOT** be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can **NOT** substitute it. * SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. */ @@ -382,6 +464,10 @@ export const ATTR_HTTP_ROUTE = 'http.route'; /** * Name of the garbage collector action. * + * @example end of minor GC + * + * @example end of major GC + * * @note Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). */ export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; @@ -389,6 +475,10 @@ export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; /** * Name of the garbage collector. * + * @example G1 Young Generation + * + * @example G1 Old Generation + * * @note Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). */ export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; @@ -396,12 +486,22 @@ export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; /** * Name of the memory pool. * + * @example G1 Old Gen + * + * @example G1 Eden space + * + * @example G1 Survivor Space + * * @note Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). */ export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; /** * The type of memory. + * + * @example heap + * + * @example non_heap */ export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; @@ -422,6 +522,10 @@ export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; /** * State of the thread. + * + * @example runnable + * + * @example blocked */ export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; @@ -457,27 +561,45 @@ export const JVM_THREAD_STATE_VALUE_WAITING = "waiting"; /** * Local address of the network connection - IP address or Unix domain socket name. + * + * @example 10.1.2.80 + * + * @example /tmp/my.sock */ export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address'; /** * Local port number of the network connection. + * + * @example 65123 */ export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port'; /** * Peer address of the network connection - IP address or Unix domain socket name. + * + * @example 10.1.2.80 + * + * @example /tmp/my.sock */ export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address'; /** * Peer port number of the network connection. + * + * @example 65123 */ export const ATTR_NETWORK_PEER_PORT = 'network.peer.port'; /** * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. * + * @example amqp + * + * @example http + * + * @example mqtt + * * @note The value **SHOULD** be normalized to lowercase. */ export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; @@ -485,6 +607,10 @@ export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; /** * The actual version of the protocol used for network communication. * + * @example 1.1 + * + * @example 2 + * * @note If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute **SHOULD** be set to the negotiated version. If the actual protocol version is not known, this attribute **SHOULD** **NOT** be set. */ export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; @@ -492,6 +618,10 @@ export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; /** * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). * + * @example tcp + * + * @example udp + * * @note The value **SHOULD** be normalized to lowercase. * * Consider always setting the transport when setting a port number, since @@ -528,6 +658,10 @@ export const NETWORK_TRANSPORT_VALUE_UNIX = "unix"; /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. * + * @example ipv4 + * + * @example ipv6 + * * @note The value **SHOULD** be normalized to lowercase. */ export const ATTR_NETWORK_TYPE = 'network.type'; @@ -544,11 +678,15 @@ export const NETWORK_TYPE_VALUE_IPV6 = "ipv6"; /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). + * + * @example io.opentelemetry.contrib.mongodb */ export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name'; /** * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). + * + * @example 1.0.0 */ export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version'; @@ -569,12 +707,20 @@ export const OTEL_STATUS_CODE_VALUE_OK = "OK"; /** * Description of the Status if it has a value, otherwise not set. + * + * @example resource not found */ export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; /** * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. * + * @example example.com + * + * @example 10.1.2.80 + * + * @example /tmp/my.sock + * * @note When observed from the client side, and when communicating through an intermediary, `server.address` **SHOULD** represent the server address behind any intermediaries, for example proxies, if it's available. */ export const ATTR_SERVER_ADDRESS = 'server.address'; @@ -582,6 +728,12 @@ export const ATTR_SERVER_ADDRESS = 'server.address'; /** * Server port number. * + * @example 80 + * + * @example 8080 + * + * @example 443 + * * @note When observed from the client side, and when communicating through an intermediary, `server.port` **SHOULD** represent the server port behind any intermediaries, for example proxies, if it's available. */ export const ATTR_SERVER_PORT = 'server.port'; @@ -589,17 +741,27 @@ export const ATTR_SERVER_PORT = 'server.port'; /** * Logical name of the service. * + * @example shoppingcart + * * @note MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs **MUST** fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value **MUST** be set to `unknown_service`. */ export const ATTR_SERVICE_NAME = 'service.name'; /** * The version string of the service API or implementation. The format is not defined by these conventions. + * + * @example 2.0.0 + * + * @example a01dbef8a */ export const ATTR_SERVICE_VERSION = 'service.version'; /** * SignalR HTTP connection closure status. + * + * @example app_shutdown + * + * @example timeout */ export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; @@ -620,6 +782,10 @@ export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) + * + * @example web_sockets + * + * @example long_polling */ export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; @@ -640,12 +806,18 @@ export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets"; /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component + * + * @example SemConv */ export const ATTR_URL_FRAGMENT = 'url.fragment'; /** * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986) * + * @example https://www.foo.bar/search?q=OpenTelemetry#SemConv + * + * @example //localhost + * * @note For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it **SHOULD** be included nevertheless. * `url.full` **MUST** **NOT** contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password **SHOULD** be redacted and attribute's value **SHOULD** be `https://REDACTED:REDACTED@www.example.com/`. * `url.full` **SHOULD** capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` **SHOULD** be scrubbed when instrumentations can identify it. @@ -655,6 +827,8 @@ export const ATTR_URL_FULL = 'url.full'; /** * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component * + * @example /search + * * @note Sensitive content provided in `url.path` **SHOULD** be scrubbed when instrumentations can identify it. */ export const ATTR_URL_PATH = 'url.path'; @@ -662,17 +836,31 @@ export const ATTR_URL_PATH = 'url.path'; /** * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component * + * @example q=OpenTelemetry + * * @note Sensitive content provided in `url.query` **SHOULD** be scrubbed when instrumentations can identify it. */ export const ATTR_URL_QUERY = 'url.query'; /** * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. + * + * @example https + * + * @example ftp + * + * @example telnet */ export const ATTR_URL_SCHEME = 'url.scheme'; /** * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. + * + * @example CERN-LineMode/2.15 libwww/2.17b3 + * + * @example Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1 + * + * @example YourApp/1.0.0 grpc-java-okhttp/1.27.2 */ export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original'; diff --git a/scripts/semconv/templates/registry/stable/docstring.ts.j2 b/scripts/semconv/templates/registry/stable/docstring.ts.j2 index 1988c7b276..0760838555 100644 --- a/scripts/semconv/templates/registry/stable/docstring.ts.j2 +++ b/scripts/semconv/templates/registry/stable/docstring.ts.j2 @@ -2,7 +2,13 @@ {% macro docstring(obj, type="value") -%}/** {{ strong_reqs(obj.brief | comment_with_prefix(" * ")) }} -{% if obj.note %} +{% if obj.examples is sequence %}{% for example in obj.examples %} + * + * @example {{ example }} +{% endfor %}{%elif obj.examples%} + * + * @example {{ obj.examples | print_member_value }} +{% endif %}{% if obj.note %} * {{ ("@note " ~ strong_reqs(obj.note)) | comment_with_prefix(" * ") }} {% endif %}{% if (obj.stability) != "stable" %} From fe150a8d674aaba979ed40bfe73bb50f72cd60aa Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Mon, 5 Aug 2024 09:04:02 -0400 Subject: [PATCH 43/47] Fix changelog lint --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 704930db03..2176ff6d56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ * feat: include instrumentation scope info in console span and log record exporters [#4848](https://github.com/open-telemetry/opentelemetry-js/pull/4848) @blumamir * feat(semconv): update semantic conventions to 1.27 (from 1.7.0) [#4690](https://github.com/open-telemetry/opentelemetry-js/pull/4690) @dyladan * Exported names have changed to `ATTR_{name}` for attributes (e.g. `ATTR_HTTP_REQUEST_METHOD`), `{name}_VALUE_{value}` for enumeration values (e.g. `HTTP_REQUEST_METHOD_VALUE_POST`), and `METRIC_{name}` for metrics. Exported names from previous versions are deprecated. - * Import `@opentelemetry/semantic-conventions` for *stable* semantic conventions. Import `@opentelemetry/semantic-conventions/incubating` for all semantic conventions, stable and unstable. + * Import `@opentelemetry/semantic-conventions` for *stable* semantic conventions. Import `@opentelemetry/semantic-conventions/incubating` for all semantic conventions, stable and unstable. ### :bug: (Bug Fix) From b51a24965af8817be3949f01a108b9ec99af6590 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Tue, 6 Aug 2024 07:58:01 -0400 Subject: [PATCH 44/47] Fix readme import --- packages/opentelemetry-semantic-conventions/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/README.md b/packages/opentelemetry-semantic-conventions/README.md index 0c43afa155..ecb78bb714 100644 --- a/packages/opentelemetry-semantic-conventions/README.md +++ b/packages/opentelemetry-semantic-conventions/README.md @@ -29,7 +29,7 @@ import { ATTR_NETWORK_PEER_PORT, ATTR_NETWORK_PROTOCOL_NAME, ATTR_NETWORK_PROTOCOL_VERSION, - ATTR_NETWORK_TRANSPORT_VALUE_TCP, + NETWORK_TRANSPORT_VALUE_TCP, } from '@opentelemetry/semantic-conventions'; const span = tracer.startSpan(spanName, spanOptions) @@ -38,7 +38,7 @@ const span = tracer.startSpan(spanName, spanOptions) [ATTR_NETWORK_PEER_PORT]: 8080, [ATTR_NETWORK_PROTOCOL_NAME]: 'http', [ATTR_NETWORK_PROTOCOL_VERSION]: '1.1', - [ATTR_NETWORK_TRANSPORT]: ATTR_NETWORK_TRANSPORT_VALUE_TCP, + [ATTR_NETWORK_TRANSPORT]: NETWORK_TRANSPORT_VALUE_TCP, }); ``` From de3cf388b20785dd7713769bf1183df8e419a917 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 7 Aug 2024 00:19:24 -0400 Subject: [PATCH 45/47] Export string as const for better type safety --- .../src/experimental_attributes.ts | 1732 ++++++++--------- .../src/stable_attributes.ts | 216 +- .../registry/stable/attributes.ts.j2 | 4 +- .../templates/registry/stable/metrics.ts.j2 | 2 +- 4 files changed, 977 insertions(+), 977 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index c1cd0cb39d..e2653d623a 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -27,7 +27,7 @@ * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; +export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id' as const; /** * Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels). @@ -38,7 +38,7 @@ export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; +export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level' as const; /** * Deprecated use the `device.app.lifecycle` event definition including `android.state` as a payload field instead. @@ -47,22 +47,22 @@ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ANDROID_STATE = 'android.state'; +export const ATTR_ANDROID_STATE = 'android.state' as const; /** * Enum value "background" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ANDROID_STATE_VALUE_BACKGROUND = "background"; +export const ANDROID_STATE_VALUE_BACKGROUND = "background" as const; /** * Enum value "created" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ANDROID_STATE_VALUE_CREATED = "created"; +export const ANDROID_STATE_VALUE_CREATED = "created" as const; /** * Enum value "foreground" for attribute {@link ATTR_ANDROID_STATE}. */ -export const ANDROID_STATE_VALUE_FOREGROUND = "foreground"; +export const ANDROID_STATE_VALUE_FOREGROUND = "foreground" as const; /** * The provenance filename of the built attestation which directly relates to the build artifact filename. This filename **SHOULD** accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information. @@ -77,7 +77,7 @@ export const ANDROID_STATE_VALUE_FOREGROUND = "foreground"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename'; +export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename' as const; /** * The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the software attestation space also refer to this as the [digest](https://github.com/in-toto/attestation/blob/main/spec/README.md#in-toto-attestation-framework-spec). @@ -86,7 +86,7 @@ export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash'; +export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash' as const; /** * The id of the build [software attestation](https://slsa.dev/attestation-model). @@ -95,7 +95,7 @@ export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id'; +export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id' as const; /** * The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name. @@ -115,7 +115,7 @@ export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_FILENAME = 'artifact.filename'; +export const ATTR_ARTIFACT_FILENAME = 'artifact.filename' as const; /** * The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity. @@ -133,7 +133,7 @@ export const ATTR_ARTIFACT_FILENAME = 'artifact.filename'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_HASH = 'artifact.hash'; +export const ATTR_ARTIFACT_HASH = 'artifact.hash' as const; /** * The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact. @@ -144,7 +144,7 @@ export const ATTR_ARTIFACT_HASH = 'artifact.hash'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_PURL = 'artifact.purl'; +export const ATTR_ARTIFACT_PURL = 'artifact.purl' as const; /** * The version of the artifact. @@ -157,7 +157,7 @@ export const ATTR_ARTIFACT_PURL = 'artifact.purl'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_ARTIFACT_VERSION = 'artifact.version'; +export const ATTR_ARTIFACT_VERSION = 'artifact.version' as const; /** * The JSON-serialized value of each item in the `AttributeDefinitions` request field. @@ -166,7 +166,7 @@ export const ATTR_ARTIFACT_VERSION = 'artifact.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions'; +export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions' as const; /** * The value of the `AttributesToGet` request parameter. @@ -177,14 +177,14 @@ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_d * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get'; +export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get' as const; /** * The value of the `ConsistentRead` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; +export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read' as const; /** * The JSON-serialized value of each item in the `ConsumedCapacity` response field. @@ -193,7 +193,7 @@ export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity'; +export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity' as const; /** * The value of the `Count` response parameter. @@ -202,7 +202,7 @@ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capaci * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; +export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; /** * The value of the `ExclusiveStartTableName` request parameter. @@ -213,7 +213,7 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table'; +export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table' as const; /** * The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field. @@ -222,7 +222,7 @@ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_s * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates'; +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates' as const; /** * The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field @@ -231,7 +231,7 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.gl * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes'; +export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes' as const; /** * The value of the `IndexName` request parameter. @@ -240,7 +240,7 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_s * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; +export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name' as const; /** * The JSON-serialized value of the `ItemCollectionMetrics` response field. @@ -249,7 +249,7 @@ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics'; +export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics' as const; /** * The value of the `Limit` request parameter. @@ -258,7 +258,7 @@ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_coll * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; +export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; /** * The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field. @@ -267,7 +267,7 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes'; +export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes' as const; /** * The value of the `ProjectionExpression` request parameter. @@ -280,7 +280,7 @@ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_sec * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; +export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; /** * The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter. @@ -291,7 +291,7 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity'; +export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity' as const; /** * The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter. @@ -302,14 +302,14 @@ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisi * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity'; +export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity' as const; /** * The value of the `ScanIndexForward` request parameter. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; +export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward' as const; /** * The value of the `ScannedCount` response parameter. @@ -318,7 +318,7 @@ export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; +export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count' as const; /** * The value of the `Segment` request parameter. @@ -327,7 +327,7 @@ export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; +export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment' as const; /** * The value of the `Select` request parameter. @@ -338,7 +338,7 @@ export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; +export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; /** * The number of items in the `TableNames` response parameter. @@ -347,7 +347,7 @@ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; +export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count' as const; /** * The keys in the `RequestItems` object field. @@ -358,7 +358,7 @@ export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; +export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names' as const; /** * The value of the `TotalSegments` request parameter. @@ -367,7 +367,7 @@ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; +export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments' as const; /** * The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). @@ -376,7 +376,7 @@ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; +export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn' as const; /** * The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). @@ -385,24 +385,24 @@ export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn'; +export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn' as const; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype'; +export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype' as const; /** * Enum value "ec2" for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. */ -export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = "ec2"; +export const AWS_ECS_LAUNCHTYPE_VALUE_EC2 = "ec2" as const; /** * Enum value "fargate" for attribute {@link ATTR_AWS_ECS_LAUNCHTYPE}. */ -export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; +export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate" as const; /** * The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). @@ -413,7 +413,7 @@ export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; +export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn' as const; /** * The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. @@ -422,7 +422,7 @@ export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; +export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family' as const; /** * The revision for the task definition used to create the ECS task. @@ -433,7 +433,7 @@ export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; +export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision' as const; /** * The ARN of an EKS cluster. @@ -442,7 +442,7 @@ export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; +export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn' as const; /** * The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). @@ -453,7 +453,7 @@ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; +export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' as const; /** * The Amazon Resource Name(s) (ARN) of the AWS log group(s). @@ -464,7 +464,7 @@ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; +export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns' as const; /** * The name(s) of the AWS log group(s) an application is writing to. @@ -477,7 +477,7 @@ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; +export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names' as const; /** * The ARN(s) of the AWS log stream(s). @@ -488,7 +488,7 @@ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; +export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns' as const; /** * The name(s) of the AWS log stream(s) an application is writing to. @@ -497,7 +497,7 @@ export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; +export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names' as const; /** * The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`. @@ -508,7 +508,7 @@ export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; +export const ATTR_AWS_REQUEST_ID = 'aws.request_id' as const; /** * The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -520,7 +520,7 @@ export const ATTR_AWS_REQUEST_ID = 'aws.request_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; +export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; /** * The source object (in the form `bucket`/`key`) for the copy operation. @@ -536,7 +536,7 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; +export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source' as const; /** * The delete request container that specifies the objects to be deleted. @@ -549,7 +549,7 @@ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; +export const ATTR_AWS_S3_DELETE = 'aws.s3.delete' as const; /** * The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations. @@ -575,7 +575,7 @@ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_KEY = 'aws.s3.key'; +export const ATTR_AWS_S3_KEY = 'aws.s3.key' as const; /** * The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000. @@ -589,7 +589,7 @@ export const ATTR_AWS_S3_KEY = 'aws.s3.key'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; +export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; /** * Upload ID that identifies the multipart upload. @@ -608,7 +608,7 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; +export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id' as const; /** * The unique identifier of the service request. It's generated by the Azure service and returned with the response. @@ -617,7 +617,7 @@ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id'; +export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id' as const; /** * Array of brand name and version separated by a space @@ -632,7 +632,7 @@ export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_BRANDS = 'browser.brands'; +export const ATTR_BROWSER_BRANDS = 'browser.brands' as const; /** * Preferred language of the user using the browser @@ -649,7 +649,7 @@ export const ATTR_BROWSER_BRANDS = 'browser.brands'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_LANGUAGE = 'browser.language'; +export const ATTR_BROWSER_LANGUAGE = 'browser.language' as const; /** * A boolean that is true if the browser is running on a mobile device @@ -658,7 +658,7 @@ export const ATTR_BROWSER_LANGUAGE = 'browser.language'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_MOBILE = 'browser.mobile'; +export const ATTR_BROWSER_MOBILE = 'browser.mobile' as const; /** * The platform on which the browser is running @@ -674,7 +674,7 @@ export const ATTR_BROWSER_MOBILE = 'browser.mobile'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_BROWSER_PLATFORM = 'browser.platform'; +export const ATTR_BROWSER_PLATFORM = 'browser.platform' as const; /** * The human readable name of the pipeline within a CI/CD system. @@ -689,7 +689,7 @@ export const ATTR_BROWSER_PLATFORM = 'browser.platform'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name'; +export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name' as const; /** * The unique identifier of a pipeline run within a CI/CD system. @@ -698,7 +698,7 @@ export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id'; +export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id' as const; /** * The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://en.wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures. @@ -713,7 +713,7 @@ export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name'; +export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name' as const; /** * The unique identifier of a task run within a pipeline. @@ -722,7 +722,7 @@ export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id'; +export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id' as const; /** * The [URL](https://en.wikipedia.org/wiki/URL) of the pipeline run providing the complete address in order to locate and identify the pipeline run. @@ -731,7 +731,7 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url.full'; +export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url.full' as const; /** * The type of the task within a pipeline. @@ -744,22 +744,22 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type'; +export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type' as const; /** * Enum value "build" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = "build"; +export const CICD_PIPELINE_TASK_TYPE_VALUE_BUILD = "build" as const; /** * Enum value "deploy" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = "deploy"; +export const CICD_PIPELINE_TASK_TYPE_VALUE_DEPLOY = "deploy" as const; /** * Enum value "test" for attribute {@link ATTR_CICD_PIPELINE_TASK_TYPE}. */ -export const CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; +export const CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test" as const; /** * The cloud account ID the resource is assigned to. @@ -770,7 +770,7 @@ export const CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; +export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id' as const; /** * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. @@ -781,7 +781,7 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; +export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone' as const; /** * The cloud platform in use. @@ -790,189 +790,189 @@ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_PLATFORM = 'cloud.platform'; +export const ATTR_CLOUD_PLATFORM = 'cloud.platform' as const; /** * Enum value "alibaba_cloud_ecs" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs"; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs" as const; /** * Enum value "alibaba_cloud_fc" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = "alibaba_cloud_fc"; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_FC = "alibaba_cloud_fc" as const; /** * Enum value "alibaba_cloud_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift"; +export const CLOUD_PLATFORM_VALUE_ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift" as const; /** * Enum value "aws_app_runner" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = "aws_app_runner"; +export const CLOUD_PLATFORM_VALUE_AWS_APP_RUNNER = "aws_app_runner" as const; /** * Enum value "aws_ec2" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_EC2 = "aws_ec2"; +export const CLOUD_PLATFORM_VALUE_AWS_EC2 = "aws_ec2" as const; /** * Enum value "aws_ecs" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_ECS = "aws_ecs"; +export const CLOUD_PLATFORM_VALUE_AWS_ECS = "aws_ecs" as const; /** * Enum value "aws_eks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_EKS = "aws_eks"; +export const CLOUD_PLATFORM_VALUE_AWS_EKS = "aws_eks" as const; /** * Enum value "aws_elastic_beanstalk" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk"; +export const CLOUD_PLATFORM_VALUE_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk" as const; /** * Enum value "aws_lambda" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = "aws_lambda"; +export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = "aws_lambda" as const; /** * Enum value "aws_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = "aws_openshift"; +export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = "aws_openshift" as const; /** * Enum value "azure_aks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks"; +export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks" as const; /** * Enum value "azure_app_service" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure_app_service"; +export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure_app_service" as const; /** * Enum value "azure_container_apps" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure_container_apps"; +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure_container_apps" as const; /** * Enum value "azure_container_instances" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure_container_instances"; +export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure_container_instances" as const; /** * Enum value "azure_functions" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure_functions"; +export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure_functions" as const; /** * Enum value "azure_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure_openshift"; +export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure_openshift" as const; /** * Enum value "azure_vm" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_AZURE_VM = "azure_vm"; +export const CLOUD_PLATFORM_VALUE_AZURE_VM = "azure_vm" as const; /** * Enum value "gcp_app_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = "gcp_app_engine"; +export const CLOUD_PLATFORM_VALUE_GCP_APP_ENGINE = "gcp_app_engine" as const; /** * Enum value "gcp_bare_metal_solution" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution"; +export const CLOUD_PLATFORM_VALUE_GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution" as const; /** * Enum value "gcp_cloud_functions" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions"; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions" as const; /** * Enum value "gcp_cloud_run" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = "gcp_cloud_run"; +export const CLOUD_PLATFORM_VALUE_GCP_CLOUD_RUN = "gcp_cloud_run" as const; /** * Enum value "gcp_compute_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = "gcp_compute_engine"; +export const CLOUD_PLATFORM_VALUE_GCP_COMPUTE_ENGINE = "gcp_compute_engine" as const; /** * Enum value "gcp_kubernetes_engine" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine"; +export const CLOUD_PLATFORM_VALUE_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine" as const; /** * Enum value "gcp_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = "gcp_openshift"; +export const CLOUD_PLATFORM_VALUE_GCP_OPENSHIFT = "gcp_openshift" as const; /** * Enum value "ibm_cloud_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift"; +export const CLOUD_PLATFORM_VALUE_IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift" as const; /** * Enum value "tencent_cloud_cvm" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = "tencent_cloud_cvm"; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_CVM = "tencent_cloud_cvm" as const; /** * Enum value "tencent_cloud_eks" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = "tencent_cloud_eks"; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_EKS = "tencent_cloud_eks" as const; /** * Enum value "tencent_cloud_scf" for attribute {@link ATTR_CLOUD_PLATFORM}. */ -export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf"; +export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf" as const; /** * Name of the cloud provider. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_PROVIDER = 'cloud.provider'; +export const ATTR_CLOUD_PROVIDER = 'cloud.provider' as const; /** * Enum value "alibaba_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; +export const CLOUD_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud" as const; /** * Enum value "aws" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_AWS = "aws"; +export const CLOUD_PROVIDER_VALUE_AWS = "aws" as const; /** * Enum value "azure" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_AZURE = "azure"; +export const CLOUD_PROVIDER_VALUE_AZURE = "azure" as const; /** * Enum value "gcp" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_GCP = "gcp"; +export const CLOUD_PROVIDER_VALUE_GCP = "gcp" as const; /** * Enum value "heroku" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_HEROKU = "heroku"; +export const CLOUD_PROVIDER_VALUE_HEROKU = "heroku" as const; /** * Enum value "ibm_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = "ibm_cloud"; +export const CLOUD_PROVIDER_VALUE_IBM_CLOUD = "ibm_cloud" as const; /** * Enum value "tencent_cloud" for attribute {@link ATTR_CLOUD_PROVIDER}. */ -export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; +export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud" as const; /** * The geographical region the resource is running. @@ -985,7 +985,7 @@ export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_REGION = 'cloud.region'; +export const ATTR_CLOUD_REGION = 'cloud.region' as const; /** * Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP) @@ -1016,7 +1016,7 @@ export const ATTR_CLOUD_REGION = 'cloud.region'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; +export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id' as const; /** * The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event. @@ -1027,7 +1027,7 @@ export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; +export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id' as const; /** * The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened. @@ -1040,7 +1040,7 @@ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; +export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source' as const; /** * The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses. @@ -1049,7 +1049,7 @@ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version'; +export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version' as const; /** * The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source). @@ -1058,7 +1058,7 @@ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_versi * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; +export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject' as const; /** * The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence. @@ -1069,7 +1069,7 @@ export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; +export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type' as const; /** * The column number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. @@ -1078,7 +1078,7 @@ export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_COLUMN = 'code.column'; +export const ATTR_CODE_COLUMN = 'code.column' as const; /** * The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path). @@ -1087,7 +1087,7 @@ export const ATTR_CODE_COLUMN = 'code.column'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_FILEPATH = 'code.filepath'; +export const ATTR_CODE_FILEPATH = 'code.filepath' as const; /** * The method or function name, or equivalent (usually rightmost part of the code unit's name). @@ -1096,7 +1096,7 @@ export const ATTR_CODE_FILEPATH = 'code.filepath'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_FUNCTION = 'code.function'; +export const ATTR_CODE_FUNCTION = 'code.function' as const; /** * The line number in `code.filepath` best representing the operation. It **SHOULD** point within the code unit named in `code.function`. @@ -1105,7 +1105,7 @@ export const ATTR_CODE_FUNCTION = 'code.function'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_LINENO = 'code.lineno'; +export const ATTR_CODE_LINENO = 'code.lineno' as const; /** * The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit. @@ -1114,7 +1114,7 @@ export const ATTR_CODE_LINENO = 'code.lineno'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_NAMESPACE = 'code.namespace'; +export const ATTR_CODE_NAMESPACE = 'code.namespace' as const; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. @@ -1123,7 +1123,7 @@ export const ATTR_CODE_NAMESPACE = 'code.namespace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; +export const ATTR_CODE_STACKTRACE = 'code.stacktrace' as const; /** * The command used to run the container (i.e. the command name). @@ -1134,7 +1134,7 @@ export const ATTR_CODE_STACKTRACE = 'code.stacktrace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND = 'container.command'; +export const ATTR_CONTAINER_COMMAND = 'container.command' as const; /** * All the command arguments (including the command/executable itself) run by the container. [2] @@ -1143,7 +1143,7 @@ export const ATTR_CONTAINER_COMMAND = 'container.command'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; +export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args' as const; /** * The full command run by the container as a single string representing the full command. [2] @@ -1152,7 +1152,7 @@ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; +export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line' as const; /** * Deprecated, use `cpu.mode` instead. @@ -1165,22 +1165,22 @@ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line'; * * @deprecated * Replaced by `cpu.mode` */ -export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state'; +export const ATTR_CONTAINER_CPU_STATE = 'container.cpu.state' as const; /** * Enum value "kernel" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const CONTAINER_CPU_STATE_VALUE_KERNEL = "kernel"; +export const CONTAINER_CPU_STATE_VALUE_KERNEL = "kernel" as const; /** * Enum value "system" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const CONTAINER_CPU_STATE_VALUE_SYSTEM = "system"; +export const CONTAINER_CPU_STATE_VALUE_SYSTEM = "system" as const; /** * Enum value "user" for attribute {@link ATTR_CONTAINER_CPU_STATE}. */ -export const CONTAINER_CPU_STATE_VALUE_USER = "user"; +export const CONTAINER_CPU_STATE_VALUE_USER = "user" as const; /** * Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated. @@ -1189,7 +1189,7 @@ export const CONTAINER_CPU_STATE_VALUE_USER = "user"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_ID = 'container.id'; +export const ATTR_CONTAINER_ID = 'container.id' as const; /** * Runtime specific image identifier. Usually a hash algorithm followed by a UUID. @@ -1202,7 +1202,7 @@ export const ATTR_CONTAINER_ID = 'container.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; +export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id' as const; /** * Name of the image the container was built on. @@ -1211,7 +1211,7 @@ export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; +export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; /** * Repo digests of the container image as provided by the container runtime. @@ -1224,7 +1224,7 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; +export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests' as const; /** * Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. @@ -1235,7 +1235,7 @@ export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags'; +export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags' as const; /** * Container labels, `` being the label name, the value being the label value. @@ -1264,7 +1264,7 @@ export const ATTR_CONTAINER_LABELS = (key: string) => `container.labels.${key}`; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_NAME = 'container.name'; +export const ATTR_CONTAINER_NAME = 'container.name' as const; /** * The container runtime managing this container. @@ -1277,7 +1277,7 @@ export const ATTR_CONTAINER_NAME = 'container.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; +export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; /** * The mode of the CPU @@ -1288,109 +1288,109 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_CPU_MODE = 'cpu.mode'; +export const ATTR_CPU_MODE = 'cpu.mode' as const; /** * Enum value "idle" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_IDLE = "idle"; +export const CPU_MODE_VALUE_IDLE = "idle" as const; /** * Enum value "interrupt" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_INTERRUPT = "interrupt"; +export const CPU_MODE_VALUE_INTERRUPT = "interrupt" as const; /** * Enum value "iowait" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_IOWAIT = "iowait"; +export const CPU_MODE_VALUE_IOWAIT = "iowait" as const; /** * Enum value "kernel" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_KERNEL = "kernel"; +export const CPU_MODE_VALUE_KERNEL = "kernel" as const; /** * Enum value "nice" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_NICE = "nice"; +export const CPU_MODE_VALUE_NICE = "nice" as const; /** * Enum value "steal" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_STEAL = "steal"; +export const CPU_MODE_VALUE_STEAL = "steal" as const; /** * Enum value "system" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_SYSTEM = "system"; +export const CPU_MODE_VALUE_SYSTEM = "system" as const; /** * Enum value "user" for attribute {@link ATTR_CPU_MODE}. */ -export const CPU_MODE_VALUE_USER = "user"; +export const CPU_MODE_VALUE_USER = "user" as const; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level'; +export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level' as const; /** * Enum value "all" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = "all"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ALL = "all" as const; /** * Enum value "any" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = "any"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ANY = "any" as const; /** * Enum value "each_quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = "each_quorum"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_EACH_QUORUM = "each_quorum" as const; /** * Enum value "local_one" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = "local_one"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_ONE = "local_one" as const; /** * Enum value "local_quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = "local_quorum"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_QUORUM = "local_quorum" as const; /** * Enum value "local_serial" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = "local_serial"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_LOCAL_SERIAL = "local_serial" as const; /** * Enum value "one" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = "one"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_ONE = "one" as const; /** * Enum value "quorum" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = "quorum"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_QUORUM = "quorum" as const; /** * Enum value "serial" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = "serial"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_SERIAL = "serial" as const; /** * Enum value "three" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = "three"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_THREE = "three" as const; /** * Enum value "two" for attribute {@link ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL}. */ -export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; +export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two" as const; /** * The data center of the coordinating node for a query. @@ -1399,7 +1399,7 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; +export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc' as const; /** * The ID of the coordinating node for a query. @@ -1408,14 +1408,14 @@ export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id'; +export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id' as const; /** * Whether or not the query is idempotent. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; +export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence' as const; /** * The fetch size used for paging, i.e. how many rows will be returned at once. @@ -1424,7 +1424,7 @@ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; +export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size' as const; /** * The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively. @@ -1435,7 +1435,7 @@ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count'; +export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count' as const; /** * Deprecated, use `db.collection.name` instead. @@ -1446,7 +1446,7 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.specu * * @deprecated * Replaced by `db.collection.name`. */ -export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; +export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table' as const; /** * The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation **SHOULD** use a combination of parameters that would make the name unique, for example, combining attributes `server.address`, `server.port`, and `db.namespace`, formatted as `server.address:server.port/db.namespace`. Instrumentations that generate connection pool name following different patterns **SHOULD** document it. @@ -1455,7 +1455,7 @@ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.name'; +export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.name' as const; /** * The state of a connection in the pool @@ -1464,17 +1464,17 @@ export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.na * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state'; +export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state' as const; /** * Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. */ -export const DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = "idle"; +export const DB_CLIENT_CONNECTION_STATE_VALUE_IDLE = "idle" as const; /** * Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTION_STATE}. */ -export const DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; +export const DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used" as const; /** * Deprecated, use `db.client.connection.pool.name` instead. @@ -1485,7 +1485,7 @@ export const DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used"; * * @deprecated * Replaced by `db.client.connection.pool.name`. */ -export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool.name'; +export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool.name' as const; /** * Deprecated, use `db.client.connection.state` instead. @@ -1496,17 +1496,17 @@ export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool. * * @deprecated * Replaced by `db.client.connection.state`. */ -export const ATTR_DB_CLIENT_CONNECTIONS_STATE = 'db.client.connections.state'; +export const ATTR_DB_CLIENT_CONNECTIONS_STATE = 'db.client.connections.state' as const; /** * Enum value "idle" for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. */ -export const DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = "idle"; +export const DB_CLIENT_CONNECTIONS_STATE_VALUE_IDLE = "idle" as const; /** * Enum value "used" for attribute {@link ATTR_DB_CLIENT_CONNECTIONS_STATE}. */ -export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; +export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used" as const; /** * The name of a collection (table, container) within the database. @@ -1521,7 +1521,7 @@ export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COLLECTION_NAME = 'db.collection.name'; +export const ATTR_DB_COLLECTION_NAME = 'db.collection.name' as const; /** * Deprecated, use `server.address`, `server.port` attributes instead. @@ -1532,7 +1532,7 @@ export const ATTR_DB_COLLECTION_NAME = 'db.collection.name'; * * @deprecated * "Replaced by `server.address` and `server.port`." */ -export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; +export const ATTR_DB_CONNECTION_STRING = 'db.connection_string' as const; /** * Unique Cosmos client instance id. @@ -1541,24 +1541,24 @@ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id'; +export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id' as const; /** * Cosmos client connection mode. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode'; +export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode' as const; /** * Enum value "direct" for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = "direct"; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_DIRECT = "direct" as const; /** * Enum value "gateway" for attribute {@link ATTR_DB_COSMOSDB_CONNECTION_MODE}. */ -export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; +export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway" as const; /** * Deprecated, use `db.collection.name` instead. @@ -1569,89 +1569,89 @@ export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway"; * * @deprecated * Replaced by `db.collection.name`. */ -export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container'; +export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container' as const; /** * CosmosDB Operation Type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type'; +export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type' as const; /** * Enum value "Batch" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = "Batch"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_BATCH = "Batch" as const; /** * Enum value "Create" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = "Create"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_CREATE = "Create" as const; /** * Enum value "Delete" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = "Delete"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_DELETE = "Delete" as const; /** * Enum value "Execute" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = "Execute"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE = "Execute" as const; /** * Enum value "ExecuteJavaScript" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = "ExecuteJavaScript"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_EXECUTE_JAVASCRIPT = "ExecuteJavaScript" as const; /** * Enum value "Head" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = "Head"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD = "Head" as const; /** * Enum value "HeadFeed" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = "HeadFeed"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_HEAD_FEED = "HeadFeed" as const; /** * Enum value "Invalid" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = "Invalid"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_INVALID = "Invalid" as const; /** * Enum value "Patch" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = "Patch"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_PATCH = "Patch" as const; /** * Enum value "Query" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = "Query"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY = "Query" as const; /** * Enum value "QueryPlan" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = "QueryPlan"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_QUERY_PLAN = "QueryPlan" as const; /** * Enum value "Read" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = "Read"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ = "Read" as const; /** * Enum value "ReadFeed" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = "ReadFeed"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_READ_FEED = "ReadFeed" as const; /** * Enum value "Replace" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = "Replace"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_REPLACE = "Replace" as const; /** * Enum value "Upsert" for attribute {@link ATTR_DB_COSMOSDB_OPERATION_TYPE}. */ -export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; +export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert" as const; /** * RU consumed for that operation @@ -1662,14 +1662,14 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge'; +export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge' as const; /** * Request payload size in bytes * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length'; +export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length' as const; /** * Cosmos DB status code. @@ -1680,7 +1680,7 @@ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_cont * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; +export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' as const; /** * Cosmos DB sub status code. @@ -1691,7 +1691,7 @@ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; +export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code' as const; /** * Deprecated, use `db.namespace` instead. @@ -1702,7 +1702,7 @@ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code'; * * @deprecated * Replaced by `db.namespace`. */ -export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name'; +export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name' as const; /** * Represents the human-readable identifier of the node/instance to which a request was routed. @@ -1711,7 +1711,7 @@ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name'; +export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name' as const; /** * A dynamic value in the url path. @@ -1735,7 +1735,7 @@ export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsear * * @deprecated * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. */ -export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; +export const ATTR_DB_INSTANCE_ID = 'db.instance.id' as const; /** * Removed, no replacement at this time. @@ -1748,7 +1748,7 @@ export const ATTR_DB_INSTANCE_ID = 'db.instance.id'; * * @deprecated * Removed as not used. */ -export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; +export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname' as const; /** * Deprecated, use `db.collection.name` instead. @@ -1759,7 +1759,7 @@ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname'; * * @deprecated * Replaced by `db.collection.name`. */ -export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; +export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection' as const; /** * Deprecated, SQL Server instance is now populated as a part of `db.namespace` attribute. @@ -1770,7 +1770,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection'; * * @deprecated * Deprecated, no replacement at this time. */ -export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; +export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name' as const; /** * Deprecated, use `db.namespace` instead. @@ -1783,7 +1783,7 @@ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name'; * * @deprecated * Replaced by `db.namespace`. */ -export const ATTR_DB_NAME = 'db.name'; +export const ATTR_DB_NAME = 'db.name' as const; /** * The name of the database, fully qualified within the server address and port. @@ -1798,7 +1798,7 @@ export const ATTR_DB_NAME = 'db.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_NAMESPACE = 'db.namespace'; +export const ATTR_DB_NAMESPACE = 'db.namespace' as const; /** * Deprecated, use `db.operation.name` instead. @@ -1813,7 +1813,7 @@ export const ATTR_DB_NAMESPACE = 'db.namespace'; * * @deprecated * Replaced by `db.operation.name`. */ -export const ATTR_DB_OPERATION = 'db.operation'; +export const ATTR_DB_OPERATION = 'db.operation' as const; /** * The number of queries included in a [batch operation](/docs/database/database-spans.md#batch-operations). @@ -1828,7 +1828,7 @@ export const ATTR_DB_OPERATION = 'db.operation'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size'; +export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size' as const; /** * The name of the operation or command being executed. @@ -1845,7 +1845,7 @@ export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_OPERATION_NAME = 'db.operation.name'; +export const ATTR_DB_OPERATION_NAME = 'db.operation.name' as const; /** * A query parameter used in `db.query.text`, with `` being the parameter name, and the attribute value being a string representation of the parameter value. @@ -1874,7 +1874,7 @@ export const ATTR_DB_QUERY_PARAMETER = (key: string) => `db.query.parameter.${ke * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_QUERY_TEXT = 'db.query.text'; +export const ATTR_DB_QUERY_TEXT = 'db.query.text' as const; /** * Deprecated, use `db.namespace` instead. @@ -1889,7 +1889,7 @@ export const ATTR_DB_QUERY_TEXT = 'db.query.text'; * * @deprecated * Replaced by `db.namespace`. */ -export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; +export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index' as const; /** * Deprecated, use `db.collection.name` instead. @@ -1900,7 +1900,7 @@ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index'; * * @deprecated * Replaced by `db.collection.name`. */ -export const ATTR_DB_SQL_TABLE = 'db.sql.table'; +export const ATTR_DB_SQL_TABLE = 'db.sql.table' as const; /** * The database statement being executed. @@ -1913,7 +1913,7 @@ export const ATTR_DB_SQL_TABLE = 'db.sql.table'; * * @deprecated * Replaced by `db.query.text`. */ -export const ATTR_DB_STATEMENT = 'db.statement'; +export const ATTR_DB_STATEMENT = 'db.statement' as const; /** * The database management system (DBMS) product as identified by the client instrumentation. @@ -1922,277 +1922,277 @@ export const ATTR_DB_STATEMENT = 'db.statement'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DB_SYSTEM = 'db.system'; +export const ATTR_DB_SYSTEM = 'db.system' as const; /** * Enum value "adabas" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_ADABAS = "adabas"; +export const DB_SYSTEM_VALUE_ADABAS = "adabas" as const; /** * Enum value "cache" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_CACHE = "cache"; +export const DB_SYSTEM_VALUE_CACHE = "cache" as const; /** * Enum value "cassandra" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_CASSANDRA = "cassandra"; +export const DB_SYSTEM_VALUE_CASSANDRA = "cassandra" as const; /** * Enum value "clickhouse" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_CLICKHOUSE = "clickhouse"; +export const DB_SYSTEM_VALUE_CLICKHOUSE = "clickhouse" as const; /** * Enum value "cloudscape" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_CLOUDSCAPE = "cloudscape"; +export const DB_SYSTEM_VALUE_CLOUDSCAPE = "cloudscape" as const; /** * Enum value "cockroachdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_COCKROACHDB = "cockroachdb"; +export const DB_SYSTEM_VALUE_COCKROACHDB = "cockroachdb" as const; /** * Enum value "coldfusion" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_COLDFUSION = "coldfusion"; +export const DB_SYSTEM_VALUE_COLDFUSION = "coldfusion" as const; /** * Enum value "cosmosdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_COSMOSDB = "cosmosdb"; +export const DB_SYSTEM_VALUE_COSMOSDB = "cosmosdb" as const; /** * Enum value "couchbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_COUCHBASE = "couchbase"; +export const DB_SYSTEM_VALUE_COUCHBASE = "couchbase" as const; /** * Enum value "couchdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_COUCHDB = "couchdb"; +export const DB_SYSTEM_VALUE_COUCHDB = "couchdb" as const; /** * Enum value "db2" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_DB2 = "db2"; +export const DB_SYSTEM_VALUE_DB2 = "db2" as const; /** * Enum value "derby" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_DERBY = "derby"; +export const DB_SYSTEM_VALUE_DERBY = "derby" as const; /** * Enum value "dynamodb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_DYNAMODB = "dynamodb"; +export const DB_SYSTEM_VALUE_DYNAMODB = "dynamodb" as const; /** * Enum value "edb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_EDB = "edb"; +export const DB_SYSTEM_VALUE_EDB = "edb" as const; /** * Enum value "elasticsearch" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_ELASTICSEARCH = "elasticsearch"; +export const DB_SYSTEM_VALUE_ELASTICSEARCH = "elasticsearch" as const; /** * Enum value "filemaker" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_FILEMAKER = "filemaker"; +export const DB_SYSTEM_VALUE_FILEMAKER = "filemaker" as const; /** * Enum value "firebird" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_FIREBIRD = "firebird"; +export const DB_SYSTEM_VALUE_FIREBIRD = "firebird" as const; /** * Enum value "firstsql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_FIRSTSQL = "firstsql"; +export const DB_SYSTEM_VALUE_FIRSTSQL = "firstsql" as const; /** * Enum value "geode" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_GEODE = "geode"; +export const DB_SYSTEM_VALUE_GEODE = "geode" as const; /** * Enum value "h2" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_H2 = "h2"; +export const DB_SYSTEM_VALUE_H2 = "h2" as const; /** * Enum value "hanadb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_HANADB = "hanadb"; +export const DB_SYSTEM_VALUE_HANADB = "hanadb" as const; /** * Enum value "hbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_HBASE = "hbase"; +export const DB_SYSTEM_VALUE_HBASE = "hbase" as const; /** * Enum value "hive" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_HIVE = "hive"; +export const DB_SYSTEM_VALUE_HIVE = "hive" as const; /** * Enum value "hsqldb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_HSQLDB = "hsqldb"; +export const DB_SYSTEM_VALUE_HSQLDB = "hsqldb" as const; /** * Enum value "influxdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_INFLUXDB = "influxdb"; +export const DB_SYSTEM_VALUE_INFLUXDB = "influxdb" as const; /** * Enum value "informix" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_INFORMIX = "informix"; +export const DB_SYSTEM_VALUE_INFORMIX = "informix" as const; /** * Enum value "ingres" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_INGRES = "ingres"; +export const DB_SYSTEM_VALUE_INGRES = "ingres" as const; /** * Enum value "instantdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_INSTANTDB = "instantdb"; +export const DB_SYSTEM_VALUE_INSTANTDB = "instantdb" as const; /** * Enum value "interbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_INTERBASE = "interbase"; +export const DB_SYSTEM_VALUE_INTERBASE = "interbase" as const; /** * Enum value "intersystems_cache" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = "intersystems_cache"; +export const DB_SYSTEM_VALUE_INTERSYSTEMS_CACHE = "intersystems_cache" as const; /** * Enum value "mariadb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MARIADB = "mariadb"; +export const DB_SYSTEM_VALUE_MARIADB = "mariadb" as const; /** * Enum value "maxdb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MAXDB = "maxdb"; +export const DB_SYSTEM_VALUE_MAXDB = "maxdb" as const; /** * Enum value "memcached" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MEMCACHED = "memcached"; +export const DB_SYSTEM_VALUE_MEMCACHED = "memcached" as const; /** * Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MONGODB = "mongodb"; +export const DB_SYSTEM_VALUE_MONGODB = "mongodb" as const; /** * Enum value "mssql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MSSQL = "mssql"; +export const DB_SYSTEM_VALUE_MSSQL = "mssql" as const; /** * Enum value "mssqlcompact" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MSSQLCOMPACT = "mssqlcompact"; +export const DB_SYSTEM_VALUE_MSSQLCOMPACT = "mssqlcompact" as const; /** * Enum value "mysql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_MYSQL = "mysql"; +export const DB_SYSTEM_VALUE_MYSQL = "mysql" as const; /** * Enum value "neo4j" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_NEO4J = "neo4j"; +export const DB_SYSTEM_VALUE_NEO4J = "neo4j" as const; /** * Enum value "netezza" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_NETEZZA = "netezza"; +export const DB_SYSTEM_VALUE_NETEZZA = "netezza" as const; /** * Enum value "opensearch" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_OPENSEARCH = "opensearch"; +export const DB_SYSTEM_VALUE_OPENSEARCH = "opensearch" as const; /** * Enum value "oracle" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_ORACLE = "oracle"; +export const DB_SYSTEM_VALUE_ORACLE = "oracle" as const; /** * Enum value "other_sql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_OTHER_SQL = "other_sql"; +export const DB_SYSTEM_VALUE_OTHER_SQL = "other_sql" as const; /** * Enum value "pervasive" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_PERVASIVE = "pervasive"; +export const DB_SYSTEM_VALUE_PERVASIVE = "pervasive" as const; /** * Enum value "pointbase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_POINTBASE = "pointbase"; +export const DB_SYSTEM_VALUE_POINTBASE = "pointbase" as const; /** * Enum value "postgresql" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_POSTGRESQL = "postgresql"; +export const DB_SYSTEM_VALUE_POSTGRESQL = "postgresql" as const; /** * Enum value "progress" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_PROGRESS = "progress"; +export const DB_SYSTEM_VALUE_PROGRESS = "progress" as const; /** * Enum value "redis" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_REDIS = "redis"; +export const DB_SYSTEM_VALUE_REDIS = "redis" as const; /** * Enum value "redshift" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_REDSHIFT = "redshift"; +export const DB_SYSTEM_VALUE_REDSHIFT = "redshift" as const; /** * Enum value "spanner" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_SPANNER = "spanner"; +export const DB_SYSTEM_VALUE_SPANNER = "spanner" as const; /** * Enum value "sqlite" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_SQLITE = "sqlite"; +export const DB_SYSTEM_VALUE_SQLITE = "sqlite" as const; /** * Enum value "sybase" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_SYBASE = "sybase"; +export const DB_SYSTEM_VALUE_SYBASE = "sybase" as const; /** * Enum value "teradata" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_TERADATA = "teradata"; +export const DB_SYSTEM_VALUE_TERADATA = "teradata" as const; /** * Enum value "trino" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_TRINO = "trino"; +export const DB_SYSTEM_VALUE_TRINO = "trino" as const; /** * Enum value "vertica" for attribute {@link ATTR_DB_SYSTEM}. */ -export const DB_SYSTEM_VALUE_VERTICA = "vertica"; +export const DB_SYSTEM_VALUE_VERTICA = "vertica" as const; /** * Deprecated, no replacement at this time. @@ -2205,7 +2205,7 @@ export const DB_SYSTEM_VALUE_VERTICA = "vertica"; * * @deprecated * No replacement at this time. */ -export const ATTR_DB_USER = 'db.user'; +export const ATTR_DB_USER = 'db.user' as const; /** * 'Deprecated, use `deployment.environment.name` instead.' @@ -2218,7 +2218,7 @@ export const ATTR_DB_USER = 'db.user'; * * @deprecated * Deprecated, use `deployment.environment.name` instead. */ -export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; +export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment' as const; /** * Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier). @@ -2237,7 +2237,7 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name'; +export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name' as const; /** * The id of the deployment. @@ -2246,7 +2246,7 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEPLOYMENT_ID = 'deployment.id'; +export const ATTR_DEPLOYMENT_ID = 'deployment.id' as const; /** * The name of the deployment. @@ -2257,24 +2257,24 @@ export const ATTR_DEPLOYMENT_ID = 'deployment.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEPLOYMENT_NAME = 'deployment.name'; +export const ATTR_DEPLOYMENT_NAME = 'deployment.name' as const; /** * The status of the deployment. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEPLOYMENT_STATUS = 'deployment.status'; +export const ATTR_DEPLOYMENT_STATUS = 'deployment.status' as const; /** * Enum value "failed" for attribute {@link ATTR_DEPLOYMENT_STATUS}. */ -export const DEPLOYMENT_STATUS_VALUE_FAILED = "failed"; +export const DEPLOYMENT_STATUS_VALUE_FAILED = "failed" as const; /** * Enum value "succeeded" for attribute {@link ATTR_DEPLOYMENT_STATUS}. */ -export const DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; +export const DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded" as const; /** * Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -2289,7 +2289,7 @@ export const DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DESTINATION_ADDRESS = 'destination.address'; +export const ATTR_DESTINATION_ADDRESS = 'destination.address' as const; /** * Destination port number @@ -2300,7 +2300,7 @@ export const ATTR_DESTINATION_ADDRESS = 'destination.address'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DESTINATION_PORT = 'destination.port'; +export const ATTR_DESTINATION_PORT = 'destination.port' as const; /** * A unique identifier representing the device @@ -2311,7 +2311,7 @@ export const ATTR_DESTINATION_PORT = 'destination.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_ID = 'device.id'; +export const ATTR_DEVICE_ID = 'device.id' as const; /** * The name of the device manufacturer @@ -2324,7 +2324,7 @@ export const ATTR_DEVICE_ID = 'device.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; +export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer' as const; /** * The model identifier for the device @@ -2337,7 +2337,7 @@ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; +export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier' as const; /** * The marketing name for the device model @@ -2350,7 +2350,7 @@ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; +export const ATTR_DEVICE_MODEL_NAME = 'device.model.name' as const; /** * The disk IO operation direction. @@ -2359,17 +2359,17 @@ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction'; +export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction' as const; /** * Enum value "read" for attribute {@link ATTR_DISK_IO_DIRECTION}. */ -export const DISK_IO_DIRECTION_VALUE_READ = "read"; +export const DISK_IO_DIRECTION_VALUE_READ = "read" as const; /** * Enum value "write" for attribute {@link ATTR_DISK_IO_DIRECTION}. */ -export const DISK_IO_DIRECTION_VALUE_WRITE = "write"; +export const DISK_IO_DIRECTION_VALUE_WRITE = "write" as const; /** * The name being queried. @@ -2382,7 +2382,7 @@ export const DISK_IO_DIRECTION_VALUE_WRITE = "write"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; +export const ATTR_DNS_QUESTION_NAME = 'dns.question.name' as const; /** * Deprecated, use `user.id` instead. @@ -2393,7 +2393,7 @@ export const ATTR_DNS_QUESTION_NAME = 'dns.question.name'; * * @deprecated * Replaced by `user.id` attribute. */ -export const ATTR_ENDUSER_ID = 'enduser.id'; +export const ATTR_ENDUSER_ID = 'enduser.id' as const; /** * Deprecated, use `user.roles` instead. @@ -2404,7 +2404,7 @@ export const ATTR_ENDUSER_ID = 'enduser.id'; * * @deprecated * Replaced by `user.roles` attribute. */ -export const ATTR_ENDUSER_ROLE = 'enduser.role'; +export const ATTR_ENDUSER_ROLE = 'enduser.role' as const; /** * Deprecated, no replacement at this time. @@ -2415,7 +2415,7 @@ export const ATTR_ENDUSER_ROLE = 'enduser.role'; * * @deprecated * Removed. */ -export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; +export const ATTR_ENDUSER_SCOPE = 'enduser.scope' as const; /** * Identifies the class / type of event. @@ -2428,14 +2428,14 @@ export const ATTR_ENDUSER_SCOPE = 'enduser.scope'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_EVENT_NAME = 'event.name'; +export const ATTR_EVENT_NAME = 'event.name' as const; /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; +export const ATTR_FAAS_COLDSTART = 'faas.coldstart' as const; /** * A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm). @@ -2444,7 +2444,7 @@ export const ATTR_FAAS_COLDSTART = 'faas.coldstart'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_CRON = 'faas.cron'; +export const ATTR_FAAS_CRON = 'faas.cron' as const; /** * The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name. @@ -2455,7 +2455,7 @@ export const ATTR_FAAS_CRON = 'faas.cron'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; +export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection' as const; /** * The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name. @@ -2466,29 +2466,29 @@ export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name'; +export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name' as const; /** * Describes the type of the operation that was performed on the data. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation'; +export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation' as const; /** * Enum value "delete" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = "delete"; +export const FAAS_DOCUMENT_OPERATION_VALUE_DELETE = "delete" as const; /** * Enum value "edit" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = "edit"; +export const FAAS_DOCUMENT_OPERATION_VALUE_EDIT = "edit" as const; /** * Enum value "insert" for attribute {@link ATTR_FAAS_DOCUMENT_OPERATION}. */ -export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; +export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert" as const; /** * A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). @@ -2497,7 +2497,7 @@ export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; +export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time' as const; /** * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version. @@ -2508,7 +2508,7 @@ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INSTANCE = 'faas.instance'; +export const ATTR_FAAS_INSTANCE = 'faas.instance' as const; /** * The invocation ID of the current function invocation. @@ -2517,7 +2517,7 @@ export const ATTR_FAAS_INSTANCE = 'faas.instance'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; +export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id' as const; /** * The name of the invoked function. @@ -2528,7 +2528,7 @@ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; +export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name' as const; /** * The cloud provider of the invoked function. @@ -2537,32 +2537,32 @@ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider'; +export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider' as const; /** * Enum value "alibaba_cloud" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud"; +export const FAAS_INVOKED_PROVIDER_VALUE_ALIBABA_CLOUD = "alibaba_cloud" as const; /** * Enum value "aws" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const FAAS_INVOKED_PROVIDER_VALUE_AWS = "aws"; +export const FAAS_INVOKED_PROVIDER_VALUE_AWS = "aws" as const; /** * Enum value "azure" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = "azure"; +export const FAAS_INVOKED_PROVIDER_VALUE_AZURE = "azure" as const; /** * Enum value "gcp" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const FAAS_INVOKED_PROVIDER_VALUE_GCP = "gcp"; +export const FAAS_INVOKED_PROVIDER_VALUE_GCP = "gcp" as const; /** * Enum value "tencent_cloud" for attribute {@link ATTR_FAAS_INVOKED_PROVIDER}. */ -export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; +export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud" as const; /** * The cloud region of the invoked function. @@ -2573,7 +2573,7 @@ export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; +export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region' as const; /** * The amount of memory available to the serverless function converted to Bytes. @@ -2584,7 +2584,7 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; +export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const; /** * The name of the single function that this runtime instance executes. @@ -2612,7 +2612,7 @@ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_NAME = 'faas.name'; +export const ATTR_FAAS_NAME = 'faas.name' as const; /** * A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime). @@ -2621,39 +2621,39 @@ export const ATTR_FAAS_NAME = 'faas.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_TIME = 'faas.time'; +export const ATTR_FAAS_TIME = 'faas.time' as const; /** * Type of the trigger which caused this function invocation. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_TRIGGER = 'faas.trigger'; +export const ATTR_FAAS_TRIGGER = 'faas.trigger' as const; /** * Enum value "datasource" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const FAAS_TRIGGER_VALUE_DATASOURCE = "datasource"; +export const FAAS_TRIGGER_VALUE_DATASOURCE = "datasource" as const; /** * Enum value "http" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const FAAS_TRIGGER_VALUE_HTTP = "http"; +export const FAAS_TRIGGER_VALUE_HTTP = "http" as const; /** * Enum value "other" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const FAAS_TRIGGER_VALUE_OTHER = "other"; +export const FAAS_TRIGGER_VALUE_OTHER = "other" as const; /** * Enum value "pubsub" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const FAAS_TRIGGER_VALUE_PUBSUB = "pubsub"; +export const FAAS_TRIGGER_VALUE_PUBSUB = "pubsub" as const; /** * Enum value "timer" for attribute {@link ATTR_FAAS_TRIGGER}. */ -export const FAAS_TRIGGER_VALUE_TIMER = "timer"; +export const FAAS_TRIGGER_VALUE_TIMER = "timer" as const; /** * The immutable version of the function being executed. @@ -2674,7 +2674,7 @@ export const FAAS_TRIGGER_VALUE_TIMER = "timer"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FAAS_VERSION = 'faas.version'; +export const ATTR_FAAS_VERSION = 'faas.version' as const; /** * The unique identifier of the feature flag. @@ -2683,7 +2683,7 @@ export const ATTR_FAAS_VERSION = 'faas.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; +export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key' as const; /** * The name of the service provider that performs the flag evaluation. @@ -2692,7 +2692,7 @@ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; +export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name' as const; /** * **SHOULD** be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used. @@ -2714,7 +2714,7 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; +export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant' as const; /** * Directory where the file is located. It should include the drive letter, when appropriate. @@ -2725,7 +2725,7 @@ export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_DIRECTORY = 'file.directory'; +export const ATTR_FILE_DIRECTORY = 'file.directory' as const; /** * File extension, excluding the leading dot. @@ -2738,7 +2738,7 @@ export const ATTR_FILE_DIRECTORY = 'file.directory'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_EXTENSION = 'file.extension'; +export const ATTR_FILE_EXTENSION = 'file.extension' as const; /** * Name of the file including the extension, without the directory. @@ -2747,7 +2747,7 @@ export const ATTR_FILE_EXTENSION = 'file.extension'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_NAME = 'file.name'; +export const ATTR_FILE_NAME = 'file.name' as const; /** * Full path to the file, including the file name. It should include the drive letter, when appropriate. @@ -2758,14 +2758,14 @@ export const ATTR_FILE_NAME = 'file.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_PATH = 'file.path'; +export const ATTR_FILE_PATH = 'file.path' as const; /** * File size in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_FILE_SIZE = 'file.size'; +export const ATTR_FILE_SIZE = 'file.size' as const; /** * Identifies the Google Cloud service for which the official client library is intended. @@ -2784,7 +2784,7 @@ export const ATTR_FILE_SIZE = 'file.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service'; +export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service' as const; /** * The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. @@ -2795,7 +2795,7 @@ export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; +export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as const; /** * The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable. @@ -2806,7 +2806,7 @@ export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; +export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index' as const; /** * The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm). @@ -2817,7 +2817,7 @@ export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; +export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname' as const; /** * The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names). @@ -2828,7 +2828,7 @@ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; +export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name' as const; /** * The full response received from the GenAI model. @@ -2839,7 +2839,7 @@ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion'; +export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion' as const; /** * The name of the operation being performed. @@ -2848,17 +2848,17 @@ export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_OPERATION_NAME = 'gen_ai.operation.name'; +export const ATTR_GEN_AI_OPERATION_NAME = 'gen_ai.operation.name' as const; /** * Enum value "chat" for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat"; +export const GEN_AI_OPERATION_NAME_VALUE_CHAT = "chat" as const; /** * Enum value "text_completion" for attribute {@link ATTR_GEN_AI_OPERATION_NAME}. */ -export const GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; +export const GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion" as const; /** * The full prompt sent to the GenAI model. @@ -2869,7 +2869,7 @@ export const GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt'; +export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt' as const; /** * The frequency penalty setting for the GenAI request. @@ -2878,7 +2878,7 @@ export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_penalty'; +export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_penalty' as const; /** * The maximum number of tokens the model generates for a request. @@ -2887,7 +2887,7 @@ export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_p * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens'; +export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens' as const; /** * The name of the GenAI model a request is being made to. @@ -2896,7 +2896,7 @@ export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model'; +export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model' as const; /** * The presence penalty setting for the GenAI request. @@ -2905,7 +2905,7 @@ export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_penalty'; +export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_penalty' as const; /** * List of sequences that the model will use to stop generating further tokens. @@ -2916,7 +2916,7 @@ export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_pen * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences'; +export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences' as const; /** * The temperature setting for the GenAI request. @@ -2925,7 +2925,7 @@ export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature'; +export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature' as const; /** * The top_k sampling setting for the GenAI request. @@ -2934,7 +2934,7 @@ export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k'; +export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k' as const; /** * The top_p sampling setting for the GenAI request. @@ -2943,7 +2943,7 @@ export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p'; +export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p' as const; /** * Array of reasons the model stopped generating tokens, corresponding to each generation received. @@ -2952,7 +2952,7 @@ export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reasons'; +export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reasons' as const; /** * The unique identifier for the completion. @@ -2961,7 +2961,7 @@ export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reaso * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id'; +export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id' as const; /** * The name of the model that generated the response. @@ -2970,7 +2970,7 @@ export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model'; +export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model' as const; /** * The Generative AI product as identified by the client or server instrumentation. @@ -2989,27 +2989,27 @@ export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system'; +export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system' as const; /** * Enum value "anthropic" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const GEN_AI_SYSTEM_VALUE_ANTHROPIC = "anthropic"; +export const GEN_AI_SYSTEM_VALUE_ANTHROPIC = "anthropic" as const; /** * Enum value "cohere" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const GEN_AI_SYSTEM_VALUE_COHERE = "cohere"; +export const GEN_AI_SYSTEM_VALUE_COHERE = "cohere" as const; /** * Enum value "openai" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const GEN_AI_SYSTEM_VALUE_OPENAI = "openai"; +export const GEN_AI_SYSTEM_VALUE_OPENAI = "openai" as const; /** * Enum value "vertex_ai" for attribute {@link ATTR_GEN_AI_SYSTEM}. */ -export const GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; +export const GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai" as const; /** * The type of token being counted. @@ -3020,17 +3020,17 @@ export const GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type'; +export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type' as const; /** * Enum value "input" for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const GEN_AI_TOKEN_TYPE_VALUE_INPUT = "input"; +export const GEN_AI_TOKEN_TYPE_VALUE_INPUT = "input" as const; /** * Enum value "output" for attribute {@link ATTR_GEN_AI_TOKEN_TYPE}. */ -export const GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; +export const GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output" as const; /** * Deprecated, use `gen_ai.usage.output_tokens` instead. @@ -3041,7 +3041,7 @@ export const GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output"; * * @deprecated * Replaced by `gen_ai.usage.output_tokens` attribute. */ -export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_tokens'; +export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_tokens' as const; /** * The number of tokens used in the GenAI input (prompt). @@ -3050,7 +3050,7 @@ export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_toke * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens'; +export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens' as const; /** * The number of tokens used in the GenAI response (completion). @@ -3059,7 +3059,7 @@ export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens'; +export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens' as const; /** * Deprecated, use `gen_ai.usage.input_tokens` instead. @@ -3070,7 +3070,7 @@ export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens'; * * @deprecated * Replaced by `gen_ai.usage.input_tokens` attribute. */ -export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens'; +export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens' as const; /** * The type of memory. @@ -3081,17 +3081,17 @@ export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GO_MEMORY_TYPE = 'go.memory.type'; +export const ATTR_GO_MEMORY_TYPE = 'go.memory.type' as const; /** * Enum value "other" for attribute {@link ATTR_GO_MEMORY_TYPE}. */ -export const GO_MEMORY_TYPE_VALUE_OTHER = "other"; +export const GO_MEMORY_TYPE_VALUE_OTHER = "other" as const; /** * Enum value "stack" for attribute {@link ATTR_GO_MEMORY_TYPE}. */ -export const GO_MEMORY_TYPE_VALUE_STACK = "stack"; +export const GO_MEMORY_TYPE_VALUE_STACK = "stack" as const; /** * The GraphQL document being executed. @@ -3102,7 +3102,7 @@ export const GO_MEMORY_TYPE_VALUE_STACK = "stack"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; +export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document' as const; /** * The name of the operation being executed. @@ -3111,7 +3111,7 @@ export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; +export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name' as const; /** * The type of the operation being executed. @@ -3124,22 +3124,22 @@ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type'; +export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type' as const; /** * Enum value "mutation" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = "mutation"; +export const GRAPHQL_OPERATION_TYPE_VALUE_MUTATION = "mutation" as const; /** * Enum value "query" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = "query"; +export const GRAPHQL_OPERATION_TYPE_VALUE_QUERY = "query" as const; /** * Enum value "subscription" for attribute {@link ATTR_GRAPHQL_OPERATION_TYPE}. */ -export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; +export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription" as const; /** * Unique identifier for the application @@ -3148,7 +3148,7 @@ export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; +export const ATTR_HEROKU_APP_ID = 'heroku.app.id' as const; /** * Commit hash for the current release @@ -3157,7 +3157,7 @@ export const ATTR_HEROKU_APP_ID = 'heroku.app.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; +export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; /** * Time and date the release was created @@ -3166,54 +3166,54 @@ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp'; +export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp' as const; /** * The CPU architecture the host system is running on. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_ARCH = 'host.arch'; +export const ATTR_HOST_ARCH = 'host.arch' as const; /** * Enum value "amd64" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_AMD64 = "amd64"; +export const HOST_ARCH_VALUE_AMD64 = "amd64" as const; /** * Enum value "arm32" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_ARM32 = "arm32"; +export const HOST_ARCH_VALUE_ARM32 = "arm32" as const; /** * Enum value "arm64" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_ARM64 = "arm64"; +export const HOST_ARCH_VALUE_ARM64 = "arm64" as const; /** * Enum value "ia64" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_IA64 = "ia64"; +export const HOST_ARCH_VALUE_IA64 = "ia64" as const; /** * Enum value "ppc32" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_PPC32 = "ppc32"; +export const HOST_ARCH_VALUE_PPC32 = "ppc32" as const; /** * Enum value "ppc64" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_PPC64 = "ppc64"; +export const HOST_ARCH_VALUE_PPC64 = "ppc64" as const; /** * Enum value "s390x" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_S390X = "s390x"; +export const HOST_ARCH_VALUE_S390X = "s390x" as const; /** * Enum value "x86" for attribute {@link ATTR_HOST_ARCH}. */ -export const HOST_ARCH_VALUE_X86 = "x86"; +export const HOST_ARCH_VALUE_X86 = "x86" as const; /** * The amount of level 2 memory cache available to the processor (in Bytes). @@ -3222,7 +3222,7 @@ export const HOST_ARCH_VALUE_X86 = "x86"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; +export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size' as const; /** * Family or generation of the CPU. @@ -3233,7 +3233,7 @@ export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; +export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family' as const; /** * Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family. @@ -3244,7 +3244,7 @@ export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; +export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id' as const; /** * Model designation of the processor. @@ -3253,7 +3253,7 @@ export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; +export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name' as const; /** * Stepping or core revisions. @@ -3264,7 +3264,7 @@ export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; +export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping' as const; /** * Processor manufacturer identifier. A maximum 12-character string. @@ -3275,7 +3275,7 @@ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; +export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id' as const; /** * Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system. @@ -3284,7 +3284,7 @@ export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_ID = 'host.id'; +export const ATTR_HOST_ID = 'host.id' as const; /** * VM image ID or host OS image ID. For Cloud, this value is from the provider. @@ -3293,7 +3293,7 @@ export const ATTR_HOST_ID = 'host.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_ID = 'host.image.id'; +export const ATTR_HOST_IMAGE_ID = 'host.image.id' as const; /** * Name of the VM image or OS install the host was instantiated from. @@ -3304,7 +3304,7 @@ export const ATTR_HOST_IMAGE_ID = 'host.image.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; +export const ATTR_HOST_IMAGE_NAME = 'host.image.name' as const; /** * The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes). @@ -3313,7 +3313,7 @@ export const ATTR_HOST_IMAGE_NAME = 'host.image.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; +export const ATTR_HOST_IMAGE_VERSION = 'host.image.version' as const; /** * Available IP addresses of the host, excluding loopback interfaces. @@ -3326,7 +3326,7 @@ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_IP = 'host.ip'; +export const ATTR_HOST_IP = 'host.ip' as const; /** * Available MAC addresses of the host, excluding loopback interfaces. @@ -3339,7 +3339,7 @@ export const ATTR_HOST_IP = 'host.ip'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_MAC = 'host.mac'; +export const ATTR_HOST_MAC = 'host.mac' as const; /** * Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user. @@ -3348,7 +3348,7 @@ export const ATTR_HOST_MAC = 'host.mac'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_NAME = 'host.name'; +export const ATTR_HOST_NAME = 'host.name' as const; /** * Type of host. For Cloud, this must be the machine type. @@ -3357,7 +3357,7 @@ export const ATTR_HOST_NAME = 'host.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HOST_TYPE = 'host.type'; +export const ATTR_HOST_TYPE = 'host.type' as const; /** * Deprecated, use `client.address` instead. @@ -3368,7 +3368,7 @@ export const ATTR_HOST_TYPE = 'host.type'; * * @deprecated * Replaced by `client.address`. */ -export const ATTR_HTTP_CLIENT_IP = 'http.client_ip'; +export const ATTR_HTTP_CLIENT_IP = 'http.client_ip' as const; /** * State of the HTTP connection in the HTTP connection pool. @@ -3379,17 +3379,17 @@ export const ATTR_HTTP_CLIENT_IP = 'http.client_ip'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state'; +export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state' as const; /** * Enum value "active" for attribute {@link ATTR_HTTP_CONNECTION_STATE}. */ -export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = "active"; +export const HTTP_CONNECTION_STATE_VALUE_ACTIVE = "active" as const; /** * Enum value "idle" for attribute {@link ATTR_HTTP_CONNECTION_STATE}. */ -export const HTTP_CONNECTION_STATE_VALUE_IDLE = "idle"; +export const HTTP_CONNECTION_STATE_VALUE_IDLE = "idle" as const; /** * Deprecated, use `network.protocol.name` instead. @@ -3398,37 +3398,37 @@ export const HTTP_CONNECTION_STATE_VALUE_IDLE = "idle"; * * @deprecated * Replaced by `network.protocol.name`. */ -export const ATTR_HTTP_FLAVOR = 'http.flavor'; +export const ATTR_HTTP_FLAVOR = 'http.flavor' as const; /** * Enum value "1.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const HTTP_FLAVOR_VALUE_HTTP_1_0 = "1.0"; +export const HTTP_FLAVOR_VALUE_HTTP_1_0 = "1.0" as const; /** * Enum value "1.1" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const HTTP_FLAVOR_VALUE_HTTP_1_1 = "1.1"; +export const HTTP_FLAVOR_VALUE_HTTP_1_1 = "1.1" as const; /** * Enum value "2.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const HTTP_FLAVOR_VALUE_HTTP_2_0 = "2.0"; +export const HTTP_FLAVOR_VALUE_HTTP_2_0 = "2.0" as const; /** * Enum value "3.0" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const HTTP_FLAVOR_VALUE_HTTP_3_0 = "3.0"; +export const HTTP_FLAVOR_VALUE_HTTP_3_0 = "3.0" as const; /** * Enum value "QUIC" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const HTTP_FLAVOR_VALUE_QUIC = "QUIC"; +export const HTTP_FLAVOR_VALUE_QUIC = "QUIC" as const; /** * Enum value "SPDY" for attribute {@link ATTR_HTTP_FLAVOR}. */ -export const HTTP_FLAVOR_VALUE_SPDY = "SPDY"; +export const HTTP_FLAVOR_VALUE_SPDY = "SPDY" as const; /** * Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. @@ -3439,7 +3439,7 @@ export const HTTP_FLAVOR_VALUE_SPDY = "SPDY"; * * @deprecated * Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. */ -export const ATTR_HTTP_HOST = 'http.host'; +export const ATTR_HTTP_HOST = 'http.host' as const; /** * Deprecated, use `http.request.method` instead. @@ -3454,7 +3454,7 @@ export const ATTR_HTTP_HOST = 'http.host'; * * @deprecated * Replaced by `http.request.method`. */ -export const ATTR_HTTP_METHOD = 'http.method'; +export const ATTR_HTTP_METHOD = 'http.method' as const; /** * The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. @@ -3463,7 +3463,7 @@ export const ATTR_HTTP_METHOD = 'http.method'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; +export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size' as const; /** * The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any. @@ -3472,7 +3472,7 @@ export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; +export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size' as const; /** * Deprecated, use `http.request.header.content-length` instead. @@ -3483,7 +3483,7 @@ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size'; * * @deprecated * Replaced by `http.request.header.content-length`. */ -export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length' as const; /** * Deprecated, use `http.request.body.size` instead. @@ -3494,7 +3494,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length'; * * @deprecated * Replaced by `http.request.body.size`. */ -export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_content_length_uncompressed'; +export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_content_length_uncompressed' as const; /** * The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. @@ -3503,7 +3503,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_conte * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; +export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size' as const; /** * The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any. @@ -3512,7 +3512,7 @@ export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; +export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size' as const; /** * Deprecated, use `http.response.header.content-length` instead. @@ -3523,7 +3523,7 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size'; * * @deprecated * Replaced by `http.response.header.content-length`. */ -export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length' as const; /** * Deprecated, use `http.response.body.size` instead. @@ -3534,7 +3534,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length'; * * @deprecated * Replace by `http.response.body.size`. */ -export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed'; +export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed' as const; /** * Deprecated, use `url.scheme` instead. @@ -3547,7 +3547,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_con * * @deprecated * Replaced by `url.scheme` instead. */ -export const ATTR_HTTP_SCHEME = 'http.scheme'; +export const ATTR_HTTP_SCHEME = 'http.scheme' as const; /** * Deprecated, use `server.address` instead. @@ -3558,7 +3558,7 @@ export const ATTR_HTTP_SCHEME = 'http.scheme'; * * @deprecated * Replaced by `server.address`. */ -export const ATTR_HTTP_SERVER_NAME = 'http.server_name'; +export const ATTR_HTTP_SERVER_NAME = 'http.server_name' as const; /** * Deprecated, use `http.response.status_code` instead. @@ -3569,7 +3569,7 @@ export const ATTR_HTTP_SERVER_NAME = 'http.server_name'; * * @deprecated * Replaced by `http.response.status_code`. */ -export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; +export const ATTR_HTTP_STATUS_CODE = 'http.status_code' as const; /** * Deprecated, use `url.path` and `url.query` instead. @@ -3580,7 +3580,7 @@ export const ATTR_HTTP_STATUS_CODE = 'http.status_code'; * * @deprecated * Split to `url.path` and `url.query. */ -export const ATTR_HTTP_TARGET = 'http.target'; +export const ATTR_HTTP_TARGET = 'http.target' as const; /** * Deprecated, use `url.full` instead. @@ -3591,7 +3591,7 @@ export const ATTR_HTTP_TARGET = 'http.target'; * * @deprecated * Replaced by `url.full`. */ -export const ATTR_HTTP_URL = 'http.url'; +export const ATTR_HTTP_URL = 'http.url' as const; /** * Deprecated, use `user_agent.original` instead. @@ -3604,7 +3604,7 @@ export const ATTR_HTTP_URL = 'http.url'; * * @deprecated * Replaced by `user_agent.original`. */ -export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; +export const ATTR_HTTP_USER_AGENT = 'http.user_agent' as const; /** * Deprecated use the `device.app.lifecycle` event definition including `ios.state` as a payload field instead. @@ -3615,32 +3615,32 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent'; * * @deprecated * Moved to a payload field of `device.app.lifecycle`. */ -export const ATTR_IOS_STATE = 'ios.state'; +export const ATTR_IOS_STATE = 'ios.state' as const; /** * Enum value "active" for attribute {@link ATTR_IOS_STATE}. */ -export const IOS_STATE_VALUE_ACTIVE = "active"; +export const IOS_STATE_VALUE_ACTIVE = "active" as const; /** * Enum value "background" for attribute {@link ATTR_IOS_STATE}. */ -export const IOS_STATE_VALUE_BACKGROUND = "background"; +export const IOS_STATE_VALUE_BACKGROUND = "background" as const; /** * Enum value "foreground" for attribute {@link ATTR_IOS_STATE}. */ -export const IOS_STATE_VALUE_FOREGROUND = "foreground"; +export const IOS_STATE_VALUE_FOREGROUND = "foreground" as const; /** * Enum value "inactive" for attribute {@link ATTR_IOS_STATE}. */ -export const IOS_STATE_VALUE_INACTIVE = "inactive"; +export const IOS_STATE_VALUE_INACTIVE = "inactive" as const; /** * Enum value "terminate" for attribute {@link ATTR_IOS_STATE}. */ -export const IOS_STATE_VALUE_TERMINATE = "terminate"; +export const IOS_STATE_VALUE_TERMINATE = "terminate" as const; /** * Name of the buffer pool. @@ -3653,7 +3653,7 @@ export const IOS_STATE_VALUE_TERMINATE = "terminate"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; +export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name' as const; /** * The name of the cluster. @@ -3662,7 +3662,7 @@ export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; +export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; /** * A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace. @@ -3694,7 +3694,7 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; +export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid' as const; /** * The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). @@ -3703,14 +3703,14 @@ export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name'; +export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name' as const; /** * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; +export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count' as const; /** * Last terminated reason of the Container. @@ -3721,7 +3721,7 @@ export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason'; +export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason' as const; /** * The name of the CronJob. @@ -3730,7 +3730,7 @@ export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.s * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; +export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name' as const; /** * The UID of the CronJob. @@ -3739,7 +3739,7 @@ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; +export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid' as const; /** * The name of the DaemonSet. @@ -3748,7 +3748,7 @@ export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; +export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name' as const; /** * The UID of the DaemonSet. @@ -3757,7 +3757,7 @@ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; +export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid' as const; /** * The name of the Deployment. @@ -3766,7 +3766,7 @@ export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; +export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name' as const; /** * The UID of the Deployment. @@ -3775,7 +3775,7 @@ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; +export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const; /** * The name of the Job. @@ -3784,7 +3784,7 @@ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; +export const ATTR_K8S_JOB_NAME = 'k8s.job.name' as const; /** * The UID of the Job. @@ -3793,7 +3793,7 @@ export const ATTR_K8S_JOB_NAME = 'k8s.job.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; +export const ATTR_K8S_JOB_UID = 'k8s.job.uid' as const; /** * The name of the namespace that the pod is running in. @@ -3802,7 +3802,7 @@ export const ATTR_K8S_JOB_UID = 'k8s.job.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; +export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name' as const; /** * The name of the Node. @@ -3811,7 +3811,7 @@ export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; +export const ATTR_K8S_NODE_NAME = 'k8s.node.name' as const; /** * The UID of the Node. @@ -3820,7 +3820,7 @@ export const ATTR_K8S_NODE_NAME = 'k8s.node.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_NODE_UID = 'k8s.node.uid'; +export const ATTR_K8S_NODE_UID = 'k8s.node.uid' as const; /** * The annotation key-value pairs placed on the Pod, the `` being the annotation name, the value being the annotation value. @@ -3866,7 +3866,7 @@ export const ATTR_K8S_POD_LABELS = (key: string) => `k8s.pod.labels.${key}`; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; +export const ATTR_K8S_POD_NAME = 'k8s.pod.name' as const; /** * The UID of the Pod. @@ -3875,7 +3875,7 @@ export const ATTR_K8S_POD_NAME = 'k8s.pod.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; +export const ATTR_K8S_POD_UID = 'k8s.pod.uid' as const; /** * The name of the ReplicaSet. @@ -3884,7 +3884,7 @@ export const ATTR_K8S_POD_UID = 'k8s.pod.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; +export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name' as const; /** * The UID of the ReplicaSet. @@ -3893,7 +3893,7 @@ export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; +export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid' as const; /** * The name of the StatefulSet. @@ -3902,7 +3902,7 @@ export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; +export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name' as const; /** * The UID of the StatefulSet. @@ -3911,7 +3911,7 @@ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; +export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; /** * The Linux Slab memory state @@ -3922,17 +3922,17 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state'; +export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state' as const; /** * Enum value "reclaimable" for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = "reclaimable"; +export const LINUX_MEMORY_SLAB_STATE_VALUE_RECLAIMABLE = "reclaimable" as const; /** * Enum value "unreclaimable" for attribute {@link ATTR_LINUX_MEMORY_SLAB_STATE}. */ -export const LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; +export const LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable" as const; /** * The basename of the file. @@ -3941,7 +3941,7 @@ export const LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_NAME = 'log.file.name'; +export const ATTR_LOG_FILE_NAME = 'log.file.name' as const; /** * The basename of the file, with symlinks resolved. @@ -3950,7 +3950,7 @@ export const ATTR_LOG_FILE_NAME = 'log.file.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; +export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved' as const; /** * The full path to the file. @@ -3959,7 +3959,7 @@ export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_PATH = 'log.file.path'; +export const ATTR_LOG_FILE_PATH = 'log.file.path' as const; /** * The full path to the file, with symlinks resolved. @@ -3968,24 +3968,24 @@ export const ATTR_LOG_FILE_PATH = 'log.file.path'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved'; +export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved' as const; /** * The stream associated with the log. See below for a list of well-known values. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_IOSTREAM = 'log.iostream'; +export const ATTR_LOG_IOSTREAM = 'log.iostream' as const; /** * Enum value "stderr" for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const LOG_IOSTREAM_VALUE_STDERR = "stderr"; +export const LOG_IOSTREAM_VALUE_STDERR = "stderr" as const; /** * Enum value "stdout" for attribute {@link ATTR_LOG_IOSTREAM}. */ -export const LOG_IOSTREAM_VALUE_STDOUT = "stdout"; +export const LOG_IOSTREAM_VALUE_STDOUT = "stdout" as const; /** * The complete orignal Log Record. @@ -3998,7 +3998,7 @@ export const LOG_IOSTREAM_VALUE_STDOUT = "stdout"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original'; +export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original' as const; /** * A unique identifier for the Log Record. @@ -4010,7 +4010,7 @@ export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_LOG_RECORD_UID = 'log.record.uid'; +export const ATTR_LOG_RECORD_UID = 'log.record.uid' as const; /** * Deprecated, use `rpc.message.compressed_size` instead. @@ -4019,7 +4019,7 @@ export const ATTR_LOG_RECORD_UID = 'log.record.uid'; * * @deprecated * Replaced by `rpc.message.compressed_size`. */ -export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; +export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size' as const; /** * Deprecated, use `rpc.message.id` instead. @@ -4028,7 +4028,7 @@ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size'; * * @deprecated * Replaced by `rpc.message.id`. */ -export const ATTR_MESSAGE_ID = 'message.id'; +export const ATTR_MESSAGE_ID = 'message.id' as const; /** * Deprecated, use `rpc.message.type` instead. @@ -4037,17 +4037,17 @@ export const ATTR_MESSAGE_ID = 'message.id'; * * @deprecated * Replaced by `rpc.message.type`. */ -export const ATTR_MESSAGE_TYPE = 'message.type'; +export const ATTR_MESSAGE_TYPE = 'message.type' as const; /** * Enum value "RECEIVED" for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; +export const MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED" as const; /** * Enum value "SENT" for attribute {@link ATTR_MESSAGE_TYPE}. */ -export const MESSAGE_TYPE_VALUE_SENT = "SENT"; +export const MESSAGE_TYPE_VALUE_SENT = "SENT" as const; /** * Deprecated, use `rpc.message.uncompressed_size` instead. @@ -4056,7 +4056,7 @@ export const MESSAGE_TYPE_VALUE_SENT = "SENT"; * * @deprecated * Replaced by `rpc.message.uncompressed_size`. */ -export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; +export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size' as const; /** * The number of messages sent, received, or processed in the scope of the batching operation. @@ -4071,7 +4071,7 @@ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count'; +export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count' as const; /** * A unique identifier for the client that consumes or produces a message. @@ -4082,7 +4082,7 @@ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id'; +export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id' as const; /** * The name of the consumer group with which a consumer is associated. @@ -4095,14 +4095,14 @@ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_CONSUMER_GROUP_NAME = 'messaging.consumer.group.name'; +export const ATTR_MESSAGING_CONSUMER_GROUP_NAME = 'messaging.consumer.group.name' as const; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous'; +export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous' as const; /** * The message destination name @@ -4116,7 +4116,7 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anony * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; +export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name' as const; /** * The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`. @@ -4125,7 +4125,7 @@ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id'; +export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id' as const; /** * The name of the destination subscription from which a message is consumed. @@ -4136,7 +4136,7 @@ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.pa * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destination.subscription.name'; +export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destination.subscription.name' as const; /** * Low cardinality representation of the messaging destination name @@ -4147,14 +4147,14 @@ export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destinati * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template'; +export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template' as const; /** * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary'; +export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary' as const; /** * Deprecated, no replacement at this time. @@ -4163,7 +4163,7 @@ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.tempo * * @deprecated * No replacement at this time. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous'; +export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destination_publish.anonymous' as const; /** * Deprecated, no replacement at this time. @@ -4176,7 +4176,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destinati * * @deprecated * No replacement at this time. */ -export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name'; +export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_publish.name' as const; /** * Deprecated, use `messaging.consumer.group.name` instead. @@ -4187,7 +4187,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_pu * * @deprecated * Replaced by `messaging.consumer.group.name`. */ -export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group'; +export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.consumer.group' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. @@ -4196,7 +4196,7 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.cons * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time'; +export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time' as const; /** * The ack deadline in seconds set for the modify ack deadline request. @@ -4205,7 +4205,7 @@ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhu * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pubsub.message.ack_deadline'; +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pubsub.message.ack_deadline' as const; /** * The ack id for a given message. @@ -4214,7 +4214,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pub * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.message.ack_id'; +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.message.ack_id' as const; /** * The delivery attempt for a given message. @@ -4223,7 +4223,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.me * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp_pubsub.message.delivery_attempt'; +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp_pubsub.message.delivery_attempt' as const; /** * The ordering key for a given message. If the attribute is not present, the message does not have an ordering key. @@ -4232,7 +4232,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key'; +export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key' as const; /** * Deprecated, use `messaging.consumer.group.name` instead. @@ -4243,7 +4243,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pub * * @deprecated * Replaced by `messaging.consumer.group.name`. */ -export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group'; +export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.group' as const; /** * Deprecated, use `messaging.destination.partition.id` instead. @@ -4254,7 +4254,7 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.gro * * @deprecated * Replaced by `messaging.destination.partition.id`. */ -export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition'; +export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition' as const; /** * Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute **MUST** **NOT** be set. @@ -4265,7 +4265,7 @@ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.desti * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; +export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key' as const; /** * Deprecated, use `messaging.kafka.offset` instead. @@ -4276,14 +4276,14 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key'; * * @deprecated * Replaced by `messaging.kafka.offset`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset'; +export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offset' as const; /** * A boolean that is true if the message is a tombstone. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone'; +export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone' as const; /** * The offset of a record in the corresponding Kafka partition. @@ -4292,7 +4292,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.t * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset'; +export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset' as const; /** * The size of the message body in bytes. @@ -4304,7 +4304,7 @@ export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; +export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size' as const; /** * The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID". @@ -4313,7 +4313,7 @@ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id'; +export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id' as const; /** * The size of the message body and metadata in bytes. @@ -4325,7 +4325,7 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.convers * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size'; +export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size' as const; /** * A value used by the messaging system as an identifier for the message, represented as a string. @@ -4334,7 +4334,7 @@ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; +export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id' as const; /** * Deprecated, use `messaging.operation.type` instead. @@ -4349,7 +4349,7 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id'; * * @deprecated * Replaced by `messaging.operation.type`. */ -export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; +export const ATTR_MESSAGING_OPERATION = 'messaging.operation' as const; /** * The system-specific name of the messaging operation. @@ -4362,7 +4362,7 @@ export const ATTR_MESSAGING_OPERATION = 'messaging.operation'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name'; +export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name' as const; /** * A string identifying the type of the messaging operation. @@ -4371,37 +4371,37 @@ export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type'; +export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type' as const; /** * Enum value "create" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const MESSAGING_OPERATION_TYPE_VALUE_CREATE = "create"; +export const MESSAGING_OPERATION_TYPE_VALUE_CREATE = "create" as const; /** * Enum value "deliver" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const MESSAGING_OPERATION_TYPE_VALUE_DELIVER = "deliver"; +export const MESSAGING_OPERATION_TYPE_VALUE_DELIVER = "deliver" as const; /** * Enum value "process" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const MESSAGING_OPERATION_TYPE_VALUE_PROCESS = "process"; +export const MESSAGING_OPERATION_TYPE_VALUE_PROCESS = "process" as const; /** * Enum value "publish" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = "publish"; +export const MESSAGING_OPERATION_TYPE_VALUE_PUBLISH = "publish" as const; /** * Enum value "receive" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = "receive"; +export const MESSAGING_OPERATION_TYPE_VALUE_RECEIVE = "receive" as const; /** * Enum value "settle" for attribute {@link ATTR_MESSAGING_OPERATION_TYPE}. */ -export const MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; +export const MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle" as const; /** * RabbitMQ message routing key. @@ -4410,7 +4410,7 @@ export const MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key'; +export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key' as const; /** * RabbitMQ message delivery tag @@ -4419,7 +4419,7 @@ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbit * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag'; +export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag' as const; /** * Deprecated, use `messaging.consumer.group.name` instead. @@ -4430,24 +4430,24 @@ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq. * * @deprecated * Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans. */ -export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group'; +export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_group' as const; /** * Model of message consumption. This only applies to consumer spans. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model'; +export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model' as const; /** * Enum value "broadcasting" for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ -export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = "broadcasting"; +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_BROADCASTING = "broadcasting" as const; /** * Enum value "clustering" for attribute {@link ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ -export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering"; +export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering" as const; /** * The delay time level for delay message, which determines the message delay time. @@ -4456,7 +4456,7 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level' as const; /** * The timestamp in milliseconds that the delay message is expected to be delivered to consumer. @@ -4465,7 +4465,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocke * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp' as const; /** * It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group. @@ -4474,7 +4474,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.roc * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group' as const; /** * Key(s) of message, another way to mark message besides message id. @@ -4485,7 +4485,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys' as const; /** * The secondary classifier of message besides topic. @@ -4494,34 +4494,34 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag' as const; /** * Type of message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type'; +export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type' as const; /** * Enum value "delay" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = "delay"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_DELAY = "delay" as const; /** * Enum value "fifo" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = "fifo"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_FIFO = "fifo" as const; /** * Enum value "normal" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = "normal"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_NORMAL = "normal" as const; /** * Enum value "transaction" for attribute {@link ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ -export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; +export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction" as const; /** * Namespace of RocketMQ resources, resources in different namespaces are individual. @@ -4530,7 +4530,7 @@ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; +export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace' as const; /** * Deprecated, use `messaging.servicebus.destination.subscription_name` instead. @@ -4541,34 +4541,34 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace'; * * @deprecated * Replaced by `messaging.servicebus.destination.subscription_name`. */ -export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name'; +export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messaging.servicebus.destination.subscription_name' as const; /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status'; +export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status' as const; /** * Enum value "abandon" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = "abandon"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_ABANDON = "abandon" as const; /** * Enum value "complete" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = "complete"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_COMPLETE = "complete" as const; /** * Enum value "dead_letter" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = "dead_letter"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEAD_LETTER = "dead_letter" as const; /** * Enum value "defer" for attribute {@link ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ -export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; +export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer" as const; /** * Number of deliveries that have been attempted for this message. @@ -4577,7 +4577,7 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count'; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count' as const; /** * The UTC epoch seconds at which the message has been accepted and stored in the entity. @@ -4586,7 +4586,7 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servi * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time'; +export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time' as const; /** * The messaging system as identified by the client instrumentation. @@ -4595,62 +4595,62 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servic * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_MESSAGING_SYSTEM = 'messaging.system'; +export const ATTR_MESSAGING_SYSTEM = 'messaging.system' as const; /** * Enum value "activemq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = "activemq"; +export const MESSAGING_SYSTEM_VALUE_ACTIVEMQ = "activemq" as const; /** * Enum value "aws_sqs" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_AWS_SQS = "aws_sqs"; +export const MESSAGING_SYSTEM_VALUE_AWS_SQS = "aws_sqs" as const; /** * Enum value "eventgrid" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_EVENTGRID = "eventgrid"; +export const MESSAGING_SYSTEM_VALUE_EVENTGRID = "eventgrid" as const; /** * Enum value "eventhubs" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = "eventhubs"; +export const MESSAGING_SYSTEM_VALUE_EVENTHUBS = "eventhubs" as const; /** * Enum value "gcp_pubsub" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = "gcp_pubsub"; +export const MESSAGING_SYSTEM_VALUE_GCP_PUBSUB = "gcp_pubsub" as const; /** * Enum value "jms" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_JMS = "jms"; +export const MESSAGING_SYSTEM_VALUE_JMS = "jms" as const; /** * Enum value "kafka" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_KAFKA = "kafka"; +export const MESSAGING_SYSTEM_VALUE_KAFKA = "kafka" as const; /** * Enum value "pulsar" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_PULSAR = "pulsar"; +export const MESSAGING_SYSTEM_VALUE_PULSAR = "pulsar" as const; /** * Enum value "rabbitmq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_RABBITMQ = "rabbitmq"; +export const MESSAGING_SYSTEM_VALUE_RABBITMQ = "rabbitmq" as const; /** * Enum value "rocketmq" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = "rocketmq"; +export const MESSAGING_SYSTEM_VALUE_ROCKETMQ = "rocketmq" as const; /** * Enum value "servicebus" for attribute {@link ATTR_MESSAGING_SYSTEM}. */ -export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; +export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus" as const; /** * Deprecated, use `network.local.address`. @@ -4661,7 +4661,7 @@ export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus"; * * @deprecated * Replaced by `network.local.address`. */ -export const ATTR_NET_HOST_IP = 'net.host.ip'; +export const ATTR_NET_HOST_IP = 'net.host.ip' as const; /** * Deprecated, use `server.address`. @@ -4672,7 +4672,7 @@ export const ATTR_NET_HOST_IP = 'net.host.ip'; * * @deprecated * Replaced by `server.address`. */ -export const ATTR_NET_HOST_NAME = 'net.host.name'; +export const ATTR_NET_HOST_NAME = 'net.host.name' as const; /** * Deprecated, use `server.port`. @@ -4683,7 +4683,7 @@ export const ATTR_NET_HOST_NAME = 'net.host.name'; * * @deprecated * Replaced by `server.port`. */ -export const ATTR_NET_HOST_PORT = 'net.host.port'; +export const ATTR_NET_HOST_PORT = 'net.host.port' as const; /** * Deprecated, use `network.peer.address`. @@ -4694,7 +4694,7 @@ export const ATTR_NET_HOST_PORT = 'net.host.port'; * * @deprecated * Replaced by `network.peer.address`. */ -export const ATTR_NET_PEER_IP = 'net.peer.ip'; +export const ATTR_NET_PEER_IP = 'net.peer.ip' as const; /** * Deprecated, use `server.address` on client spans and `client.address` on server spans. @@ -4705,7 +4705,7 @@ export const ATTR_NET_PEER_IP = 'net.peer.ip'; * * @deprecated * Replaced by `server.address` on client spans and `client.address` on server spans. */ -export const ATTR_NET_PEER_NAME = 'net.peer.name'; +export const ATTR_NET_PEER_NAME = 'net.peer.name' as const; /** * Deprecated, use `server.port` on client spans and `client.port` on server spans. @@ -4716,7 +4716,7 @@ export const ATTR_NET_PEER_NAME = 'net.peer.name'; * * @deprecated * Replaced by `server.port` on client spans and `client.port` on server spans. */ -export const ATTR_NET_PEER_PORT = 'net.peer.port'; +export const ATTR_NET_PEER_PORT = 'net.peer.port' as const; /** * Deprecated, use `network.protocol.name`. @@ -4731,7 +4731,7 @@ export const ATTR_NET_PEER_PORT = 'net.peer.port'; * * @deprecated * Replaced by `network.protocol.name`. */ -export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; +export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name' as const; /** * Deprecated, use `network.protocol.version`. @@ -4742,7 +4742,7 @@ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name'; * * @deprecated * Replaced by `network.protocol.version`. */ -export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; +export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version' as const; /** * Deprecated, use `network.transport` and `network.type`. @@ -4751,22 +4751,22 @@ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version'; * * @deprecated * Split to `network.transport` and `network.type`. */ -export const ATTR_NET_SOCK_FAMILY = 'net.sock.family'; +export const ATTR_NET_SOCK_FAMILY = 'net.sock.family' as const; /** * Enum value "inet" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const NET_SOCK_FAMILY_VALUE_INET = "inet"; +export const NET_SOCK_FAMILY_VALUE_INET = "inet" as const; /** * Enum value "inet6" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const NET_SOCK_FAMILY_VALUE_INET6 = "inet6"; +export const NET_SOCK_FAMILY_VALUE_INET6 = "inet6" as const; /** * Enum value "unix" for attribute {@link ATTR_NET_SOCK_FAMILY}. */ -export const NET_SOCK_FAMILY_VALUE_UNIX = "unix"; +export const NET_SOCK_FAMILY_VALUE_UNIX = "unix" as const; /** * Deprecated, use `network.local.address`. @@ -4777,7 +4777,7 @@ export const NET_SOCK_FAMILY_VALUE_UNIX = "unix"; * * @deprecated * Replaced by `network.local.address`. */ -export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; +export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr' as const; /** * Deprecated, use `network.local.port`. @@ -4788,7 +4788,7 @@ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr'; * * @deprecated * Replaced by `network.local.port`. */ -export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; +export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port' as const; /** * Deprecated, use `network.peer.address`. @@ -4799,7 +4799,7 @@ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port'; * * @deprecated * Replaced by `network.peer.address`. */ -export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; +export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr' as const; /** * Deprecated, no replacement at this time. @@ -4810,7 +4810,7 @@ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr'; * * @deprecated * Removed. */ -export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; +export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name' as const; /** * Deprecated, use `network.peer.port`. @@ -4821,7 +4821,7 @@ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name'; * * @deprecated * Replaced by `network.peer.port`. */ -export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; +export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port' as const; /** * Deprecated, use `network.transport`. @@ -4830,32 +4830,32 @@ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port'; * * @deprecated * Replaced by `network.transport`. */ -export const ATTR_NET_TRANSPORT = 'net.transport'; +export const ATTR_NET_TRANSPORT = 'net.transport' as const; /** * Enum value "inproc" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const NET_TRANSPORT_VALUE_INPROC = "inproc"; +export const NET_TRANSPORT_VALUE_INPROC = "inproc" as const; /** * Enum value "ip_tcp" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const NET_TRANSPORT_VALUE_IP_TCP = "ip_tcp"; +export const NET_TRANSPORT_VALUE_IP_TCP = "ip_tcp" as const; /** * Enum value "ip_udp" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const NET_TRANSPORT_VALUE_IP_UDP = "ip_udp"; +export const NET_TRANSPORT_VALUE_IP_UDP = "ip_udp" as const; /** * Enum value "other" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const NET_TRANSPORT_VALUE_OTHER = "other"; +export const NET_TRANSPORT_VALUE_OTHER = "other" as const; /** * Enum value "pipe" for attribute {@link ATTR_NET_TRANSPORT}. */ -export const NET_TRANSPORT_VALUE_PIPE = "pipe"; +export const NET_TRANSPORT_VALUE_PIPE = "pipe" as const; /** * The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network. @@ -4864,7 +4864,7 @@ export const NET_TRANSPORT_VALUE_PIPE = "pipe"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; +export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc' as const; /** * The mobile carrier country code. @@ -4873,7 +4873,7 @@ export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; +export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc' as const; /** * The mobile carrier network code. @@ -4882,7 +4882,7 @@ export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; +export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc' as const; /** * The name of the mobile carrier. @@ -4891,7 +4891,7 @@ export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; +export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name' as const; /** * This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection. @@ -4900,112 +4900,112 @@ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype'; +export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype' as const; /** * Enum value "cdma" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = "cdma"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA = "cdma" as const; /** * Enum value "cdma2000_1xrtt" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = "cdma2000_1xrtt"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_CDMA2000_1XRTT = "cdma2000_1xrtt" as const; /** * Enum value "edge" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = "edge"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EDGE = "edge" as const; /** * Enum value "ehrpd" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = "ehrpd"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EHRPD = "ehrpd" as const; /** * Enum value "evdo_0" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = "evdo_0"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_0 = "evdo_0" as const; /** * Enum value "evdo_a" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = "evdo_a"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_A = "evdo_a" as const; /** * Enum value "evdo_b" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = "evdo_b"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_EVDO_B = "evdo_b" as const; /** * Enum value "gprs" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = "gprs"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GPRS = "gprs" as const; /** * Enum value "gsm" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = "gsm"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_GSM = "gsm" as const; /** * Enum value "hsdpa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = "hsdpa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSDPA = "hsdpa" as const; /** * Enum value "hspa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = "hspa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPA = "hspa" as const; /** * Enum value "hspap" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = "hspap"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSPAP = "hspap" as const; /** * Enum value "hsupa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = "hsupa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_HSUPA = "hsupa" as const; /** * Enum value "iden" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = "iden"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IDEN = "iden" as const; /** * Enum value "iwlan" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = "iwlan"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_IWLAN = "iwlan" as const; /** * Enum value "lte" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = "lte"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE = "lte" as const; /** * Enum value "lte_ca" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = "lte_ca"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_LTE_CA = "lte_ca" as const; /** * Enum value "nr" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = "nr"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NR = "nr" as const; /** * Enum value "nrnsa" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = "nrnsa"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_NRNSA = "nrnsa" as const; /** * Enum value "td_scdma" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = "td_scdma"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_TD_SCDMA = "td_scdma" as const; /** * Enum value "umts" for attribute {@link ATTR_NETWORK_CONNECTION_SUBTYPE}. */ -export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; +export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts" as const; /** * The internet connection type. @@ -5014,32 +5014,32 @@ export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type'; +export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type' as const; /** * Enum value "cell" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const NETWORK_CONNECTION_TYPE_VALUE_CELL = "cell"; +export const NETWORK_CONNECTION_TYPE_VALUE_CELL = "cell" as const; /** * Enum value "unavailable" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = "unavailable"; +export const NETWORK_CONNECTION_TYPE_VALUE_UNAVAILABLE = "unavailable" as const; /** * Enum value "unknown" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = "unknown"; +export const NETWORK_CONNECTION_TYPE_VALUE_UNKNOWN = "unknown" as const; /** * Enum value "wifi" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = "wifi"; +export const NETWORK_CONNECTION_TYPE_VALUE_WIFI = "wifi" as const; /** * Enum value "wired" for attribute {@link ATTR_NETWORK_CONNECTION_TYPE}. */ -export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; +export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired" as const; /** * The network IO operation direction. @@ -5048,17 +5048,17 @@ export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction'; +export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction' as const; /** * Enum value "receive" for attribute {@link ATTR_NETWORK_IO_DIRECTION}. */ -export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = "receive"; +export const NETWORK_IO_DIRECTION_VALUE_RECEIVE = "receive" as const; /** * Enum value "transmit" for attribute {@link ATTR_NETWORK_IO_DIRECTION}. */ -export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; +export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit" as const; /** * The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known. @@ -5070,7 +5070,7 @@ export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; +export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest' as const; /** * Parent-child Reference type @@ -5079,17 +5079,17 @@ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type'; +export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type' as const; /** * Enum value "child_of" for attribute {@link ATTR_OPENTRACING_REF_TYPE}. */ -export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = "child_of"; +export const OPENTRACING_REF_TYPE_VALUE_CHILD_OF = "child_of" as const; /** * Enum value "follows_from" for attribute {@link ATTR_OPENTRACING_REF_TYPE}. */ -export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; +export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from" as const; /** * Unique identifier for a particular build or compilation of the operating system. @@ -5102,7 +5102,7 @@ export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_BUILD_ID = 'os.build_id'; +export const ATTR_OS_BUILD_ID = 'os.build_id' as const; /** * Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands. @@ -5113,7 +5113,7 @@ export const ATTR_OS_BUILD_ID = 'os.build_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_DESCRIPTION = 'os.description'; +export const ATTR_OS_DESCRIPTION = 'os.description' as const; /** * Human readable operating system name. @@ -5126,69 +5126,69 @@ export const ATTR_OS_DESCRIPTION = 'os.description'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_NAME = 'os.name'; +export const ATTR_OS_NAME = 'os.name' as const; /** * The operating system type. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_TYPE = 'os.type'; +export const ATTR_OS_TYPE = 'os.type' as const; /** * Enum value "aix" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_AIX = "aix"; +export const OS_TYPE_VALUE_AIX = "aix" as const; /** * Enum value "darwin" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_DARWIN = "darwin"; +export const OS_TYPE_VALUE_DARWIN = "darwin" as const; /** * Enum value "dragonflybsd" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_DRAGONFLYBSD = "dragonflybsd"; +export const OS_TYPE_VALUE_DRAGONFLYBSD = "dragonflybsd" as const; /** * Enum value "freebsd" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_FREEBSD = "freebsd"; +export const OS_TYPE_VALUE_FREEBSD = "freebsd" as const; /** * Enum value "hpux" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_HPUX = "hpux"; +export const OS_TYPE_VALUE_HPUX = "hpux" as const; /** * Enum value "linux" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_LINUX = "linux"; +export const OS_TYPE_VALUE_LINUX = "linux" as const; /** * Enum value "netbsd" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_NETBSD = "netbsd"; +export const OS_TYPE_VALUE_NETBSD = "netbsd" as const; /** * Enum value "openbsd" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_OPENBSD = "openbsd"; +export const OS_TYPE_VALUE_OPENBSD = "openbsd" as const; /** * Enum value "solaris" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_SOLARIS = "solaris"; +export const OS_TYPE_VALUE_SOLARIS = "solaris" as const; /** * Enum value "windows" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_WINDOWS = "windows"; +export const OS_TYPE_VALUE_WINDOWS = "windows" as const; /** * Enum value "z_os" for attribute {@link ATTR_OS_TYPE}. */ -export const OS_TYPE_VALUE_Z_OS = "z_os"; +export const OS_TYPE_VALUE_Z_OS = "z_os" as const; /** * The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes). @@ -5199,7 +5199,7 @@ export const OS_TYPE_VALUE_Z_OS = "z_os"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_OS_VERSION = 'os.version'; +export const ATTR_OS_VERSION = 'os.version' as const; /** @@ -5210,7 +5210,7 @@ export const ATTR_OS_VERSION = 'os.version'; * * @deprecated * use the `otel.scope.name` attribute. */ -export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; +export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name' as const; /** @@ -5221,7 +5221,7 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name'; * * @deprecated * use the `otel.scope.version` attribute. */ -export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; +export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version' as const; /** * The [`service.name`](/docs/resource/README.md#service) of the remote service. **SHOULD** be equal to the actual `service.name` resource attribute of the remote service if any. @@ -5230,7 +5230,7 @@ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PEER_SERVICE = 'peer.service'; +export const ATTR_PEER_SERVICE = 'peer.service' as const; /** * Deprecated, use `db.client.connection.pool.name` instead. @@ -5241,7 +5241,7 @@ export const ATTR_PEER_SERVICE = 'peer.service'; * * @deprecated * Replaced by `db.client.connection.pool.name`. */ -export const ATTR_POOL_NAME = 'pool.name'; +export const ATTR_POOL_NAME = 'pool.name' as const; /** * The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`. @@ -5250,7 +5250,7 @@ export const ATTR_POOL_NAME = 'pool.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND = 'process.command'; +export const ATTR_PROCESS_COMMAND = 'process.command' as const; /** * All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`. @@ -5261,7 +5261,7 @@ export const ATTR_PROCESS_COMMAND = 'process.command'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; +export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args' as const; /** * The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead. @@ -5270,24 +5270,24 @@ export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line'; +export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line' as const; /** * Specifies whether the context switches for this data point were voluntary or involuntary. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type'; +export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type' as const; /** * Enum value "involuntary" for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = "involuntary"; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_INVOLUNTARY = "involuntary" as const; /** * Enum value "voluntary" for attribute {@link ATTR_PROCESS_CONTEXT_SWITCH_TYPE}. */ -export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary"; +export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary" as const; /** * Deprecated, use `cpu.mode` instead. @@ -5296,22 +5296,22 @@ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary"; * * @deprecated * Replaced by `cpu.mode` */ -export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state'; +export const ATTR_PROCESS_CPU_STATE = 'process.cpu.state' as const; /** * Enum value "system" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const PROCESS_CPU_STATE_VALUE_SYSTEM = "system"; +export const PROCESS_CPU_STATE_VALUE_SYSTEM = "system" as const; /** * Enum value "user" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const PROCESS_CPU_STATE_VALUE_USER = "user"; +export const PROCESS_CPU_STATE_VALUE_USER = "user" as const; /** * Enum value "wait" for attribute {@link ATTR_PROCESS_CPU_STATE}. */ -export const PROCESS_CPU_STATE_VALUE_WAIT = "wait"; +export const PROCESS_CPU_STATE_VALUE_WAIT = "wait" as const; /** * The date and time the process was created, in ISO 8601 format. @@ -5320,7 +5320,7 @@ export const PROCESS_CPU_STATE_VALUE_WAIT = "wait"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time'; +export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time' as const; /** * The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. @@ -5329,7 +5329,7 @@ export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; +export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name' as const; /** * The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. @@ -5338,7 +5338,7 @@ export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; +export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path' as const; /** * The exit code of the process. @@ -5347,7 +5347,7 @@ export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code'; +export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code' as const; /** * The date and time the process exited, in ISO 8601 format. @@ -5356,7 +5356,7 @@ export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time'; +export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time' as const; /** * The PID of the process's group leader. This is also the process group ID (PGID) of the process. @@ -5365,14 +5365,14 @@ export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_GROUP_LEADER_PID = 'process.group_leader.pid'; +export const ATTR_PROCESS_GROUP_LEADER_PID = 'process.group_leader.pid' as const; /** * Whether the process is connected to an interactive shell. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_INTERACTIVE = 'process.interactive'; +export const ATTR_PROCESS_INTERACTIVE = 'process.interactive' as const; /** * The username of the user that owns the process. @@ -5381,24 +5381,24 @@ export const ATTR_PROCESS_INTERACTIVE = 'process.interactive'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_OWNER = 'process.owner'; +export const ATTR_PROCESS_OWNER = 'process.owner' as const; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type'; +export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type' as const; /** * Enum value "major" for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = "major"; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MAJOR = "major" as const; /** * Enum value "minor" for attribute {@link ATTR_PROCESS_PAGING_FAULT_TYPE}. */ -export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; +export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor" as const; /** * Parent Process identifier (PPID). @@ -5407,7 +5407,7 @@ export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; +export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid' as const; /** * Process identifier (PID). @@ -5416,7 +5416,7 @@ export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_PID = 'process.pid'; +export const ATTR_PROCESS_PID = 'process.pid' as const; /** * The real user ID (RUID) of the process. @@ -5425,7 +5425,7 @@ export const ATTR_PROCESS_PID = 'process.pid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id'; +export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id' as const; /** * The username of the real user of the process. @@ -5434,7 +5434,7 @@ export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name'; +export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name' as const; /** * An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment. @@ -5443,7 +5443,7 @@ export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; +export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description' as const; /** * The name of the runtime of this process. @@ -5452,7 +5452,7 @@ export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; +export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name' as const; /** * The version of the runtime of this process, as returned by the runtime without modification. @@ -5461,7 +5461,7 @@ export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; +export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; /** * The saved user ID (SUID) of the process. @@ -5470,7 +5470,7 @@ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id'; +export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id' as const; /** * The username of the saved user. @@ -5479,7 +5479,7 @@ export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name'; +export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name' as const; /** * The PID of the process's session leader. This is also the session ID (SID) of the process. @@ -5488,7 +5488,7 @@ export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid'; +export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid' as const; /** * The effective user ID (EUID) of the process. @@ -5497,7 +5497,7 @@ export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_USER_ID = 'process.user.id'; +export const ATTR_PROCESS_USER_ID = 'process.user.id' as const; /** * The username of the effective user of the process. @@ -5506,7 +5506,7 @@ export const ATTR_PROCESS_USER_ID = 'process.user.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_USER_NAME = 'process.user.name'; +export const ATTR_PROCESS_USER_NAME = 'process.user.name' as const; /** * Virtual process identifier. @@ -5517,94 +5517,94 @@ export const ATTR_PROCESS_USER_NAME = 'process.user.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_PROCESS_VPID = 'process.vpid'; +export const ATTR_PROCESS_VPID = 'process.vpid' as const; /** * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code'; +export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code' as const; /** * Enum value "aborted" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = "aborted"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ABORTED = "aborted" as const; /** * Enum value "already_exists" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = "already_exists"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_ALREADY_EXISTS = "already_exists" as const; /** * Enum value "cancelled" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = "cancelled"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_CANCELLED = "cancelled" as const; /** * Enum value "data_loss" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = "data_loss"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DATA_LOSS = "data_loss" as const; /** * Enum value "deadline_exceeded" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = "deadline_exceeded"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_DEADLINE_EXCEEDED = "deadline_exceeded" as const; /** * Enum value "failed_precondition" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = "failed_precondition"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_FAILED_PRECONDITION = "failed_precondition" as const; /** * Enum value "internal" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = "internal"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INTERNAL = "internal" as const; /** * Enum value "invalid_argument" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = "invalid_argument"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_INVALID_ARGUMENT = "invalid_argument" as const; /** * Enum value "not_found" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = "not_found"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_NOT_FOUND = "not_found" as const; /** * Enum value "out_of_range" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = "out_of_range"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_OUT_OF_RANGE = "out_of_range" as const; /** * Enum value "permission_denied" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = "permission_denied"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_PERMISSION_DENIED = "permission_denied" as const; /** * Enum value "resource_exhausted" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = "resource_exhausted"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_RESOURCE_EXHAUSTED = "resource_exhausted" as const; /** * Enum value "unauthenticated" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = "unauthenticated"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAUTHENTICATED = "unauthenticated" as const; /** * Enum value "unavailable" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = "unavailable"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNAVAILABLE = "unavailable" as const; /** * Enum value "unimplemented" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = "unimplemented"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNIMPLEMENTED = "unimplemented" as const; /** * Enum value "unknown" for attribute {@link ATTR_RPC_CONNECT_RPC_ERROR_CODE}. */ -export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown"; +export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown" as const; /** * Connect request metadata, `` being the normalized Connect Metadata key (lowercase), the value being the metadata values. @@ -5655,92 +5655,92 @@ export const ATTR_RPC_GRPC_RESPONSE_METADATA = (key: string) => `rpc.grpc.respon * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code'; +export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code' as const; /** * Enum value 0 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0; +export const RPC_GRPC_STATUS_CODE_VALUE_OK = 0 as const; /** * Enum value 1 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1; +export const RPC_GRPC_STATUS_CODE_VALUE_CANCELLED = 1 as const; /** * Enum value 2 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2; +export const RPC_GRPC_STATUS_CODE_VALUE_UNKNOWN = 2 as const; /** * Enum value 3 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3; +export const RPC_GRPC_STATUS_CODE_VALUE_INVALID_ARGUMENT = 3 as const; /** * Enum value 4 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4; +export const RPC_GRPC_STATUS_CODE_VALUE_DEADLINE_EXCEEDED = 4 as const; /** * Enum value 5 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5; +export const RPC_GRPC_STATUS_CODE_VALUE_NOT_FOUND = 5 as const; /** * Enum value 6 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6; +export const RPC_GRPC_STATUS_CODE_VALUE_ALREADY_EXISTS = 6 as const; /** * Enum value 7 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7; +export const RPC_GRPC_STATUS_CODE_VALUE_PERMISSION_DENIED = 7 as const; /** * Enum value 8 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8; +export const RPC_GRPC_STATUS_CODE_VALUE_RESOURCE_EXHAUSTED = 8 as const; /** * Enum value 9 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9; +export const RPC_GRPC_STATUS_CODE_VALUE_FAILED_PRECONDITION = 9 as const; /** * Enum value 10 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10; +export const RPC_GRPC_STATUS_CODE_VALUE_ABORTED = 10 as const; /** * Enum value 11 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11; +export const RPC_GRPC_STATUS_CODE_VALUE_OUT_OF_RANGE = 11 as const; /** * Enum value 12 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12; +export const RPC_GRPC_STATUS_CODE_VALUE_UNIMPLEMENTED = 12 as const; /** * Enum value 13 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13; +export const RPC_GRPC_STATUS_CODE_VALUE_INTERNAL = 13 as const; /** * Enum value 14 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAVAILABLE = 14 as const; /** * Enum value 15 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15; +export const RPC_GRPC_STATUS_CODE_VALUE_DATA_LOSS = 15 as const; /** * Enum value 16 for attribute {@link ATTR_RPC_GRPC_STATUS_CODE}. */ -export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; +export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16 as const; /** * `error.code` property of response if it is an error response. @@ -5751,7 +5751,7 @@ export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; +export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code' as const; /** * `error.message` property of response if it is an error response. @@ -5762,7 +5762,7 @@ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; +export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message' as const; /** * `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification. @@ -5775,7 +5775,7 @@ export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; +export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id' as const; /** * Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted. @@ -5786,14 +5786,14 @@ export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version'; +export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version' as const; /** * Compressed size of the message in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_MESSAGE_COMPRESSED_SIZE = 'rpc.message.compressed_size'; +export const ATTR_RPC_MESSAGE_COMPRESSED_SIZE = 'rpc.message.compressed_size' as const; /** * **MUST** be calculated as two different counters starting from `1` one for sent messages and one for received message. @@ -5802,31 +5802,31 @@ export const ATTR_RPC_MESSAGE_COMPRESSED_SIZE = 'rpc.message.compressed_size'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_MESSAGE_ID = 'rpc.message.id'; +export const ATTR_RPC_MESSAGE_ID = 'rpc.message.id' as const; /** * Whether this is a received or sent message. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_MESSAGE_TYPE = 'rpc.message.type'; +export const ATTR_RPC_MESSAGE_TYPE = 'rpc.message.type' as const; /** * Enum value "RECEIVED" for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const RPC_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED"; +export const RPC_MESSAGE_TYPE_VALUE_RECEIVED = "RECEIVED" as const; /** * Enum value "SENT" for attribute {@link ATTR_RPC_MESSAGE_TYPE}. */ -export const RPC_MESSAGE_TYPE_VALUE_SENT = "SENT"; +export const RPC_MESSAGE_TYPE_VALUE_SENT = "SENT" as const; /** * Uncompressed size of the message in bytes. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size'; +export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size' as const; /** * The name of the (logical) method being called, must be equal to the $method part in the span name. @@ -5837,7 +5837,7 @@ export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_METHOD = 'rpc.method'; +export const ATTR_RPC_METHOD = 'rpc.method' as const; /** * The full (logical) name of the service being called, including its package name, if applicable. @@ -5848,39 +5848,39 @@ export const ATTR_RPC_METHOD = 'rpc.method'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_SERVICE = 'rpc.service'; +export const ATTR_RPC_SERVICE = 'rpc.service' as const; /** * A string identifying the remoting system. See below for a list of well-known identifiers. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_RPC_SYSTEM = 'rpc.system'; +export const ATTR_RPC_SYSTEM = 'rpc.system' as const; /** * Enum value "apache_dubbo" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const RPC_SYSTEM_VALUE_APACHE_DUBBO = "apache_dubbo"; +export const RPC_SYSTEM_VALUE_APACHE_DUBBO = "apache_dubbo" as const; /** * Enum value "connect_rpc" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const RPC_SYSTEM_VALUE_CONNECT_RPC = "connect_rpc"; +export const RPC_SYSTEM_VALUE_CONNECT_RPC = "connect_rpc" as const; /** * Enum value "dotnet_wcf" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const RPC_SYSTEM_VALUE_DOTNET_WCF = "dotnet_wcf"; +export const RPC_SYSTEM_VALUE_DOTNET_WCF = "dotnet_wcf" as const; /** * Enum value "grpc" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const RPC_SYSTEM_VALUE_GRPC = "grpc"; +export const RPC_SYSTEM_VALUE_GRPC = "grpc" as const; /** * Enum value "java_rmi" for attribute {@link ATTR_RPC_SYSTEM}. */ -export const RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; +export const RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi" as const; /** * The string ID of the service instance. @@ -5916,7 +5916,7 @@ export const RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; +export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id' as const; /** * A namespace for `service.name`. @@ -5927,7 +5927,7 @@ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; +export const ATTR_SERVICE_NAMESPACE = 'service.namespace' as const; /** * A unique id to identify a session. @@ -5936,7 +5936,7 @@ export const ATTR_SERVICE_NAMESPACE = 'service.namespace'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_ID = 'session.id'; +export const ATTR_SESSION_ID = 'session.id' as const; /** * The previous `session.id` for this user, when known. @@ -5945,7 +5945,7 @@ export const ATTR_SESSION_ID = 'session.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; +export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id' as const; /** * Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -5960,7 +5960,7 @@ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SOURCE_ADDRESS = 'source.address'; +export const ATTR_SOURCE_ADDRESS = 'source.address' as const; /** * Source port number @@ -5971,7 +5971,7 @@ export const ATTR_SOURCE_ADDRESS = 'source.address'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SOURCE_PORT = 'source.port'; +export const ATTR_SOURCE_PORT = 'source.port' as const; /** * Deprecated, use `db.client.connection.state` instead. @@ -5982,17 +5982,17 @@ export const ATTR_SOURCE_PORT = 'source.port'; * * @deprecated * Replaced by `db.client.connection.state`. */ -export const ATTR_STATE = 'state'; +export const ATTR_STATE = 'state' as const; /** * Enum value "idle" for attribute {@link ATTR_STATE}. */ -export const STATE_VALUE_IDLE = "idle"; +export const STATE_VALUE_IDLE = "idle" as const; /** * Enum value "used" for attribute {@link ATTR_STATE}. */ -export const STATE_VALUE_USED = "used"; +export const STATE_VALUE_USED = "used" as const; /** * The logical CPU number [0..n-1] @@ -6001,7 +6001,7 @@ export const STATE_VALUE_USED = "used"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; +export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number' as const; /** * Deprecated, use `cpu.mode` instead. @@ -6014,42 +6014,42 @@ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number'; * * @deprecated * Replaced by `cpu.mode` */ -export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state'; +export const ATTR_SYSTEM_CPU_STATE = 'system.cpu.state' as const; /** * Enum value "idle" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_IDLE = "idle"; +export const SYSTEM_CPU_STATE_VALUE_IDLE = "idle" as const; /** * Enum value "interrupt" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = "interrupt"; +export const SYSTEM_CPU_STATE_VALUE_INTERRUPT = "interrupt" as const; /** * Enum value "iowait" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_IOWAIT = "iowait"; +export const SYSTEM_CPU_STATE_VALUE_IOWAIT = "iowait" as const; /** * Enum value "nice" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_NICE = "nice"; +export const SYSTEM_CPU_STATE_VALUE_NICE = "nice" as const; /** * Enum value "steal" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_STEAL = "steal"; +export const SYSTEM_CPU_STATE_VALUE_STEAL = "steal" as const; /** * Enum value "system" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_SYSTEM = "system"; +export const SYSTEM_CPU_STATE_VALUE_SYSTEM = "system" as const; /** * Enum value "user" for attribute {@link ATTR_SYSTEM_CPU_STATE}. */ -export const SYSTEM_CPU_STATE_VALUE_USER = "user"; +export const SYSTEM_CPU_STATE_VALUE_USER = "user" as const; /** * The device identifier @@ -6058,7 +6058,7 @@ export const SYSTEM_CPU_STATE_VALUE_USER = "user"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_DEVICE = 'system.device'; +export const ATTR_SYSTEM_DEVICE = 'system.device' as const; /** * The filesystem mode @@ -6067,7 +6067,7 @@ export const ATTR_SYSTEM_DEVICE = 'system.device'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; +export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode' as const; /** * The filesystem mount path @@ -6076,7 +6076,7 @@ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; +export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint' as const; /** * The filesystem state @@ -6085,22 +6085,22 @@ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state'; +export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state' as const; /** * Enum value "free" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = "free"; +export const SYSTEM_FILESYSTEM_STATE_VALUE_FREE = "free" as const; /** * Enum value "reserved" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = "reserved"; +export const SYSTEM_FILESYSTEM_STATE_VALUE_RESERVED = "reserved" as const; /** * Enum value "used" for attribute {@link ATTR_SYSTEM_FILESYSTEM_STATE}. */ -export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; +export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used" as const; /** * The filesystem type @@ -6109,37 +6109,37 @@ export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type'; +export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type' as const; /** * Enum value "exfat" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = "exfat"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXFAT = "exfat" as const; /** * Enum value "ext4" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = "ext4"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_EXT4 = "ext4" as const; /** * Enum value "fat32" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = "fat32"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_FAT32 = "fat32" as const; /** * Enum value "hfsplus" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = "hfsplus"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_HFSPLUS = "hfsplus" as const; /** * Enum value "ntfs" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = "ntfs"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_NTFS = "ntfs" as const; /** * Enum value "refs" for attribute {@link ATTR_SYSTEM_FILESYSTEM_TYPE}. */ -export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; +export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs" as const; /** * The memory state @@ -6150,32 +6150,32 @@ export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state'; +export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state' as const; /** * Enum value "buffers" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = "buffers"; +export const SYSTEM_MEMORY_STATE_VALUE_BUFFERS = "buffers" as const; /** * Enum value "cached" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const SYSTEM_MEMORY_STATE_VALUE_CACHED = "cached"; +export const SYSTEM_MEMORY_STATE_VALUE_CACHED = "cached" as const; /** * Enum value "free" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const SYSTEM_MEMORY_STATE_VALUE_FREE = "free"; +export const SYSTEM_MEMORY_STATE_VALUE_FREE = "free" as const; /** * Enum value "shared" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const SYSTEM_MEMORY_STATE_VALUE_SHARED = "shared"; +export const SYSTEM_MEMORY_STATE_VALUE_SHARED = "shared" as const; /** * Enum value "used" for attribute {@link ATTR_SYSTEM_MEMORY_STATE}. */ -export const SYSTEM_MEMORY_STATE_VALUE_USED = "used"; +export const SYSTEM_MEMORY_STATE_VALUE_USED = "used" as const; /** * A stateless protocol **MUST** **NOT** set this attribute @@ -6184,67 +6184,67 @@ export const SYSTEM_MEMORY_STATE_VALUE_USED = "used"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state'; +export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state' as const; /** * Enum value "close" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = "close"; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE = "close" as const; /** * Enum value "close_wait" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = "close_wait"; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSE_WAIT = "close_wait" as const; /** * Enum value "closing" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = "closing"; +export const SYSTEM_NETWORK_STATE_VALUE_CLOSING = "closing" as const; /** * Enum value "delete" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_DELETE = "delete"; +export const SYSTEM_NETWORK_STATE_VALUE_DELETE = "delete" as const; /** * Enum value "established" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = "established"; +export const SYSTEM_NETWORK_STATE_VALUE_ESTABLISHED = "established" as const; /** * Enum value "fin_wait_1" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = "fin_wait_1"; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_1 = "fin_wait_1" as const; /** * Enum value "fin_wait_2" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = "fin_wait_2"; +export const SYSTEM_NETWORK_STATE_VALUE_FIN_WAIT_2 = "fin_wait_2" as const; /** * Enum value "last_ack" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = "last_ack"; +export const SYSTEM_NETWORK_STATE_VALUE_LAST_ACK = "last_ack" as const; /** * Enum value "listen" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = "listen"; +export const SYSTEM_NETWORK_STATE_VALUE_LISTEN = "listen" as const; /** * Enum value "syn_recv" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = "syn_recv"; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_RECV = "syn_recv" as const; /** * Enum value "syn_sent" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = "syn_sent"; +export const SYSTEM_NETWORK_STATE_VALUE_SYN_SENT = "syn_sent" as const; /** * Enum value "time_wait" for attribute {@link ATTR_SYSTEM_NETWORK_STATE}. */ -export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; +export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait" as const; /** * The paging access direction @@ -6253,17 +6253,17 @@ export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction'; +export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction' as const; /** * Enum value "in" for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. */ -export const SYSTEM_PAGING_DIRECTION_VALUE_IN = "in"; +export const SYSTEM_PAGING_DIRECTION_VALUE_IN = "in" as const; /** * Enum value "out" for attribute {@link ATTR_SYSTEM_PAGING_DIRECTION}. */ -export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; +export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out" as const; /** * The memory paging state @@ -6272,17 +6272,17 @@ export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state'; +export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state' as const; /** * Enum value "free" for attribute {@link ATTR_SYSTEM_PAGING_STATE}. */ -export const SYSTEM_PAGING_STATE_VALUE_FREE = "free"; +export const SYSTEM_PAGING_STATE_VALUE_FREE = "free" as const; /** * Enum value "used" for attribute {@link ATTR_SYSTEM_PAGING_STATE}. */ -export const SYSTEM_PAGING_STATE_VALUE_USED = "used"; +export const SYSTEM_PAGING_STATE_VALUE_USED = "used" as const; /** * The memory paging type @@ -6291,17 +6291,17 @@ export const SYSTEM_PAGING_STATE_VALUE_USED = "used"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type'; +export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type' as const; /** * Enum value "major" for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = "major"; +export const SYSTEM_PAGING_TYPE_VALUE_MAJOR = "major" as const; /** * Enum value "minor" for attribute {@link ATTR_SYSTEM_PAGING_TYPE}. */ -export const SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; +export const SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor" as const; /** * The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) @@ -6310,27 +6310,27 @@ export const SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status'; +export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status' as const; /** * Enum value "defunct" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = "defunct"; +export const SYSTEM_PROCESS_STATUS_VALUE_DEFUNCT = "defunct" as const; /** * Enum value "running" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = "running"; +export const SYSTEM_PROCESS_STATUS_VALUE_RUNNING = "running" as const; /** * Enum value "sleeping" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = "sleeping"; +export const SYSTEM_PROCESS_STATUS_VALUE_SLEEPING = "sleeping" as const; /** * Enum value "stopped" for attribute {@link ATTR_SYSTEM_PROCESS_STATUS}. */ -export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; +export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped" as const; /** * Deprecated, use `system.process.status` instead. @@ -6341,27 +6341,27 @@ export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped"; * * @deprecated * Replaced by `system.process.status`. */ -export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status'; +export const ATTR_SYSTEM_PROCESSES_STATUS = 'system.processes.status' as const; /** * Enum value "defunct" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = "defunct"; +export const SYSTEM_PROCESSES_STATUS_VALUE_DEFUNCT = "defunct" as const; /** * Enum value "running" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = "running"; +export const SYSTEM_PROCESSES_STATUS_VALUE_RUNNING = "running" as const; /** * Enum value "sleeping" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = "sleeping"; +export const SYSTEM_PROCESSES_STATUS_VALUE_SLEEPING = "sleeping" as const; /** * Enum value "stopped" for attribute {@link ATTR_SYSTEM_PROCESSES_STATUS}. */ -export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; +export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped" as const; /** * The name of the auto instrumentation agent or distribution, if used. @@ -6373,7 +6373,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; +export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name' as const; /** * The version string of the auto instrumentation agent or distribution, if used. @@ -6382,7 +6382,7 @@ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; +export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version' as const; /** * The fully qualified human readable name of the [test case](https://en.wikipedia.org/wiki/Test_case). @@ -6395,7 +6395,7 @@ export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TEST_CASE_NAME = 'test.case.name'; +export const ATTR_TEST_CASE_NAME = 'test.case.name' as const; /** * The status of the actual test case result from test execution. @@ -6406,17 +6406,17 @@ export const ATTR_TEST_CASE_NAME = 'test.case.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status'; +export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status' as const; /** * Enum value "fail" for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. */ -export const TEST_CASE_RESULT_STATUS_VALUE_FAIL = "fail"; +export const TEST_CASE_RESULT_STATUS_VALUE_FAIL = "fail" as const; /** * Enum value "pass" for attribute {@link ATTR_TEST_CASE_RESULT_STATUS}. */ -export const TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; +export const TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass" as const; /** * The human readable name of a [test suite](https://en.wikipedia.org/wiki/Test_suite). @@ -6425,7 +6425,7 @@ export const TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TEST_SUITE_NAME = 'test.suite.name'; +export const ATTR_TEST_SUITE_NAME = 'test.suite.name' as const; /** * The status of the test suite run. @@ -6444,37 +6444,37 @@ export const ATTR_TEST_SUITE_NAME = 'test.suite.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status'; +export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status' as const; /** * Enum value "aborted" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const TEST_SUITE_RUN_STATUS_VALUE_ABORTED = "aborted"; +export const TEST_SUITE_RUN_STATUS_VALUE_ABORTED = "aborted" as const; /** * Enum value "failure" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const TEST_SUITE_RUN_STATUS_VALUE_FAILURE = "failure"; +export const TEST_SUITE_RUN_STATUS_VALUE_FAILURE = "failure" as const; /** * Enum value "in_progress" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = "in_progress"; +export const TEST_SUITE_RUN_STATUS_VALUE_IN_PROGRESS = "in_progress" as const; /** * Enum value "skipped" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = "skipped"; +export const TEST_SUITE_RUN_STATUS_VALUE_SKIPPED = "skipped" as const; /** * Enum value "success" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = "success"; +export const TEST_SUITE_RUN_STATUS_VALUE_SUCCESS = "success" as const; /** * Enum value "timed_out" for attribute {@link ATTR_TEST_SUITE_RUN_STATUS}. */ -export const TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; +export const TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out" as const; /** * Current "managed" thread ID (as opposed to OS thread ID). @@ -6483,7 +6483,7 @@ export const TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_THREAD_ID = 'thread.id'; +export const ATTR_THREAD_ID = 'thread.id' as const; /** * Current thread name. @@ -6492,7 +6492,7 @@ export const ATTR_THREAD_ID = 'thread.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_THREAD_NAME = 'thread.name'; +export const ATTR_THREAD_NAME = 'thread.name' as const; /** * String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection. @@ -6505,7 +6505,7 @@ export const ATTR_THREAD_NAME = 'thread.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CIPHER = 'tls.cipher'; +export const ATTR_TLS_CIPHER = 'tls.cipher' as const; /** * PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list. @@ -6514,7 +6514,7 @@ export const ATTR_TLS_CIPHER = 'tls.cipher'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; +export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain. @@ -6525,7 +6525,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; +export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -6534,7 +6534,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; +export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5' as const; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -6543,7 +6543,7 @@ export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; +export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1' as const; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -6552,7 +6552,7 @@ export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; +export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256' as const; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. @@ -6561,7 +6561,7 @@ export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; +export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer' as const; /** * A hash that identifies clients based on how they perform an SSL/TLS handshake. @@ -6570,7 +6570,7 @@ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; +export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3' as const; /** * Date/Time indicating when client certificate is no longer considered valid. @@ -6579,7 +6579,7 @@ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; +export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after' as const; /** * Date/Time indicating when client certificate is first considered valid. @@ -6588,7 +6588,7 @@ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; +export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before' as const; /** * Deprecated, use `server.address` instead. @@ -6599,7 +6599,7 @@ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before'; * * @deprecated * Replaced by `server.address. */ -export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; +export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name' as const; /** * Distinguished name of subject of the x.509 certificate presented by the client. @@ -6608,7 +6608,7 @@ export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; +export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; /** * Array of ciphers offered by the client during the client hello. @@ -6621,7 +6621,7 @@ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; +export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers' as const; /** * String indicating the curve used for the given cipher, when applicable @@ -6630,7 +6630,7 @@ export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_CURVE = 'tls.curve'; +export const ATTR_TLS_CURVE = 'tls.curve' as const; /** * Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel. @@ -6639,7 +6639,7 @@ export const ATTR_TLS_CURVE = 'tls.curve'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_ESTABLISHED = 'tls.established'; +export const ATTR_TLS_ESTABLISHED = 'tls.established' as const; /** * String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case. @@ -6648,24 +6648,24 @@ export const ATTR_TLS_ESTABLISHED = 'tls.established'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol'; +export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol' as const; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name'; +export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name' as const; /** * Enum value "ssl" for attribute {@link ATTR_TLS_PROTOCOL_NAME}. */ -export const TLS_PROTOCOL_NAME_VALUE_SSL = "ssl"; +export const TLS_PROTOCOL_NAME_VALUE_SSL = "ssl" as const; /** * Enum value "tls" for attribute {@link ATTR_TLS_PROTOCOL_NAME}. */ -export const TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; +export const TLS_PROTOCOL_NAME_VALUE_TLS = "tls" as const; /** * Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) @@ -6676,7 +6676,7 @@ export const TLS_PROTOCOL_NAME_VALUE_TLS = "tls"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; +export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version' as const; /** * Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation. @@ -6685,7 +6685,7 @@ export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_RESUMED = 'tls.resumed'; +export const ATTR_TLS_RESUMED = 'tls.resumed' as const; /** * PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list. @@ -6694,7 +6694,7 @@ export const ATTR_TLS_RESUMED = 'tls.resumed'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; +export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; /** * Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain. @@ -6705,7 +6705,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; +export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain' as const; /** * Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -6714,7 +6714,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; +export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5' as const; /** * Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -6723,7 +6723,7 @@ export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; +export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1' as const; /** * Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash. @@ -6732,7 +6732,7 @@ export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; +export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256' as const; /** * Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client. @@ -6741,7 +6741,7 @@ export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; +export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer' as const; /** * A hash that identifies servers based on how they perform an SSL/TLS handshake. @@ -6750,7 +6750,7 @@ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; +export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s' as const; /** * Date/Time indicating when server certificate is no longer considered valid. @@ -6759,7 +6759,7 @@ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; +export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after' as const; /** * Date/Time indicating when server certificate is first considered valid. @@ -6768,7 +6768,7 @@ export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; +export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before' as const; /** * Distinguished name of subject of the x.509 certificate presented by the server. @@ -6777,7 +6777,7 @@ export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; +export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject' as const; /** * Domain extracted from the `url.full`, such as "opentelemetry.io". @@ -6794,7 +6794,7 @@ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_DOMAIN = 'url.domain'; +export const ATTR_URL_DOMAIN = 'url.domain' as const; /** * The file extension extracted from the `url.full`, excluding the leading dot. @@ -6807,7 +6807,7 @@ export const ATTR_URL_DOMAIN = 'url.domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_EXTENSION = 'url.extension'; +export const ATTR_URL_EXTENSION = 'url.extension' as const; /** * Unmodified original URL as seen in the event source. @@ -6821,7 +6821,7 @@ export const ATTR_URL_EXTENSION = 'url.extension'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_ORIGINAL = 'url.original'; +export const ATTR_URL_ORIGINAL = 'url.original' as const; /** * Port extracted from the `url.full` @@ -6830,7 +6830,7 @@ export const ATTR_URL_ORIGINAL = 'url.original'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_PORT = 'url.port'; +export const ATTR_URL_PORT = 'url.port' as const; /** * The highest registered url domain, stripped of the subdomain. @@ -6843,7 +6843,7 @@ export const ATTR_URL_PORT = 'url.port'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; +export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain' as const; /** * The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. @@ -6856,7 +6856,7 @@ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; +export const ATTR_URL_SUBDOMAIN = 'url.subdomain' as const; /** * The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2). @@ -6869,7 +6869,7 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_TEMPLATE = 'url.template'; +export const ATTR_URL_TEMPLATE = 'url.template' as const; /** * The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`. @@ -6882,7 +6882,7 @@ export const ATTR_URL_TEMPLATE = 'url.template'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; +export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain' as const; /** * User email address. @@ -6891,7 +6891,7 @@ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_EMAIL = 'user.email'; +export const ATTR_USER_EMAIL = 'user.email' as const; /** * User's full name @@ -6900,7 +6900,7 @@ export const ATTR_USER_EMAIL = 'user.email'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_FULL_NAME = 'user.full_name'; +export const ATTR_USER_FULL_NAME = 'user.full_name' as const; /** * Unique user hash to correlate information for a user in anonymized form. @@ -6911,7 +6911,7 @@ export const ATTR_USER_FULL_NAME = 'user.full_name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_HASH = 'user.hash'; +export const ATTR_USER_HASH = 'user.hash' as const; /** * Unique identifier of the user. @@ -6920,7 +6920,7 @@ export const ATTR_USER_HASH = 'user.hash'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_ID = 'user.id'; +export const ATTR_USER_ID = 'user.id' as const; /** * Short name or login/username of the user. @@ -6929,7 +6929,7 @@ export const ATTR_USER_ID = 'user.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_NAME = 'user.name'; +export const ATTR_USER_NAME = 'user.name' as const; /** * Array of user roles at the time of the event. @@ -6940,7 +6940,7 @@ export const ATTR_USER_NAME = 'user.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_ROLES = 'user.roles'; +export const ATTR_USER_ROLES = 'user.roles' as const; /** * Name of the user-agent extracted from original. Usually refers to the browser's name. @@ -6953,7 +6953,7 @@ export const ATTR_USER_ROLES = 'user.roles'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_AGENT_NAME = 'user_agent.name'; +export const ATTR_USER_AGENT_NAME = 'user_agent.name' as const; /** * Version of the user-agent extracted from original. Usually refers to the browser's version @@ -6966,34 +6966,34 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_USER_AGENT_VERSION = 'user_agent.version'; +export const ATTR_USER_AGENT_VERSION = 'user_agent.version' as const; /** * The type of garbage collection. * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_V8JS_GC_TYPE = 'v8js.gc.type'; +export const ATTR_V8JS_GC_TYPE = 'v8js.gc.type' as const; /** * Enum value "incremental" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const V8JS_GC_TYPE_VALUE_INCREMENTAL = "incremental"; +export const V8JS_GC_TYPE_VALUE_INCREMENTAL = "incremental" as const; /** * Enum value "major" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const V8JS_GC_TYPE_VALUE_MAJOR = "major"; +export const V8JS_GC_TYPE_VALUE_MAJOR = "major" as const; /** * Enum value "minor" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const V8JS_GC_TYPE_VALUE_MINOR = "minor"; +export const V8JS_GC_TYPE_VALUE_MINOR = "minor" as const; /** * Enum value "weakcb" for attribute {@link ATTR_V8JS_GC_TYPE}. */ -export const V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb"; +export const V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb" as const; /** * The name of the space type of heap memory. @@ -7002,32 +7002,32 @@ export const V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name'; +export const ATTR_V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name' as const; /** * Enum value "code_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = "code_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_CODE_SPACE = "code_space" as const; /** * Enum value "large_object_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = "large_object_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_LARGE_OBJECT_SPACE = "large_object_space" as const; /** * Enum value "map_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = "map_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_MAP_SPACE = "map_space" as const; /** * Enum value "new_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = "new_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_NEW_SPACE = "new_space" as const; /** * Enum value "old_space" for attribute {@link ATTR_V8JS_HEAP_SPACE_NAME}. */ -export const V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; +export const V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space" as const; /** * The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system. @@ -7036,7 +7036,7 @@ export const V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id'; +export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id' as const; /** * The human readable title of the change (pull request/merge request). This title is often a brief summary of the change and may get merged in to a ref as the commit summary. @@ -7049,7 +7049,7 @@ export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title'; +export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title' as const; /** * The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository. @@ -7060,7 +7060,7 @@ export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name'; +export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name' as const; /** * The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN. @@ -7085,7 +7085,7 @@ export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision'; +export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision' as const; /** * The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository. @@ -7096,17 +7096,17 @@ export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type'; +export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type' as const; /** * Enum value "branch" for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. */ -export const VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = "branch"; +export const VCS_REPOSITORY_REF_TYPE_VALUE_BRANCH = "branch" as const; /** * Enum value "tag" for attribute {@link ATTR_VCS_REPOSITORY_REF_TYPE}. */ -export const VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; +export const VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag" as const; /** * The [URL](https://en.wikipedia.org/wiki/URL) of the repository providing the complete address in order to locate and identify the repository. @@ -7117,7 +7117,7 @@ export const VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag"; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full'; +export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full' as const; /** * Additional description of the web engine (e.g. detailed version and edition information). @@ -7126,7 +7126,7 @@ export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; +export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description' as const; /** * The name of the web engine. @@ -7135,7 +7135,7 @@ export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_WEBENGINE_NAME = 'webengine.name'; +export const ATTR_WEBENGINE_NAME = 'webengine.name' as const; /** * The version of the web engine. @@ -7144,5 +7144,5 @@ export const ATTR_WEBENGINE_NAME = 'webengine.name'; * * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. */ -export const ATTR_WEBENGINE_VERSION = 'webengine.version'; +export const ATTR_WEBENGINE_VERSION = 'webengine.version' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts index 03171d31f6..e502129e2b 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_attributes.ts @@ -25,92 +25,92 @@ * * @example request_canceled */ -export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result'; +export const ATTR_ASPNETCORE_RATE_LIMITING_RESULT = 'aspnetcore.rate_limiting.result' as const; /** * Enum value "acquired" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = "acquired"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = "acquired" as const; /** * Enum value "endpoint_limiter" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = "endpoint_limiter"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = "endpoint_limiter" as const; /** * Enum value "global_limiter" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = "global_limiter"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = "global_limiter" as const; /** * Enum value "request_canceled" for attribute {@link ATTR_ASPNETCORE_RATE_LIMITING_RESULT}. */ -export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = "request_canceled"; +export const ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = "request_canceled" as const; /** * The language of the telemetry SDK. */ -export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language'; +export const ATTR_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language' as const; /** * Enum value "cpp" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = "cpp"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_CPP = "cpp" as const; /** * Enum value "dotnet" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = "dotnet"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = "dotnet" as const; /** * Enum value "erlang" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = "erlang"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = "erlang" as const; /** * Enum value "go" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = "go"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_GO = "go" as const; /** * Enum value "java" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = "java"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = "java" as const; /** * Enum value "nodejs" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = "nodejs"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = "nodejs" as const; /** * Enum value "php" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = "php"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PHP = "php" as const; /** * Enum value "python" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = "python"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = "python" as const; /** * Enum value "ruby" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = "ruby"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = "ruby" as const; /** * Enum value "rust" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = "rust"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_RUST = "rust" as const; /** * Enum value "swift" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = "swift"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = "swift" as const; /** * Enum value "webjs" for attribute {@link ATTR_TELEMETRY_SDK_LANGUAGE}. */ -export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; +export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs" as const; /** * The name of the telemetry SDK as defined above. @@ -124,21 +124,21 @@ export const TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = "webjs"; * The identifier `opentelemetry` is reserved and **MUST** **NOT** be used in this case. * All custom identifiers **SHOULD** be stable across different versions of an implementation. */ -export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name'; +export const ATTR_TELEMETRY_SDK_NAME = 'telemetry.sdk.name' as const; /** * The version string of the telemetry SDK. * * @example 1.2.3 */ -export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version'; +export const ATTR_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version' as const; /** * Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception. * * @example Contoso.MyHandler */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type'; +export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type' as const; /** * ASP.NET Core exception middleware handling result @@ -147,27 +147,27 @@ export const ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics. * * @example unhandled */ -export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result'; +export const ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = 'aspnetcore.diagnostics.exception.result' as const; /** * Enum value "aborted" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = "aborted"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = "aborted" as const; /** * Enum value "handled" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = "handled"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = "handled" as const; /** * Enum value "skipped" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = "skipped"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = "skipped" as const; /** * Enum value "unhandled" for attribute {@link ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT}. */ -export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandled"; +export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandled" as const; /** * Rate limiting policy name. @@ -178,21 +178,21 @@ export const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = "unhandle * * @example token */ -export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy'; +export const ATTR_ASPNETCORE_RATE_LIMITING_POLICY = 'aspnetcore.rate_limiting.policy' as const; /** * Flag indicating if request was handled by the application pipeline. * * @example true */ -export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled'; +export const ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = 'aspnetcore.request.is_unhandled' as const; /** * A value that indicates whether the matched route is a fallback route. * * @example true */ -export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback'; +export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallback' as const; /** * Match result - success or failure @@ -201,17 +201,17 @@ export const ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = 'aspnetcore.routing.is_fallba * * @example failure */ -export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'; +export const ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status' as const; /** * Enum value "failure" for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = "failure"; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = "failure" as const; /** * Enum value "success" for attribute {@link ATTR_ASPNETCORE_ROUTING_MATCH_STATUS}. */ -export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; +export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success" as const; /** * Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -224,7 +224,7 @@ export const ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = "success"; * * @note When observed from the server side, and when communicating through an intermediary, `client.address` **SHOULD** represent the client address behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_CLIENT_ADDRESS = 'client.address'; +export const ATTR_CLIENT_ADDRESS = 'client.address' as const; /** * Client port number. @@ -233,7 +233,7 @@ export const ATTR_CLIENT_ADDRESS = 'client.address'; * * @note When observed from the server side, and when communicating through an intermediary, `client.port` **SHOULD** represent the client port behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_CLIENT_PORT = 'client.port'; +export const ATTR_CLIENT_PORT = 'client.port' as const; /** * Describes a class of error the operation ended with. @@ -266,12 +266,12 @@ export const ATTR_CLIENT_PORT = 'client.port'; * * Use a domain-specific attribute * * Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not. */ -export const ATTR_ERROR_TYPE = 'error.type'; +export const ATTR_ERROR_TYPE = 'error.type' as const; /** * Enum value "_OTHER" for attribute {@link ATTR_ERROR_TYPE}. */ -export const ERROR_TYPE_VALUE_OTHER = "_OTHER"; +export const ERROR_TYPE_VALUE_OTHER = "_OTHER" as const; /** * **SHOULD** be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span. @@ -293,7 +293,7 @@ export const ERROR_TYPE_VALUE_OTHER = "_OTHER"; * since the event might have been recorded at a time where it was not * clear whether the exception will escape. */ -export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; +export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped' as const; /** * The exception message. @@ -302,14 +302,14 @@ export const ATTR_EXCEPTION_ESCAPED = 'exception.escaped'; * * @example Can't convert 'int' object to str implicitly */ -export const ATTR_EXCEPTION_MESSAGE = 'exception.message'; +export const ATTR_EXCEPTION_MESSAGE = 'exception.message' as const; /** * A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. * * @example "Exception in thread \"main\" java.lang.RuntimeException: Test exception\\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)" */ -export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; +export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace' as const; /** * The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. @@ -318,7 +318,7 @@ export const ATTR_EXCEPTION_STACKTRACE = 'exception.stacktrace'; * * @example OSError */ -export const ATTR_EXCEPTION_TYPE = 'exception.type'; +export const ATTR_EXCEPTION_TYPE = 'exception.type' as const; /** * HTTP request headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. @@ -357,57 +357,57 @@ export const ATTR_HTTP_REQUEST_HEADER = (key: string) => `http.request.header.${ * Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, **SHOULD** populate a canonical equivalent. * Tracing instrumentations that do so, **MUST** also set `http.request.method_original` to the original value. */ -export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method'; +export const ATTR_HTTP_REQUEST_METHOD = 'http.request.method' as const; /** * Enum value "_OTHER" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_OTHER = "_OTHER"; +export const HTTP_REQUEST_METHOD_VALUE_OTHER = "_OTHER" as const; /** * Enum value "CONNECT" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_CONNECT = "CONNECT"; +export const HTTP_REQUEST_METHOD_VALUE_CONNECT = "CONNECT" as const; /** * Enum value "DELETE" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_DELETE = "DELETE"; +export const HTTP_REQUEST_METHOD_VALUE_DELETE = "DELETE" as const; /** * Enum value "GET" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_GET = "GET"; +export const HTTP_REQUEST_METHOD_VALUE_GET = "GET" as const; /** * Enum value "HEAD" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_HEAD = "HEAD"; +export const HTTP_REQUEST_METHOD_VALUE_HEAD = "HEAD" as const; /** * Enum value "OPTIONS" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = "OPTIONS"; +export const HTTP_REQUEST_METHOD_VALUE_OPTIONS = "OPTIONS" as const; /** * Enum value "PATCH" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_PATCH = "PATCH"; +export const HTTP_REQUEST_METHOD_VALUE_PATCH = "PATCH" as const; /** * Enum value "POST" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_POST = "POST"; +export const HTTP_REQUEST_METHOD_VALUE_POST = "POST" as const; /** * Enum value "PUT" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_PUT = "PUT"; +export const HTTP_REQUEST_METHOD_VALUE_PUT = "PUT" as const; /** * Enum value "TRACE" for attribute {@link ATTR_HTTP_REQUEST_METHOD}. */ -export const HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; +export const HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE" as const; /** * Original HTTP method sent by the client in the request line. @@ -418,7 +418,7 @@ export const HTTP_REQUEST_METHOD_VALUE_TRACE = "TRACE"; * * @example foo */ -export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; +export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original' as const; /** * The ordinal number of request resending attempt (for any reason, including redirects). @@ -427,7 +427,7 @@ export const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original'; * * @note The resend count **SHOULD** be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other). */ -export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count'; +export const ATTR_HTTP_REQUEST_RESEND_COUNT = 'http.request.resend_count' as const; /** * HTTP response headers, `` being the normalized HTTP Header name (lowercase), the value being the header values. @@ -447,7 +447,7 @@ export const ATTR_HTTP_RESPONSE_HEADER = (key: string) => `http.response.header. * * @example 200 */ -export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; +export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code' as const; /** * The matched route, that is, the path template in the format used by the respective server framework. @@ -459,7 +459,7 @@ export const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code'; * @note MUST **NOT** be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can **NOT** substitute it. * SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. */ -export const ATTR_HTTP_ROUTE = 'http.route'; +export const ATTR_HTTP_ROUTE = 'http.route' as const; /** * Name of the garbage collector action. @@ -470,7 +470,7 @@ export const ATTR_HTTP_ROUTE = 'http.route'; * * @note Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()). */ -export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; +export const ATTR_JVM_GC_ACTION = 'jvm.gc.action' as const; /** * Name of the garbage collector. @@ -481,7 +481,7 @@ export const ATTR_JVM_GC_ACTION = 'jvm.gc.action'; * * @note Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()). */ -export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; +export const ATTR_JVM_GC_NAME = 'jvm.gc.name' as const; /** * Name of the memory pool. @@ -494,7 +494,7 @@ export const ATTR_JVM_GC_NAME = 'jvm.gc.name'; * * @note Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()). */ -export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; +export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name' as const; /** * The type of memory. @@ -503,22 +503,22 @@ export const ATTR_JVM_MEMORY_POOL_NAME = 'jvm.memory.pool.name'; * * @example non_heap */ -export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type'; +export const ATTR_JVM_MEMORY_TYPE = 'jvm.memory.type' as const; /** * Enum value "heap" for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUE_HEAP = "heap"; +export const JVM_MEMORY_TYPE_VALUE_HEAP = "heap" as const; /** * Enum value "non_heap" for attribute {@link ATTR_JVM_MEMORY_TYPE}. */ -export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = "non_heap"; +export const JVM_MEMORY_TYPE_VALUE_NON_HEAP = "non_heap" as const; /** * Whether the thread is daemon or not. */ -export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; +export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon' as const; /** * State of the thread. @@ -527,37 +527,37 @@ export const ATTR_JVM_THREAD_DAEMON = 'jvm.thread.daemon'; * * @example blocked */ -export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state'; +export const ATTR_JVM_THREAD_STATE = 'jvm.thread.state' as const; /** * Enum value "blocked" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_BLOCKED = "blocked"; +export const JVM_THREAD_STATE_VALUE_BLOCKED = "blocked" as const; /** * Enum value "new" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_NEW = "new"; +export const JVM_THREAD_STATE_VALUE_NEW = "new" as const; /** * Enum value "runnable" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_RUNNABLE = "runnable"; +export const JVM_THREAD_STATE_VALUE_RUNNABLE = "runnable" as const; /** * Enum value "terminated" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_TERMINATED = "terminated"; +export const JVM_THREAD_STATE_VALUE_TERMINATED = "terminated" as const; /** * Enum value "timed_waiting" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting"; +export const JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting" as const; /** * Enum value "waiting" for attribute {@link ATTR_JVM_THREAD_STATE}. */ -export const JVM_THREAD_STATE_VALUE_WAITING = "waiting"; +export const JVM_THREAD_STATE_VALUE_WAITING = "waiting" as const; /** * Local address of the network connection - IP address or Unix domain socket name. @@ -566,14 +566,14 @@ export const JVM_THREAD_STATE_VALUE_WAITING = "waiting"; * * @example /tmp/my.sock */ -export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address'; +export const ATTR_NETWORK_LOCAL_ADDRESS = 'network.local.address' as const; /** * Local port number of the network connection. * * @example 65123 */ -export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port'; +export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port' as const; /** * Peer address of the network connection - IP address or Unix domain socket name. @@ -582,14 +582,14 @@ export const ATTR_NETWORK_LOCAL_PORT = 'network.local.port'; * * @example /tmp/my.sock */ -export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address'; +export const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address' as const; /** * Peer port number of the network connection. * * @example 65123 */ -export const ATTR_NETWORK_PEER_PORT = 'network.peer.port'; +export const ATTR_NETWORK_PEER_PORT = 'network.peer.port' as const; /** * [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent. @@ -602,7 +602,7 @@ export const ATTR_NETWORK_PEER_PORT = 'network.peer.port'; * * @note The value **SHOULD** be normalized to lowercase. */ -export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; +export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name' as const; /** * The actual version of the protocol used for network communication. @@ -613,7 +613,7 @@ export const ATTR_NETWORK_PROTOCOL_NAME = 'network.protocol.name'; * * @note If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute **SHOULD** be set to the negotiated version. If the actual protocol version is not known, this attribute **SHOULD** **NOT** be set. */ -export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; +export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version' as const; /** * [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication). @@ -628,32 +628,32 @@ export const ATTR_NETWORK_PROTOCOL_VERSION = 'network.protocol.version'; * a port number is ambiguous without knowing the transport. For example * different processes could be listening on TCP port 12345 and UDP port 12345. */ -export const ATTR_NETWORK_TRANSPORT = 'network.transport'; +export const ATTR_NETWORK_TRANSPORT = 'network.transport' as const; /** * Enum value "pipe" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_PIPE = "pipe"; +export const NETWORK_TRANSPORT_VALUE_PIPE = "pipe" as const; /** * Enum value "quic" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_QUIC = "quic"; +export const NETWORK_TRANSPORT_VALUE_QUIC = "quic" as const; /** * Enum value "tcp" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_TCP = "tcp"; +export const NETWORK_TRANSPORT_VALUE_TCP = "tcp" as const; /** * Enum value "udp" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_UDP = "udp"; +export const NETWORK_TRANSPORT_VALUE_UDP = "udp" as const; /** * Enum value "unix" for attribute {@link ATTR_NETWORK_TRANSPORT}. */ -export const NETWORK_TRANSPORT_VALUE_UNIX = "unix"; +export const NETWORK_TRANSPORT_VALUE_UNIX = "unix" as const; /** * [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent. @@ -664,53 +664,53 @@ export const NETWORK_TRANSPORT_VALUE_UNIX = "unix"; * * @note The value **SHOULD** be normalized to lowercase. */ -export const ATTR_NETWORK_TYPE = 'network.type'; +export const ATTR_NETWORK_TYPE = 'network.type' as const; /** * Enum value "ipv4" for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUE_IPV4 = "ipv4"; +export const NETWORK_TYPE_VALUE_IPV4 = "ipv4" as const; /** * Enum value "ipv6" for attribute {@link ATTR_NETWORK_TYPE}. */ -export const NETWORK_TYPE_VALUE_IPV6 = "ipv6"; +export const NETWORK_TYPE_VALUE_IPV6 = "ipv6" as const; /** * The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). * * @example io.opentelemetry.contrib.mongodb */ -export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name'; +export const ATTR_OTEL_SCOPE_NAME = 'otel.scope.name' as const; /** * The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). * * @example 1.0.0 */ -export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version'; +export const ATTR_OTEL_SCOPE_VERSION = 'otel.scope.version' as const; /** * Name of the code, either "OK" or "ERROR". **MUST** **NOT** be set if the status code is UNSET. */ -export const ATTR_OTEL_STATUS_CODE = 'otel.status_code'; +export const ATTR_OTEL_STATUS_CODE = 'otel.status_code' as const; /** * Enum value "ERROR" for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUE_ERROR = "ERROR"; +export const OTEL_STATUS_CODE_VALUE_ERROR = "ERROR" as const; /** * Enum value "OK" for attribute {@link ATTR_OTEL_STATUS_CODE}. */ -export const OTEL_STATUS_CODE_VALUE_OK = "OK"; +export const OTEL_STATUS_CODE_VALUE_OK = "OK" as const; /** * Description of the Status if it has a value, otherwise not set. * * @example resource not found */ -export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; +export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description' as const; /** * Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name. @@ -723,7 +723,7 @@ export const ATTR_OTEL_STATUS_DESCRIPTION = 'otel.status_description'; * * @note When observed from the client side, and when communicating through an intermediary, `server.address` **SHOULD** represent the server address behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_SERVER_ADDRESS = 'server.address'; +export const ATTR_SERVER_ADDRESS = 'server.address' as const; /** * Server port number. @@ -736,7 +736,7 @@ export const ATTR_SERVER_ADDRESS = 'server.address'; * * @note When observed from the client side, and when communicating through an intermediary, `server.port` **SHOULD** represent the server port behind any intermediaries, for example proxies, if it's available. */ -export const ATTR_SERVER_PORT = 'server.port'; +export const ATTR_SERVER_PORT = 'server.port' as const; /** * Logical name of the service. @@ -745,7 +745,7 @@ export const ATTR_SERVER_PORT = 'server.port'; * * @note MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs **MUST** fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value **MUST** be set to `unknown_service`. */ -export const ATTR_SERVICE_NAME = 'service.name'; +export const ATTR_SERVICE_NAME = 'service.name' as const; /** * The version string of the service API or implementation. The format is not defined by these conventions. @@ -754,7 +754,7 @@ export const ATTR_SERVICE_NAME = 'service.name'; * * @example a01dbef8a */ -export const ATTR_SERVICE_VERSION = 'service.version'; +export const ATTR_SERVICE_VERSION = 'service.version' as const; /** * SignalR HTTP connection closure status. @@ -763,22 +763,22 @@ export const ATTR_SERVICE_VERSION = 'service.version'; * * @example timeout */ -export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status'; +export const ATTR_SIGNALR_CONNECTION_STATUS = 'signalr.connection.status' as const; /** * Enum value "app_shutdown" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = "app_shutdown"; +export const SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = "app_shutdown" as const; /** * Enum value "normal_closure" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = "normal_closure"; +export const SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = "normal_closure" as const; /** * Enum value "timeout" for attribute {@link ATTR_SIGNALR_CONNECTION_STATUS}. */ -export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; +export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout" as const; /** * [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md) @@ -787,29 +787,29 @@ export const SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = "timeout"; * * @example long_polling */ -export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport'; +export const ATTR_SIGNALR_TRANSPORT = 'signalr.transport' as const; /** * Enum value "long_polling" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = "long_polling"; +export const SIGNALR_TRANSPORT_VALUE_LONG_POLLING = "long_polling" as const; /** * Enum value "server_sent_events" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = "server_sent_events"; +export const SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = "server_sent_events" as const; /** * Enum value "web_sockets" for attribute {@link ATTR_SIGNALR_TRANSPORT}. */ -export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets"; +export const SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = "web_sockets" as const; /** * The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component * * @example SemConv */ -export const ATTR_URL_FRAGMENT = 'url.fragment'; +export const ATTR_URL_FRAGMENT = 'url.fragment' as const; /** * Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986) @@ -822,7 +822,7 @@ export const ATTR_URL_FRAGMENT = 'url.fragment'; * `url.full` **MUST** **NOT** contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password **SHOULD** be redacted and attribute's value **SHOULD** be `https://REDACTED:REDACTED@www.example.com/`. * `url.full` **SHOULD** capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` **SHOULD** be scrubbed when instrumentations can identify it. */ -export const ATTR_URL_FULL = 'url.full'; +export const ATTR_URL_FULL = 'url.full' as const; /** * The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component @@ -831,7 +831,7 @@ export const ATTR_URL_FULL = 'url.full'; * * @note Sensitive content provided in `url.path` **SHOULD** be scrubbed when instrumentations can identify it. */ -export const ATTR_URL_PATH = 'url.path'; +export const ATTR_URL_PATH = 'url.path' as const; /** * The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component @@ -840,7 +840,7 @@ export const ATTR_URL_PATH = 'url.path'; * * @note Sensitive content provided in `url.query` **SHOULD** be scrubbed when instrumentations can identify it. */ -export const ATTR_URL_QUERY = 'url.query'; +export const ATTR_URL_QUERY = 'url.query' as const; /** * The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol. @@ -851,7 +851,7 @@ export const ATTR_URL_QUERY = 'url.query'; * * @example telnet */ -export const ATTR_URL_SCHEME = 'url.scheme'; +export const ATTR_URL_SCHEME = 'url.scheme' as const; /** * Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client. @@ -862,5 +862,5 @@ export const ATTR_URL_SCHEME = 'url.scheme'; * * @example YourApp/1.0.0 grpc-java-okhttp/1.27.2 */ -export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original'; +export const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original' as const; diff --git a/scripts/semconv/templates/registry/stable/attributes.ts.j2 b/scripts/semconv/templates/registry/stable/attributes.ts.j2 index 3e0b6e815a..832430a405 100644 --- a/scripts/semconv/templates/registry/stable/attributes.ts.j2 +++ b/scripts/semconv/templates/registry/stable/attributes.ts.j2 @@ -24,7 +24,7 @@ {% if attribute.name not in params.excluded_attributes %} {{d.docstring(attribute, "attribute")}} {% if attribute.type is not template_type %} -export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}'; +export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}' as const; {% else %} export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; @@ -35,7 +35,7 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => /** * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. */ -export const {{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }}; +export const {{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }} as const; {% endfor %} {% endif %} diff --git a/scripts/semconv/templates/registry/stable/metrics.ts.j2 b/scripts/semconv/templates/registry/stable/metrics.ts.j2 index a9f9caf526..93f7b8fb21 100644 --- a/scripts/semconv/templates/registry/stable/metrics.ts.j2 +++ b/scripts/semconv/templates/registry/stable/metrics.ts.j2 @@ -22,6 +22,6 @@ {% for metric in ctx.metrics | sort(attribute="metric_name") %} {{d.docstring(metric, "metric")}} -export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}'; +export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}' as const; {% endfor %} From fe748a10110b8b3fbe0c4b25cd4d1ec0e3257d66 Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 7 Aug 2024 08:10:16 -0400 Subject: [PATCH 46/47] Update scripts/semconv/templates/registry/stable/docstring.ts.j2 Co-authored-by: Marc Pichler --- scripts/semconv/templates/registry/stable/docstring.ts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/semconv/templates/registry/stable/docstring.ts.j2 b/scripts/semconv/templates/registry/stable/docstring.ts.j2 index 0760838555..b0a2b71037 100644 --- a/scripts/semconv/templates/registry/stable/docstring.ts.j2 +++ b/scripts/semconv/templates/registry/stable/docstring.ts.j2 @@ -13,7 +13,7 @@ {{ ("@note " ~ strong_reqs(obj.note)) | comment_with_prefix(" * ") }} {% endif %}{% if (obj.stability) != "stable" %} * - * @experimental This {{type}} is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This {{type}} is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. {% endif %}{% if obj.deprecated %} * * @deprecated {{ strong_reqs(obj.deprecated) | comment_with_prefix(" * ") }} From 2844f01c53e0a8901987e07f414a2484503cb32c Mon Sep 17 00:00:00 2001 From: Daniel Dyla Date: Wed, 7 Aug 2024 08:10:58 -0400 Subject: [PATCH 47/47] Generate semconv --- .../src/experimental_attributes.ts | 974 +++++++++--------- .../src/experimental_metrics.ts | 532 +++++----- .../src/stable_metrics.ts | 62 +- 3 files changed, 784 insertions(+), 784 deletions(-) diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts index e2653d623a..17b7865e82 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_attributes.ts @@ -25,7 +25,7 @@ * * @example 23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id' as const; @@ -36,7 +36,7 @@ export const ATTR_AWS_ECS_TASK_ID = 'aws.ecs.task.id' as const; * * @example 32 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level' as const; @@ -45,7 +45,7 @@ export const ATTR_ANDROID_OS_API_LEVEL = 'android.os.api_level' as const; * * @note The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ANDROID_STATE = 'android.state' as const; @@ -75,7 +75,7 @@ export const ANDROID_STATE_VALUE_FOREGROUND = "foreground" as const; * * @example file-name-package.tar.gz.intoto.json1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename' as const; @@ -84,7 +84,7 @@ export const ATTR_ARTIFACT_ATTESTATION_FILENAME = 'artifact.attestation.filename * * @example 1b31dfcd5b7f9267bf2ff47651df1cfb9147b9e4df1f335accf65b4cda498408 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash' as const; @@ -93,7 +93,7 @@ export const ATTR_ARTIFACT_ATTESTATION_HASH = 'artifact.attestation.hash' as con * * @example 123 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id' as const; @@ -113,7 +113,7 @@ export const ATTR_ARTIFACT_ATTESTATION_ID = 'artifact.attestation.id' as const; * Additionally, the artifact [can be published](https://slsa.dev/spec/v1.0/terminology#software-supply-chain) * for others, but that is not a guarantee. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_FILENAME = 'artifact.filename' as const; @@ -131,7 +131,7 @@ export const ATTR_ARTIFACT_FILENAME = 'artifact.filename' as const; * hash values through an additional set of attribute extensions as they * deem necessary. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_HASH = 'artifact.hash' as const; @@ -142,7 +142,7 @@ export const ATTR_ARTIFACT_HASH = 'artifact.hash' as const; * * @example pkg:npm/foo@12.12.3 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_PURL = 'artifact.purl' as const; @@ -155,7 +155,7 @@ export const ATTR_ARTIFACT_PURL = 'artifact.purl' as const; * * @example 122691-build * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_ARTIFACT_VERSION = 'artifact.version' as const; @@ -164,7 +164,7 @@ export const ATTR_ARTIFACT_VERSION = 'artifact.version' as const; * * @example { "AttributeName": "string", "AttributeType": "string" } * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_definitions' as const; @@ -175,14 +175,14 @@ export const ATTR_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS = 'aws.dynamodb.attribute_d * * @example id * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ATTRIBUTES_TO_GET = 'aws.dynamodb.attributes_to_get' as const; /** * The value of the `ConsistentRead` request parameter. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read' as const; @@ -191,7 +191,7 @@ export const ATTR_AWS_DYNAMODB_CONSISTENT_READ = 'aws.dynamodb.consistent_read' * * @example { "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table": { "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName": "string", "WriteCapacityUnits": number } * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capacity' as const; @@ -200,7 +200,7 @@ export const ATTR_AWS_DYNAMODB_CONSUMED_CAPACITY = 'aws.dynamodb.consumed_capaci * * @example 10 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; @@ -211,7 +211,7 @@ export const ATTR_AWS_DYNAMODB_COUNT = 'aws.dynamodb.count' as const; * * @example CatsTable * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_start_table' as const; @@ -220,7 +220,7 @@ export const ATTR_AWS_DYNAMODB_EXCLUSIVE_START_TABLE = 'aws.dynamodb.exclusive_s * * @example { "Create": { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } } * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.global_secondary_index_updates' as const; @@ -229,7 +229,7 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES = 'aws.dynamodb.gl * * @example { "IndexName": "string", "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits": number } } * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_secondary_indexes' as const; @@ -238,7 +238,7 @@ export const ATTR_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES = 'aws.dynamodb.global_s * * @example name_to_group * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name' as const; @@ -247,7 +247,7 @@ export const ATTR_AWS_DYNAMODB_INDEX_NAME = 'aws.dynamodb.index_name' as const; * * @example { "string" : [ { "ItemCollectionKey": { "string" : { "B": blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S": "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] } * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_collection_metrics' as const; @@ -256,7 +256,7 @@ export const ATTR_AWS_DYNAMODB_ITEM_COLLECTION_METRICS = 'aws.dynamodb.item_coll * * @example 10 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; @@ -265,7 +265,7 @@ export const ATTR_AWS_DYNAMODB_LIMIT = 'aws.dynamodb.limit' as const; * * @example { "IndexArn": "string", "IndexName": "string", "IndexSizeBytes": number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ], "ProjectionType": "string" } } * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_secondary_indexes' as const; @@ -278,7 +278,7 @@ export const ATTR_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES = 'aws.dynamodb.local_sec * * @example Title, Description, RelatedItems, ProductReviews * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; @@ -289,7 +289,7 @@ export const ATTR_AWS_DYNAMODB_PROJECTION = 'aws.dynamodb.projection' as const; * * @example 2.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisioned_read_capacity' as const; @@ -300,14 +300,14 @@ export const ATTR_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY = 'aws.dynamodb.provisi * * @example 2.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY = 'aws.dynamodb.provisioned_write_capacity' as const; /** * The value of the `ScanIndexForward` request parameter. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward' as const; @@ -316,7 +316,7 @@ export const ATTR_AWS_DYNAMODB_SCAN_FORWARD = 'aws.dynamodb.scan_forward' as con * * @example 50 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count' as const; @@ -325,7 +325,7 @@ export const ATTR_AWS_DYNAMODB_SCANNED_COUNT = 'aws.dynamodb.scanned_count' as c * * @example 10 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment' as const; @@ -336,7 +336,7 @@ export const ATTR_AWS_DYNAMODB_SEGMENT = 'aws.dynamodb.segment' as const; * * @example COUNT * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; @@ -345,7 +345,7 @@ export const ATTR_AWS_DYNAMODB_SELECT = 'aws.dynamodb.select' as const; * * @example 20 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count' as const; @@ -356,7 +356,7 @@ export const ATTR_AWS_DYNAMODB_TABLE_COUNT = 'aws.dynamodb.table_count' as const * * @example Cats * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names' as const; @@ -365,7 +365,7 @@ export const ATTR_AWS_DYNAMODB_TABLE_NAMES = 'aws.dynamodb.table_names' as const * * @example 100 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments' as const; @@ -374,7 +374,7 @@ export const ATTR_AWS_DYNAMODB_TOTAL_SEGMENTS = 'aws.dynamodb.total_segments' as * * @example arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn' as const; @@ -383,14 +383,14 @@ export const ATTR_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn' as const; * * @example arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn' as const; /** * The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype' as const; @@ -411,7 +411,7 @@ export const AWS_ECS_LAUNCHTYPE_VALUE_FARGATE = "fargate" as const; * * @example arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn' as const; @@ -420,7 +420,7 @@ export const ATTR_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn' as const; * * @example opentelemetry-family * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family' as const; @@ -431,7 +431,7 @@ export const ATTR_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family' as const; * * @example 26 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision' as const; @@ -440,7 +440,7 @@ export const ATTR_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision' as const; * * @example arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn' as const; @@ -451,7 +451,7 @@ export const ATTR_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn' as const; * * @note This may be different from `cloud.resource_id` if an alias is involved. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' as const; @@ -462,7 +462,7 @@ export const ATTR_AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' as const; * * @note See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns' as const; @@ -475,7 +475,7 @@ export const ATTR_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns' as const; * * @note Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names' as const; @@ -486,7 +486,7 @@ export const ATTR_AWS_LOG_GROUP_NAMES = 'aws.log.group.names' as const; * * @note See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns' as const; @@ -495,7 +495,7 @@ export const ATTR_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns' as const; * * @example logs/main/10838bed-421f-43ef-870a-f43feacbbb5b * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names' as const; @@ -506,7 +506,7 @@ export const ATTR_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names' as const; * * @example C9ER4AJX75574TDJ * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_REQUEST_ID = 'aws.request_id' as const; @@ -518,7 +518,7 @@ export const ATTR_AWS_REQUEST_ID = 'aws.request_id' as const; * @note The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter. * This applies to almost all S3 operations except `list-buckets`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; @@ -534,7 +534,7 @@ export const ATTR_AWS_S3_BUCKET = 'aws.s3.bucket' as const; * - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source' as const; @@ -547,7 +547,7 @@ export const ATTR_AWS_S3_COPY_SOURCE = 'aws.s3.copy_source' as const; * The `delete` attribute corresponds to the `--delete` parameter of the * [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete' as const; @@ -573,7 +573,7 @@ export const ATTR_AWS_S3_DELETE = 'aws.s3.delete' as const; * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_KEY = 'aws.s3.key' as const; @@ -587,7 +587,7 @@ export const ATTR_AWS_S3_KEY = 'aws.s3.key' as const; * The `part_number` attribute corresponds to the `--part-number` parameter of the * [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; @@ -606,7 +606,7 @@ export const ATTR_AWS_S3_PART_NUMBER = 'aws.s3.part_number' as const; * - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html) * - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id' as const; @@ -615,7 +615,7 @@ export const ATTR_AWS_S3_UPLOAD_ID = 'aws.s3.upload_id' as const; * * @example 00000000-0000-0000-0000-000000000000 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id' as const; @@ -630,7 +630,7 @@ export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id' as const; * * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_BRANDS = 'browser.brands' as const; @@ -647,7 +647,7 @@ export const ATTR_BROWSER_BRANDS = 'browser.brands' as const; * * @note This value is intended to be taken from the Navigator API `navigator.language`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_LANGUAGE = 'browser.language' as const; @@ -656,7 +656,7 @@ export const ATTR_BROWSER_LANGUAGE = 'browser.language' as const; * * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute **SHOULD** be left unset. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_MOBILE = 'browser.mobile' as const; @@ -672,7 +672,7 @@ export const ATTR_BROWSER_MOBILE = 'browser.mobile' as const; * @note This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API **SHOULD** **NOT** be used instead and this attribute **SHOULD** be left unset in order for the values to be consistent. * The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_BROWSER_PLATFORM = 'browser.platform' as const; @@ -687,7 +687,7 @@ export const ATTR_BROWSER_PLATFORM = 'browser.platform' as const; * * @example deploy_to_environment * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name' as const; @@ -696,7 +696,7 @@ export const ATTR_CICD_PIPELINE_NAME = 'cicd.pipeline.name' as const; * * @example 120912 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id' as const; @@ -711,7 +711,7 @@ export const ATTR_CICD_PIPELINE_RUN_ID = 'cicd.pipeline.run.id' as const; * * @example deploy_binary * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name' as const; @@ -720,7 +720,7 @@ export const ATTR_CICD_PIPELINE_TASK_NAME = 'cicd.pipeline.task.name' as const; * * @example 12097 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id' as const; @@ -729,7 +729,7 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_ID = 'cicd.pipeline.task.run.id' as con * * @example https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763/job/26920038674?pr=1075 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url.full' as const; @@ -742,7 +742,7 @@ export const ATTR_CICD_PIPELINE_TASK_RUN_URL_FULL = 'cicd.pipeline.task.run.url. * * @example deploy * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CICD_PIPELINE_TASK_TYPE = 'cicd.pipeline.task.type' as const; @@ -768,7 +768,7 @@ export const CICD_PIPELINE_TASK_TYPE_VALUE_TEST = "test" as const; * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id' as const; @@ -779,7 +779,7 @@ export const ATTR_CLOUD_ACCOUNT_ID = 'cloud.account.id' as const; * * @note Availability zones are called "zones" on Alibaba Cloud and Google Cloud. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone' as const; @@ -788,7 +788,7 @@ export const ATTR_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone' as const; * * @note The prefix of the service **SHOULD** match the one specified in `cloud.provider`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_PLATFORM = 'cloud.platform' as const; @@ -935,7 +935,7 @@ export const CLOUD_PLATFORM_VALUE_TENCENT_CLOUD_SCF = "tencent_cloud_scf" as con /** * Name of the cloud provider. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_PROVIDER = 'cloud.provider' as const; @@ -983,7 +983,7 @@ export const CLOUD_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud" as const; * * @note Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_REGION = 'cloud.region' as const; @@ -1014,7 +1014,7 @@ export const ATTR_CLOUD_REGION = 'cloud.region' as const; * This means that a span attribute **MUST** be used, as an Azure function app can host multiple functions that would usually share * a TracerProvider. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id' as const; @@ -1025,7 +1025,7 @@ export const ATTR_CLOUD_RESOURCE_ID = 'cloud.resource_id' as const; * * @example 0001 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id' as const; @@ -1038,7 +1038,7 @@ export const ATTR_CLOUDEVENTS_EVENT_ID = 'cloudevents.event_id' as const; * * @example my-service * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source' as const; @@ -1047,7 +1047,7 @@ export const ATTR_CLOUDEVENTS_EVENT_SOURCE = 'cloudevents.event_source' as const * * @example "1.0" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_version' as const; @@ -1056,7 +1056,7 @@ export const ATTR_CLOUDEVENTS_EVENT_SPEC_VERSION = 'cloudevents.event_spec_versi * * @example "mynewfile.jpg" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject' as const; @@ -1067,7 +1067,7 @@ export const ATTR_CLOUDEVENTS_EVENT_SUBJECT = 'cloudevents.event_subject' as con * * @example com.example.object.deleted.v2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type' as const; @@ -1076,7 +1076,7 @@ export const ATTR_CLOUDEVENTS_EVENT_TYPE = 'cloudevents.event_type' as const; * * @example 16 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_COLUMN = 'code.column' as const; @@ -1085,7 +1085,7 @@ export const ATTR_CODE_COLUMN = 'code.column' as const; * * @example "/usr/local/MyApplication/content_root/app/index.php" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_FILEPATH = 'code.filepath' as const; @@ -1094,7 +1094,7 @@ export const ATTR_CODE_FILEPATH = 'code.filepath' as const; * * @example "serveRequest" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_FUNCTION = 'code.function' as const; @@ -1103,7 +1103,7 @@ export const ATTR_CODE_FUNCTION = 'code.function' as const; * * @example 42 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_LINENO = 'code.lineno' as const; @@ -1112,7 +1112,7 @@ export const ATTR_CODE_LINENO = 'code.lineno' as const; * * @example "com.example.MyHttpService" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_NAMESPACE = 'code.namespace' as const; @@ -1121,7 +1121,7 @@ export const ATTR_CODE_NAMESPACE = 'code.namespace' as const; * * @example "at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CODE_STACKTRACE = 'code.stacktrace' as const; @@ -1132,7 +1132,7 @@ export const ATTR_CODE_STACKTRACE = 'code.stacktrace' as const; * * @note If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND = 'container.command' as const; @@ -1141,7 +1141,7 @@ export const ATTR_CONTAINER_COMMAND = 'container.command' as const; * * @example otelcontribcol, --config, config.yaml * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args' as const; @@ -1150,7 +1150,7 @@ export const ATTR_CONTAINER_COMMAND_ARGS = 'container.command_args' as const; * * @example otelcontribcol --config config.yaml * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line' as const; @@ -1161,7 +1161,7 @@ export const ATTR_CONTAINER_COMMAND_LINE = 'container.command_line' as const; * * @example kernel * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `cpu.mode` */ @@ -1187,7 +1187,7 @@ export const CONTAINER_CPU_STATE_VALUE_USER = "user" as const; * * @example a3bf90e006b2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_ID = 'container.id' as const; @@ -1200,7 +1200,7 @@ export const ATTR_CONTAINER_ID = 'container.id' as const; * K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. * The ID is assigned by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id' as const; @@ -1209,7 +1209,7 @@ export const ATTR_CONTAINER_IMAGE_ID = 'container.image.id' as const; * * @example gcr.io/opentelemetry/operator * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; @@ -1222,7 +1222,7 @@ export const ATTR_CONTAINER_IMAGE_NAME = 'container.image.name' as const; * * @note [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests' as const; @@ -1233,7 +1233,7 @@ export const ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests' * * @example 3.5.7-0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags' as const; @@ -1242,7 +1242,7 @@ export const ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags' as const; * * @example container.label.app=nginx * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; @@ -1251,7 +1251,7 @@ export const ATTR_CONTAINER_LABEL = (key: string) => `container.label.${key}`; * * @example container.label.app=nginx * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `container.label`. */ @@ -1262,7 +1262,7 @@ export const ATTR_CONTAINER_LABELS = (key: string) => `container.labels.${key}`; * * @example opentelemetry-autoconf * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_NAME = 'container.name' as const; @@ -1275,7 +1275,7 @@ export const ATTR_CONTAINER_NAME = 'container.name' as const; * * @example rkt * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; @@ -1286,7 +1286,7 @@ export const ATTR_CONTAINER_RUNTIME = 'container.runtime' as const; * * @example system * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_CPU_MODE = 'cpu.mode' as const; @@ -1333,7 +1333,7 @@ export const CPU_MODE_VALUE_USER = "user" as const; /** * The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_CONSISTENCY_LEVEL = 'db.cassandra.consistency_level' as const; @@ -1397,7 +1397,7 @@ export const DB_CASSANDRA_CONSISTENCY_LEVEL_VALUE_TWO = "two" as const; * * @example "us-west-2" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc' as const; @@ -1406,14 +1406,14 @@ export const ATTR_DB_CASSANDRA_COORDINATOR_DC = 'db.cassandra.coordinator.dc' as * * @example "be13faa2-8574-4d71-926d-27f16cf8a7af" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_COORDINATOR_ID = 'db.cassandra.coordinator.id' as const; /** * Whether or not the query is idempotent. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence' as const; @@ -1422,7 +1422,7 @@ export const ATTR_DB_CASSANDRA_IDEMPOTENCE = 'db.cassandra.idempotence' as const * * @example 5000 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size' as const; @@ -1433,7 +1433,7 @@ export const ATTR_DB_CASSANDRA_PAGE_SIZE = 'db.cassandra.page_size' as const; * * @example 2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.speculative_execution_count' as const; @@ -1442,7 +1442,7 @@ export const ATTR_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT = 'db.cassandra.specu * * @example "mytable" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. */ @@ -1453,7 +1453,7 @@ export const ATTR_DB_CASSANDRA_TABLE = 'db.cassandra.table' as const; * * @example myDataSource * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.name' as const; @@ -1462,7 +1462,7 @@ export const ATTR_DB_CLIENT_CONNECTION_POOL_NAME = 'db.client.connection.pool.na * * @example idle * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_CLIENT_CONNECTION_STATE = 'db.client.connection.state' as const; @@ -1481,7 +1481,7 @@ export const DB_CLIENT_CONNECTION_STATE_VALUE_USED = "used" as const; * * @example myDataSource * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.pool.name`. */ @@ -1492,7 +1492,7 @@ export const ATTR_DB_CLIENT_CONNECTIONS_POOL_NAME = 'db.client.connections.pool. * * @example idle * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.state`. */ @@ -1519,7 +1519,7 @@ export const DB_CLIENT_CONNECTIONS_STATE_VALUE_USED = "used" as const; * If the collection name is parsed from the query text, it **SHOULD** be the first collection name found in the query and it **SHOULD** match the value provided in the query text including any schema and database name prefix. * For batch operations, if the individual operations are known to have the same collection name then that collection name **SHOULD** be used, otherwise `db.collection.name` **SHOULD** **NOT** be captured. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COLLECTION_NAME = 'db.collection.name' as const; @@ -1528,7 +1528,7 @@ export const ATTR_DB_COLLECTION_NAME = 'db.collection.name' as const; * * @example "Server=(localdb)\\v11.0;Integrated Security=true;" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * "Replaced by `server.address` and `server.port`." */ @@ -1539,14 +1539,14 @@ export const ATTR_DB_CONNECTION_STRING = 'db.connection_string' as const; * * @example "3ba4827d-4422-483f-b59f-85b74211c11d" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_CLIENT_ID = 'db.cosmosdb.client_id' as const; /** * Cosmos client connection mode. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_CONNECTION_MODE = 'db.cosmosdb.connection_mode' as const; @@ -1565,7 +1565,7 @@ export const DB_COSMOSDB_CONNECTION_MODE_VALUE_GATEWAY = "gateway" as const; * * @example "mytable" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. */ @@ -1574,7 +1574,7 @@ export const ATTR_DB_COSMOSDB_CONTAINER = 'db.cosmosdb.container' as const; /** * CosmosDB Operation Type. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_OPERATION_TYPE = 'db.cosmosdb.operation_type' as const; @@ -1660,14 +1660,14 @@ export const DB_COSMOSDB_OPERATION_TYPE_VALUE_UPSERT = "Upsert" as const; * * @example 1.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_REQUEST_CHARGE = 'db.cosmosdb.request_charge' as const; /** * Request payload size in bytes * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_content_length' as const; @@ -1678,7 +1678,7 @@ export const ATTR_DB_COSMOSDB_REQUEST_CONTENT_LENGTH = 'db.cosmosdb.request_cont * * @example 201 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' as const; @@ -1689,7 +1689,7 @@ export const ATTR_DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' as const; * * @example 1002 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code' as const; @@ -1698,7 +1698,7 @@ export const ATTR_DB_COSMOSDB_SUB_STATUS_CODE = 'db.cosmosdb.sub_status_code' as * * @example e9106fc68e3044f0b1475b04bf4ffd5f * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.namespace`. */ @@ -1709,7 +1709,7 @@ export const ATTR_DB_ELASTICSEARCH_CLUSTER_NAME = 'db.elasticsearch.cluster.name * * @example instance-0000000001 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name' as const; @@ -1722,7 +1722,7 @@ export const ATTR_DB_ELASTICSEARCH_NODE_NAME = 'db.elasticsearch.node.name' as c * * @note Many Elasticsearch url paths allow dynamic values. These **SHOULD** be recorded in span attributes in the format `db.elasticsearch.path_parts.`, where `` is the url path part name. The implementation **SHOULD** reference the [elasticsearch schema](https://raw.githubusercontent.com/elastic/elasticsearch-specification/main/output/schema/schema.json) in order to map the path part values to their names. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsearch.path_parts.${key}`; @@ -1731,7 +1731,7 @@ export const ATTR_DB_ELASTICSEARCH_PATH_PARTS = (key: string) => `db.elasticsear * * @example "mysql-e26b99z.example.com" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead. */ @@ -1744,7 +1744,7 @@ export const ATTR_DB_INSTANCE_ID = 'db.instance.id' as const; * * @example com.microsoft.sqlserver.jdbc.SQLServerDriver * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Removed as not used. */ @@ -1755,7 +1755,7 @@ export const ATTR_DB_JDBC_DRIVER_CLASSNAME = 'db.jdbc.driver_classname' as const * * @example "mytable" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. */ @@ -1766,7 +1766,7 @@ export const ATTR_DB_MONGODB_COLLECTION = 'db.mongodb.collection' as const; * * @example "MSSQLSERVER" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Deprecated, no replacement at this time. */ @@ -1779,7 +1779,7 @@ export const ATTR_DB_MSSQL_INSTANCE_NAME = 'db.mssql.instance_name' as const; * * @example main * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.namespace`. */ @@ -1796,7 +1796,7 @@ export const ATTR_DB_NAME = 'db.name' as const; * Semantic conventions for individual database systems **SHOULD** document what `db.namespace` means in the context of that system. * It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_NAMESPACE = 'db.namespace' as const; @@ -1809,7 +1809,7 @@ export const ATTR_DB_NAMESPACE = 'db.namespace' as const; * * @example SELECT * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.operation.name`. */ @@ -1826,7 +1826,7 @@ export const ATTR_DB_OPERATION = 'db.operation' as const; * * @note Operations are only considered batches when they contain two or more operations, and so `db.operation.batch.size` **SHOULD** never be `1`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size' as const; @@ -1843,7 +1843,7 @@ export const ATTR_DB_OPERATION_BATCH_SIZE = 'db.operation.batch.size' as const; * If the operation name is parsed from the query text, it **SHOULD** be the first operation name found in the query. * For batch operations, if the individual operations are known to have the same operation name then that operation name **SHOULD** be used prepended by `BATCH `, otherwise `db.operation.name` **SHOULD** be `BATCH` or some other database system specific term if more applicable. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_OPERATION_NAME = 'db.operation.name' as const; @@ -1857,7 +1857,7 @@ export const ATTR_DB_OPERATION_NAME = 'db.operation.name' as const; * @note Query parameters should only be captured when `db.query.text` is parameterized with placeholders. * If a parameter has no name and instead is referenced only by index, then `` **SHOULD** be the 0-based index. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_QUERY_PARAMETER = (key: string) => `db.query.parameter.${key}`; @@ -1872,7 +1872,7 @@ export const ATTR_DB_QUERY_PARAMETER = (key: string) => `db.query.parameter.${ke * For batch operations, if the individual operations are known to have the same query text then that query text **SHOULD** be used, otherwise all of the individual query texts **SHOULD** be concatenated with separator `; ` or some other database system specific separator if more applicable. * Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_QUERY_TEXT = 'db.query.text' as const; @@ -1885,7 +1885,7 @@ export const ATTR_DB_QUERY_TEXT = 'db.query.text' as const; * * @example 15 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.namespace`. */ @@ -1896,7 +1896,7 @@ export const ATTR_DB_REDIS_DATABASE_INDEX = 'db.redis.database_index' as const; * * @example "mytable" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.collection.name`. */ @@ -1909,7 +1909,7 @@ export const ATTR_DB_SQL_TABLE = 'db.sql.table' as const; * * @example SET mykey "WuValue" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.query.text`. */ @@ -1920,7 +1920,7 @@ export const ATTR_DB_STATEMENT = 'db.statement' as const; * * @note The actual DBMS may differ from the one identified by the client. For example, when using PostgreSQL client libraries to connect to a CockroachDB, the `db.system` is set to `postgresql` based on the instrumentation's best knowledge. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DB_SYSTEM = 'db.system' as const; @@ -2201,7 +2201,7 @@ export const DB_SYSTEM_VALUE_VERTICA = "vertica" as const; * * @example reporting_user * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * No replacement at this time. */ @@ -2214,7 +2214,7 @@ export const ATTR_DB_USER = 'db.user' as const; * * @example production * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Deprecated, use `deployment.environment.name` instead. */ @@ -2235,7 +2235,7 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT = 'deployment.environment' as const; * * `service.name=frontend`, `deployment.environment.name=production` * * `service.name=frontend`, `deployment.environment.name=staging`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name' as const; @@ -2244,7 +2244,7 @@ export const ATTR_DEPLOYMENT_ENVIRONMENT_NAME = 'deployment.environment.name' as * * @example 1208 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_ID = 'deployment.id' as const; @@ -2255,14 +2255,14 @@ export const ATTR_DEPLOYMENT_ID = 'deployment.id' as const; * * @example deploy-frontend * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_NAME = 'deployment.name' as const; /** * The status of the deployment. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEPLOYMENT_STATUS = 'deployment.status' as const; @@ -2287,7 +2287,7 @@ export const DEPLOYMENT_STATUS_VALUE_SUCCEEDED = "succeeded" as const; * * @note When observed from the source side, and when communicating through an intermediary, `destination.address` **SHOULD** represent the destination address behind any intermediaries, for example proxies, if it's available. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DESTINATION_ADDRESS = 'destination.address' as const; @@ -2298,7 +2298,7 @@ export const ATTR_DESTINATION_ADDRESS = 'destination.address' as const; * * @example 2888 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DESTINATION_PORT = 'destination.port' as const; @@ -2309,7 +2309,7 @@ export const ATTR_DESTINATION_PORT = 'destination.port' as const; * * @note The device identifier **MUST** only be defined using the values outlined below. This value is not an advertising identifier and **MUST** **NOT** be used as such. On iOS (Swift or Objective-C), this value **MUST** be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value **MUST** be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_ID = 'device.id' as const; @@ -2322,7 +2322,7 @@ export const ATTR_DEVICE_ID = 'device.id' as const; * * @note The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps **SHOULD** hardcode the value `Apple`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer' as const; @@ -2335,7 +2335,7 @@ export const ATTR_DEVICE_MANUFACTURER = 'device.manufacturer' as const; * * @note It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier' as const; @@ -2348,7 +2348,7 @@ export const ATTR_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier' as const; * * @note It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name' as const; @@ -2357,7 +2357,7 @@ export const ATTR_DEVICE_MODEL_NAME = 'device.model.name' as const; * * @example read * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DISK_IO_DIRECTION = 'disk.io.direction' as const; @@ -2380,7 +2380,7 @@ export const DISK_IO_DIRECTION_VALUE_WRITE = "write" as const; * * @note If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_DNS_QUESTION_NAME = 'dns.question.name' as const; @@ -2389,7 +2389,7 @@ export const ATTR_DNS_QUESTION_NAME = 'dns.question.name' as const; * * @example "username" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `user.id` attribute. */ @@ -2400,7 +2400,7 @@ export const ATTR_ENDUSER_ID = 'enduser.id' as const; * * @example "admin" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `user.roles` attribute. */ @@ -2411,7 +2411,7 @@ export const ATTR_ENDUSER_ROLE = 'enduser.role' as const; * * @example "read:message, write:files" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Removed. */ @@ -2426,14 +2426,14 @@ export const ATTR_ENDUSER_SCOPE = 'enduser.scope' as const; * * @note Event names are subject to the same rules as [attribute names](/docs/general/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_EVENT_NAME = 'event.name' as const; /** * A boolean that is true if the serverless function is executed for the first time (aka cold-start). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_COLDSTART = 'faas.coldstart' as const; @@ -2442,7 +2442,7 @@ export const ATTR_FAAS_COLDSTART = 'faas.coldstart' as const; * * @example "0/5 * * * ? *" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_CRON = 'faas.cron' as const; @@ -2453,7 +2453,7 @@ export const ATTR_FAAS_CRON = 'faas.cron' as const; * * @example myDbName * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection' as const; @@ -2464,14 +2464,14 @@ export const ATTR_FAAS_DOCUMENT_COLLECTION = 'faas.document.collection' as const * * @example myTableName * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_NAME = 'faas.document.name' as const; /** * Describes the type of the operation that was performed on the data. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_OPERATION = 'faas.document.operation' as const; @@ -2495,7 +2495,7 @@ export const FAAS_DOCUMENT_OPERATION_VALUE_INSERT = "insert" as const; * * @example "2020-01-23T13:47:06Z" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time' as const; @@ -2506,7 +2506,7 @@ export const ATTR_FAAS_DOCUMENT_TIME = 'faas.document.time' as const; * * @note * **AWS Lambda:** Use the (full) log stream name. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INSTANCE = 'faas.instance' as const; @@ -2515,7 +2515,7 @@ export const ATTR_FAAS_INSTANCE = 'faas.instance' as const; * * @example "af9d5aa4-a685-4c5f-a22b-444f80b3cc28" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id' as const; @@ -2526,7 +2526,7 @@ export const ATTR_FAAS_INVOCATION_ID = 'faas.invocation_id' as const; * * @note SHOULD be equal to the `faas.name` resource attribute of the invoked function. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name' as const; @@ -2535,7 +2535,7 @@ export const ATTR_FAAS_INVOKED_NAME = 'faas.invoked_name' as const; * * @note SHOULD be equal to the `cloud.provider` resource attribute of the invoked function. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOKED_PROVIDER = 'faas.invoked_provider' as const; @@ -2571,7 +2571,7 @@ export const FAAS_INVOKED_PROVIDER_VALUE_TENCENT_CLOUD = "tencent_cloud" as cons * * @note SHOULD be equal to the `cloud.region` resource attribute of the invoked function. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region' as const; @@ -2582,7 +2582,7 @@ export const ATTR_FAAS_INVOKED_REGION = 'faas.invoked_region' as const; * * @note It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const; @@ -2610,7 +2610,7 @@ export const ATTR_FAAS_MAX_MEMORY = 'faas.max_memory' as const; * app can host multiple functions that would usually share * a TracerProvider (see also the `cloud.resource_id` attribute). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_NAME = 'faas.name' as const; @@ -2619,14 +2619,14 @@ export const ATTR_FAAS_NAME = 'faas.name' as const; * * @example "2020-01-23T13:47:06Z" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_TIME = 'faas.time' as const; /** * Type of the trigger which caused this function invocation. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_TRIGGER = 'faas.trigger' as const; @@ -2672,7 +2672,7 @@ export const FAAS_TRIGGER_VALUE_TIMER = "timer" as const; * [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). * * **Azure Functions:** Not applicable. Do not set this attribute. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FAAS_VERSION = 'faas.version' as const; @@ -2681,7 +2681,7 @@ export const ATTR_FAAS_VERSION = 'faas.version' as const; * * @example logo-color * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key' as const; @@ -2690,7 +2690,7 @@ export const ATTR_FEATURE_FLAG_KEY = 'feature_flag.key' as const; * * @example Flag Manager * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name' as const; @@ -2712,7 +2712,7 @@ export const ATTR_FEATURE_FLAG_PROVIDER_NAME = 'feature_flag.provider_name' as c * semantic identifier is unavailable. String representation of the value * should be determined by the implementer. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant' as const; @@ -2723,7 +2723,7 @@ export const ATTR_FEATURE_FLAG_VARIANT = 'feature_flag.variant' as const; * * @example C:\Program Files\MyApp * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_DIRECTORY = 'file.directory' as const; @@ -2736,7 +2736,7 @@ export const ATTR_FILE_DIRECTORY = 'file.directory' as const; * * @note When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz"). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_EXTENSION = 'file.extension' as const; @@ -2745,7 +2745,7 @@ export const ATTR_FILE_EXTENSION = 'file.extension' as const; * * @example example.png * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_NAME = 'file.name' as const; @@ -2756,14 +2756,14 @@ export const ATTR_FILE_NAME = 'file.name' as const; * * @example C:\Program Files\MyApp\myapp.exe * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_PATH = 'file.path' as const; /** * File size in bytes. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_FILE_SIZE = 'file.size' as const; @@ -2782,7 +2782,7 @@ export const ATTR_FILE_SIZE = 'file.size' as const; * * @note Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo'. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service' as const; @@ -2793,7 +2793,7 @@ export const ATTR_GCP_CLIENT_SERVICE = 'gcp.client.service' as const; * * @example sample-job-mdw84 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as const; @@ -2804,7 +2804,7 @@ export const ATTR_GCP_CLOUD_RUN_JOB_EXECUTION = 'gcp.cloud_run.job.execution' as * * @example 1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index' as const; @@ -2815,7 +2815,7 @@ export const ATTR_GCP_CLOUD_RUN_JOB_TASK_INDEX = 'gcp.cloud_run.job.task_index' * * @example sample-vm.us-west1-b.c.my-project.internal * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname' as const; @@ -2826,7 +2826,7 @@ export const ATTR_GCP_GCE_INSTANCE_HOSTNAME = 'gcp.gce.instance.hostname' as con * * @example my-vm-name * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name' as const; @@ -2837,7 +2837,7 @@ export const ATTR_GCP_GCE_INSTANCE_NAME = 'gcp.gce.instance.name' as const; * * @note It's RECOMMENDED to format completions as JSON string matching [OpenAI messages format](https://platform.openai.com/docs/guides/text-generation) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion' as const; @@ -2846,7 +2846,7 @@ export const ATTR_GEN_AI_COMPLETION = 'gen_ai.completion' as const; * * @note If one of the predefined values applies, but specific system uses a different name it's RECOMMENDED to document it in the semantic conventions for specific GenAI system and use system-specific name in the instrumentation. If a different name is not documented, instrumentation libraries **SHOULD** use applicable predefined value. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_OPERATION_NAME = 'gen_ai.operation.name' as const; @@ -2867,7 +2867,7 @@ export const GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION = "text_completion" as * * @note It's RECOMMENDED to format prompts as JSON string matching [OpenAI messages format](https://platform.openai.com/docs/guides/text-generation) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt' as const; @@ -2876,7 +2876,7 @@ export const ATTR_GEN_AI_PROMPT = 'gen_ai.prompt' as const; * * @example 0.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_penalty' as const; @@ -2885,7 +2885,7 @@ export const ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY = 'gen_ai.request.frequency_p * * @example 100 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens' as const; @@ -2894,7 +2894,7 @@ export const ATTR_GEN_AI_REQUEST_MAX_TOKENS = 'gen_ai.request.max_tokens' as con * * @example "gpt-4" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model' as const; @@ -2903,7 +2903,7 @@ export const ATTR_GEN_AI_REQUEST_MODEL = 'gen_ai.request.model' as const; * * @example 0.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_penalty' as const; @@ -2914,7 +2914,7 @@ export const ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY = 'gen_ai.request.presence_pen * * @example lived * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences' as const; @@ -2923,7 +2923,7 @@ export const ATTR_GEN_AI_REQUEST_STOP_SEQUENCES = 'gen_ai.request.stop_sequences * * @example 0.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature' as const; @@ -2932,7 +2932,7 @@ export const ATTR_GEN_AI_REQUEST_TEMPERATURE = 'gen_ai.request.temperature' as c * * @example 1.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k' as const; @@ -2941,7 +2941,7 @@ export const ATTR_GEN_AI_REQUEST_TOP_K = 'gen_ai.request.top_k' as const; * * @example 1.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p' as const; @@ -2950,7 +2950,7 @@ export const ATTR_GEN_AI_REQUEST_TOP_P = 'gen_ai.request.top_p' as const; * * @example stop * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reasons' as const; @@ -2959,7 +2959,7 @@ export const ATTR_GEN_AI_RESPONSE_FINISH_REASONS = 'gen_ai.response.finish_reaso * * @example chatcmpl-123 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id' as const; @@ -2968,7 +2968,7 @@ export const ATTR_GEN_AI_RESPONSE_ID = 'gen_ai.response.id' as const; * * @example gpt-4-0613 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model' as const; @@ -2987,7 +2987,7 @@ export const ATTR_GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model' as const; * For custom model, a custom friendly name **SHOULD** be used. * If none of these options apply, the `gen_ai.system` **SHOULD** be set to `_OTHER`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_SYSTEM = 'gen_ai.system' as const; @@ -3018,7 +3018,7 @@ export const GEN_AI_SYSTEM_VALUE_VERTEX_AI = "vertex_ai" as const; * * @example output * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_TOKEN_TYPE = 'gen_ai.token.type' as const; @@ -3037,7 +3037,7 @@ export const GEN_AI_TOKEN_TYPE_VALUE_COMPLETION = "output" as const; * * @example 42 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `gen_ai.usage.output_tokens` attribute. */ @@ -3048,7 +3048,7 @@ export const ATTR_GEN_AI_USAGE_COMPLETION_TOKENS = 'gen_ai.usage.completion_toke * * @example 100 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens' as const; @@ -3057,7 +3057,7 @@ export const ATTR_GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens' as con * * @example 180 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens' as const; @@ -3066,7 +3066,7 @@ export const ATTR_GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens' as c * * @example 42 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `gen_ai.usage.input_tokens` attribute. */ @@ -3079,7 +3079,7 @@ export const ATTR_GEN_AI_USAGE_PROMPT_TOKENS = 'gen_ai.usage.prompt_tokens' as c * * @example stack * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GO_MEMORY_TYPE = 'go.memory.type' as const; @@ -3100,7 +3100,7 @@ export const GO_MEMORY_TYPE_VALUE_STACK = "stack" as const; * * @note The value may be sanitized to exclude sensitive information. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document' as const; @@ -3109,7 +3109,7 @@ export const ATTR_GRAPHQL_DOCUMENT = 'graphql.document' as const; * * @example "findBookById" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name' as const; @@ -3122,7 +3122,7 @@ export const ATTR_GRAPHQL_OPERATION_NAME = 'graphql.operation.name' as const; * * @example subscription * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_GRAPHQL_OPERATION_TYPE = 'graphql.operation.type' as const; @@ -3146,7 +3146,7 @@ export const GRAPHQL_OPERATION_TYPE_VALUE_SUBSCRIPTION = "subscription" as const * * @example 2daa2797-e42b-4624-9322-ec3f968df4da * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_APP_ID = 'heroku.app.id' as const; @@ -3155,7 +3155,7 @@ export const ATTR_HEROKU_APP_ID = 'heroku.app.id' as const; * * @example e6134959463efd8966b20e75b913cafe3f5ec * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; @@ -3164,14 +3164,14 @@ export const ATTR_HEROKU_RELEASE_COMMIT = 'heroku.release.commit' as const; * * @example 2022-10-23T18:00:42Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HEROKU_RELEASE_CREATION_TIMESTAMP = 'heroku.release.creation_timestamp' as const; /** * The CPU architecture the host system is running on. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_ARCH = 'host.arch' as const; @@ -3220,7 +3220,7 @@ export const HOST_ARCH_VALUE_X86 = "x86" as const; * * @example 12288000 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size' as const; @@ -3231,7 +3231,7 @@ export const ATTR_HOST_CPU_CACHE_L2_SIZE = 'host.cpu.cache.l2.size' as const; * * @example PA-RISC 1.1e * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family' as const; @@ -3242,7 +3242,7 @@ export const ATTR_HOST_CPU_FAMILY = 'host.cpu.family' as const; * * @example 9000/778/B180L * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id' as const; @@ -3251,7 +3251,7 @@ export const ATTR_HOST_CPU_MODEL_ID = 'host.cpu.model.id' as const; * * @example 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name' as const; @@ -3262,7 +3262,7 @@ export const ATTR_HOST_CPU_MODEL_NAME = 'host.cpu.model.name' as const; * * @example r1p1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping' as const; @@ -3273,7 +3273,7 @@ export const ATTR_HOST_CPU_STEPPING = 'host.cpu.stepping' as const; * * @note [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id' as const; @@ -3282,7 +3282,7 @@ export const ATTR_HOST_CPU_VENDOR_ID = 'host.cpu.vendor.id' as const; * * @example fdbf79e8af94cb7f9e8df36789187052 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_ID = 'host.id' as const; @@ -3291,7 +3291,7 @@ export const ATTR_HOST_ID = 'host.id' as const; * * @example ami-07b06b442921831e5 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_ID = 'host.image.id' as const; @@ -3302,7 +3302,7 @@ export const ATTR_HOST_IMAGE_ID = 'host.image.id' as const; * * @example CentOS-8-x86_64-1905 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_NAME = 'host.image.name' as const; @@ -3311,7 +3311,7 @@ export const ATTR_HOST_IMAGE_NAME = 'host.image.name' as const; * * @example 0.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version' as const; @@ -3324,7 +3324,7 @@ export const ATTR_HOST_IMAGE_VERSION = 'host.image.version' as const; * * @note IPv4 Addresses **MUST** be specified in dotted-quad notation. IPv6 addresses **MUST** be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_IP = 'host.ip' as const; @@ -3337,7 +3337,7 @@ export const ATTR_HOST_IP = 'host.ip' as const; * * @note MAC Addresses **MUST** be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_MAC = 'host.mac' as const; @@ -3346,7 +3346,7 @@ export const ATTR_HOST_MAC = 'host.mac' as const; * * @example opentelemetry-test * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_NAME = 'host.name' as const; @@ -3355,7 +3355,7 @@ export const ATTR_HOST_NAME = 'host.name' as const; * * @example n1-standard-1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HOST_TYPE = 'host.type' as const; @@ -3364,7 +3364,7 @@ export const ATTR_HOST_TYPE = 'host.type' as const; * * @example "83.164.160.102" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `client.address`. */ @@ -3377,7 +3377,7 @@ export const ATTR_HTTP_CLIENT_IP = 'http.client_ip' as const; * * @example idle * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_CONNECTION_STATE = 'http.connection.state' as const; @@ -3394,7 +3394,7 @@ export const HTTP_CONNECTION_STATE_VALUE_IDLE = "idle" as const; /** * Deprecated, use `network.protocol.name` instead. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.protocol.name`. */ @@ -3435,7 +3435,7 @@ export const HTTP_FLAVOR_VALUE_SPDY = "SPDY" as const; * * @example www.example.org * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. */ @@ -3450,7 +3450,7 @@ export const ATTR_HTTP_HOST = 'http.host' as const; * * @example HEAD * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.request.method`. */ @@ -3461,7 +3461,7 @@ export const ATTR_HTTP_METHOD = 'http.method' as const; * * @example 3495 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size' as const; @@ -3470,7 +3470,7 @@ export const ATTR_HTTP_REQUEST_BODY_SIZE = 'http.request.body.size' as const; * * @example 1437 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size' as const; @@ -3479,7 +3479,7 @@ export const ATTR_HTTP_REQUEST_SIZE = 'http.request.size' as const; * * @example 3495 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.request.header.content-length`. */ @@ -3490,7 +3490,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH = 'http.request_content_length' as * * @example 5493 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.request.body.size`. */ @@ -3501,7 +3501,7 @@ export const ATTR_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED = 'http.request_conte * * @example 3495 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size' as const; @@ -3510,7 +3510,7 @@ export const ATTR_HTTP_RESPONSE_BODY_SIZE = 'http.response.body.size' as const; * * @example 1437 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size' as const; @@ -3519,7 +3519,7 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size' as const; * * @example 3495 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.response.header.content-length`. */ @@ -3530,7 +3530,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length' * * @example 5493 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replace by `http.response.body.size`. */ @@ -3543,7 +3543,7 @@ export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_con * * @example https * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `url.scheme` instead. */ @@ -3554,7 +3554,7 @@ export const ATTR_HTTP_SCHEME = 'http.scheme' as const; * * @example example.com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address`. */ @@ -3565,7 +3565,7 @@ export const ATTR_HTTP_SERVER_NAME = 'http.server_name' as const; * * @example 200 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `http.response.status_code`. */ @@ -3576,7 +3576,7 @@ export const ATTR_HTTP_STATUS_CODE = 'http.status_code' as const; * * @example /search?q=OpenTelemetry#SemConv * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Split to `url.path` and `url.query. */ @@ -3587,7 +3587,7 @@ export const ATTR_HTTP_TARGET = 'http.target' as const; * * @example https://www.foo.bar/search?q=OpenTelemetry#SemConv * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `url.full`. */ @@ -3600,7 +3600,7 @@ export const ATTR_HTTP_URL = 'http.url' as const; * * @example Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `user_agent.original`. */ @@ -3611,7 +3611,7 @@ export const ATTR_HTTP_USER_AGENT = 'http.user_agent' as const; * * @note The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Moved to a payload field of `device.app.lifecycle`. */ @@ -3651,7 +3651,7 @@ export const IOS_STATE_VALUE_TERMINATE = "terminate" as const; * * @note Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name' as const; @@ -3660,7 +3660,7 @@ export const ATTR_JVM_BUFFER_POOL_NAME = 'jvm.buffer.pool.name' as const; * * @example opentelemetry-cluster * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; @@ -3692,7 +3692,7 @@ export const ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name' as const; * Therefore, UIDs between clusters should be extremely unlikely to * conflict. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid' as const; @@ -3701,14 +3701,14 @@ export const ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid' as const; * * @example redis * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_NAME = 'k8s.container.name' as const; /** * Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count' as const; @@ -3719,7 +3719,7 @@ export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count' as * * @example Error * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason' as const; @@ -3728,7 +3728,7 @@ export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.s * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name' as const; @@ -3737,7 +3737,7 @@ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid' as const; @@ -3746,7 +3746,7 @@ export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid' as const; * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name' as const; @@ -3755,7 +3755,7 @@ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid' as const; @@ -3764,7 +3764,7 @@ export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid' as const; * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name' as const; @@ -3773,7 +3773,7 @@ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const; @@ -3782,7 +3782,7 @@ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const; * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_JOB_NAME = 'k8s.job.name' as const; @@ -3791,7 +3791,7 @@ export const ATTR_K8S_JOB_NAME = 'k8s.job.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_JOB_UID = 'k8s.job.uid' as const; @@ -3800,7 +3800,7 @@ export const ATTR_K8S_JOB_UID = 'k8s.job.uid' as const; * * @example default * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name' as const; @@ -3809,7 +3809,7 @@ export const ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name' as const; * * @example node-1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NODE_NAME = 'k8s.node.name' as const; @@ -3818,7 +3818,7 @@ export const ATTR_K8S_NODE_NAME = 'k8s.node.name' as const; * * @example 1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_NODE_UID = 'k8s.node.uid' as const; @@ -3831,7 +3831,7 @@ export const ATTR_K8S_NODE_UID = 'k8s.node.uid' as const; * * @example k8s.pod.annotation.data= * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${key}`; @@ -3844,7 +3844,7 @@ export const ATTR_K8S_POD_ANNOTATION = (key: string) => `k8s.pod.annotation.${ke * * @example k8s.pod.label.data= * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; @@ -3853,7 +3853,7 @@ export const ATTR_K8S_POD_LABEL = (key: string) => `k8s.pod.label.${key}`; * * @example k8s.pod.label.app=my-app * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `k8s.pod.label`. */ @@ -3864,7 +3864,7 @@ export const ATTR_K8S_POD_LABELS = (key: string) => `k8s.pod.labels.${key}`; * * @example opentelemetry-pod-autoconf * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_NAME = 'k8s.pod.name' as const; @@ -3873,7 +3873,7 @@ export const ATTR_K8S_POD_NAME = 'k8s.pod.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_POD_UID = 'k8s.pod.uid' as const; @@ -3882,7 +3882,7 @@ export const ATTR_K8S_POD_UID = 'k8s.pod.uid' as const; * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name' as const; @@ -3891,7 +3891,7 @@ export const ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid' as const; @@ -3900,7 +3900,7 @@ export const ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid' as const; * * @example opentelemetry * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name' as const; @@ -3909,7 +3909,7 @@ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name' as const; * * @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; @@ -3920,7 +3920,7 @@ export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const; * * @example unreclaimable * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LINUX_MEMORY_SLAB_STATE = 'linux.memory.slab.state' as const; @@ -3939,7 +3939,7 @@ export const LINUX_MEMORY_SLAB_STATE_VALUE_UNRECLAIMABLE = "unreclaimable" as co * * @example audit.log * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_NAME = 'log.file.name' as const; @@ -3948,7 +3948,7 @@ export const ATTR_LOG_FILE_NAME = 'log.file.name' as const; * * @example uuid.log * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved' as const; @@ -3957,7 +3957,7 @@ export const ATTR_LOG_FILE_NAME_RESOLVED = 'log.file.name_resolved' as const; * * @example /var/log/mysql/audit.log * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_PATH = 'log.file.path' as const; @@ -3966,14 +3966,14 @@ export const ATTR_LOG_FILE_PATH = 'log.file.path' as const; * * @example /var/lib/docker/uuid.log * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_FILE_PATH_RESOLVED = 'log.file.path_resolved' as const; /** * The stream associated with the log. See below for a list of well-known values. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_IOSTREAM = 'log.iostream' as const; @@ -3996,7 +3996,7 @@ export const LOG_IOSTREAM_VALUE_STDOUT = "stdout" as const; * * @note This value **MAY** be added when processing a Log Record which was originally transmitted as a string or equivalent data type AND the Body field of the Log Record does not contain the same value. (e.g. a syslog or a log record read from a file.) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original' as const; @@ -4008,14 +4008,14 @@ export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original' as const; * @note If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records **MUST** have different values. * The id **MAY** be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_LOG_RECORD_UID = 'log.record.uid' as const; /** * Deprecated, use `rpc.message.compressed_size` instead. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `rpc.message.compressed_size`. */ @@ -4024,7 +4024,7 @@ export const ATTR_MESSAGE_COMPRESSED_SIZE = 'message.compressed_size' as const; /** * Deprecated, use `rpc.message.id` instead. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `rpc.message.id`. */ @@ -4033,7 +4033,7 @@ export const ATTR_MESSAGE_ID = 'message.id' as const; /** * Deprecated, use `rpc.message.type` instead. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `rpc.message.type`. */ @@ -4052,7 +4052,7 @@ export const MESSAGE_TYPE_VALUE_SENT = "SENT" as const; /** * Deprecated, use `rpc.message.uncompressed_size` instead. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `rpc.message.uncompressed_size`. */ @@ -4069,7 +4069,7 @@ export const ATTR_MESSAGE_UNCOMPRESSED_SIZE = 'message.uncompressed_size' as con * * @note Instrumentations **SHOULD** **NOT** set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations **SHOULD** use `messaging.batch.message_count` for batching APIs and **SHOULD** **NOT** use it for single-message APIs. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count' as const; @@ -4080,7 +4080,7 @@ export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT = 'messaging.batch.message_count * * @example myhost@8742@s8083jm * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id' as const; @@ -4093,14 +4093,14 @@ export const ATTR_MESSAGING_CLIENT_ID = 'messaging.client.id' as const; * * @note Semantic conventions for individual messaging systems **SHOULD** document whether `messaging.consumer.group.name` is applicable and what it means in the context of that system. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_CONSUMER_GROUP_NAME = 'messaging.consumer.group.name' as const; /** * A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anonymous' as const; @@ -4114,7 +4114,7 @@ export const ATTR_MESSAGING_DESTINATION_ANONYMOUS = 'messaging.destination.anony * @note Destination name **SHOULD** uniquely identify a specific queue, topic or other entity within the broker. If * the broker doesn't have such notion, the destination name **SHOULD** uniquely identify the broker. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name' as const; @@ -4123,7 +4123,7 @@ export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name' as c * * @example "1" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.partition.id' as const; @@ -4134,7 +4134,7 @@ export const ATTR_MESSAGING_DESTINATION_PARTITION_ID = 'messaging.destination.pa * * @note Semantic conventions for individual messaging systems **SHOULD** document whether `messaging.destination.subscription.name` is applicable and what it means in the context of that system. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destination.subscription.name' as const; @@ -4145,21 +4145,21 @@ export const ATTR_MESSAGING_DESTINATION_SUBSCRIPTION_NAME = 'messaging.destinati * * @note Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_TEMPLATE = 'messaging.destination.template' as const; /** * A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_DESTINATION_TEMPORARY = 'messaging.destination.temporary' as const; /** * Deprecated, no replacement at this time. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * No replacement at this time. */ @@ -4172,7 +4172,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_ANONYMOUS = 'messaging.destinati * * @example MyTopic * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * No replacement at this time. */ @@ -4183,7 +4183,7 @@ export const ATTR_MESSAGING_DESTINATION_PUBLISH_NAME = 'messaging.destination_pu * * @example "$Default" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.consumer.group.name`. */ @@ -4194,7 +4194,7 @@ export const ATTR_MESSAGING_EVENTHUBS_CONSUMER_GROUP = 'messaging.eventhubs.cons * * @example 1701393730 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhubs.message.enqueued_time' as const; @@ -4203,7 +4203,7 @@ export const ATTR_MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME = 'messaging.eventhu * * @example 10 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pubsub.message.ack_deadline' as const; @@ -4212,7 +4212,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE = 'messaging.gcp_pub * * @example "ack_id" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.message.ack_id' as const; @@ -4221,7 +4221,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID = 'messaging.gcp_pubsub.me * * @example 2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp_pubsub.message.delivery_attempt' as const; @@ -4230,7 +4230,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT = 'messaging.gcp * * @example "ordering_key" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pubsub.message.ordering_key' as const; @@ -4239,7 +4239,7 @@ export const ATTR_MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY = 'messaging.gcp_pub * * @example "my-group" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.consumer.group.name`. */ @@ -4250,7 +4250,7 @@ export const ATTR_MESSAGING_KAFKA_CONSUMER_GROUP = 'messaging.kafka.consumer.gro * * @example 2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.destination.partition.id`. */ @@ -4263,7 +4263,7 @@ export const ATTR_MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.desti * * @note If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key' as const; @@ -4272,7 +4272,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_KEY = 'messaging.kafka.message.key' as * * @example 42 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.kafka.offset`. */ @@ -4281,7 +4281,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_OFFSET = 'messaging.kafka.message.offs /** * A boolean that is true if the message is a tombstone. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.tombstone' as const; @@ -4290,7 +4290,7 @@ export const ATTR_MESSAGING_KAFKA_MESSAGE_TOMBSTONE = 'messaging.kafka.message.t * * @example 42 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset' as const; @@ -4302,7 +4302,7 @@ export const ATTR_MESSAGING_KAFKA_OFFSET = 'messaging.kafka.offset' as const; * @note This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed * body size should be used. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size' as const; @@ -4311,7 +4311,7 @@ export const ATTR_MESSAGING_MESSAGE_BODY_SIZE = 'messaging.message.body.size' as * * @example "MyConversationId" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.conversation_id' as const; @@ -4323,7 +4323,7 @@ export const ATTR_MESSAGING_MESSAGE_CONVERSATION_ID = 'messaging.message.convers * @note This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed * size should be used. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope.size' as const; @@ -4332,7 +4332,7 @@ export const ATTR_MESSAGING_MESSAGE_ENVELOPE_SIZE = 'messaging.message.envelope. * * @example "452a7c7c7c7048c2f887f61572b18fc2" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id' as const; @@ -4345,7 +4345,7 @@ export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id' as const; * * @example process * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.operation.type`. */ @@ -4360,7 +4360,7 @@ export const ATTR_MESSAGING_OPERATION = 'messaging.operation' as const; * * @example send * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name' as const; @@ -4369,7 +4369,7 @@ export const ATTR_MESSAGING_OPERATION_NAME = 'messaging.operation.name' as const * * @note If a custom value is used, it **MUST** be of low cardinality. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type' as const; @@ -4408,7 +4408,7 @@ export const MESSAGING_OPERATION_TYPE_VALUE_SETTLE = "settle" as const; * * @example "myKey" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbitmq.destination.routing_key' as const; @@ -4417,7 +4417,7 @@ export const ATTR_MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY = 'messaging.rabbit * * @example 123 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq.message.delivery_tag' as const; @@ -4426,7 +4426,7 @@ export const ATTR_MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG = 'messaging.rabbitmq. * * @example "myConsumerGroup" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans. */ @@ -4435,7 +4435,7 @@ export const ATTR_MESSAGING_ROCKETMQ_CLIENT_GROUP = 'messaging.rocketmq.client_g /** * Model of message consumption. This only applies to consumer spans. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_CONSUMPTION_MODEL = 'messaging.rocketmq.consumption_model' as const; @@ -4454,7 +4454,7 @@ export const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL_VALUE_CLUSTERING = "clustering * * @example 3 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocketmq.message.delay_time_level' as const; @@ -4463,7 +4463,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL = 'messaging.rocke * * @example 1665987217045 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.rocketmq.message.delivery_timestamp' as const; @@ -4472,7 +4472,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP = 'messaging.roc * * @example "myMessageGroup" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message.group' as const; @@ -4483,7 +4483,7 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_GROUP = 'messaging.rocketmq.message * * @example keyB * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message.keys' as const; @@ -4492,14 +4492,14 @@ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_KEYS = 'messaging.rocketmq.message. * * @example "tagA" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TAG = 'messaging.rocketmq.message.tag' as const; /** * Type of message. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_MESSAGE_TYPE = 'messaging.rocketmq.message.type' as const; @@ -4528,7 +4528,7 @@ export const MESSAGING_ROCKETMQ_MESSAGE_TYPE_VALUE_TRANSACTION = "transaction" a * * @example "myNamespace" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace' as const; @@ -4537,7 +4537,7 @@ export const ATTR_MESSAGING_ROCKETMQ_NAMESPACE = 'messaging.rocketmq.namespace' * * @example "subscription-a" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.servicebus.destination.subscription_name`. */ @@ -4546,7 +4546,7 @@ export const ATTR_MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME = 'messagin /** * Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_DISPOSITION_STATUS = 'messaging.servicebus.disposition_status' as const; @@ -4575,7 +4575,7 @@ export const MESSAGING_SERVICEBUS_DISPOSITION_STATUS_VALUE_DEFER = "defer" as co * * @example 2 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servicebus.message.delivery_count' as const; @@ -4584,7 +4584,7 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT = 'messaging.servi * * @example 1701393730 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servicebus.message.enqueued_time' as const; @@ -4593,7 +4593,7 @@ export const ATTR_MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME = 'messaging.servic * * @note The actual messaging system may differ from the one known by the client. For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system` is set to `kafka` based on the instrumentation's best knowledge. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_MESSAGING_SYSTEM = 'messaging.system' as const; @@ -4657,7 +4657,7 @@ export const MESSAGING_SYSTEM_VALUE_SERVICEBUS = "servicebus" as const; * * @example "192.168.0.1" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.local.address`. */ @@ -4668,7 +4668,7 @@ export const ATTR_NET_HOST_IP = 'net.host.ip' as const; * * @example example.com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address`. */ @@ -4679,7 +4679,7 @@ export const ATTR_NET_HOST_NAME = 'net.host.name' as const; * * @example 8080 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.port`. */ @@ -4690,7 +4690,7 @@ export const ATTR_NET_HOST_PORT = 'net.host.port' as const; * * @example "127.0.0.1" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.peer.address`. */ @@ -4701,7 +4701,7 @@ export const ATTR_NET_PEER_IP = 'net.peer.ip' as const; * * @example example.com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address` on client spans and `client.address` on server spans. */ @@ -4712,7 +4712,7 @@ export const ATTR_NET_PEER_NAME = 'net.peer.name' as const; * * @example 8080 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.port` on client spans and `client.port` on server spans. */ @@ -4727,7 +4727,7 @@ export const ATTR_NET_PEER_PORT = 'net.peer.port' as const; * * @example mqtt * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.protocol.name`. */ @@ -4738,7 +4738,7 @@ export const ATTR_NET_PROTOCOL_NAME = 'net.protocol.name' as const; * * @example "3.1.1" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.protocol.version`. */ @@ -4747,7 +4747,7 @@ export const ATTR_NET_PROTOCOL_VERSION = 'net.protocol.version' as const; /** * Deprecated, use `network.transport` and `network.type`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Split to `network.transport` and `network.type`. */ @@ -4773,7 +4773,7 @@ export const NET_SOCK_FAMILY_VALUE_UNIX = "unix" as const; * * @example /var/my.sock * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.local.address`. */ @@ -4784,7 +4784,7 @@ export const ATTR_NET_SOCK_HOST_ADDR = 'net.sock.host.addr' as const; * * @example 8080 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.local.port`. */ @@ -4795,7 +4795,7 @@ export const ATTR_NET_SOCK_HOST_PORT = 'net.sock.host.port' as const; * * @example 192.168.0.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.peer.address`. */ @@ -4806,7 +4806,7 @@ export const ATTR_NET_SOCK_PEER_ADDR = 'net.sock.peer.addr' as const; * * @example /var/my.sock * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Removed. */ @@ -4817,7 +4817,7 @@ export const ATTR_NET_SOCK_PEER_NAME = 'net.sock.peer.name' as const; * * @example 65531 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.peer.port`. */ @@ -4826,7 +4826,7 @@ export const ATTR_NET_SOCK_PEER_PORT = 'net.sock.peer.port' as const; /** * Deprecated, use `network.transport`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `network.transport`. */ @@ -4862,7 +4862,7 @@ export const NET_TRANSPORT_VALUE_PIPE = "pipe" as const; * * @example "DE" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc' as const; @@ -4871,7 +4871,7 @@ export const ATTR_NETWORK_CARRIER_ICC = 'network.carrier.icc' as const; * * @example "310" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc' as const; @@ -4880,7 +4880,7 @@ export const ATTR_NETWORK_CARRIER_MCC = 'network.carrier.mcc' as const; * * @example "001" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc' as const; @@ -4889,7 +4889,7 @@ export const ATTR_NETWORK_CARRIER_MNC = 'network.carrier.mnc' as const; * * @example "sprint" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name' as const; @@ -4898,7 +4898,7 @@ export const ATTR_NETWORK_CARRIER_NAME = 'network.carrier.name' as const; * * @example "LTE" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CONNECTION_SUBTYPE = 'network.connection.subtype' as const; @@ -5012,7 +5012,7 @@ export const NETWORK_CONNECTION_SUBTYPE_VALUE_UMTS = "umts" as const; * * @example "wifi" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_CONNECTION_TYPE = 'network.connection.type' as const; @@ -5046,7 +5046,7 @@ export const NETWORK_CONNECTION_TYPE_VALUE_WIRED = "wired" as const; * * @example transmit * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_NETWORK_IO_DIRECTION = 'network.io.direction' as const; @@ -5068,7 +5068,7 @@ export const NETWORK_IO_DIRECTION_VALUE_TRANSMIT = "transmit" as const; * @note Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests). * An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest' as const; @@ -5077,7 +5077,7 @@ export const ATTR_OCI_MANIFEST_DIGEST = 'oci.manifest.digest' as const; * * @note The causal relationship between a child Span and a parent Span. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OPENTRACING_REF_TYPE = 'opentracing.ref_type' as const; @@ -5100,7 +5100,7 @@ export const OPENTRACING_REF_TYPE_VALUE_FOLLOWS_FROM = "follows_from" as const; * * @example 22621 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_BUILD_ID = 'os.build_id' as const; @@ -5111,7 +5111,7 @@ export const ATTR_OS_BUILD_ID = 'os.build_id' as const; * * @example Ubuntu 18.04.1 LTS * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_DESCRIPTION = 'os.description' as const; @@ -5124,14 +5124,14 @@ export const ATTR_OS_DESCRIPTION = 'os.description' as const; * * @example Ubuntu * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_NAME = 'os.name' as const; /** * The operating system type. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_TYPE = 'os.type' as const; @@ -5197,7 +5197,7 @@ export const OS_TYPE_VALUE_Z_OS = "z_os" as const; * * @example 18.04.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_OS_VERSION = 'os.version' as const; @@ -5206,7 +5206,7 @@ export const ATTR_OS_VERSION = 'os.version' as const; * * @example io.opentelemetry.contrib.mongodb * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * use the `otel.scope.name` attribute. */ @@ -5217,7 +5217,7 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name' as const; * * @example 1.0.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * use the `otel.scope.version` attribute. */ @@ -5228,7 +5228,7 @@ export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version' as const; * * @example "AuthTokenCache" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PEER_SERVICE = 'peer.service' as const; @@ -5237,7 +5237,7 @@ export const ATTR_PEER_SERVICE = 'peer.service' as const; * * @example myDataSource * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.pool.name`. */ @@ -5248,7 +5248,7 @@ export const ATTR_POOL_NAME = 'pool.name' as const; * * @example cmd/otelcol * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND = 'process.command' as const; @@ -5259,7 +5259,7 @@ export const ATTR_PROCESS_COMMAND = 'process.command' as const; * * @example --config=config.yaml * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args' as const; @@ -5268,14 +5268,14 @@ export const ATTR_PROCESS_COMMAND_ARGS = 'process.command_args' as const; * * @example C:\cmd\otecol --config="my directory\config.yaml" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_COMMAND_LINE = 'process.command_line' as const; /** * Specifies whether the context switches for this data point were voluntary or involuntary. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type' as const; @@ -5292,7 +5292,7 @@ export const PROCESS_CONTEXT_SWITCH_TYPE_VALUE_VOLUNTARY = "voluntary" as const; /** * Deprecated, use `cpu.mode` instead. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `cpu.mode` */ @@ -5318,7 +5318,7 @@ export const PROCESS_CPU_STATE_VALUE_WAIT = "wait" as const; * * @example 2023-11-21T09:25:34.853Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time' as const; @@ -5327,7 +5327,7 @@ export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time' as const; * * @example otelcol * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name' as const; @@ -5336,7 +5336,7 @@ export const ATTR_PROCESS_EXECUTABLE_NAME = 'process.executable.name' as const; * * @example /usr/bin/cmd/otelcol * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path' as const; @@ -5345,7 +5345,7 @@ export const ATTR_PROCESS_EXECUTABLE_PATH = 'process.executable.path' as const; * * @example 127 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code' as const; @@ -5354,7 +5354,7 @@ export const ATTR_PROCESS_EXIT_CODE = 'process.exit.code' as const; * * @example 2023-11-21T09:26:12.315Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time' as const; @@ -5363,14 +5363,14 @@ export const ATTR_PROCESS_EXIT_TIME = 'process.exit.time' as const; * * @example 23 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_GROUP_LEADER_PID = 'process.group_leader.pid' as const; /** * Whether the process is connected to an interactive shell. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_INTERACTIVE = 'process.interactive' as const; @@ -5379,14 +5379,14 @@ export const ATTR_PROCESS_INTERACTIVE = 'process.interactive' as const; * * @example root * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_OWNER = 'process.owner' as const; /** * The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type' as const; @@ -5405,7 +5405,7 @@ export const PROCESS_PAGING_FAULT_TYPE_VALUE_MINOR = "minor" as const; * * @example 111 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid' as const; @@ -5414,7 +5414,7 @@ export const ATTR_PROCESS_PARENT_PID = 'process.parent_pid' as const; * * @example 1234 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_PID = 'process.pid' as const; @@ -5423,7 +5423,7 @@ export const ATTR_PROCESS_PID = 'process.pid' as const; * * @example 1000 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id' as const; @@ -5432,7 +5432,7 @@ export const ATTR_PROCESS_REAL_USER_ID = 'process.real_user.id' as const; * * @example operator * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name' as const; @@ -5441,7 +5441,7 @@ export const ATTR_PROCESS_REAL_USER_NAME = 'process.real_user.name' as const; * * @example "Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description' as const; @@ -5450,7 +5450,7 @@ export const ATTR_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description' as * * @example OpenJDK Runtime Environment * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name' as const; @@ -5459,7 +5459,7 @@ export const ATTR_PROCESS_RUNTIME_NAME = 'process.runtime.name' as const; * * @example "14.0.2" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; @@ -5468,7 +5468,7 @@ export const ATTR_PROCESS_RUNTIME_VERSION = 'process.runtime.version' as const; * * @example 1002 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id' as const; @@ -5477,7 +5477,7 @@ export const ATTR_PROCESS_SAVED_USER_ID = 'process.saved_user.id' as const; * * @example operator * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name' as const; @@ -5486,7 +5486,7 @@ export const ATTR_PROCESS_SAVED_USER_NAME = 'process.saved_user.name' as const; * * @example 14 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid' as const; @@ -5495,7 +5495,7 @@ export const ATTR_PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid' as c * * @example 1001 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_USER_ID = 'process.user.id' as const; @@ -5504,7 +5504,7 @@ export const ATTR_PROCESS_USER_ID = 'process.user.id' as const; * * @example root * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_USER_NAME = 'process.user.name' as const; @@ -5515,14 +5515,14 @@ export const ATTR_PROCESS_USER_NAME = 'process.user.name' as const; * * @note The process ID within a PID namespace. This is not necessarily unique across all processes on the host but it is unique within the process namespace that the process exists within. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_PROCESS_VPID = 'process.vpid' as const; /** * The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_CONNECT_RPC_ERROR_CODE = 'rpc.connect_rpc.error_code' as const; @@ -5613,7 +5613,7 @@ export const RPC_CONNECT_RPC_ERROR_CODE_VALUE_UNKNOWN = "unknown" as const; * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_CONNECT_RPC_REQUEST_METADATA = (key: string) => `rpc.connect_rpc.request.metadata.${key}`; @@ -5624,7 +5624,7 @@ export const ATTR_RPC_CONNECT_RPC_REQUEST_METADATA = (key: string) => `rpc.conne * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_CONNECT_RPC_RESPONSE_METADATA = (key: string) => `rpc.connect_rpc.response.metadata.${key}`; @@ -5635,7 +5635,7 @@ export const ATTR_RPC_CONNECT_RPC_RESPONSE_METADATA = (key: string) => `rpc.conn * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_GRPC_REQUEST_METADATA = (key: string) => `rpc.grpc.request.metadata.${key}`; @@ -5646,14 +5646,14 @@ export const ATTR_RPC_GRPC_REQUEST_METADATA = (key: string) => `rpc.grpc.request * * @note Instrumentations **SHOULD** require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_GRPC_RESPONSE_METADATA = (key: string) => `rpc.grpc.response.metadata.${key}`; /** * The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_GRPC_STATUS_CODE = 'rpc.grpc.status_code' as const; @@ -5749,7 +5749,7 @@ export const RPC_GRPC_STATUS_CODE_VALUE_UNAUTHENTICATED = 16 as const; * * @example 100 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code' as const; @@ -5760,7 +5760,7 @@ export const ATTR_RPC_JSONRPC_ERROR_CODE = 'rpc.jsonrpc.error_code' as const; * * @example User already exists * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message' as const; @@ -5773,7 +5773,7 @@ export const ATTR_RPC_JSONRPC_ERROR_MESSAGE = 'rpc.jsonrpc.error_message' as con * * @example * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id' as const; @@ -5784,14 +5784,14 @@ export const ATTR_RPC_JSONRPC_REQUEST_ID = 'rpc.jsonrpc.request_id' as const; * * @example 1.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_JSONRPC_VERSION = 'rpc.jsonrpc.version' as const; /** * Compressed size of the message in bytes. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_MESSAGE_COMPRESSED_SIZE = 'rpc.message.compressed_size' as const; @@ -5800,14 +5800,14 @@ export const ATTR_RPC_MESSAGE_COMPRESSED_SIZE = 'rpc.message.compressed_size' as * * @note This way we guarantee that the values will be consistent between different implementations. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_MESSAGE_ID = 'rpc.message.id' as const; /** * Whether this is a received or sent message. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_MESSAGE_TYPE = 'rpc.message.type' as const; @@ -5824,7 +5824,7 @@ export const RPC_MESSAGE_TYPE_VALUE_SENT = "SENT" as const; /** * Uncompressed size of the message in bytes. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size' as const; @@ -5835,7 +5835,7 @@ export const ATTR_RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size * * @note This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_METHOD = 'rpc.method' as const; @@ -5846,14 +5846,14 @@ export const ATTR_RPC_METHOD = 'rpc.method' as const; * * @note This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_SERVICE = 'rpc.service' as const; /** * A string identifying the remoting system. See below for a list of well-known identifiers. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_RPC_SYSTEM = 'rpc.system' as const; @@ -5914,7 +5914,7 @@ export const RPC_SYSTEM_VALUE_JAVA_RMI = "java_rmi" as const; * for that telemetry. This is typically the case for scraping receivers, as they know the target address and * port. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id' as const; @@ -5925,7 +5925,7 @@ export const ATTR_SERVICE_INSTANCE_ID = 'service.instance.id' as const; * * @note A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SERVICE_NAMESPACE = 'service.namespace' as const; @@ -5934,7 +5934,7 @@ export const ATTR_SERVICE_NAMESPACE = 'service.namespace' as const; * * @example "00112233-4455-6677-8899-aabbccddeeff" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SESSION_ID = 'session.id' as const; @@ -5943,7 +5943,7 @@ export const ATTR_SESSION_ID = 'session.id' as const; * * @example "00112233-4455-6677-8899-aabbccddeeff" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id' as const; @@ -5958,7 +5958,7 @@ export const ATTR_SESSION_PREVIOUS_ID = 'session.previous_id' as const; * * @note When observed from the destination side, and when communicating through an intermediary, `source.address` **SHOULD** represent the source address behind any intermediaries, for example proxies, if it's available. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SOURCE_ADDRESS = 'source.address' as const; @@ -5969,7 +5969,7 @@ export const ATTR_SOURCE_ADDRESS = 'source.address' as const; * * @example 2888 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SOURCE_PORT = 'source.port' as const; @@ -5978,7 +5978,7 @@ export const ATTR_SOURCE_PORT = 'source.port' as const; * * @example idle * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `db.client.connection.state`. */ @@ -5999,7 +5999,7 @@ export const STATE_VALUE_USED = "used" as const; * * @example 1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number' as const; @@ -6010,7 +6010,7 @@ export const ATTR_SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number' as con * * @example interrupt * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `cpu.mode` */ @@ -6056,7 +6056,7 @@ export const SYSTEM_CPU_STATE_VALUE_USER = "user" as const; * * @example (identifier) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_DEVICE = 'system.device' as const; @@ -6065,7 +6065,7 @@ export const ATTR_SYSTEM_DEVICE = 'system.device' as const; * * @example rw, ro * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode' as const; @@ -6074,7 +6074,7 @@ export const ATTR_SYSTEM_FILESYSTEM_MODE = 'system.filesystem.mode' as const; * * @example /mnt/data * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint' as const; @@ -6083,7 +6083,7 @@ export const ATTR_SYSTEM_FILESYSTEM_MOUNTPOINT = 'system.filesystem.mountpoint' * * @example used * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_STATE = 'system.filesystem.state' as const; @@ -6107,7 +6107,7 @@ export const SYSTEM_FILESYSTEM_STATE_VALUE_USED = "used" as const; * * @example ext4 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_FILESYSTEM_TYPE = 'system.filesystem.type' as const; @@ -6148,7 +6148,7 @@ export const SYSTEM_FILESYSTEM_TYPE_VALUE_REFS = "refs" as const; * * @example cached * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_MEMORY_STATE = 'system.memory.state' as const; @@ -6182,7 +6182,7 @@ export const SYSTEM_MEMORY_STATE_VALUE_USED = "used" as const; * * @example close_wait * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_NETWORK_STATE = 'system.network.state' as const; @@ -6251,7 +6251,7 @@ export const SYSTEM_NETWORK_STATE_VALUE_TIME_WAIT = "time_wait" as const; * * @example in * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_DIRECTION = 'system.paging.direction' as const; @@ -6270,7 +6270,7 @@ export const SYSTEM_PAGING_DIRECTION_VALUE_OUT = "out" as const; * * @example free * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_STATE = 'system.paging.state' as const; @@ -6289,7 +6289,7 @@ export const SYSTEM_PAGING_STATE_VALUE_USED = "used" as const; * * @example minor * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PAGING_TYPE = 'system.paging.type' as const; @@ -6308,7 +6308,7 @@ export const SYSTEM_PAGING_TYPE_VALUE_MINOR = "minor" as const; * * @example running * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_SYSTEM_PROCESS_STATUS = 'system.process.status' as const; @@ -6337,7 +6337,7 @@ export const SYSTEM_PROCESS_STATUS_VALUE_STOPPED = "stopped" as const; * * @example running * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `system.process.status`. */ @@ -6371,7 +6371,7 @@ export const SYSTEM_PROCESSES_STATUS_VALUE_STOPPED = "stopped" as const; * @note Official auto instrumentation agents and distributions **SHOULD** set the `telemetry.distro.name` attribute to * a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name' as const; @@ -6380,7 +6380,7 @@ export const ATTR_TELEMETRY_DISTRO_NAME = 'telemetry.distro.name' as const; * * @example 1.2.3 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version' as const; @@ -6393,7 +6393,7 @@ export const ATTR_TELEMETRY_DISTRO_VERSION = 'telemetry.distro.version' as const * * @example ExampleTestCase1_test1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_CASE_NAME = 'test.case.name' as const; @@ -6404,7 +6404,7 @@ export const ATTR_TEST_CASE_NAME = 'test.case.name' as const; * * @example fail * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_CASE_RESULT_STATUS = 'test.case.result.status' as const; @@ -6423,7 +6423,7 @@ export const TEST_CASE_RESULT_STATUS_VALUE_PASS = "pass" as const; * * @example TestSuite1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_SUITE_NAME = 'test.suite.name' as const; @@ -6442,7 +6442,7 @@ export const ATTR_TEST_SUITE_NAME = 'test.suite.name' as const; * * @example in_progress * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TEST_SUITE_RUN_STATUS = 'test.suite.run.status' as const; @@ -6481,7 +6481,7 @@ export const TEST_SUITE_RUN_STATUS_VALUE_TIMED_OUT = "timed_out" as const; * * @example 42 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_THREAD_ID = 'thread.id' as const; @@ -6490,7 +6490,7 @@ export const ATTR_THREAD_ID = 'thread.id' as const; * * @example "main" * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_THREAD_NAME = 'thread.name' as const; @@ -6503,7 +6503,7 @@ export const ATTR_THREAD_NAME = 'thread.name' as const; * * @note The values allowed for `tls.cipher` **MUST** be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CIPHER = 'tls.cipher' as const; @@ -6512,7 +6512,7 @@ export const ATTR_TLS_CIPHER = 'tls.cipher' as const; * * @example MII... * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; @@ -6523,7 +6523,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE = 'tls.client.certificate' as const; * * @example MI... * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain' as const; @@ -6532,7 +6532,7 @@ export const ATTR_TLS_CLIENT_CERTIFICATE_CHAIN = 'tls.client.certificate_chain' * * @example 0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5' as const; @@ -6541,7 +6541,7 @@ export const ATTR_TLS_CLIENT_HASH_MD5 = 'tls.client.hash.md5' as const; * * @example 9E393D93138888D288266C2D915214D1D1CCEB2A * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1' as const; @@ -6550,7 +6550,7 @@ export const ATTR_TLS_CLIENT_HASH_SHA1 = 'tls.client.hash.sha1' as const; * * @example 0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256' as const; @@ -6559,7 +6559,7 @@ export const ATTR_TLS_CLIENT_HASH_SHA256 = 'tls.client.hash.sha256' as const; * * @example CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer' as const; @@ -6568,7 +6568,7 @@ export const ATTR_TLS_CLIENT_ISSUER = 'tls.client.issuer' as const; * * @example d4e5b18d6b55c71272893221c96ba240 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3' as const; @@ -6577,7 +6577,7 @@ export const ATTR_TLS_CLIENT_JA3 = 'tls.client.ja3' as const; * * @example 2021-01-01T00:00:00.000Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after' as const; @@ -6586,7 +6586,7 @@ export const ATTR_TLS_CLIENT_NOT_AFTER = 'tls.client.not_after' as const; * * @example 1970-01-01T00:00:00.000Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before' as const; @@ -6595,7 +6595,7 @@ export const ATTR_TLS_CLIENT_NOT_BEFORE = 'tls.client.not_before' as const; * * @example opentelemetry.io * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `server.address. */ @@ -6606,7 +6606,7 @@ export const ATTR_TLS_CLIENT_SERVER_NAME = 'tls.client.server_name' as const; * * @example CN=myclient, OU=Documentation Team, DC=example, DC=com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; @@ -6619,7 +6619,7 @@ export const ATTR_TLS_CLIENT_SUBJECT = 'tls.client.subject' as const; * * @example ... * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers' as const; @@ -6628,7 +6628,7 @@ export const ATTR_TLS_CLIENT_SUPPORTED_CIPHERS = 'tls.client.supported_ciphers' * * @example secp256r1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_CURVE = 'tls.curve' as const; @@ -6637,7 +6637,7 @@ export const ATTR_TLS_CURVE = 'tls.curve' as const; * * @example true * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_ESTABLISHED = 'tls.established' as const; @@ -6646,14 +6646,14 @@ export const ATTR_TLS_ESTABLISHED = 'tls.established' as const; * * @example http/1.1 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_NEXT_PROTOCOL = 'tls.next_protocol' as const; /** * Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_PROTOCOL_NAME = 'tls.protocol.name' as const; @@ -6674,7 +6674,7 @@ export const TLS_PROTOCOL_NAME_VALUE_TLS = "tls" as const; * * @example 3 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version' as const; @@ -6683,7 +6683,7 @@ export const ATTR_TLS_PROTOCOL_VERSION = 'tls.protocol.version' as const; * * @example true * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_RESUMED = 'tls.resumed' as const; @@ -6692,7 +6692,7 @@ export const ATTR_TLS_RESUMED = 'tls.resumed' as const; * * @example MII... * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; @@ -6703,7 +6703,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE = 'tls.server.certificate' as const; * * @example MI... * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain' as const; @@ -6712,7 +6712,7 @@ export const ATTR_TLS_SERVER_CERTIFICATE_CHAIN = 'tls.server.certificate_chain' * * @example 0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5' as const; @@ -6721,7 +6721,7 @@ export const ATTR_TLS_SERVER_HASH_MD5 = 'tls.server.hash.md5' as const; * * @example 9E393D93138888D288266C2D915214D1D1CCEB2A * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1' as const; @@ -6730,7 +6730,7 @@ export const ATTR_TLS_SERVER_HASH_SHA1 = 'tls.server.hash.sha1' as const; * * @example 0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256' as const; @@ -6739,7 +6739,7 @@ export const ATTR_TLS_SERVER_HASH_SHA256 = 'tls.server.hash.sha256' as const; * * @example CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer' as const; @@ -6748,7 +6748,7 @@ export const ATTR_TLS_SERVER_ISSUER = 'tls.server.issuer' as const; * * @example d4e5b18d6b55c71272893221c96ba240 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s' as const; @@ -6757,7 +6757,7 @@ export const ATTR_TLS_SERVER_JA3S = 'tls.server.ja3s' as const; * * @example 2021-01-01T00:00:00.000Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after' as const; @@ -6766,7 +6766,7 @@ export const ATTR_TLS_SERVER_NOT_AFTER = 'tls.server.not_after' as const; * * @example 1970-01-01T00:00:00.000Z * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before' as const; @@ -6775,7 +6775,7 @@ export const ATTR_TLS_SERVER_NOT_BEFORE = 'tls.server.not_before' as const; * * @example CN=myserver, OU=Documentation Team, DC=example, DC=com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject' as const; @@ -6792,7 +6792,7 @@ export const ATTR_TLS_SERVER_SUBJECT = 'tls.server.subject' as const; * * @note In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_DOMAIN = 'url.domain' as const; @@ -6805,7 +6805,7 @@ export const ATTR_URL_DOMAIN = 'url.domain' as const; * * @note The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_EXTENSION = 'url.extension' as const; @@ -6819,7 +6819,7 @@ export const ATTR_URL_EXTENSION = 'url.extension' as const; * @note In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not. * `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username **SHOULD** **NOT** be redacted and attribute's value **SHOULD** remain the same. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_ORIGINAL = 'url.original' as const; @@ -6828,7 +6828,7 @@ export const ATTR_URL_ORIGINAL = 'url.original' as const; * * @example 443 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_PORT = 'url.port' as const; @@ -6841,7 +6841,7 @@ export const ATTR_URL_PORT = 'url.port' as const; * * @note This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain' as const; @@ -6854,7 +6854,7 @@ export const ATTR_URL_REGISTERED_DOMAIN = 'url.registered_domain' as const; * * @note The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_SUBDOMAIN = 'url.subdomain' as const; @@ -6867,7 +6867,7 @@ export const ATTR_URL_SUBDOMAIN = 'url.subdomain' as const; * * @example /users?id={id} * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_TEMPLATE = 'url.template' as const; @@ -6880,7 +6880,7 @@ export const ATTR_URL_TEMPLATE = 'url.template' as const; * * @note This value can be determined precisely with the [public suffix list](http://publicsuffix.org). * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain' as const; @@ -6889,7 +6889,7 @@ export const ATTR_URL_TOP_LEVEL_DOMAIN = 'url.top_level_domain' as const; * * @example a.einstein@example.com * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_EMAIL = 'user.email' as const; @@ -6898,7 +6898,7 @@ export const ATTR_USER_EMAIL = 'user.email' as const; * * @example Albert Einstein * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_FULL_NAME = 'user.full_name' as const; @@ -6909,7 +6909,7 @@ export const ATTR_USER_FULL_NAME = 'user.full_name' as const; * * @note Useful if `user.id` or `user.name` contain confidential information and cannot be used. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_HASH = 'user.hash' as const; @@ -6918,7 +6918,7 @@ export const ATTR_USER_HASH = 'user.hash' as const; * * @example S-1-5-21-202424912787-2692429404-2351956786-1000 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_ID = 'user.id' as const; @@ -6927,7 +6927,7 @@ export const ATTR_USER_ID = 'user.id' as const; * * @example a.einstein * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_NAME = 'user.name' as const; @@ -6938,7 +6938,7 @@ export const ATTR_USER_NAME = 'user.name' as const; * * @example reporting_user * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_ROLES = 'user.roles' as const; @@ -6951,7 +6951,7 @@ export const ATTR_USER_ROLES = 'user.roles' as const; * * @note [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name **SHOULD** be selected. In such a scenario it should align with `user_agent.version` * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_AGENT_NAME = 'user_agent.name' as const; @@ -6964,14 +6964,14 @@ export const ATTR_USER_AGENT_NAME = 'user_agent.name' as const; * * @note [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version **SHOULD** be selected. In such a scenario it should align with `user_agent.name` * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_USER_AGENT_VERSION = 'user_agent.version' as const; /** * The type of garbage collection. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_V8JS_GC_TYPE = 'v8js.gc.type' as const; @@ -7000,7 +7000,7 @@ export const V8JS_GC_TYPE_VALUE_WEAKCB = "weakcb" as const; * * @note Value can be retrieved from value `space_name` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_V8JS_HEAP_SPACE_NAME = 'v8js.heap.space.name' as const; @@ -7034,7 +7034,7 @@ export const V8JS_HEAP_SPACE_NAME_VALUE_OLD_SPACE = "old_space" as const; * * @example 123 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id' as const; @@ -7047,7 +7047,7 @@ export const ATTR_VCS_REPOSITORY_CHANGE_ID = 'vcs.repository.change.id' as const * * @example [chore] update dependency * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title' as const; @@ -7058,7 +7058,7 @@ export const ATTR_VCS_REPOSITORY_CHANGE_TITLE = 'vcs.repository.change.title' as * * @example tag-1-test * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name' as const; @@ -7083,7 +7083,7 @@ export const ATTR_VCS_REPOSITORY_REF_NAME = 'vcs.repository.ref.name' as const; * up to the implementer to decide which value to set as the revision * based on the VCS system and situational context. * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision' as const; @@ -7094,7 +7094,7 @@ export const ATTR_VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision' as * * @example tag * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type' as const; @@ -7115,7 +7115,7 @@ export const VCS_REPOSITORY_REF_TYPE_VALUE_TAG = "tag" as const; * * @example https://gitlab.com/my-org/my-project/my-projects-project/repo * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full' as const; @@ -7124,7 +7124,7 @@ export const ATTR_VCS_REPOSITORY_URL_FULL = 'vcs.repository.url.full' as const; * * @example WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description' as const; @@ -7133,7 +7133,7 @@ export const ATTR_WEBENGINE_DESCRIPTION = 'webengine.description' as const; * * @example WildFly * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_NAME = 'webengine.name' as const; @@ -7142,7 +7142,7 @@ export const ATTR_WEBENGINE_NAME = 'webengine.name' as const; * * @example 21.0.0 * - * @experimental This attribute is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ export const ATTR_WEBENGINE_VERSION = 'webengine.version' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts index 666f74a827..5cd24283ba 100644 --- a/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/experimental_metrics.ts @@ -23,494 +23,494 @@ * * @note Total CPU time consumed by the specific container on all available CPU cores * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time'; +export const METRIC_CONTAINER_CPU_TIME = 'container.cpu.time' as const; /** * Disk bytes for the container. * * @note The total number of bytes read/written successfully (aggregated from all disks). * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_DISK_IO = 'container.disk.io'; +export const METRIC_CONTAINER_DISK_IO = 'container.disk.io' as const; /** * Memory usage of the container. * * @note Memory usage of the container. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage'; +export const METRIC_CONTAINER_MEMORY_USAGE = 'container.memory.usage' as const; /** * Network bytes for the container. * * @note The number of bytes sent/received on all network interfaces by the container. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io'; +export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io' as const; /** * The number of connections that are currently in state described by the `state` attribute * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_COUNT = 'db.client.connection.count'; +export const METRIC_DB_CLIENT_CONNECTION_COUNT = 'db.client.connection.count' as const; /** * The time it took to create a new connection * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_CREATE_TIME = 'db.client.connection.create_time'; +export const METRIC_DB_CLIENT_CONNECTION_CREATE_TIME = 'db.client.connection.create_time' as const; /** * The maximum number of idle open connections allowed * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_IDLE_MAX = 'db.client.connection.idle.max'; +export const METRIC_DB_CLIENT_CONNECTION_IDLE_MAX = 'db.client.connection.idle.max' as const; /** * The minimum number of idle open connections allowed * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_IDLE_MIN = 'db.client.connection.idle.min'; +export const METRIC_DB_CLIENT_CONNECTION_IDLE_MIN = 'db.client.connection.idle.min' as const; /** * The maximum number of open connections allowed * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_MAX = 'db.client.connection.max'; +export const METRIC_DB_CLIENT_CONNECTION_MAX = 'db.client.connection.max' as const; /** * The number of pending requests for an open connection, cumulative for the entire pool * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_PENDING_REQUESTS = 'db.client.connection.pending_requests'; +export const METRIC_DB_CLIENT_CONNECTION_PENDING_REQUESTS = 'db.client.connection.pending_requests' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_TIMEOUTS = 'db.client.connection.timeouts'; +export const METRIC_DB_CLIENT_CONNECTION_TIMEOUTS = 'db.client.connection.timeouts' as const; /** * The time between borrowing a connection and returning it to the pool * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_USE_TIME = 'db.client.connection.use_time'; +export const METRIC_DB_CLIENT_CONNECTION_USE_TIME = 'db.client.connection.use_time' as const; /** * The time it took to obtain an open connection from the pool * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_CONNECTION_WAIT_TIME = 'db.client.connection.wait_time'; +export const METRIC_DB_CLIENT_CONNECTION_WAIT_TIME = 'db.client.connection.wait_time' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time'; +export const METRIC_DB_CLIENT_CONNECTIONS_CREATE_TIME = 'db.client.connections.create_time' as const; /** * Deprecated, use `db.client.connection.idle.max` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max'; +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MAX = 'db.client.connections.idle.max' as const; /** * Deprecated, use `db.client.connection.idle.min` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min'; +export const METRIC_DB_CLIENT_CONNECTIONS_IDLE_MIN = 'db.client.connections.idle.min' as const; /** * Deprecated, use `db.client.connection.max` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max'; +export const METRIC_DB_CLIENT_CONNECTIONS_MAX = 'db.client.connections.max' as const; /** * Deprecated, use `db.client.connection.pending_requests` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests'; +export const METRIC_DB_CLIENT_CONNECTIONS_PENDING_REQUESTS = 'db.client.connections.pending_requests' as const; /** * Deprecated, use `db.client.connection.timeouts` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts'; +export const METRIC_DB_CLIENT_CONNECTIONS_TIMEOUTS = 'db.client.connections.timeouts' as const; /** * Deprecated, use `db.client.connection.count` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage'; +export const METRIC_DB_CLIENT_CONNECTIONS_USAGE = 'db.client.connections.usage' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time'; +export const METRIC_DB_CLIENT_CONNECTIONS_USE_TIME = 'db.client.connections.use_time' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @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 const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time'; +export const METRIC_DB_CLIENT_CONNECTIONS_WAIT_TIME = 'db.client.connections.wait_time' as const; /** * Duration of database client operations. * * @note Batch operations **SHOULD** be recorded as a single operation. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DB_CLIENT_OPERATION_DURATION = 'db.client.operation.duration'; +export const METRIC_DB_CLIENT_OPERATION_DURATION = 'db.client.operation.duration' as const; /** * Measures the time taken to perform a DNS lookup. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration'; +export const METRIC_DNS_LOOKUP_DURATION = 'dns.lookup.duration' as const; /** * Number of invocation cold starts * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts'; +export const METRIC_FAAS_COLDSTARTS = 'faas.coldstarts' as const; /** * Distribution of CPU usage per invocation * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage'; +export const METRIC_FAAS_CPU_USAGE = 'faas.cpu_usage' as const; /** * Number of invocation errors * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_ERRORS = 'faas.errors'; +export const METRIC_FAAS_ERRORS = 'faas.errors' as const; /** * Measures the duration of the function's initialization, such as a cold start * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration'; +export const METRIC_FAAS_INIT_DURATION = 'faas.init_duration' as const; /** * Number of successful invocations * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INVOCATIONS = 'faas.invocations'; +export const METRIC_FAAS_INVOCATIONS = 'faas.invocations' as const; /** * Measures the duration of the function's logic execution * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration'; +export const METRIC_FAAS_INVOKE_DURATION = 'faas.invoke_duration' as const; /** * Distribution of max memory usage per invocation * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage'; +export const METRIC_FAAS_MEM_USAGE = 'faas.mem_usage' as const; /** * Distribution of net I/O usage per invocation * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_NET_IO = 'faas.net_io'; +export const METRIC_FAAS_NET_IO = 'faas.net_io' as const; /** * Number of invocation timeouts * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts'; +export const METRIC_FAAS_TIMEOUTS = 'faas.timeouts' as const; /** * GenAI operation duration * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GEN_AI_CLIENT_OPERATION_DURATION = 'gen_ai.client.operation.duration'; +export const METRIC_GEN_AI_CLIENT_OPERATION_DURATION = 'gen_ai.client.operation.duration' as const; /** * Measures number of input and output tokens used * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GEN_AI_CLIENT_TOKEN_USAGE = 'gen_ai.client.token.usage'; +export const METRIC_GEN_AI_CLIENT_TOKEN_USAGE = 'gen_ai.client.token.usage' as const; /** * Generative AI server request duration such as time-to-last byte or last output token * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GEN_AI_SERVER_REQUEST_DURATION = 'gen_ai.server.request.duration'; +export const METRIC_GEN_AI_SERVER_REQUEST_DURATION = 'gen_ai.server.request.duration' as const; /** * Time per output token generated after the first token for successful responses * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN = 'gen_ai.server.time_per_output_token'; +export const METRIC_GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN = 'gen_ai.server.time_per_output_token' as const; /** * Time to generate first token for successful responses * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GEN_AI_SERVER_TIME_TO_FIRST_TOKEN = 'gen_ai.server.time_to_first_token'; +export const METRIC_GEN_AI_SERVER_TIME_TO_FIRST_TOKEN = 'gen_ai.server.time_to_first_token' as const; /** * Heap size target percentage configured by the user, otherwise 100. * * @note The value range is [0.0,100.0]. Computed from `/gc/gogc:percent`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_CONFIG_GOGC = 'go.config.gogc'; +export const METRIC_GO_CONFIG_GOGC = 'go.config.gogc' as const; /** * Count of live goroutines. * * @note Computed from `/sched/goroutines:goroutines`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_GOROUTINE_COUNT = 'go.goroutine.count'; +export const METRIC_GO_GOROUTINE_COUNT = 'go.goroutine.count' as const; /** * Memory allocated to the heap by the application. * * @note Computed from `/gc/heap/allocs:bytes`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_MEMORY_ALLOCATED = 'go.memory.allocated'; +export const METRIC_GO_MEMORY_ALLOCATED = 'go.memory.allocated' as const; /** * Count of allocations to the heap by the application. * * @note Computed from `/gc/heap/allocs:objects`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_MEMORY_ALLOCATIONS = 'go.memory.allocations'; +export const METRIC_GO_MEMORY_ALLOCATIONS = 'go.memory.allocations' as const; /** * Heap size target for the end of the GC cycle. * * @note Computed from `/gc/heap/goal:bytes`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_MEMORY_GC_GOAL = 'go.memory.gc.goal'; +export const METRIC_GO_MEMORY_GC_GOAL = 'go.memory.gc.goal' as const; /** * Go runtime memory limit configured by the user, if a limit exists. * * @note Computed from `/gc/gomemlimit:bytes`. This metric is excluded if the limit obtained from the Go runtime is math.MaxInt64. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_MEMORY_LIMIT = 'go.memory.limit'; +export const METRIC_GO_MEMORY_LIMIT = 'go.memory.limit' as const; /** * Memory used by the Go runtime. * * @note Computed from `(/memory/classes/total:bytes - /memory/classes/heap/released:bytes)`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_MEMORY_USED = 'go.memory.used'; +export const METRIC_GO_MEMORY_USED = 'go.memory.used' as const; /** * The number of OS threads that can execute user-level Go code simultaneously. * * @note Computed from `/sched/gomaxprocs:threads`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_PROCESSOR_LIMIT = 'go.processor.limit'; +export const METRIC_GO_PROCESSOR_LIMIT = 'go.processor.limit' as const; /** * The time goroutines have spent in the scheduler in a runnable state before actually running. * * @note Computed from `/sched/latencies:seconds`. Bucket boundaries are provided by the runtime, and are subject to change. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_GO_SCHEDULE_DURATION = 'go.schedule.duration'; +export const METRIC_GO_SCHEDULE_DURATION = 'go.schedule.duration' as const; /** * Number of active HTTP requests. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests'; +export const METRIC_HTTP_CLIENT_ACTIVE_REQUESTS = 'http.client.active_requests' as const; /** * The duration of the successfully established outbound HTTP connections. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration'; +export const METRIC_HTTP_CLIENT_CONNECTION_DURATION = 'http.client.connection.duration' as const; /** * Number of outbound HTTP connections that are currently active or idle on the client. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections'; +export const METRIC_HTTP_CLIENT_OPEN_CONNECTIONS = 'http.client.open_connections' as const; /** * Size of HTTP client request bodies. * * @note The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size'; +export const METRIC_HTTP_CLIENT_REQUEST_BODY_SIZE = 'http.client.request.body.size' as const; /** * Size of HTTP client response bodies. * * @note The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size'; +export const METRIC_HTTP_CLIENT_RESPONSE_BODY_SIZE = 'http.client.response.body.size' as const; /** * Number of active HTTP server requests. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests'; +export const METRIC_HTTP_SERVER_ACTIVE_REQUESTS = 'http.server.active_requests' as const; /** * Size of HTTP server request bodies. * * @note The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size'; +export const METRIC_HTTP_SERVER_REQUEST_BODY_SIZE = 'http.server.request.body.size' as const; /** * Size of HTTP server response bodies. * * @note The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size'; +export const METRIC_HTTP_SERVER_RESPONSE_BODY_SIZE = 'http.server.response.body.size' as const; /** * Number of buffers in the pool. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count'; +export const METRIC_JVM_BUFFER_COUNT = 'jvm.buffer.count' as const; /** * Measure of total memory capacity of buffers. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit'; +export const METRIC_JVM_BUFFER_MEMORY_LIMIT = 'jvm.buffer.memory.limit' as const; /** * Deprecated, use `jvm.buffer.memory.used` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `jvm.buffer.memory.used`. */ -export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage'; +export const METRIC_JVM_BUFFER_MEMORY_USAGE = 'jvm.buffer.memory.usage' as const; /** * Measure of memory used by buffers. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_BUFFER_MEMORY_USED = 'jvm.buffer.memory.used'; +export const METRIC_JVM_BUFFER_MEMORY_USED = 'jvm.buffer.memory.used' as const; /** * Measure of initial memory requested. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init'; +export const METRIC_JVM_MEMORY_INIT = 'jvm.memory.init' as const; /** * Average CPU load of the whole system for the last minute as reported by the JVM. * * @note The value range is [0,n], where n is the number of CPU cores - or a negative number if the value is not available. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()). * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m'; +export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m' as const; /** * Recent CPU utilization for the whole system as reported by the JVM. * * @note The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getCpuLoad()). * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; +export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization' as const; /** * Number of messages that were delivered to the application. @@ -518,223 +518,223 @@ export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization'; * @note Records the number of messages pulled from the broker or number of messages dispatched to the application in push-based scenarios. * The metric **SHOULD** be reported once per message delivery. For example, if receiving and processing operations are both instrumented for a single message delivery, this counter is incremented when the message is received and not reported when it is processed. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_CLIENT_CONSUMED_MESSAGES = 'messaging.client.consumed.messages'; +export const METRIC_MESSAGING_CLIENT_CONSUMED_MESSAGES = 'messaging.client.consumed.messages' as const; /** * Duration of messaging operation initiated by a producer or consumer client. * * @note This metric **SHOULD** **NOT** be used to report processing duration - processing duration is reported in `messaging.process.duration` metric. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_CLIENT_OPERATION_DURATION = 'messaging.client.operation.duration'; +export const METRIC_MESSAGING_CLIENT_OPERATION_DURATION = 'messaging.client.operation.duration' as const; /** * Number of messages producer attempted to publish to the broker. * * @note This metric **MUST** **NOT** count messages that were created haven't yet been attempted to be published. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_CLIENT_PUBLISHED_MESSAGES = 'messaging.client.published.messages'; +export const METRIC_MESSAGING_CLIENT_PUBLISHED_MESSAGES = 'messaging.client.published.messages' as const; /** * Duration of processing operation. * * @note This metric **MUST** be reported for operations with `messaging.operation.type` that matches `process`. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration'; +export const METRIC_MESSAGING_PROCESS_DURATION = 'messaging.process.duration' as const; /** * Deprecated. Use `messaging.client.consumed.messages` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.client.consumed.messages`. */ -export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages'; +export const METRIC_MESSAGING_PROCESS_MESSAGES = 'messaging.process.messages' as const; /** * Deprecated. Use `messaging.client.operation.duration` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.client.operation.duration`. */ -export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration'; +export const METRIC_MESSAGING_PUBLISH_DURATION = 'messaging.publish.duration' as const; /** * Deprecated. Use `messaging.client.produced.messages` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.client.produced.messages`. */ -export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages'; +export const METRIC_MESSAGING_PUBLISH_MESSAGES = 'messaging.publish.messages' as const; /** * Deprecated. Use `messaging.client.operation.duration` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.client.operation.duration`. */ -export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration'; +export const METRIC_MESSAGING_RECEIVE_DURATION = 'messaging.receive.duration' as const; /** * Deprecated. Use `messaging.client.consumed.messages` instead. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. * * @deprecated * Replaced by `messaging.client.consumed.messages`. */ -export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages'; +export const METRIC_MESSAGING_RECEIVE_MESSAGES = 'messaging.receive.messages' as const; /** * Event loop maximum delay. * * @note Value can be retrieved from value `histogram.max` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_MAX = 'nodejs.eventloop.delay.max'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_MAX = 'nodejs.eventloop.delay.max' as const; /** * Event loop mean delay. * * @note Value can be retrieved from value `histogram.mean` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_MEAN = 'nodejs.eventloop.delay.mean'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_MEAN = 'nodejs.eventloop.delay.mean' as const; /** * Event loop minimum delay. * * @note Value can be retrieved from value `histogram.min` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_MIN = 'nodejs.eventloop.delay.min'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_MIN = 'nodejs.eventloop.delay.min' as const; /** * Event loop 50 percentile delay. * * @note Value can be retrieved from value `histogram.percentile(50)` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_P50 = 'nodejs.eventloop.delay.p50'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_P50 = 'nodejs.eventloop.delay.p50' as const; /** * Event loop 90 percentile delay. * * @note Value can be retrieved from value `histogram.percentile(90)` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_P90 = 'nodejs.eventloop.delay.p90'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_P90 = 'nodejs.eventloop.delay.p90' as const; /** * Event loop 99 percentile delay. * * @note Value can be retrieved from value `histogram.percentile(99)` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_P99 = 'nodejs.eventloop.delay.p99'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_P99 = 'nodejs.eventloop.delay.p99' as const; /** * Event loop standard deviation delay. * * @note Value can be retrieved from value `histogram.stddev` of [`perf_hooks.monitorEventLoopDelay([options])`](https://nodejs.org/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_DELAY_STDDEV = 'nodejs.eventloop.delay.stddev'; +export const METRIC_NODEJS_EVENTLOOP_DELAY_STDDEV = 'nodejs.eventloop.delay.stddev' as const; /** * Event loop utilization. * * @note The value range is [0.0,1.0] and can be retrieved from value [`performance.eventLoopUtilization([utilization1[, utilization2]])`](https://nodejs.org/api/perf_hooks.html#performanceeventlooputilizationutilization1-utilization2) * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_NODEJS_EVENTLOOP_UTILIZATION = 'nodejs.eventloop.utilization'; +export const METRIC_NODEJS_EVENTLOOP_UTILIZATION = 'nodejs.eventloop.utilization' as const; /** * Number of times the process has been context switched. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches'; +export const METRIC_PROCESS_CONTEXT_SWITCHES = 'process.context_switches' as const; /** * Total CPU seconds broken down by different states. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time'; +export const METRIC_PROCESS_CPU_TIME = 'process.cpu.time' as const; /** * Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization'; +export const METRIC_PROCESS_CPU_UTILIZATION = 'process.cpu.utilization' as const; /** * Disk bytes transferred. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_DISK_IO = 'process.disk.io'; +export const METRIC_PROCESS_DISK_IO = 'process.disk.io' as const; /** * The amount of physical memory in use. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage'; +export const METRIC_PROCESS_MEMORY_USAGE = 'process.memory.usage' as const; /** * The amount of committed virtual memory. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual'; +export const METRIC_PROCESS_MEMORY_VIRTUAL = 'process.memory.virtual' as const; /** * Network bytes transferred. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_NETWORK_IO = 'process.network.io'; +export const METRIC_PROCESS_NETWORK_IO = 'process.network.io' as const; /** * Number of file descriptors in use by the process. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count'; +export const METRIC_PROCESS_OPEN_FILE_DESCRIPTOR_COUNT = 'process.open_file_descriptor.count' as const; /** * Number of page faults the process has made. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults'; +export const METRIC_PROCESS_PAGING_FAULTS = 'process.paging.faults' as const; /** * Process threads count. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; +export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count' as const; /** * Measures the duration of outbound RPC. @@ -744,18 +744,18 @@ export const METRIC_PROCESS_THREAD_COUNT = 'process.thread.count'; * * **Streaming**: N/A. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration'; +export const METRIC_RPC_CLIENT_DURATION = 'rpc.client.duration' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; +export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size' as const; /** * Measures the number of messages received per RPC. @@ -764,18 +764,18 @@ export const METRIC_RPC_CLIENT_REQUEST_SIZE = 'rpc.client.request.size'; * * **Streaming**: This metric is required for server and client streaming RPCs * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc'; +export const METRIC_RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; +export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size' as const; /** * Measures the number of messages sent per RPC. @@ -784,9 +784,9 @@ export const METRIC_RPC_CLIENT_RESPONSE_SIZE = 'rpc.client.response.size'; * * **Streaming**: This metric is required for server and client streaming RPCs * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc'; +export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc' as const; /** * Measures the duration of inbound RPC. @@ -796,18 +796,18 @@ export const METRIC_RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc * * **Streaming**: N/A. * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration'; +export const METRIC_RPC_SERVER_DURATION = 'rpc.server.duration' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; +export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size' as const; /** * Measures the number of messages received per RPC. @@ -816,18 +816,18 @@ export const METRIC_RPC_SERVER_REQUEST_SIZE = 'rpc.server.request.size'; * * **Streaming** : This metric is required for server and client streaming RPCs * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc'; +export const METRIC_RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; +export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size' as const; /** * Measures the number of messages sent per RPC. @@ -836,51 +836,51 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size'; * * **Streaming**: This metric is required for server and client streaming RPCs * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc'; +export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc' as const; /** * Reports the current frequency of the CPU in Hz * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency'; +export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count'; +export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count' as const; /** * Reports the number of actual physical processor cores on the hardware * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count'; +export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count' as const; /** * Seconds each logical CPU spent on each mode * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time'; +export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization'; +export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; +export const METRIC_SYSTEM_DISK_IO = 'system.disk.io' as const; /** * Time disk spent activated @@ -892,16 +892,16 @@ export const METRIC_SYSTEM_DISK_IO = 'system.disk.io'; * ["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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time'; +export const METRIC_SYSTEM_DISK_IO_TIME = 'system.disk.io_time' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; +export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged' as const; /** * Sum of the time each operation took to complete @@ -911,30 +911,30 @@ export const METRIC_SYSTEM_DISK_MERGED = 'system.disk.merged'; * - 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time'; +export const METRIC_SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations'; +export const METRIC_SYSTEM_DISK_OPERATIONS = 'system.disk.operations' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage'; +export const METRIC_SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization'; +export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization' as const; /** * An estimate of how much memory is available for starting new applications, without causing swapping @@ -945,9 +945,9 @@ export const METRIC_SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilizati * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available'; +export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.available' as const; /** * Reports the memory used by the Linux kernel for managing caches of frequently used objects. @@ -956,18 +956,18 @@ export const METRIC_SYSTEM_LINUX_MEMORY_AVAILABLE = 'system.linux.memory.availab * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_LINUX_MEMORY_SLAB_USAGE = 'system.linux.memory.slab.usage'; +export const METRIC_SYSTEM_LINUX_MEMORY_SLAB_USAGE = 'system.linux.memory.slab.usage' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; +export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit' as const; /** * Shared memory used (mostly by tmpfs). @@ -975,9 +975,9 @@ export const METRIC_SYSTEM_MEMORY_LIMIT = 'system.memory.limit'; * @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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_SHARED = 'system.memory.shared'; +export const METRIC_SYSTEM_MEMORY_SHARED = 'system.memory.shared' as const; /** * Reports memory in use by state. @@ -985,23 +985,23 @@ export const METRIC_SYSTEM_MEMORY_SHARED = 'system.memory.shared'; * @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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage'; +export const METRIC_SYSTEM_MEMORY_USAGE = 'system.memory.usage' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization'; +export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; +export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections' as const; /** * Count of packets that are dropped or discarded even though there was no error @@ -1012,9 +1012,9 @@ export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections'; * - 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; +export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped' as const; /** * Count of network errors detected @@ -1025,108 +1025,108 @@ export const METRIC_SYSTEM_NETWORK_DROPPED = 'system.network.dropped'; * - 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors'; +export const METRIC_SYSTEM_NETWORK_ERRORS = 'system.network.errors' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io'; +export const METRIC_SYSTEM_NETWORK_IO = 'system.network.io' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets'; +export const METRIC_SYSTEM_NETWORK_PACKETS = 'system.network.packets' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults'; +export const METRIC_SYSTEM_PAGING_FAULTS = 'system.paging.faults' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations'; +export const METRIC_SYSTEM_PAGING_OPERATIONS = 'system.paging.operations' as const; /** * Unix swap or windows pagefile usage * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage'; +export const METRIC_SYSTEM_PAGING_USAGE = 'system.paging.usage' as const; /** * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization'; +export const METRIC_SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization' as const; /** * Total number of processes in each state * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count'; +export const METRIC_SYSTEM_PROCESS_COUNT = 'system.process.count' as const; /** * Total number of processes created over uptime of the host * - * @experimental This metric is experimental and is subject to change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created'; +export const METRIC_SYSTEM_PROCESS_CREATED = 'system.process.created' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_V8JS_GC_DURATION = 'v8js.gc.duration'; +export const METRIC_V8JS_GC_DURATION = 'v8js.gc.duration' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_V8JS_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.heap.space.available_size'; +export const METRIC_V8JS_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.heap.space.available_size' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_size'; +export const METRIC_V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_size' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit'; +export const METRIC_V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit' as const; /** * 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 change in minor releases of `@opentelemetry/semantic-conventions`. + * @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`. */ -export const METRIC_V8JS_MEMORY_HEAP_USED = 'v8js.memory.heap.used'; +export const METRIC_V8JS_MEMORY_HEAP_USED = 'v8js.memory.heap.used' as const; diff --git a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts index d3accf42a0..0d9983d20b 100644 --- a/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts +++ b/packages/opentelemetry-semantic-conventions/src/stable_metrics.ts @@ -23,35 +23,35 @@ * * @note Meter name: `Microsoft.AspNetCore.Diagnostics`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions'; +export const METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS = 'aspnetcore.diagnostics.exceptions' as const; /** * Number of requests that are currently active on the server that hold a rate limiting lease. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases'; +export const METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES = 'aspnetcore.rate_limiting.active_request_leases' as const; /** * Number of requests that are currently queued, waiting to acquire a rate limiting lease. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests'; +export const METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS = 'aspnetcore.rate_limiting.queued_requests' as const; /** * The time the request spent in a queue waiting to acquire a rate limiting lease. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue'; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE = 'aspnetcore.rate_limiting.request.time_in_queue' as const; /** * The duration of rate limiting lease held by requests on the server. * * @note Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration'; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcore.rate_limiting.request_lease.duration' as const; /** * Number of requests that tried to acquire a rate limiting lease. @@ -63,121 +63,121 @@ export const METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION = 'aspnetcor * * Meter name: `Microsoft.AspNetCore.RateLimiting`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests'; +export const METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS = 'aspnetcore.rate_limiting.requests' as const; /** * Number of requests that were attempted to be matched to an endpoint. * * @note Meter name: `Microsoft.AspNetCore.Routing`; Added in: ASP.NET Core 8.0 */ -export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts'; +export const METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS = 'aspnetcore.routing.match_attempts' as const; /** * Duration of HTTP client requests. */ -export const METRIC_HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration'; +export const METRIC_HTTP_CLIENT_REQUEST_DURATION = 'http.client.request.duration' as const; /** * Duration of HTTP server requests. */ -export const METRIC_HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration'; +export const METRIC_HTTP_SERVER_REQUEST_DURATION = 'http.server.request.duration' as const; /** * Number of classes currently loaded. */ -export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count'; +export const METRIC_JVM_CLASS_COUNT = 'jvm.class.count' as const; /** * Number of classes loaded since JVM start. */ -export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded'; +export const METRIC_JVM_CLASS_LOADED = 'jvm.class.loaded' as const; /** * Number of classes unloaded since JVM start. */ -export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded'; +export const METRIC_JVM_CLASS_UNLOADED = 'jvm.class.unloaded' as const; /** * Number of processors available to the Java virtual machine. */ -export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count'; +export const METRIC_JVM_CPU_COUNT = 'jvm.cpu.count' as const; /** * Recent CPU utilization for the process as reported by the JVM. * * @note The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike `system.cpu.utilization`). [Reference](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.management/com/sun/management/OperatingSystemMXBean.html#getProcessCpuLoad()). */ -export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization'; +export const METRIC_JVM_CPU_RECENT_UTILIZATION = 'jvm.cpu.recent_utilization' as const; /** * CPU time used by the process as reported by the JVM. */ -export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time'; +export const METRIC_JVM_CPU_TIME = 'jvm.cpu.time' as const; /** * Duration of JVM garbage collection actions. */ -export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration'; +export const METRIC_JVM_GC_DURATION = 'jvm.gc.duration' as const; /** * Measure of memory committed. */ -export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed'; +export const METRIC_JVM_MEMORY_COMMITTED = 'jvm.memory.committed' as const; /** * Measure of max obtainable memory. */ -export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit'; +export const METRIC_JVM_MEMORY_LIMIT = 'jvm.memory.limit' as const; /** * Measure of memory used. */ -export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used'; +export const METRIC_JVM_MEMORY_USED = 'jvm.memory.used' as const; /** * Measure of memory used, as measured after the most recent garbage collection event on this pool. */ -export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = 'jvm.memory.used_after_last_gc'; +export const METRIC_JVM_MEMORY_USED_AFTER_LAST_GC = 'jvm.memory.used_after_last_gc' as const; /** * Number of executing platform threads. */ -export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count'; +export const METRIC_JVM_THREAD_COUNT = 'jvm.thread.count' as const; /** * Number of connections that are currently active on the server. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections'; +export const METRIC_KESTREL_ACTIVE_CONNECTIONS = 'kestrel.active_connections' as const; /** * Number of TLS handshakes that are currently in progress on the server. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = 'kestrel.active_tls_handshakes'; +export const METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES = 'kestrel.active_tls_handshakes' as const; /** * The duration of connections on the server. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration'; +export const METRIC_KESTREL_CONNECTION_DURATION = 'kestrel.connection.duration' as const; /** * Number of connections that are currently queued and are waiting to start. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections'; +export const METRIC_KESTREL_QUEUED_CONNECTIONS = 'kestrel.queued_connections' as const; /** * Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; +export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests' as const; /** * Number of connections rejected by the server. @@ -185,14 +185,14 @@ export const METRIC_KESTREL_QUEUED_REQUESTS = 'kestrel.queued_requests'; * @note Connections are rejected when the currently active count exceeds the value configured with `MaxConcurrentConnections`. * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections'; +export const METRIC_KESTREL_REJECTED_CONNECTIONS = 'kestrel.rejected_connections' as const; /** * The duration of TLS handshakes on the server. * * @note Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration'; +export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.duration' as const; /** * Number of connections that are currently upgraded (WebSockets). . @@ -201,19 +201,19 @@ export const METRIC_KESTREL_TLS_HANDSHAKE_DURATION = 'kestrel.tls_handshake.dura * * Meter name: `Microsoft.AspNetCore.Server.Kestrel`; Added in: ASP.NET Core 8.0 */ -export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections'; +export const METRIC_KESTREL_UPGRADED_CONNECTIONS = 'kestrel.upgraded_connections' as const; /** * Number of connections that are currently active on the server. * * @note Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0 */ -export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_connections'; +export const METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS = 'signalr.server.active_connections' as const; /** * The duration of connections on the server. * * @note Meter name: `Microsoft.AspNetCore.Http.Connections`; Added in: ASP.NET Core 8.0 */ -export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connection.duration'; +export const METRIC_SIGNALR_SERVER_CONNECTION_DURATION = 'signalr.server.connection.duration' as const;