# Changelog ## v1.45.0 ### πŸ›‘ Breaking changes πŸ›‘ - `android`: Remove the `android` entity in favor of the `android` attribute group. Usage on resources stays the same. ([#4168](https://github.com/open-telemetry/semantic-conventions/issues/4168)) - `aws`: Remove the `aws.ecs` entity in favor of `aws.ecs.task`, `aws.ecs.cluster`, and `aws.ecs.container` entities identified by their required ARNs. ([#4170](https://github.com/open-telemetry/semantic-conventions/issues/4170)) - `aws`: Remove the AWS log entity while retaining its attributes for resource metadata. ([#4171](https://github.com/open-telemetry/semantic-conventions/issues/4171)) - `cloudfoundry`: Split `cloudfoundry.system` into `cloudfoundry.system` and `cloudfoundry.system.instance`, and define required identifying attributes for Cloud Foundry entities for Weaver schema v2 migration. ([#4191](https://github.com/open-telemetry/semantic-conventions/issues/4191)) - `db`: Rename `db.client.connection.max` to `db.client.connection.limit` ([#4073](https://github.com/open-telemetry/semantic-conventions/issues/4073)) - `faas`: This renames the faas attributes describing the invocation to be faas.invocation.* ([#4228](https://github.com/open-telemetry/semantic-conventions/issues/4228)) The faas.time attribute has been renamed to faas.invocation.start_time. The faas.invocation_id attribute has been renamed to faas.invocation.id to complement the time attribute. - `gcp`: Remove the `gcp.gce` and `gcp.cloud_run` entities in favor of `gcp.gce.instance` and `gcp.cloud_run.job.task`, and define required identifying attributes for GCP entities. ([#4173](https://github.com/open-telemetry/semantic-conventions/issues/4173)) - `rpc`: Replace `rpc.request.metadata.` and `rpc.response.metadata.` with `rpc.request.header.`, `rpc.response.header.`, and `rpc.response.trailer.`. ([#3924](https://github.com/open-telemetry/semantic-conventions/issues/3924), [#4072](https://github.com/open-telemetry/semantic-conventions/issues/4072)) gRPC and Connect RPC send response metadata both before and after the response payload and expose the two separately on their APIs. `rpc.response.metadata.` did not record which of the two a value came from, so this change splits it into `rpc.response.header.` for metadata sent before the response payload and `rpc.response.trailer.` for metadata sent after it. Dubbo Triple has the same split: instrumentations record Triple response headers as `rpc.response.header.` and Dubbo response attachments, which Triple sends as trailers, as `rpc.response.trailer.`. No RPC system sends metadata after the request payload, so there is no `rpc.request.trailer` attribute and the request side is a plain rename. The already-deprecated `rpc.grpc.*` and `rpc.connect_rpc.*` metadata attributes now point at the new attributes directly instead of at the deprecated `rpc.request.metadata.` and `rpc.response.metadata.`. - `rpc`: Rename `rpc.response.status_code` to `rpc.status_code`. ([#3870](https://github.com/open-telemetry/semantic-conventions/issues/3870)) - `system`: Rename `system.device` attribute to `system.device.name` ([#1474](https://github.com/open-telemetry/semantic-conventions/issues/1474)) This namespaces `system.device` to `system.device.name` to clarify the property being described. The old `system.device` has been deprecated. - `system`: `system.memory.state` now only defines the `used` and `available` states. ([#2538](https://github.com/open-telemetry/semantic-conventions/issues/2538)) The new `available` state corresponds to `MemAvailable` on Linux, so that `used` + `available` equals `system.memory.limit`. The `free`, `buffers` and `cached` states are deprecated. - `zos`: Remove z/OS entities and deprecate z/OS attributes in favor of `open-telemetry/semantic-conventions-mainframe`. ([#4174](https://github.com/open-telemetry/semantic-conventions/issues/4174), [#3808](https://github.com/open-telemetry/semantic-conventions/issues/3808)) ### 🚩 Deprecations 🚩 - `azure`: Move the `azure.resource.log` event to schema v2 and deprecate section describing its body fields. ([#4085](https://github.com/open-telemetry/semantic-conventions/issues/4085)) - `enduser`: Deprecate `enduser.id` and `enduser.pseudo.id` in favor of `open-telemetry/semantic-conventions-client-side`. ([#4238](https://github.com/open-telemetry/semantic-conventions/issues/4238)) - `messaging`: Rename `messaging.system` to `messaging.system.name` and align cloud-provider values with their attribute namespaces. ([#4250](https://github.com/open-telemetry/semantic-conventions/issues/4250)) - `messaging`: Move system-specific messaging attributes into system-specific namespaces. ([#4004](https://github.com/open-telemetry/semantic-conventions/issues/4004)) Rename `messaging.kafka.*`, `messaging.rabbitmq.*`, and `messaging.rocketmq.*` to `kafka.*`, `rabbitmq.*`, and `rocketmq.*`, respectively. Rename `messaging.gcp_pubsub.*` to `gcp.pubsub.*`, `messaging.servicebus.*` to `azure.servicebus.*`, and `messaging.eventhubs.*` to `azure.eventhubs.*`. The old attributes are deprecated. - `opentracing`: Deprecate OpenTracing compatibility document and `opentracing.ref_type` attribute. ([#4049](https://github.com/open-telemetry/semantic-conventions/issues/4049)) - `service`: Deprecate `service.peer.name` and `service.peer.namespace` in favor of `server.service.name`/`.namespace` and `client.service.name`/`.namespace`. ([#3472](https://github.com/open-telemetry/semantic-conventions/issues/3472)) ### πŸ’‘ Enhancements πŸ’‘ - `aws`: Define AWS Lambda, S3, and DynamoDB spans as refinements of the FaaS server and AWS SDK client spans. ([#3808](https://github.com/open-telemetry/semantic-conventions/issues/3808)) The AWS Lambda span now lists the attributes it inherits from the FaaS server span, including the required `faas.trigger`. - `client`: Add `client.service.name` and `client.service.namespace` attributes at development stability. ([#3472](https://github.com/open-telemetry/semantic-conventions/issues/3472)) - `client`: Add `client.as.number` and `client.as.organization` attributes for client network endpoints. ([#1663](https://github.com/open-telemetry/semantic-conventions/issues/1663), [#3740](https://github.com/open-telemetry/semantic-conventions/issues/3740)) - `client`: Add the `client.mac.address` attribute for client network endpoints. ([#2416](https://github.com/open-telemetry/semantic-conventions/issues/2416)) - `client`: Add the `client.prefix` attribute in CIDR notation for client network endpoints, with normalization by instrumentation or Collector receivers. ([#3731](https://github.com/open-telemetry/semantic-conventions/issues/3731)) - `container`: Define identifying attributes for container entities for Weaver schema v2 migration. ([#4164](https://github.com/open-telemetry/semantic-conventions/issues/4164)) - `cpu`: Clarify that `cpu.logical_number` is not the same as the number of cores. ([#2934](https://github.com/open-telemetry/semantic-conventions/issues/2934)) `cpu.logical_number` attribute is not the same as the number of cores on a system, for example, a CPU with hyper-threading may have 8 cores and 16 logical CPUs. The cpu.logical_number attribute brief has been updated to include this information. - `db`: Add trace context propagation for MongoDB through the comment command field ([#3926](https://github.com/open-telemetry/semantic-conventions/issues/3926)) - `db`: Add application context propagation to Oracle DB via piggybacking ([#3863](https://github.com/open-telemetry/semantic-conventions/issues/3863)) Also recommends driver-provided APIs for updating `V$SESSION.ACTION` instead of issuing SQL or PL/SQL directly. - `db`: Db spans have been switched to v2 syntax including spans now becoming refinements & adding db.system.name attribute. ([#3808](https://github.com/open-telemetry/semantic-conventions/issues/3808)) `azure.cosmosdb.client`, `db.cassandra.client`, `db.couchdb.client`, `db.elasticsearch.client`, `db.hbase.client`, `db.mariadb.client`, `db.mongodb.client`, `db.mysql.client`, `db.oracledb.client`, `db.postgresql.client`, `db.redis.client`, `db.sql_server.client`, `db.sql.client` span defintiions have been switched to a refinement of the `db.client` span. - `db`: Clarify that database client `server.address` identifies the configured database target, including multiple servers and service discovery. ([#4041](https://github.com/open-telemetry/semantic-conventions/issues/4041)) - `db`: Add `db.system.name`, `db.namespace`, `server.address`, and `server.port` attributes to database client connection pool metrics. ([#4097](https://github.com/open-telemetry/semantic-conventions/issues/4097)) - `deployment`: Define identifying attributes for deployment entities for Weaver schema v2 migration. ([#4167](https://github.com/open-telemetry/semantic-conventions/issues/4167)) - `destination`: Clarify that `destination.address` and `destination.port` describe the receiver of a network exchange and are recorded as the address available at the point of instrumentation. Instrumentation captures that address and does not try to resolve the address behind intermediaries such as proxies. They apply when there is no clear or known client/server role (for example low-level flow/packet telemetry or peer-to-peer protocols); use `client.*` / `server.*` for logical, de-proxied identity when the roles are known. ([#3947](https://github.com/open-telemetry/semantic-conventions/issues/3947), [#1721](https://github.com/open-telemetry/semantic-conventions/issues/1721)) - `destination`: Add `destination.as.number` and `destination.as.organization` attributes for destination network endpoints. ([#1663](https://github.com/open-telemetry/semantic-conventions/issues/1663), [#3740](https://github.com/open-telemetry/semantic-conventions/issues/3740)) - `destination`: Add the `destination.mac.address` attribute for destination network endpoints. ([#2416](https://github.com/open-telemetry/semantic-conventions/issues/2416)) - `destination`: Add the `destination.prefix` attribute in CIDR notation for destination network endpoints, with normalization by instrumentation or Collector receivers. ([#3731](https://github.com/open-telemetry/semantic-conventions/issues/3731)) - `docs`: Link the "Example Values" column directly to the full list of well-known values for enum-typed attributes. ([#1085](https://github.com/open-telemetry/semantic-conventions/issues/1085)) - `docs`: Stop rendering the redundant "well-known values" table on per-signal usage pages for enums whose only member is the generic fallback value, such as `error.type`. ([#2141](https://github.com/open-telemetry/semantic-conventions/issues/2141)) The attribute registry page still shows this table. - `general`: Support unbounded attributes with `annotations.value.unbounded_size: true`, add `*_ref` attribute conventions, and enforce both via Rego policies. ([#1428](https://github.com/open-telemetry/semantic-conventions/issues/1428), [#3773](https://github.com/open-telemetry/semantic-conventions/issues/3773), [#4102](https://github.com/open-telemetry/semantic-conventions/issues/4102)) - `host`: Define identifying attributes for host entities for Weaver schema v2 migration. ([#4165](https://github.com/open-telemetry/semantic-conventions/issues/4165)) - `host`: Define an explicit priority order for host.id sources, list the currently recognized cloud environments, and specify behavior around machine-id lookup and the user-configured fallback properties. ([#3897](https://github.com/open-telemetry/semantic-conventions/issues/3897)) - `host`: Define attribute roles for the `host` entity, make `host.id` identifying. ([#4086](https://github.com/open-telemetry/semantic-conventions/issues/4086)) - `http`: Add opt-in `http.request.body.content` and `http.response.body.content` attributes to capture HTTP request and response bodies ([#857](https://github.com/open-telemetry/semantic-conventions/issues/857)) These attributes may contain sensitive information. - `jvm`: Promote `jvm.file_descriptor.count` and `jvm.file_descriptor.limit` metrics to `release_candidate` ([#4019](https://github.com/open-telemetry/semantic-conventions/issues/4019)) The following metrics are being promoted to release_candidate: - jvm.file_descriptor.count - jvm.file_descriptor.limit These metrics are only available on Unix-like operating systems and are obtained from the `UnixOperatingSystemMXBean` JVM management interface. - `jvm`: Define development semantic conventions for JVM executor metrics, including executor identities fixed for the lifetime of each registration, completed-task and rejected-submission counting semantics, and user-configured names for unnamed executors. ([#3956](https://github.com/open-telemetry/semantic-conventions/issues/3956)) - `k8s`: Add Pod level CPU limit and request metrics. ([#4064](https://github.com/open-telemetry/semantic-conventions/issues/4064)) Introduces `k8s.pod.cpu.limit.desired`, `k8s.pod.cpu.limit.current`, `k8s.pod.cpu.limit.utilization`, `k8s.pod.cpu.request.desired`, `k8s.pod.cpu.request.current` and `k8s.pod.cpu.request.utilization`, aligning the `k8s.pod` namespace with the equivalent `k8s.container` metrics and with the K8s Pod level resources feature. - `k8s`: Promote `container.uptime`, `k8s.pod.uptime` and `k8s.node.uptime` metrics to `release_candidate` ([#3945](https://github.com/open-telemetry/semantic-conventions/issues/3945)) The following metrics are being promoted to release_candidate: - container.uptime - k8s.pod.uptime - k8s.node.uptime Notes referencing the Kubelet stats summary API fields (`ContainerStats.StartTime`, `PodStats.StartTime`, `NodeStats.StartTime`) have been added to each metric. - `k8s`: Promote container.cpu.usage, k8s.pod.cpu.usage and k8s.node.cpu.usage metrics to release candidate ([#4145](https://github.com/open-telemetry/semantic-conventions/issues/4145)) - `k8s`: Add Pod and container memory limit and request utilization metrics. ([#4133](https://github.com/open-telemetry/semantic-conventions/issues/4133)) Introduces `k8s.pod.memory.limit.utilization`, `k8s.pod.memory.request.utilization`, `k8s.container.memory.limit.utilization` and `k8s.container.memory.request.utilization`, aligning memory with the equivalent CPU utilization metrics. The utilization metrics use the memory working set as the numerator. - `k8s`: Add Pod level memory limit and request metrics. ([#4133](https://github.com/open-telemetry/semantic-conventions/issues/4133)) Introduces `k8s.pod.memory.limit.desired`, `k8s.pod.memory.limit.current`, `k8s.pod.memory.request.desired` and `k8s.pod.memory.request.current`, aligning Pod level memory with the equivalent Pod level CPU metrics. - `k8s`: Promote `k8s.pod.filesystem.*`, `k8s.node.filesystem.*`, and `container.filesystem.*` metrics to `release_candidate`. Container filesystem metrics (`container.filesystem.available`, `container.filesystem.capacity`, `container.filesystem.usage`) also gain documentation notes mapping them to their cadvisor equivalents (`container_fs_limit_bytes`, `container_fs_usage_bytes`), enabling use cases where metrics are retrieved directly from cadvisor rather than through the Kubelet stats summary API. ([#4053](https://github.com/open-telemetry/semantic-conventions/issues/4053)) - `k8s`: Clarify the Linux working set calculation for Pod, Node, and container memory working set metrics and document the related kubelet eviction behavior. ([#4133](https://github.com/open-telemetry/semantic-conventions/issues/4133)) - `k8s`: Promote `k8s.pod.network.io`, `k8s.pod.network.errors`, `k8s.node.network.io`, and `k8s.node.network.errors` metrics to `release_candidate` ([#3946](https://github.com/open-telemetry/semantic-conventions/issues/3946)) - `k8s`: Promote paging fault metrics (`k8s.node.paging.faults`, `k8s.pod.paging.faults`, `container.paging.faults`) to RC ([#4036](https://github.com/open-telemetry/semantic-conventions/issues/4036)) - `k8s`: Add `k8s.statefulset.pod.available` metric, reporting the number of available replica pods (ready for at least `minReadySeconds`) targeted by a StatefulSet, aligning with the existing `.pod.available` metrics on `k8s.deployment`, `k8s.replicaset`, and `k8s.replicationcontroller`. ([#4028](https://github.com/open-telemetry/semantic-conventions/issues/4028)) - `k8s`: Add `k8s.node.pid.usage` and `k8s.node.pid.limit` metrics to track Kubernetes node PID limit and usage. ([#3864](https://github.com/open-telemetry/semantic-conventions/issues/3864)) - `log`: Remove `docs/general/logs.md` and attribute groups covered there (`log.record`, `attributes.log`, and `attributes.log.file`) in favor of attributes defined in the registry. ([#4083](https://github.com/open-telemetry/semantic-conventions/issues/4083)) - `network`: Remove the network connection and carrier attributes section from `docs/general/attributes.md`. The `network.carrier.*` and `network.connection.*` attributes remain available in the [attribute registry](/docs/registry/attributes/network.md). ([#4048](https://github.com/open-telemetry/semantic-conventions/issues/4048)) - `network`: Add guidance for choosing between `client.*` / `server.*`, `source.*` / `destination.*`, and `network.local.*` / `network.peer.*` in a dedicated Network document (`docs/network/choosing-network-attributes.md`). ([#3947](https://github.com/open-telemetry/semantic-conventions/issues/3947), [#1721](https://github.com/open-telemetry/semantic-conventions/issues/1721)) - `network`: Add public `network.peer` and `network.local` attribute groups, replacing the internal `network-core` group. ([#4084](https://github.com/open-telemetry/semantic-conventions/issues/4084)) - `network`: Add `network.local.as.number`, `network.local.as.organization`, `network.peer.as.number`, and `network.peer.as.organization` attributes for local and peer network endpoints. ([#1663](https://github.com/open-telemetry/semantic-conventions/issues/1663), [#3740](https://github.com/open-telemetry/semantic-conventions/issues/3740)) - `network`: Add `network.local.mac.address` and `network.peer.mac.address` attributes for local and peer network endpoints. ([#2416](https://github.com/open-telemetry/semantic-conventions/issues/2416)) - `network`: Add `network.local.prefix` and `network.peer.prefix` attributes in CIDR notation for local and peer network endpoints, with normalization by instrumentation or Collector receivers. ([#3731](https://github.com/open-telemetry/semantic-conventions/issues/3731)) - `os`: Define identifying attributes for os entities for Weaver schema v2 migration. ([#4165](https://github.com/open-telemetry/semantic-conventions/issues/4165)) - `otel`: Mark `error.type` as conditionally required on `otel.sdk.processor.{span,log}.processed` and `otel.sdk.exporter.{span,log,metric_data_point}.exported`, matching `otel.sdk.exporter.operation.duration`. ([#3954](https://github.com/open-telemetry/semantic-conventions/issues/3954)) - `otel`: Define `otel.scope.name` as required and identifying and keep `otel.scope.version` recommended and descriptive for Weaver schema v2 migration. ([#4193](https://github.com/open-telemetry/semantic-conventions/issues/4193)) - `otel`: Clarify that `otel.sdk.log.created` counts log records at intake on an enabled `Logger`, before per-record filtering. ([#3506](https://github.com/open-telemetry/semantic-conventions/issues/3506)) - `profile`: Extend the list of known frame types with a value for CUDA ([#4079](https://github.com/open-telemetry/semantic-conventions/issues/4079)) - `rpc`: Update RPC call-duration histogram bucket recommendations and align gRPC boundaries with gRPC's existing OpenTelemetry metrics. ([#316](https://github.com/open-telemetry/semantic-conventions/issues/316)) General RPC (including Dubbo) uses 18 boundaries from 0.0001 to 60 seconds with `1, 2.5, 5` subdivisions through 10 seconds; gRPC uses the 41 latency boundaries defined in gRPC A66, including zero. - `rpc`: Mark `rpc.request.header.`, `rpc.response.header.`, and `rpc.response.trailer.` as release candidate. ([#4276](https://github.com/open-telemetry/semantic-conventions/issues/4276)) - `rpc`: Clarify that RPC instrumentations may use additional context or provide configuration options to customize which status or error codes are considered errors. ([#3704](https://github.com/open-telemetry/semantic-conventions/issues/3704)) - `rpc`: Clarify how to populate `server.address` and `server.port` on RPC server spans. Change requirement level of `server.address` to `opt_in` on `rpc.server.call.duration` metric and to `recommended` on server spans. ([#3784](https://github.com/open-telemetry/semantic-conventions/issues/3784)) - `rpc`: Add Apache Dubbo-specific metric refinements for `rpc.server.call.duration` and `rpc.client.call.duration`, and define Dubbo spans as refinements of the generic RPC spans with shared attribute definitions. The `rpc.method` requirement level differs between client (required) and server (conditionally required), matching the corresponding Dubbo span conventions. ([#4120](https://github.com/open-telemetry/semantic-conventions/issues/4120)) Require client `server.port` only when `server.address` is set and a port is specified in the direct provider target URL, excluding registry discovery targets. Dubbo spans now explicitly include `rpc.system.name`. - `rpc`: Add gRPC-specific metric refinements for `rpc.server.call.duration` and `rpc.client.call.duration`, rendered on the gRPC page. The `rpc.method` requirement level differs between client (required) and server (conditionally required), matching the corresponding gRPC span conventions. Convert gRPC spans to refinements and share gRPC attribute definitions across spans and metrics. ([#3868](https://github.com/open-telemetry/semantic-conventions/issues/3868)) - `rpc`: Mark RPC spans and call duration metrics as stable, including the gRPC and Apache Dubbo conventions. ([#3477](https://github.com/open-telemetry/semantic-conventions/issues/3477)) - `rpc`: Define Connect RPC and JSON-RPC spans as refinements of the generic RPC client and server spans. ([#3808](https://github.com/open-telemetry/semantic-conventions/issues/3808)) JSON-RPC spans now list the opt-in `rpc.request.header.`, `rpc.response.header.`, and `rpc.response.trailer.` attributes inherited from the generic RPC spans. - `server`: Add `server.service.name` and `server.service.namespace` attributes at development stability. ([#3472](https://github.com/open-telemetry/semantic-conventions/issues/3472)) - `server`: Add `server.as.number` and `server.as.organization` attributes for server network endpoints. ([#1663](https://github.com/open-telemetry/semantic-conventions/issues/1663), [#3740](https://github.com/open-telemetry/semantic-conventions/issues/3740)) - `server`: Add the `server.mac.address` attribute for server network endpoints. ([#2416](https://github.com/open-telemetry/semantic-conventions/issues/2416)) - `server`: Add the `server.prefix` attribute in CIDR notation for server network endpoints, with normalization by instrumentation or Collector receivers. ([#3731](https://github.com/open-telemetry/semantic-conventions/issues/3731)) - `service`: Add `service.instance.cost_center.id` and `service.instance.cost_center.name` attributes to the service registry. ([#3754](https://github.com/open-telemetry/semantic-conventions/issues/3754)) - `source`: Clarify that `source.address` and `source.port` describe the sender of a network exchange and are recorded as the address available at the point of instrumentation. Instrumentation captures that address and does not try to resolve the address behind intermediaries such as proxies. They apply when there is no clear or known client/server role (for example low-level flow/packet telemetry or peer-to-peer protocols); use `client.*` / `server.*` for logical, de-proxied identity when the roles are known. ([#3947](https://github.com/open-telemetry/semantic-conventions/issues/3947), [#1721](https://github.com/open-telemetry/semantic-conventions/issues/1721)) - `source`: Add `source.as.number` and `source.as.organization` attributes for source network endpoints. ([#1663](https://github.com/open-telemetry/semantic-conventions/issues/1663), [#3740](https://github.com/open-telemetry/semantic-conventions/issues/3740)) - `source`: Add the `source.mac.address` attribute for source network endpoints. ([#2416](https://github.com/open-telemetry/semantic-conventions/issues/2416)) - `source`: Add the `source.prefix` attribute in CIDR notation for source network endpoints, with normalization by instrumentation or Collector receivers. ([#3731](https://github.com/open-telemetry/semantic-conventions/issues/3731)) - `system`: Promote attributes used by hostmetrics system metrics to RC ([#1804](https://github.com/open-telemetry/semantic-conventions/issues/1804)) - `v8js`: Add members for the current V8 heap space set to `v8js.heap.space.name` and note that `map_space` is only reported by Node.js <= 19, since V8 merged the map space into the old space. ([#4057](https://github.com/open-telemetry/semantic-conventions/issues/4057)) - `webengine`: Define `webengine.name` as identifying and keep `webengine.version` recommended and descriptive for Weaver schema v2 migration. ([#4194](https://github.com/open-telemetry/semantic-conventions/issues/4194)) ### 🧰 Bug fixes 🧰 - `db`: Correct PostgreSQL namespace examples and handle pipe escaping in Markdown templates. ([#4222](https://github.com/open-telemetry/semantic-conventions/issues/4222)) - `docs`: Fix broken Markdown tables when an attribute, metric, or enum-member brief spans multiple lines in YAML. ([#3073](https://github.com/open-telemetry/semantic-conventions/issues/3073)) - `k8s`: Fix description of `k8s.container.cpu.request.utilization` to allow values above 1.0. ([#4126](https://github.com/open-telemetry/semantic-conventions/issues/4126)) The previous description incorrectly stated the value range is [0.0,1.0]. Since a CPU request is a scheduling reservation and not a hard cap, values above 1.0 are possible and indicate the container is using more CPU than requested. - `url`: Restore `AWSAccessKeyId` and `Signature` to the default list of sensitive query parameter keys. ([#3989](https://github.com/open-telemetry/semantic-conventions/issues/3989)) ## v1.44.0 ### πŸ›‘ Breaking changes πŸ›‘ - `browser`: Reworked the `browser.web_vital` event - moved `name`/`value`/`delta`/`id` from the event body to `browser.web_vital.*` attributes, and added new attributes per current instrumentation. ([#3401](https://github.com/open-telemetry/semantic-conventions/issues/3401)) - `k8s`: Rename `k8s.node.memory.paging.faults`, `k8s.pod.memory.paging.faults` and `container.memory.paging.faults` metrics by dropping the `memory` namespace segment. ([#3805](https://github.com/open-telemetry/semantic-conventions/issues/3805)) Renamed metrics: - k8s.pod.memory.paging.faults -> k8s.pod.paging.faults - k8s.node.memory.paging.faults -> k8s.node.paging.faults - container.memory.paging.faults -> container.paging.faults - `k8s`: Change {container, k8s.pod, k8s.node}.memory.usage to updowncounter ([#3889](https://github.com/open-telemetry/semantic-conventions/issues/3889)) ### πŸ’‘ Enhancements πŸ’‘ - `cloud`: Add Scaleway Cloud to cloud.provider and scaleway_cloud_compute to cloud.platform ([#2773](https://github.com/open-telemetry/semantic-conventions/issues/2773)) - `db`: Clarify `db.query.parameter.` semantics around sensitive data handling. ([#3831](https://github.com/open-telemetry/semantic-conventions/issues/3831)) - `faas`: The general FaaS attributes are now defined on the FaaS spans that use them, so each span documents its full attribute set. ([#3905](https://github.com/open-telemetry/semantic-conventions/issues/3905)) - `host`: Update the recommendations to use full path to commands when collecting `host.id` attribute value. ([#3896](https://github.com/open-telemetry/semantic-conventions/issues/3896)) - `hw`: Per-component `hw.errors` and `hw.status` metrics now document the full set of component-specific attributes (e.g. `hw.model`, `hw.vendor`) alongside the generic ones. ([#3808](https://github.com/open-telemetry/semantic-conventions/issues/3808)) - `k8s`: Add `k8s.node.filesystem.inode.count` and `k8s.node.filesystem.inode.free` metrics to track Kubernetes node root filesystem inode capacity and usage. ([#3858](https://github.com/open-telemetry/semantic-conventions/issues/3858)) - `k8s`: Promote a selection of container and K8s memory metrics to release_candidate ([#3882](https://github.com/open-telemetry/semantic-conventions/issues/3882)) The following metrics are being promoted to release_candidate: - container.memory.usage - container.memory.available - container.memory.rss - container.memory.working_set - k8s.pod.memory.usage - k8s.pod.memory.available - k8s.pod.memory.rss - k8s.pod.memory.working_set - k8s.node.memory.usage - k8s.node.memory.available - k8s.node.memory.rss - k8s.node.memory.working_set - `k8s`: Clarify how `cpu.usage` is calculated for K8s and container entities. ([#2418](https://github.com/open-telemetry/semantic-conventions/issues/2418)) CPU usage is measured in cores/CPUs and is calculated based on the formula: `usageCores = (cpuTimeEnd - cpuTimeStart) / elapsedSeconds` This PR improves the description making it aligned with the corresponding system and process metrics. - `messaging`: Add `messaging.kafka.cluster.id` attribute identifying the Kafka cluster a client is connected to, and reference it from Kafka spans. ([#32](https://github.com/open-telemetry/semantic-conventions/issues/32)) - `messaging`: Define a span per messaging operation type (create, send, receive, process, settle) and refine them for each messaging system. ([#3904](https://github.com/open-telemetry/semantic-conventions/issues/3904)) - `network`: Promote `network.interface.name` attribute to `release_candidate` ([#3953](https://github.com/open-telemetry/semantic-conventions/issues/3953)) - `otel`: Clarify that `otel.sdk.processor.span.processed` and `otel.sdk.processor.log.processed` are recorded when the processor passes items to the exporter, not when an item is accepted into a queue or when the export operation completes, and that the export outcome does not affect these metrics. ([#3902](https://github.com/open-telemetry/semantic-conventions/issues/3902)) - `process`: Add process.disk.operations, process.memory.utilization, and process.signals_pending metrics ([#3937](https://github.com/open-telemetry/semantic-conventions/issues/3937)) Process namespace has been made release candidate. During migration of process metrics to release candidate in hostmetrics receiver, it was discovered that the following process metrics were not present in process semantic conventions: process.disk.operations, process.memory.utilization, and process.signals_pending. - `server, client, source, destination`: The descriptions of the `server`, `client`, `source`, and `destination` attribute groups are now documented in [General attributes](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/attributes.md) instead of the attribute registry pages. ([#3935](https://github.com/open-telemetry/semantic-conventions/issues/3935)) - `system`: Add `system.process.limit` metric representing the maximum number of concurrent tasks/threads allowed by the operating system. ([#3859](https://github.com/open-telemetry/semantic-conventions/issues/3859)) ### 🧰 Bug fixes 🧰 - `otel`: Clarify that `already_shutdown` on `otel.sdk.processor.span.processed` and `otel.sdk.processor.log.processed` is a value-only requirement for the `error.type` attribute: whether and when a processor drops records because it has already been shut down is governed by the SDK specification, not by this metric. ([#3957](https://github.com/open-telemetry/semantic-conventions/issues/3957)) - `rpc`: Fix wording in `server.address` note to say "reverse DNS lookup" instead of "reverse proxy lookup". ([#3871](https://github.com/open-telemetry/semantic-conventions/issues/3871)) - `rpc`: Remove tracing-only `rpc.method_original` guidance from the shared `rpc.method` definition. ([#3872](https://github.com/open-telemetry/semantic-conventions/issues/3872)) ## v1.43.0 ### 🚩 Deprecations 🚩 - `docs`: Add a generic signal requirement level document and deprecate the metric-specific one. ([#3810](https://github.com/open-telemetry/semantic-conventions/issues/3810), [#3278](https://github.com/open-telemetry/semantic-conventions/issues/3278)) ### πŸ’‘ Enhancements πŸ’‘ - `azure`: Add `azure.resource_group.name` attribute for the name of the Azure resource group the resource belongs to and document that `cloud.account.id` maps to the Azure subscription ID. ([#3697](https://github.com/open-telemetry/semantic-conventions/issues/3697), [#3708](https://github.com/open-telemetry/semantic-conventions/issues/3708)) - `cicd`: Promote CI/CD span, metric, log, attribute, and entity conventions to `release_candidate` ([#3674](https://github.com/open-telemetry/semantic-conventions/issues/3674), [#3675](https://github.com/open-telemetry/semantic-conventions/issues/3675), [#3677](https://github.com/open-telemetry/semantic-conventions/issues/3677)) - `db`: Clarify `db.operation.batch.size` semantics for database batch operations, including multi-operand operations, parameterized operation batch APIs, and empty batches. ([#3811](https://github.com/open-telemetry/semantic-conventions/issues/3811)) - `db`: Promote Oracle Database connection attributes to release candidate so the RC `db.oracledb.client` span does not reference lower-stability attributes. ([#3753](https://github.com/open-telemetry/semantic-conventions/issues/3753)) - `disk, network, system`: Promote disk.io.direction, network.io.direction, and system.paging.fault.type attributes to RC ([#3796](https://github.com/open-telemetry/semantic-conventions/issues/3796)) The `network.io.direction` brief was updated based on review feedback to clarify that it describes traffic at the observing interface boundary and is not intended to represent logical connection or network flow direction. - `otel`: Clarify that the `otel.span.sampling_result` attribute of `otel.sdk.span.live` can only take values `RECORD_ONLY` and `RECORD_AND_SAMPLE`, not `DROP`, since the metric does not count non-recording spans. ([#3782](https://github.com/open-telemetry/semantic-conventions/issues/3782)) - `process`: Promote process metrics and entity to release_candidate ([#3041](https://github.com/open-telemetry/semantic-conventions/issues/3041)) - `rpc`: Clarify how to populate `server.address` and `server.port` for Dubbo consumers using service discovery. ([#3408](https://github.com/open-telemetry/semantic-conventions/issues/3408)) - `schema`: Add registry manifest. ([#3824](https://github.com/open-telemetry/semantic-conventions/issues/3824)) - `telemetry`: Add `kotlin` as a value for the `telemetry.sdk.language` attribute. ([#3552](https://github.com/open-telemetry/semantic-conventions/issues/3552)) - `vcs`: Promote VCS attribute, entity, and metric conventions to `release_candidate` ([#3676](https://github.com/open-telemetry/semantic-conventions/issues/3676)) ### 🧰 Bug fixes 🧰 - `db`: Align Oracle Database `db.query.text` guidance with other SQL database conventions. ([#3790](https://github.com/open-telemetry/semantic-conventions/issues/3790)) Parameterized query text is now recommended to be collected by default, while query parameter values remain opt-in. ## v1.42.0 ### πŸ›‘ Breaking changes πŸ›‘ - `gen-ai`: Move Generative AI semantic conventions to a dedicated repository. ([#3696](https://github.com/open-telemetry/semantic-conventions/issues/3696)) All `gen_ai.*` attributes, metrics, events, and spans previously defined under `model/gen-ai/`, `model/openai/`, and `model/mcp/` (and documented under `docs/gen-ai/`) are deprecated in this repository and have moved to the [OpenTelemetry GenAI semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-genai). Instrumentations following the new repository's conventions should refer to it for the corresponding `schema_url` to use. - `http`: Change `network.peer.address` attribute requirement level from Recommended to Opt-In on the `http.client.open_connections` and `http.client.connection.duration` metrics. ([#3279](https://github.com/open-telemetry/semantic-conventions/issues/3279)) `network.peer.address` is typically high-cardinality (one time series per remote IP) and causes unbounded growth of metric streams over the lifetime of the process when exported with cumulative temporality (always the case for `http.client.open_connections` since it is an UpDownCounter, and possible for `http.client.connection.duration` when the histogram is configured for cumulative). Operators that need this attribute can still opt-in. - `v8js`: Rename `v8js.memory.heap.limit` to `v8js.memory.heap.space.size` (per-space pre-allocated size from `v8.getHeapSpaceStatistics()`), and add a new `v8js.memory.heap.limit` UpDownCounter representing the absolute heap size limit from `v8.getHeapStatistics().heap_size_limit` (controlled by `--max-old-space-size` or V8 defaults). ([#3476](https://github.com/open-telemetry/semantic-conventions/issues/3476)) ### πŸš€ New components πŸš€ - `browser`: Introduce `browser.document.url.full` attribute and `browser.document` entity to capture the absolute URL of the current browser document. ([#174](https://github.com/open-telemetry/semantic-conventions/issues/174)) The `browser.document` entity is introduced as a separate entity from `browser` because the browser runtime attributes (brands, platform, language) are immutable for the SDK lifetime, while the document URL changes on every navigation. The new attribute follows RFC3986 and has `Recommended` requirement level at `Development` stability. ### πŸ’‘ Enhancements πŸ’‘ - `app`: Defines a basic crash of an end-user facing app that requires a minimal amount of information. ([#3448](https://github.com/open-telemetry/semantic-conventions/issues/3448)) - `cpu`: Promote `cpu.mode` attribute and its enum members to `release_candidate` ([#3694](https://github.com/open-telemetry/semantic-conventions/issues/3694)) - `docs`: Add guidance for defining events in semantic conventions. ([#1855](https://github.com/open-telemetry/semantic-conventions/issues/1855)) - `docs`: Don't allow signal definition to reference attributes with lower stability than the signal itself (unless they are opt-in). ([#3752](https://github.com/open-telemetry/semantic-conventions/issues/3752)) - `gcp`: Add GCE instance labels as resource attributes. ([#2617](https://github.com/open-telemetry/semantic-conventions/issues/2617)) - `k8s`: Promote `k8s.pod.cpu.time`, `k8s.node.cpu.time` and `container.cpu.time` metrics to `release_candidate` ([#3001](https://github.com/open-telemetry/semantic-conventions/issues/3001)) - `k8s`: Add metric `k8s.container.ephemeral_storage.usage` to track ephemeral storage usage by containers. ([#3681](https://github.com/open-telemetry/semantic-conventions/issues/3681)) This metric includes an attribute `k8s.container.ephemeral_storage.fs_type` to distinguish between `rootfs` and `logs` usage. - `k8s`: Promote a selection of k8s and container registry attributes to `stable` ([#3382](https://github.com/open-telemetry/semantic-conventions/issues/3382)) - `otel`: Clarify semantics of SDK exporter metrics when the exporter performs retries: an export operation is considered finished only after the final attempt has concluded, items are counted exactly once per operation, and `otel.sdk.exporter.operation.duration` records one observation per operation covering all attempts and backoff. Also drop a spurious `error.type` note from the `*.inflight` metrics, which do not carry an `error.type` attribute. ([#3770](https://github.com/open-telemetry/semantic-conventions/issues/3770)) - `otel`: Reserve `already_shutdown` as a value for `error.type` on the `otel.sdk.processor.span.processed` and `otel.sdk.processor.log.processed` metrics, used when a processor drops items because it has already been shut down. ([#3710](https://github.com/open-telemetry/semantic-conventions/issues/3710)) - `process`: Promote process attributes to release_candidate ([#3041](https://github.com/open-telemetry/semantic-conventions/issues/3041)) - `profile`: Extend the list of known frame types with a value for LuaJIT ([#3707](https://github.com/open-telemetry/semantic-conventions/issues/3707)) - `service`: Mark `service.criticality` attribute as alpha. ([#2986](https://github.com/open-telemetry/semantic-conventions/issues/2986)) The `service.criticality` attribute and its allowed values (`critical`, `high`, `medium`, `low`) are now in alpha status. - `system, file`: Add support for filesystem lock counts ([#3611](https://github.com/open-telemetry/semantic-conventions/issues/3611)) - `v8js`: Update `v8js.gc.duration` metric to match bucket boundaries used by Node.js instrumentation. ([#3761](https://github.com/open-telemetry/semantic-conventions/issues/3761)) ### 🧰 Bug fixes 🧰 - `browser`: remove the condition to include `user_agent.original` attribute in browser resource ([#3738](https://github.com/open-telemetry/semantic-conventions/issues/3738)) - `cicd`: Consistent spelling of "CI/CD" throughout the CICD registry. ([#3634](https://github.com/open-telemetry/semantic-conventions/issues/3634)) - `container`: Remove kernel from cpu.mode enum and clarify container cpu states ([#3700](https://github.com/open-telemetry/semantic-conventions/issues/3700)) - `k8s`: Exclude `k8s.container.cpu.limit_utilization` and `k8s.container.cpu.request_utilization` metrics from code generation ([#3711](https://github.com/open-telemetry/semantic-conventions/issues/3711), [#3705](https://github.com/open-telemetry/semantic-conventions/issues/3705)) ## v1.41.0 ### πŸ›‘ Breaking changes πŸ›‘ - `gen-ai`: Execute tool call requires the name of the tool used for span naming. ([#3595](https://github.com/open-telemetry/semantic-conventions/issues/3595)) - `graphql`: Change `graphql.document` attribute requirement level from Recommended to Opt-In due to sensitive data, cardinality, and size concerns ([#2985](https://github.com/open-telemetry/semantic-conventions/issues/2985)) The `graphql.document` attribute contains user-inputted data that is often sensitive, potentially unbounded in length, and high-cardinality. Moving from Recommended to Opt-In ensures operators make an informed decision before enabling this attribute. Also updated the note to use SHOULD for stronger normative language regarding sanitization. - `process`: Move process.executable to its own entity. ([#3535](https://github.com/open-telemetry/semantic-conventions/issues/3535)) - Move process.executable to its own entity - Identifying attribute: - process.executable.build_id.htlhash - We need to update its description in another PR. - Descriptive attributes: - process.executable.build_id.go - process.executable.build_id.gnu - process.executable.path - process.executable.name - `process`: Update requirement levels for process attributes to ensure consistent identification and description across platforms. ([#864](https://github.com/open-telemetry/semantic-conventions/issues/864)) - Changed `process.pid` and `process.creation.time` to be `Required` (Identity). - Changed process descriptive attributes to be `Optional`. - `rpc`: Remove `client.address` and `client.port` attributes from RPC server spans. ([#3487](https://github.com/open-telemetry/semantic-conventions/issues/3487), [#3488](https://github.com/open-telemetry/semantic-conventions/issues/3488)) ### πŸ’‘ Enhancements πŸ’‘ - `Go`: Add opt-in go.memory.gc.pause.duration histogram metric. ([#3353](https://github.com/open-telemetry/semantic-conventions/issues/3353)) - `cicd`: Clarify that `cicd.pipeline.task.run.id` must be unique within a pipeline run. ([#3566](https://github.com/open-telemetry/semantic-conventions/issues/3566)) This id may be used for correlating results of a task across several pipeline runs. - `configuration`: Defined declarative configuration for semantic convention version selection. ([#3424](https://github.com/open-telemetry/semantic-conventions/issues/3424)) - `configuration`: Clarify that the `experimental` flag should not be used to gate incomplete implementations of stable convention versions. ([#3505](https://github.com/open-telemetry/semantic-conventions/issues/3505)) - `db`: Include `db.system.name` value changes in database migration guide. ([#3557](https://github.com/open-telemetry/semantic-conventions/issues/3557)) - `db`: Clarify `db.response.returned_rows` when captured on spans. ([#3480](https://github.com/open-telemetry/semantic-conventions/issues/3480)) - `db`: Clarify database client span duration. ([#3479](https://github.com/open-telemetry/semantic-conventions/issues/3479)) - `deployment`: Stabilize `deployment.environment.name` attribute. ([#3339](https://github.com/open-telemetry/semantic-conventions/issues/3339)) The `deployment.environment.name` attribute is promoted from development to stable. - `deployment`: Add enum values for `deployment.environment.name` attribute. ([#2910](https://github.com/open-telemetry/semantic-conventions/issues/2910)) The `deployment.environment.name` attribute now has well-known enum values: Production, Staging, Test, and Development. - `exception`: Improve exception event definition: add guidance on how to set event name and severity. ([#3311](https://github.com/open-telemetry/semantic-conventions/issues/3311)) - `exceptions`: Add guidance that `error.type` and `exception.type` may unwrap uninformative wrapper types. ([#3588](https://github.com/open-telemetry/semantic-conventions/issues/3588), [#3623](https://github.com/open-telemetry/semantic-conventions/issues/3623)) - `faas`: Define domain-specific exception event for FaaS invocations ([#3451](https://github.com/open-telemetry/semantic-conventions/issues/3451)) This domain-specific exception event provides a structured way to record exceptions that occur during FaaS function invocations: - `faas.invocation.exception` for exceptions during function execution - `gen-ai`: Enhance the definition of `gen_ai.tool.definitions` attribute. ([#2721](https://github.com/open-telemetry/semantic-conventions/issues/2721), [#1835](https://github.com/open-telemetry/semantic-conventions/issues/1835)) The schema of `gen_ai.tool.definitions` attribute is now enhanced to: - Add JSON schema of `gen_ai.tool.definitions` attribute. - Document the behavior of capturing tool definitions. - Capture the tool definitions in a simplified format if the content capturing is disabled. - `gen-ai`: Add `gen_ai.usage.reasoning.output_tokens` attribute for reasoning tokens ([#3194](https://github.com/open-telemetry/semantic-conventions/issues/3194)) - Add `gen_ai.usage.reasoning.output_tokens` for tokens used for reasoning - `gen-ai`: Define `gen_ai.client.operation.exception` event for recording exceptions during Generative AI client operations ([#3436](https://github.com/open-telemetry/semantic-conventions/issues/3436)) This domain-specific exception event provides a structured way to record exceptions that occur during Generative AI client operations (API errors, rate limiting, timeouts). - `gen-ai`: Add invoke workflow operation name support to the gen-ai semantic conventions. ([#2912](https://github.com/open-telemetry/semantic-conventions/issues/2912)) - `gen-ai`: Add `gen_ai.client.operation.time_to_first_chunk` and `gen_ai.client.operation.time_per_output_chunk` metrics. ([#3113](https://github.com/open-telemetry/semantic-conventions/issues/3113)) - Add `gen_ai.client.operation.time_to_first_chunk` metric to track time from client request to first chunk of response. - Add `gen_ai.client.operation.time_per_output_chunk` metric to track time per output chunk of response. - `gen-ai`: Split `invoke_agent` into separate client and internal spans, and split attributes from inference hierarchy. ([#2632](https://github.com/open-telemetry/semantic-conventions/issues/2632)) The `invoke_agent` client span now extends a dedicated `attributes.gen_ai.invoke_agent.client` attribute group instead of `attributes.gen_ai.inference.client`. This removes `gen_ai.response.id`, `gen_ai.response.model`, and `gen_ai.response.finish_reasons` and adds `gen_ai.agent.version`. A new `invoke_agent` internal span is added for in-process agents (e.g., LangChain, CrewAI), which does not include `server.address`, `server.port`, or token usage attributes. - `gen-ai`: Added `gen_ai.response.model` attribute to embeddings spans. ([#3499](https://github.com/open-telemetry/semantic-conventions/issues/3499)) - `gen_ai`: Add streaming attributes for GenAI inference spans ([#3598](https://github.com/open-telemetry/semantic-conventions/issues/3598)) Adds `gen_ai.request.stream` (boolean) and `gen_ai.response.time_to_first_chunk` (double) attributes for streaming inference operations. - `go`: Add the go.cpu.time opt-in metric, and add go.cpu.detailed_state and go.memory.detailed_type attributes to CPU and memory metrics respectively with wildcard values. ([#3354](https://github.com/open-telemetry/semantic-conventions/issues/3354)) - `go`: Add the opt-in go.memory.gc.cycles metric. ([#3353](https://github.com/open-telemetry/semantic-conventions/issues/3353)) - `http`: Clarify that intentional client-side cancellation of HTTP requests SHOULD NOT be treated as an error. ([#3495](https://github.com/open-telemetry/semantic-conventions/issues/3495)) - `k8s`: Add PersistentVolume and PersistentVolumeClaim entities with phase and storage metrics. ([#3375](https://github.com/open-telemetry/semantic-conventions/issues/3375)) Entities: - `k8s.persistentvolume` - `k8s.persistentvolumeclaim` Metrics: - `k8s.persistentvolume.status.phase`, `k8s.persistentvolume.storage.capacity` - `k8s.persistentvolumeclaim.status.phase`, `k8s.persistentvolumeclaim.storage.request`, `k8s.persistentvolumeclaim.storage.capacity` - `k8s`: Update CPU metrics for container CPU limit and request to handle resize. ([#3558](https://github.com/open-telemetry/semantic-conventions/issues/3558)) Introduced new metrics for container CPU limit and request that account for KEP 1287 allowing for in-place updates of container resources. - `k8s`: Promote a selection of k8s/container attributes to release_candidate ([#3491](https://github.com/open-telemetry/semantic-conventions/issues/3491), [#3380](https://github.com/open-telemetry/semantic-conventions/issues/3380)) - `k8s`: Split container memory limit/request into desired/current to handle in-place resize ([#3558](https://github.com/open-telemetry/semantic-conventions/issues/3558)) Introduced new metrics for container memory limit and request that account for KEP 1287 allowing for in-place updates of container resources. - `k8s`: Add `k8s.node.system_container.*` metrics to capture node-level system daemon metrics. ([#3531](https://github.com/open-telemetry/semantic-conventions/issues/3531)) - `messaging`: Define domain-specific exception events for messaging ([#3435](https://github.com/open-telemetry/semantic-conventions/issues/3435)) These domain-specific exception events provide a structured way to record exceptions that occur during messaging operations: - `messaging.create.exception` for messaging create operations - `messaging.send.exception` for messaging send operations - `messaging.receive.exception` for messaging receive operations - `messaging.settle.exception` for messaging settle operations - `messaging.process.exception` for messaging process operations - `otel`: Stabilize the `otel.event.name` attribute. ([#2913](https://github.com/open-telemetry/semantic-conventions/issues/2913)) - `process`: Added specific requirement levels to all attribute refs within process metrics. ([#864](https://github.com/open-telemetry/semantic-conventions/issues/864)) - `process`: Update process.executable.build_id.htlhash description to be generic ([#3563](https://github.com/open-telemetry/semantic-conventions/issues/3563)) - `system`: Add Linux HugePages system memory metrics. ([#3362](https://github.com/open-telemetry/semantic-conventions/issues/3362)) - `telemetry`: Promote `telemetry.distro.name` and `telemetry.distro.version` attributes to 'stable'. ([#3650](https://github.com/open-telemetry/semantic-conventions/issues/3650)) The `telemetry.distro.name` and `telemetry.distro.version` attributes and the `telemetry.distro` entity are promoted from development to stable. - `v8js`: Add `v8js.resource.active` gauge for tracking resources that keep the event loop active. ([#3445](https://github.com/open-telemetry/semantic-conventions/issues/3445)) ## v1.40.0 ### πŸ›‘ Breaking changes πŸ›‘ - `db`: Oracle's `db.namespace` updated to represent only the database’s unique identifier. Information previously bundled into `db.namespace` β€”including PDB name, instance name, and service name β€” has been moved to dedicated attributes: `oracle.db.pdb`, `oracle.db.instance.name`, and `oracle.db.service`. Introduced a new `oracle.db.domain` attribute to capture the database domain (DB_DOMAIN). ([#2147](https://github.com/open-telemetry/semantic-conventions/issues/2147)) - `error, feature-flags`: Deprecate `error.message` in favor of using domain-specific codes such as `feature_flag.error.message`. ([#3307](https://github.com/open-telemetry/semantic-conventions/issues/3307), [#3308](https://github.com/open-telemetry/semantic-conventions/issues/3308)) - `rpc`: Remove `network.protocol.name`, `network.protocol.version`, and `network.transport` attributes from RPC spans and metrics. ([#3349](https://github.com/open-telemetry/semantic-conventions/issues/3349), [#3350](https://github.com/open-telemetry/semantic-conventions/issues/3350)) - `system`: Rename `system.memory.shared` to `system.memory.linux.shared` ([#3260](https://github.com/open-telemetry/semantic-conventions/issues/3260)) The `system.memory.shared` metric has been renamed to `system.memory.linux.shared` to align with other Linux-specific memory metrics (`system.memory.linux.available` and `system.memory.linux.slab.usage`). This metric reports shared memory used, primarily by tmpfs, and is only available on Linux systems. ### 🚩 Deprecations 🚩 - `exceptions`: Update exception recording guidelines to not use span events. ([#3256](https://github.com/open-telemetry/semantic-conventions/issues/3256)) - `rpc`: Deprecate experimental `rpc.server.request.size`, `rpc.server.response.size`, `rpc.client.request.size`, and `rpc.client.response.size` metrics due to ambiguous definitions and inconsistent implementation. ([#3267](https://github.com/open-telemetry/semantic-conventions/issues/3267)) - `rpc`: Deprecate the `rpc.message` event and its attributes ([#3266](https://github.com/open-telemetry/semantic-conventions/issues/3266), [#3283](https://github.com/open-telemetry/semantic-conventions/issues/3283)) Per-message events within RPC streaming calls are of limited utility in their current form. They are recorded as span events (also being deprecated). There is no direct replacement at this time. ### πŸ’‘ Enhancements πŸ’‘ - `cloud`: Add `oracle_cloud.realm` vendor-specific attribute for Oracle Cloud Infrastructure (OCI) realm identifier. ([#3121](https://github.com/open-telemetry/semantic-conventions/issues/3121)) An Oracle Cloud realm is a logical collection of cloud regions that are isolated from each other, used for compliance and data residency requirements. - `db`: Mark the Oracle Database client span as Release Candidate. ([#2989](https://github.com/open-telemetry/semantic-conventions/issues/2989)) - `db`: Modify area to oracledb from oracle ([#3316](https://github.com/open-telemetry/semantic-conventions/issues/3316)) - `db`: Clarified `db.query.summary` behavior for batch operations. ([#3287](https://github.com/open-telemetry/semantic-conventions/issues/3287)) - `db, rpc`: Define domain-specific exception events for database and RPC ([#3426](https://github.com/open-telemetry/semantic-conventions/issues/3426)) These domain-specific exception events provide a structured way to record exceptions that occur during operations in each area: - `db.client.operation.exception` for database client operations - `rpc.client.call.exception` and `rpc.server.call.exception` for RPC - `docs`: Add how-to guide for defining spans ([#3240](https://github.com/open-telemetry/semantic-conventions/issues/3240)) - `event`: Allow event body to represent a display message. ([#3343](https://github.com/open-telemetry/semantic-conventions/issues/3343)) - `exception`: Indicate that `exception.message` attribute may contain sensitive information. ([#2967](https://github.com/open-telemetry/semantic-conventions/issues/2967), [#3310](https://github.com/open-telemetry/semantic-conventions/issues/3310)) - `exceptions`: Introduce `OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN` environment variable for transitioning exception recording from span events to logs. ([#3363](https://github.com/open-telemetry/semantic-conventions/issues/3363)) - `gcp`: Add GCP GCE Instance Group Manager attributes ([#905](https://github.com/open-telemetry/semantic-conventions/issues/905)) - `gen-ai`: Add retrieval span support to the gen-ai semantic conventions. ([#2907](https://github.com/open-telemetry/semantic-conventions/issues/2907)) - `gen-ai`: Enhance how tool calls are captured to extend support for server side tools. ([#2585](https://github.com/open-telemetry/semantic-conventions/issues/2585)) - `gen-ai`: Add `gen_ai.agent.version` attribute to capture the version of an agent. ([#3428](https://github.com/open-telemetry/semantic-conventions/issues/3428)) - `gen-ai`: Add cache token attributes and provider-specific normalization guidance for GenAI usage metrics ([#1959](https://github.com/open-telemetry/semantic-conventions/issues/1959)) - Add `gen_ai.usage.cache_read.input_tokens` attribute for tokens served from provider cache - Add `gen_ai.usage.cache_creation.input_tokens` attribute for tokens written to provider cache - Add provider-specific token handling notes to OpenAI span - Add Anthropic span with computation guidance for `gen_ai.usage.input_tokens` - `gen_ai`: Added `sampling-relevant` flag to relevant GenAI span attributes to indicate their importance for sampling decisions. ([#2994](https://github.com/open-telemetry/semantic-conventions/issues/2994)) - `http`: Defined declarative configuration for overriding known HTTP methods. ([#3394](https://github.com/open-telemetry/semantic-conventions/issues/3394)) - `http`: Define declarative configuration for sensitive query parameters. ([#3403](https://github.com/open-telemetry/semantic-conventions/issues/3403)) - `http`: Define `http.client.request.exception` and `http.server.request.exception` events for recording exceptions during HTTP operations ([#3414](https://github.com/open-telemetry/semantic-conventions/issues/3414)) These domain-specific exception events provide a structured way to record exceptions that occur during HTTP client requests (network failures, timeouts) and HTTP server request processing (application errors, internal failures). - `jvm`: Add `jvm.file_descriptor.limit` as an in-development metric to track the maximum number of open file descriptors as reported by the JVM. ([#3430](https://github.com/open-telemetry/semantic-conventions/issues/3430)) - `k8s`: Promote a selection of k8s and container attributes to beta ([#3120](https://github.com/open-telemetry/semantic-conventions/issues/3120)) - `k8s`: Add k8s.service entity with endpoint and load balancer ingress metrics ([#3294](https://github.com/open-telemetry/semantic-conventions/issues/3294)) New metrics: - `k8s.service.endpoint.count`: Number of endpoints by condition, address type, and zone - `k8s.service.load_balancer.ingress.count`: Number of load balancer ingress points New attributes: - `k8s.service.endpoint.condition`, `k8s.service.endpoint.address_type`, `k8s.service.endpoint.zone` - `k8s.service.traffic_distribution`, `k8s.service.publish_not_ready_addresses` New entity: - `entity.k8s.service`: k8s service entity with identifying and descriptive attributes - `openai`: Add `openai.api.type` attribute to distinguish between different OpenAI API types for similar operations. ([#3337](https://github.com/open-telemetry/semantic-conventions/issues/3337)) - `pprof`: add `pprof.scope.default_sample_type` and `pprof.scope.sample_type_order` attributes to support lossless conversion of pprof profiles. ([#3078](https://github.com/open-telemetry/semantic-conventions/issues/3078)) - `rpc`: Mark core RPC (plus gRPC and Apache Dubbo) semantic conventions as release candidate. ([#3446](https://github.com/open-telemetry/semantic-conventions/issues/3446)) - `rpc`: Add Metrics sections to JSON-RPC, gRPC, and Connect RPC system-specific conventions ([#3319](https://github.com/open-telemetry/semantic-conventions/issues/3319), [#3320](https://github.com/open-telemetry/semantic-conventions/issues/3320)) - `rpc`: Change `rpc.server.call.duration` and `rpc.client.call.duration` metrics from recommended to required ([#3284](https://github.com/open-telemetry/semantic-conventions/issues/3284)) - `rpc`: Add RPC migration guide documenting changes from v1.37.0 to latest version. ([#3204](https://github.com/open-telemetry/semantic-conventions/issues/3204)) - `rpc`: Clarify that `network.peer.address` should indicate the last contacted address in case of retries. ([#3392](https://github.com/open-telemetry/semantic-conventions/issues/3392), [#3427](https://github.com/open-telemetry/semantic-conventions/issues/3427)) - `rpc`: Add semantic conventions for Apache Dubbo RPC system. ([#3291](https://github.com/open-telemetry/semantic-conventions/issues/3291)) - `rpc`: Clarify how to populate `server.address` and `server.port` when using client-side load balancing or service discovery. ([#3258](https://github.com/open-telemetry/semantic-conventions/issues/3258), [#3317](https://github.com/open-telemetry/semantic-conventions/issues/3317)) - `service`: Add `service.criticality` attribute to classify services based on operational importance ([#2986](https://github.com/open-telemetry/semantic-conventions/issues/2986)) This attribute enables observability platforms to implement criticality-aware tracing, monitoring, and sampling strategies. Supports four levels: critical, high, medium, and low. - `service`: Stabilize `service.instance.id` attribute. ([#1519](https://github.com/open-telemetry/semantic-conventions/issues/1519)) The `service.instance.id` attribute and entity are promoted from development to stable. - `service`: Stabilize `service.namespace` attribute. ([#3254](https://github.com/open-telemetry/semantic-conventions/issues/3254)) The `service.namespace` attribute is promoted from development to stable. ## v1.39.0 ### πŸ›‘ Breaking changes πŸ›‘ - `rpc`: Rename `rpc.client|server.duration` to `rpc.client|server.call.duration`, change RPC duration metrics from milliseconds to seconds, and clarify metric and span duration semantics for streaming. ([#383](https://github.com/open-telemetry/semantic-conventions/issues/383), [#2961](https://github.com/open-telemetry/semantic-conventions/issues/2961)) - `rpc`: Rename - `rpc.grpc.request.metadata` and `rpc.connect_rpc.request.metadata` to `rpc.request.metadata` - `rpc.grpc.response.metadata` and `rpc.connect_rpc.response.metadata` to `rpc.response.metadata` ([#2869](https://github.com/open-telemetry/semantic-conventions/issues/2869), [#3169](https://github.com/open-telemetry/semantic-conventions/issues/3169)) - `rpc`: Merge `rpc.method` and `rpc.service` into fully-qualified `rpc.method` attribute. Clarify how to handle possible high cardinality of `rpc.method` in edge cases. Clarify `rpc.method` usage in span names. ([#2863](https://github.com/open-telemetry/semantic-conventions/issues/2863), [#3196](https://github.com/open-telemetry/semantic-conventions/issues/3196), [#3223](https://github.com/open-telemetry/semantic-conventions/issues/3223)) - `rpc`: Deprecate `rpc.grpc.status_code`, `rpc.connect_rpc.error_code` and `rpc.jsonrpc.error_code` attributes in favor of the more general `rpc.response.status_code` attribute. ([#1504](https://github.com/open-telemetry/semantic-conventions/issues/1504), [#2920](https://github.com/open-telemetry/semantic-conventions/issues/2920)) - `rpc`: Align RPC conventions with naming guidelines. Renames: - `rpc.system` to `rpc.system.name`. The values are also updated to match naming guidelines: `connect_rpc` is renamed to `connectrpc`; `apache_dubbo` is renamed to `dubbo`; `java_rmi`, `dotnet_wcf`, and `onc_rpc` are not included in the new enum. - `rpc.jsonrpc.request_id` to `jsonrpc.request.id`. - `rpc.jsonrpc.version` to `jsonrpc.protocol.version`. ([#2703](https://github.com/open-telemetry/semantic-conventions/issues/2703), [#2921](https://github.com/open-telemetry/semantic-conventions/issues/2921)) - `system, linux`: Rename `*.linux.memory` metrics and attributes to `*.memory.linux` ([#1661](https://github.com/open-telemetry/semantic-conventions/issues/1661)) ### 🚩 Deprecations 🚩 - `peer`: The `peer.service` attribute has been deprecated in favor of `service.peer.name`. ([#2945](https://github.com/open-telemetry/semantic-conventions/issues/2945)) The `peer.service` attribute has been renamed to `service.peer.name` to align with the `service.{name|namespace}` resource attributes. - `process`: Introduce `process.unix.file_descriptor.count` and `process.windows.handle.count` metrics. Deprecate `process.open_file_descriptor.count` ([#3188](https://github.com/open-telemetry/semantic-conventions/issues/3188)) ### πŸ’‘ Enhancements πŸ’‘ - `cloud`: Add `gcp.agent_engine` as a value for `cloud.platform` ([#2957](https://github.com/open-telemetry/semantic-conventions/issues/2957)) - `cloud`: Add Oracle Cloud Infrastructure to SemConv Areas list ([#3190](https://github.com/open-telemetry/semantic-conventions/issues/3190)) - `cloud`: Add Hetzner Cloud to cloud.provider and cloud.platform ([#2758](https://github.com/open-telemetry/semantic-conventions/issues/2758)) - `cloud`: Add Linode (Akamai Cloud) to cloud.provider and linode_cloud_compute to cloud.platform ([#2756](https://github.com/open-telemetry/semantic-conventions/issues/2756)) - `cloud`: Add Vultr Cloud to cloud.provider and cloud.platform ([#2757](https://github.com/open-telemetry/semantic-conventions/issues/2757)) - `k8s`: Add missing entity associations to k8s and container metrics ([#3213](https://github.com/open-telemetry/semantic-conventions/issues/3213)) - `k8s`: Adds `k8s.pod.ip`, `k8s.pod.hostname` and `k8s.pod.start_time` attributes ([#3171](https://github.com/open-telemetry/semantic-conventions/issues/3171)) - `k8s`: Define missing roles for entity attributes ([#3135](https://github.com/open-telemetry/semantic-conventions/issues/3135)) - `k8s`: Promote a selection of k8s and container attributes to alpha ([#3120](https://github.com/open-telemetry/semantic-conventions/issues/3120)) The selected attributes being promoted are used by the Collector Contrib components that are targeting stability. See [opentelemetry-collector-contrib/#44130](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/44130) - `k8s`: Define roles for k8s entities' attributes ([#3017](https://github.com/open-telemetry/semantic-conventions/issues/3017)) - `mcp`: Add MCP semantic conventions ([#2043](https://github.com/open-telemetry/semantic-conventions/issues/2043), [#2083](https://github.com/open-telemetry/semantic-conventions/issues/2083)) - `otel`: Add `otel.event.name` attribute for use by non-OTLP exporters and logging libraries. ([#2913](https://github.com/open-telemetry/semantic-conventions/issues/2913)) The `otel.event.name` attribute can be used by: - Non-OTLP exporters to emit the `EventName` - Applications using existing logging libraries to add event name information that can be used to set the `EventName` field by Collector or SDK components - `pprof`: add various pprof attributes to support lossless conversion from and to OTel profiles. ([#3078](https://github.com/open-telemetry/semantic-conventions/issues/3078)) - `rpc`: Use consistent set of attributes between RPC spans and metrics ([#2922](https://github.com/open-telemetry/semantic-conventions/issues/2922), [#3197](https://github.com/open-telemetry/semantic-conventions/issues/3197)) - Use `rpc.response.status_code` on common metrics and spans. - Make `error.type` note consistent between metrics and spans. - Promote notes on `rpc.method` and `rpc.service` to attribute definition. - `rpc`: Mark `rpc.system.name`, `rpc.method`, `rpc.service`, `server.address`, and `server.port` as sampling relevant attributes in RPC spans. ([#3202](https://github.com/open-telemetry/semantic-conventions/issues/3202)) - `service`: Splits service into three entities: namespace, service and instance. ([#2880](https://github.com/open-telemetry/semantic-conventions/issues/2880)) - `service`: `service.peer.name` and `service.peer.namespace` have been introduced as the replacement for `peer.service` to describe remote services that use both a name and a namespace. ([#2945](https://github.com/open-telemetry/semantic-conventions/issues/2945)) The `peer.service` attribute could not fully represent the `service.{name|namespace}` resource attributes; `service.peer.name` and `service.peer.namespace` provide a more complete representation. ### 🧰 Bug fixes 🧰 - `rpc`: Demote `server.address` from required to conditionally required (when available) on RPC spans and metrics. Update `server.port` requirement level accordingly. ([#3236](https://github.com/open-telemetry/semantic-conventions/issues/3236)) ## v1.38.0 ### πŸ›‘ Breaking changes πŸ›‘ - `k8s`: Rename `k8s.node.allocatable.*` metrics to `k8s.node.*.allocatable` ([#2973](https://github.com/open-telemetry/semantic-conventions/issues/2973)) Renamed metrics: - k8s.node.allocatable.cpu -> k8s.node.cpu.allocatable - k8s.node.allocatable.memory -> k8s.node.memory.allocatable - k8s.node.allocatable.ephemeral_storage -> k8s.node.ephemeral_storage.allocatable - `k8s`: Fix plural-named updowncounter k8s metrics ([#2301](https://github.com/open-telemetry/semantic-conventions/issues/2301)) Renamed metrics: - k8s.node.allocatable.pods -> k8s.node.pod.allocatable - k8s.daemonset.current_scheduled_nodes -> k8s.daemonset.node.current_scheduled - k8s.daemonset.desired_scheduled_nodes -> k8s.daemonset.node.desired_scheduled - k8s.daemonset.misscheduled_nodes -> k8s.daemonset.node.misscheduled - k8s.daemonset.ready_nodes -> k8s.daemonset.node.ready - k8s.job.active_pods -> k8s.job.pod.active - k8s.job.failed_pods -> k8s.job.pod.failed - k8s.job.successful_pods -> k8s.job.pod.successful - k8s.job.desired_successful_pods -> k8s.job.pod.desired_successful - k8s.job.max_parallel_pods -> k8s.job.pod.max_parallel - k8s.cronjob.active_jobs -> k8s.cronjob.job.active - k8s.deployment.desired_pods -> k8s.deployment.pod.desired - k8s.deployment.available_pods -> k8s.deployment.pod.available - k8s.replicaset.desired_pods -> k8s.replicaset.pod.desired - k8s.replicaset.available_pods -> k8s.replicaset.pod.available - k8s.replicationcontroller.desired_pods -> k8s.replicationcontroller.pod.desired - k8s.replicationcontroller.available_pods -> k8s.replicationcontroller.pod.available - k8s.statefulset.desired_pods -> k8s.statefulset.pod.desired - k8s.statefulset.ready_pods -> k8s.statefulset.pod.ready - k8s.statefulset.current_pods -> k8s.statefulset.pod.current - k8s.statefulset.updated_pods -> k8s.statefulset.pod.updated - k8s.hpa.desired_pods -> k8s.hpa.pod.desired - k8s.hpa.current_pods -> k8s.hpa.pod.current - k8s.hpa.max_pods -> k8s.hpa.pod.max - k8s.hpa.min_pods -> k8s.hpa.pod.min - `process`: Renames process.context_switch_type to process.context_switch.type ([#1501](https://github.com/open-telemetry/semantic-conventions/issues/1501)) - `rpc`: Attributes for rpc metric are now explicitly associated with metrics. ([#2311](https://github.com/open-telemetry/semantic-conventions/issues/2311)) The breaking change is due to the removal of network.type from the metrics. - `system`: Mark `cpu.logical_number` attribute as opt-in for `system.cpu.time` and `system.cpu.utilization` metrics ([#2932](https://github.com/open-telemetry/semantic-conventions/issues/2932)) - `system, process`: Rename `system.process.status` to `process.state` ([#1803](https://github.com/open-telemetry/semantic-conventions/issues/1803)) - `system, process`: Replace `system.paging.type` and `process.paging.fault_type` with `system.paging.fault.type` ([#1803](https://github.com/open-telemetry/semantic-conventions/issues/1803)) - `v8js`: Rename metric `v8js.heap.space.available_size` to `v8js.memory.heap.space.available_size`. Rename metric `v8js.heap.space.physical_size` to `v8js.memory.heap.space.physical_size`. ([#2856](https://github.com/open-telemetry/semantic-conventions/issues/2856)) ### 🚩 Deprecations 🚩 - `rpc`: Deprecate rpc.*.requests_per_rpc and rpc.*.responses_per_rpc metrics. ([#2784](https://github.com/open-telemetry/semantic-conventions/issues/2784)) - `system`: Fix deprecation of system.cpu.logical_number ([#2700](https://github.com/open-telemetry/semantic-conventions/issues/2700)) ### πŸ’‘ Enhancements πŸ’‘ - `app`: Add `app.screen.name` attribute to capture application screen names. ([#2743](https://github.com/open-telemetry/semantic-conventions/issues/2743)) - `cicd`: Add guidance on per pipeline run metrics ([#1184](https://github.com/open-telemetry/semantic-conventions/issues/1184)) - `cicd`: Improve the description of `cicd.worker` entities. ([#1191](https://github.com/open-telemetry/semantic-conventions/issues/1191)) - `cicd`: Add guidance on CI/CD logs ([#1714](https://github.com/open-telemetry/semantic-conventions/issues/1714)) - `db`: Add database context propagation via `V$SESSION.ACTION` for SQL Server ([#2610](https://github.com/open-telemetry/semantic-conventions/issues/2610)) - `gcp`: Document `gcp.apphub_destination.*` attributes ([#2649](https://github.com/open-telemetry/semantic-conventions/issues/2649)) - `gen-ai`: Add participant's name on generative AI chat message. ([#2943](https://github.com/open-telemetry/semantic-conventions/issues/2943)) - `gen-ai`: Add tool definitions and execution details for Single and Multi-Agent systems - Add 'gen_ai.tool.definitions' attribute to 'invoke_agent' span - Add 'gen_ai.tool.definitions' attribute to 'attributes.gen_ai.inference.client' attribute group. - Add 'gen_ai.tool.call.arguments' and 'gen_ai.tool.call.result' attributes to 'execute_tool' span. ([#2444](https://github.com/open-telemetry/semantic-conventions/issues/2444), [#591](https://github.com/open-telemetry/semantic-conventions/issues/591)) - `gen-ai`: Introducing `Evaluation Event` in GenAI Semantic Conventions to represent and capture evaluation results. ([#2563](https://github.com/open-telemetry/semantic-conventions/issues/2563)) - `gen-ai`: `invoke_agent` spans now include span kind (CLIENT/INTERNAL) guidance and clarify when `server.*` attributes should be set. ([#2837](https://github.com/open-telemetry/semantic-conventions/issues/2837)) - `gen-ai`: Add reasoning content message parts for chat messages. ([#1965](https://github.com/open-telemetry/semantic-conventions/issues/1965)) - `gen_ai`: Add `gen_ai.embeddings.dimension.count` attribute to capture the dimension count of embeddings. ([#2361](https://github.com/open-telemetry/semantic-conventions/issues/2361)) The `gen_ai.embeddings.dimension.count` is added to the `span.gen_ai.embeddings.client` span and `gen_ai.client.operation.duration` metric. - `gen_ai`: Add multimodal `uri`, `file`, and `blob` parts to GenAI JSON Schemas ([#1556](https://github.com/open-telemetry/semantic-conventions/issues/1556)) - `gen_ai, db, enduser, messaging`: Fix deprecation reasons - use uncategorized when attribute type is changing. Fix missing/invalid deprecations on (deprecated) `gen_ai.system` attribute. ([#2688](https://github.com/open-telemetry/semantic-conventions/issues/2688)) - `http`: Adds in the HTTP QUERY method. ([#2642](https://github.com/open-telemetry/semantic-conventions/issues/2642)) - `http`: Clarify value for `http.route` attribute may contain static and dynamic segments. ([#2616](https://github.com/open-telemetry/semantic-conventions/issues/2616)) - `k8s`: Add container CPU limit/request utilization metrics. ([#1489](https://github.com/open-telemetry/semantic-conventions/issues/1489)) - `k8s`: Add k8s.pod.status.phase and k8s.pod.status.reason metrics ([#2075](https://github.com/open-telemetry/semantic-conventions/issues/2075)) - `k8s`: Add memory metrics for k8s.node, k8s.pod and container resources ([#2776](https://github.com/open-telemetry/semantic-conventions/issues/2776)) - `nfs`: Add `nfs.*` metrics, along with supporting `rpc.onc.*`/`rpc.nfs.*` attributes. ([#39978](https://github.com/open-telemetry/semantic-conventions/issues/39978)) - `openshift`: Adds metrics for openshift's clusterquota ([#2078](https://github.com/open-telemetry/semantic-conventions/issues/2078)) - `pprof`: Introduce pprof attributes. ([#2522](https://github.com/open-telemetry/semantic-conventions/issues/2522)) - `pprof`: add attribute pprof.profile.comment. ([#2861](https://github.com/open-telemetry/semantic-conventions/issues/2861)) - `process`: Increases the amount of attributes which are used to describe the running process. ([#2655](https://github.com/open-telemetry/semantic-conventions/issues/2655)) - `rpc`: JSON-RPC now has its own span definition. ([#2228](https://github.com/open-telemetry/semantic-conventions/issues/2228)) - `rpc`: Adds in `network.protocol.name` and `network.protocol.version` to all RPC spans and metrics. ([#2719](https://github.com/open-telemetry/semantic-conventions/issues/2719)) - `rpc`: Adds in explicit span definitions for Connect RPC. ([#2720](https://github.com/open-telemetry/semantic-conventions/issues/2720)) - `rpc`: Remove `network.type` attribute from RPC spans and metrics ([#2851](https://github.com/open-telemetry/semantic-conventions/issues/2851)) The `network.type` attribute is no longer included in RPC semantic conventions. It remains available in the attribute registry for opt-in usage when needed. - `rpc`: Adds in explicitly defined grpc spans. ([#2720](https://github.com/open-telemetry/semantic-conventions/issues/2720)) - `rpc`: Update the RPC stability warning and guidance for instrumentation authors ([#2718](https://github.com/open-telemetry/semantic-conventions/issues/2718)) - `rpc`: The rpc spans now contains the `error.type` attribute to report the type of error that occurred. ([#2812](https://github.com/open-telemetry/semantic-conventions/issues/2812)) ### 🧰 Bug fixes 🧰 - `dns`: Simplify `dns.question.name` note to remove incorrect custom encoding requirements ([#2143](https://github.com/open-telemetry/semantic-conventions/issues/2143)) The note now simply states that the domain name should be captured as it appears in the DNS query without any additional normalization, removing the previous incorrect custom encoding requirements. - `nfs`: nfs/metrics.yaml: nfs.server.net.count: add missing network.transport attribute. Implementation not merged, so not a breaking change. ([#39978](https://github.com/open-telemetry/semantic-conventions/issues/39978)) - `system`: The `system.network.dropped` and `system.network.packets` metrics have been added as deprecated rather than being removed. ([#2828](https://github.com/open-telemetry/semantic-conventions/issues/2828)) ## v1.37.0 ### πŸ›‘ Breaking changes πŸ›‘ - `gen-ai`: Revamp how GenAI chat history is recorded. Instead of per-message events, we now have `gen_ai.system_instructions`, `gen_ai.input.messages`, and `gen_ai.output.messages` attributes that can appear on GenAI spans or the new `gen_ai.client.inference.operation.details` event. New attributes are not recorded by default when content capturing is disabled. Deprecations: - `gen_ai.system.message` event - use `gen_ai.system_instructions` or `gen_ai.input.messages` attributes instead. - `gen_ai.user.message`, `gen_ai.assistant.message`, `gen_ai.tool.message` events (use `gen_ai.input.messages` attribute instead) - `gen_ai.choice` event (use `gen_ai.output.messages` attribute instead) ([#2010](https://github.com/open-telemetry/semantic-conventions/issues/2010), [#2179](https://github.com/open-telemetry/semantic-conventions/issues/2179), [#1913](https://github.com/open-telemetry/semantic-conventions/issues/1913), [#1621](https://github.com/open-telemetry/semantic-conventions/issues/1621), [#1912](https://github.com/open-telemetry/semantic-conventions/issues/1912)) - `container`: The container runtime can now also have the version and description provided ([#2342](https://github.com/open-telemetry/semantic-conventions/issues/2342)) - `gen-ai`: Follow system-specific naming policy in GenAI semantic conventions. - Rename `gen_ai.system` to `gen_ai.provider.name` - Remove `gen_ai` prefix from `gen_ai.openai.*` attributes. - Rename `az.ai.*` attribute names to `azure.ai.*`. ([#2046](https://github.com/open-telemetry/semantic-conventions/issues/2046)) - `system`: Rename system.network.dropped to system.network.packet.dropped and system.network.packets to system.network.packet.count ([#1700](https://github.com/open-telemetry/semantic-conventions/issues/1700)) ### πŸ’‘ Enhancements πŸ’‘ - `all`: Add `metric_value_type` code-generation annotation to all metric definitions. ([#2444](https://github.com/open-telemetry/semantic-conventions/issues/2444), [#591](https://github.com/open-telemetry/semantic-conventions/issues/591)) - `http`: Clarify how `server.address` and `server.port` should be populated by HTTP client instrumentations. ([#2443](https://github.com/open-telemetry/semantic-conventions/issues/2443), [#2463](https://github.com/open-telemetry/semantic-conventions/issues/2463)) - `otel`: Add `otel.scope.schema_url` attribute to non-OTLP exporters that represents an instrumentation scope schema URL. ([#2320](https://github.com/open-telemetry/semantic-conventions/issues/2320), [#2489](https://github.com/open-telemetry/semantic-conventions/issues/2489)) - `aspnetcore`: Add ASP.NET Core Identity metrics and update the registry. ([#2509](https://github.com/open-telemetry/semantic-conventions/issues/2509)) - `gen-ai`: Add operation name and tool type attributes for Execute tool span. ([#2525](https://github.com/open-telemetry/semantic-conventions/issues/2525), [#2526](https://github.com/open-telemetry/semantic-conventions/issues/2526)) - `aspnetcore`: Add ASP.NET Core authentication and authorization metrics and update the registry. ([#2530](https://github.com/open-telemetry/semantic-conventions/issues/2530)) - `aspnetcore`: Add ASP.NET Core memory pool metrics and update the registry. ([#2532](https://github.com/open-telemetry/semantic-conventions/issues/2532)) - `app`: Defines a new app.build_id attribute. ([#2591](https://github.com/open-telemetry/semantic-conventions/issues/2591)) - `k8s`: Add k8s node, pod, container filesystem metrics ([#1488](https://github.com/open-telemetry/semantic-conventions/issues/1488)) - `k8s`: Add k8s Pod Volume metrics ([#1485](https://github.com/open-telemetry/semantic-conventions/issues/1485)) - `messaging`: Added in AWS SNS as messaging systems ([#2266](https://github.com/open-telemetry/semantic-conventions/issues/2266)) - `system`: Used memory should be based on operating system's internals ([#2534](https://github.com/open-telemetry/semantic-conventions/issues/2534)) - `db`: Add context propagation via SQL commenter for databases ([#2162](https://github.com/open-telemetry/semantic-conventions/issues/2162)) - `hardware`: Move text hardware metrics to the hardware components, yaml and md files ([#2380](https://github.com/open-telemetry/semantic-conventions/issues/2380)) - `app`: Defines a new jank event in the app domain ([#2552](https://github.com/open-telemetry/semantic-conventions/issues/2552)) - `docs`: Document the "T-Shaped" notion for defining semantic conventions. ([#2232](https://github.com/open-telemetry/semantic-conventions/issues/2232)) ## v1.36.0 ### 🚩 Deprecations 🚩 - `os`: Adds the 'deprecated:' tag/attribute to the `z_os` enum value of `os.type`. This value was recently deprecated in v1.35.0. ([#2479](https://github.com/open-telemetry/semantic-conventions/issues/2479)) ### πŸ’‘ Enhancements πŸ’‘ - `otel`: Replaces `otel.sdk.span.ended` with `otel.sdk.span.started` and allow differentiation based on the parent span origin ([#2431](https://github.com/open-telemetry/semantic-conventions/issues/2431)) - `db`: Add database context propagation via `SET CONTEXT_INFO` for SQL Server ([#2162](https://github.com/open-telemetry/semantic-conventions/issues/2162)) - `entities`: Adds support for Entity registry and Entity stabilization policies. ([#2246](https://github.com/open-telemetry/semantic-conventions/issues/2246)) ### 🧰 Bug fixes 🧰 - `cloud`: Exclude deprecated Azure members from code generation on the `cloud.platform` attribute ([#2477](https://github.com/open-telemetry/semantic-conventions/issues/2477), [#2455](https://github.com/open-telemetry/semantic-conventions/issues/2455)) ## v1.35.0 ### πŸ›‘ Breaking changes πŸ›‘ - `azure`: Align azure events, attributes, and enum members with general naming guidelines. ([#608](https://github.com/open-telemetry/semantic-conventions/issues/608), [#1708](https://github.com/open-telemetry/semantic-conventions/issues/1708), [#1698](https://github.com/open-telemetry/semantic-conventions/issues/1698)) - Renamed attributes: - `az.service_request_id` to `azure.service.request.id` - `az.namespace` to `azure.resource_provider.namespace` - Renamed events: - `az.resource.log` to `azure.resource.log` - Renamed enum members: - `az.ai.inference` to `azure.ai.inference` (on `gen_ai.system`) - `az.ai.openai` to `azure.ai.openai` (on `gen_ai.system`) - `azure_aks` to `azure.aks` (on `cloud.platform`) - `azure_app_service` to `azure.app_service` (on `cloud.platform`) - `azure_container_apps` to `azure.container_apps` (on `cloud.platform`) - `azure_container_instances` to `azure.container_instances` (on `cloud.platform`) - `azure_functions` to `azure.functions` (on `cloud.platform`) - `azure_openshift` to `azure.openshift` (on `cloud.platform`) - `azure_vm` to `azure.vm` (on `cloud.platform`) - `system`: Revert the change that moved `system.cpu.*` to `cpu.*`. The 3 affected metrics are back in `system.cpu.*`. ([#1873](https://github.com/open-telemetry/semantic-conventions/issues/1873)) - `system`: Changes system.network.connections to system.network.connection.count ([#1800](https://github.com/open-telemetry/semantic-conventions/issues/1800)) - `k8s`: Change instrument type for .limit/.request container metrics from gauge to updowncounter ([#2354](https://github.com/open-telemetry/semantic-conventions/issues/2354)) ### 🚩 Deprecations 🚩 - `os`: Deprecate os.type='z_os' and replace with os.type='zos' ([#1687](https://github.com/open-telemetry/semantic-conventions/issues/1687)) ### πŸš€ New components πŸš€ - `mainframe, zos`: Add initial semantic conventions for mainframes ([#1687](https://github.com/open-telemetry/semantic-conventions/issues/1687)) ### πŸ’‘ Enhancements πŸ’‘ - `dotnet`: Define .NET-specific network spans for DNS resolution, TLS handshake, and socket connections, along with HTTP-level spans to (optionally) record relationships between HTTP requests and connections. ([#1192](https://github.com/open-telemetry/semantic-conventions/issues/1192)) - `k8s`: Add `k8s.node.allocatable.cpu`, `k8s.node.allocatable.ephemeral_storage`, `k8s.node.allocatable.memory`, `k8s.node.allocatable.pods` metrics ([#2243](https://github.com/open-telemetry/semantic-conventions/issues/2243)) - `k8s`: Add k8s.container.restart.count metric ([#2191](https://github.com/open-telemetry/semantic-conventions/issues/2191)) - `k8s`: Add K8s container resource related metrics ([#2074](https://github.com/open-telemetry/semantic-conventions/issues/2074)) - `k8s`: Add k8s.container.ready metric ([#2074](https://github.com/open-telemetry/semantic-conventions/issues/2074)) - `k8s`: Add k8s.node.condition metric ([#2077](https://github.com/open-telemetry/semantic-conventions/issues/2077)) - `k8s`: Add k8s resource quota metrics ([#2076](https://github.com/open-telemetry/semantic-conventions/issues/2076)) - `events`: Update general event guidance to allow complex attributes on events and use them instead of the body fields. ([#1651](https://github.com/open-telemetry/semantic-conventions/issues/1651), [#1669](https://github.com/open-telemetry/semantic-conventions/issues/1669)) - `k8s`: Add k8s.container.status.state and k8s.container.status.reason metrics ([#1672](https://github.com/open-telemetry/semantic-conventions/issues/1672)) - `feature_flags`: Mark feature flag semantic convention as release candidate. ([#2277](https://github.com/open-telemetry/semantic-conventions/issues/2277)) - `k8s`: Add new resource attributes for `k8s.hpa` to capture the `scaleTargetRef` fields ([#2008](https://github.com/open-telemetry/semantic-conventions/issues/2008)) Adds below attributes to the `k8s.hpa` resource: - `k8s.hpa.scaletargetref.kind` - `k8s.hpa.scaletargetref.name` - `k8s.hpa.scaletargetref.api_version` - `k8s`: Adds metrics and attributes to track k8s HPA's metric target values for CPU resources. ([#2182](https://github.com/open-telemetry/semantic-conventions/issues/2182)) Below metrics are introduced to provide insight into HPA scaling configuration for CPU. - `k8s.hpa.metric.target.cpu.value` - `k8s.hpa.metric.target.cpu.average_value` - `k8s.hpa.metric.target.cpu.average_utilization` - `k8s`: Explains the rationale behind the Kubernetes resource naming convention. ([#2245](https://github.com/open-telemetry/semantic-conventions/issues/2245)) - `all`: Adds modelling guide for resource and entity. ([#2246](https://github.com/open-telemetry/semantic-conventions/issues/2246)) - `service`: Adds stability policies for Entity groups. ([#2378](https://github.com/open-telemetry/semantic-conventions/issues/2378)) Entity groups now require `role` to be filled for attributes. - `otel`: Specifies component.type values for Zipkin and Prometheus exporters ([#2229](https://github.com/open-telemetry/semantic-conventions/issues/2229)) ### 🧰 Bug fixes 🧰 - `otel`: Removes `otel.scope` entity. ([#2310](https://github.com/open-telemetry/semantic-conventions/issues/2310)) ## v1.34.0 ### πŸ›‘ Breaking changes πŸ›‘ - `all`: Convert deprecated text to structured format. ([#2047](https://github.com/open-telemetry/semantic-conventions/issues/2047)) This is a breaking change from the schema perspective, but does not change anything for instrumentations or the end users. It breaks compatibility with the (old) [code generation tooling](https://github.com/open-telemetry/build-tools/issues/322). Please use [weaver](https://github.com/open-telemetry/weaver) to generate Semantic Conventions markdown or code. - `feature_flag`: Move the evaluated value from the event body to attributes ([#1990](https://github.com/open-telemetry/semantic-conventions/issues/1990)) - `process`: Require sensitive data sanitization for `process.command_args` and `process.command_line` ([#626](https://github.com/open-telemetry/semantic-conventions/issues/626)) ### πŸ’‘ Enhancements πŸ’‘ - `docs`: Document system-specific naming conventions ([#608](https://github.com/open-telemetry/semantic-conventions/issues/608), [#1494](https://github.com/open-telemetry/semantic-conventions/issues/1494), [#1708](https://github.com/open-telemetry/semantic-conventions/issues/1708)) - `gen-ai`: Add `gen_ai.conversation.id` attribute ([#2024](https://github.com/open-telemetry/semantic-conventions/issues/2024)) - `all`: Renames all `resource.*` groups to be `entity.*` ([#2244](https://github.com/open-telemetry/semantic-conventions/issues/2244)) Part of open-telemetry/opentelemetry-specification#4436 - `aws`: Added new AWS attributes for various services including SQS, SNS, Bedrock, Step Functions, Secrets Manager and Kineses ([#1794](https://github.com/open-telemetry/semantic-conventions/issues/1794)) - `cloud`: Broaden `cloud.region` definition to explicitly cover both resource location and targeted destination. ([#2142](https://github.com/open-telemetry/semantic-conventions/issues/2142)) - `network`: Stabilize `network.transport` enum value `quic`. ([#2275](https://github.com/open-telemetry/semantic-conventions/issues/2275)) ### 🧰 Bug fixes 🧰 - `db`: Fix the `db.system.name` attribute value for MySQL which was incorrectly pointing to `microsoft.sql_server`. ([#2276](https://github.com/open-telemetry/semantic-conventions/issues/2276)) ## v1.33.0 This release marks the first where the core of database semantic conventions have stabilized. ### πŸ›‘ Breaking changes πŸ›‘ - `db`: Add `db.query.parameter`, replace relevant usages of `db.operation.parameter` ([#2093](https://github.com/open-telemetry/semantic-conventions/issues/2093)) - `db`: Make `db.response.returned_rows` opt-in on `release_candidate` spans ([#2211](https://github.com/open-telemetry/semantic-conventions/issues/2211)) - `db`: Use `|` as the separator when `db.namespace` is a concatenation of multiple components. ([#2067](https://github.com/open-telemetry/semantic-conventions/issues/2067)) - `feature_flag`: Rename `feature_flag.provider_name` to `feature_flag.provider.name` ([#1982](https://github.com/open-telemetry/semantic-conventions/issues/1982)) - `feature_flag`: Use generic `error.message` in feature flag evaluation event ([#1994](https://github.com/open-telemetry/semantic-conventions/issues/1994)) - `gen-ai`: Refine the values for `gen_ai.system` related to Google's AI endpoints. ([#1950](https://github.com/open-telemetry/semantic-conventions/issues/1950)) Enable sharing of attributes between Vertex AI and Gemini through a common prefix. - `k8s`: Make k8s Node and Pod labels optional ([#2079](https://github.com/open-telemetry/semantic-conventions/issues/2079)) - `otel`: Rename span health metrics to remove the .count suffixes ([#1979](https://github.com/open-telemetry/semantic-conventions/issues/1979)) ### πŸš€ New components πŸš€ - `db`: Adding semantic conventions for `oracledb` instrumentations. ([#1911](https://github.com/open-telemetry/semantic-conventions/pull/1911)) Oracle Database semantic conventions. - `browser`: Add browser web vitals event. ([#1940](https://github.com/open-telemetry/semantic-conventions/issues/1940)) ### πŸ’‘ Enhancements πŸ’‘ - `cicd`: Add resource conventions for CICD systems and define spans for CICD pipeline runs. ([#1713](https://github.com/open-telemetry/semantic-conventions/issues/1713)) Define spans `cicd.pipeline.run.server` and `cicd.pipeline.task.internal`. Add `cicd.pipeline.action.name`, `cicd.worker.id`, `cicd.worker.name`, `cicd.worker.url.full` and`cicd.pipeline.task.run.result` to attribute registry. Define resources `cicd.pipeline`, `cicd.pipeline.run` and `cicd.worker`. Add entity associations in cicd metrics for these new cicd resources. - `vcs`: Add resource conventions for VCS systems and VCS references. ([#1713](https://github.com/open-telemetry/semantic-conventions/issues/1713)) Define resources `vcs.repo` and `vcs.ref`. Add entity associations in vcs metrics for these new vcs resources. - `gen-ai`: Adding span for invoke agent ([#1842](https://github.com/open-telemetry/semantic-conventions/issues/1842)) - `gen-ai`: Adding gen_ai.tool.description to the span attributes ([#2087](https://github.com/open-telemetry/semantic-conventions/issues/2087)) - `gen-ai`: Separate inference and embeddings span definitions, remove irrelevant attributes from the create agent span. ([#1924](https://github.com/open-telemetry/semantic-conventions/issues/1924), [#2122](https://github.com/open-telemetry/semantic-conventions/issues/2122)) - `general`: Provide guidance on modeling lat/lon, x/y, etc ([#2145](https://github.com/open-telemetry/semantic-conventions/issues/2145)) - `db`: Move `db.query.parameter.` from release_candidate back to development. ([#2194](https://github.com/open-telemetry/semantic-conventions/issues/2194)) - `db`: Mark database semantic conventions as stable for MariaDB, Microsoft SQL Server, MySQL, and PostgreSQL. ([#2199](https://github.com/open-telemetry/semantic-conventions/issues/2199)) - `db`: Make `db.operation.name` required where it's available, add recommendation for instrumentation point. ([#2200](https://github.com/open-telemetry/semantic-conventions/issues/2200), [#2098](https://github.com/open-telemetry/semantic-conventions/issues/2098)) - `db`: Add `db.stored_procedure.name` to the general span conventions ([#2205](https://github.com/open-telemetry/semantic-conventions/issues/2205)) - `db`: Add an option to generate `db.query.summary` from operation name and target, remove it from CosmosDB. ([#2206](https://github.com/open-telemetry/semantic-conventions/issues/2206)) - `db`: Add `db.operation.name` and `db.collection.name` to SQL for higher-level APIs ([#2207](https://github.com/open-telemetry/semantic-conventions/issues/2207)) - `jvm`: Add `jvm.file_descriptor.count` as an in-development metric to track the number of open file descriptors as reported by the JVM. ([#1838](https://github.com/open-telemetry/semantic-conventions/issues/1838)) - `jvm`: Add `jvm.gc.cause` to metric `jvm.gc.duration` as an opt-in attribute to track gc cause. ([#2065](https://github.com/open-telemetry/semantic-conventions/issues/2065)) - `process`: Add process.environment_variable. ([#672](https://github.com/open-telemetry/semantic-conventions/issues/672)) - `app`: Defines two new click events for the app domain ([#2070](https://github.com/open-telemetry/semantic-conventions/issues/2070)) - `code`: Mark `code.*` semantic conventions as stable ([#1377](https://github.com/open-telemetry/semantic-conventions/issues/1377)) - `k8s`: Introduce semantic conventions for k8s CronJob labels and annotations ([#2138](https://github.com/open-telemetry/semantic-conventions/issues/2138)) - `k8s`: Introduce semantic conventions for k8s DaemonSet labels and annotations ([#2136](https://github.com/open-telemetry/semantic-conventions/issues/2136)) - `k8s`: Introduce semantic conventions for k8s Deployment labels and annotations ([#2134](https://github.com/open-telemetry/semantic-conventions/issues/2134)) - `system`: Added entity association template rendering and policies. ([#1276](https://github.com/open-telemetry/semantic-conventions/issues/1276)) - `gen_ai`: Document `generate_content` as a permissible value of `gen_ai.operation.name`. ([#2048](https://github.com/open-telemetry/semantic-conventions/issues/2048)) - `k8s`: Introduce semantic conventions for k8s Job labels and annotations ([#2137](https://github.com/open-telemetry/semantic-conventions/issues/2137)) - `otel`: Adds SDK self-monitoring metrics for metric processing ([#2016](https://github.com/open-telemetry/semantic-conventions/issues/2016)) - `k8s`: Introduce semantic conventions for k8s Namespace labels and annotations ([#2131](https://github.com/open-telemetry/semantic-conventions/issues/2131)) - `k8s`: Introduce semantic conventions for k8s Node labels and annotations ([#2079](https://github.com/open-telemetry/semantic-conventions/issues/2079)) - `k8s`: Introduce semantic conventions for k8s ReplicaSet labels and annotations ([#2132](https://github.com/open-telemetry/semantic-conventions/issues/2132)) - `otel`: Adds SDK self-monitoring metric for exporter call duration ([#1906](https://github.com/open-telemetry/semantic-conventions/issues/1906)) - `k8s`: Introduce semantic conventions for k8s StatefulSet labels and annotations ([#2135](https://github.com/open-telemetry/semantic-conventions/issues/2135)) ### 🧰 Bug fixes 🧰 - `gen-ai`: Removed irrelevant response attributes on GenAI create agent span. ([#1924](https://github.com/open-telemetry/semantic-conventions/issues/1924), [#2116](https://github.com/open-telemetry/semantic-conventions/issues/2116)) - `vcs`: Fix typo in gitea name ([#2057](https://github.com/open-telemetry/semantic-conventions/issues/2057)) - `gen-ai`: Add invoke_agent as a member of gen_ai.operation.name ([#2160](https://github.com/open-telemetry/semantic-conventions/issues/2160)) - `db`: Clarify `db.query.summary` for stored procedures ([#2218](https://github.com/open-telemetry/semantic-conventions/issues/2218)) ## v1.32.0 ### πŸ›‘ Breaking changes πŸ›‘ - `device`: Change the definition of `device.id` and make it opt-in. ([#1874](https://github.com/open-telemetry/semantic-conventions/issues/1874), [#1951](https://github.com/open-telemetry/semantic-conventions/issues/1951)) - `feature_flag`: Rename `evaluation` to `result` for feature flag evaluation result attributes ([#1989](https://github.com/open-telemetry/semantic-conventions/issues/1989)) ### πŸš€ New components πŸš€ - `app`: Create `app.installation.id` attribute ([#1874](https://github.com/open-telemetry/semantic-conventions/issues/1874), [#1897](https://github.com/open-telemetry/semantic-conventions/issues/1897)) - `cpython`: Add CPython runtime garbage collector metrics ([#1930](https://github.com/open-telemetry/semantic-conventions/issues/1930)) ### πŸ’‘ Enhancements πŸ’‘ - `vcs`: Add owner and provider name to VCS attribute registry ([#1452](https://github.com/open-telemetry/semantic-conventions/issues/1452)) - `vcs`: Remove fallback value for VCS provider name attribute ([#2020](https://github.com/open-telemetry/semantic-conventions/issues/2020)) - `db`: Truncate `db.query.summary` to 255 characters if parsed from the query ([#1978](https://github.com/open-telemetry/semantic-conventions/issues/1978)) - `db`: Normalize spaces in `db.operation.name` (if any) ([#2028](https://github.com/open-telemetry/semantic-conventions/issues/2028)) - `db`: `db.operation.parameter.` should not be captured for batch operations ([#2026](https://github.com/open-telemetry/semantic-conventions/issues/2026)) - `db`: Add `db.stored_procedure.name` ([#1491](https://github.com/open-telemetry/semantic-conventions/issues/1491)) - `gcp`: Adds GCP AppHub labels for resource. ([#2006](https://github.com/open-telemetry/semantic-conventions/issues/2006)) - `error`: Add `error.message` property for human-readable error message on events. ([#1992](https://github.com/open-telemetry/semantic-conventions/issues/1992)) - `profile`: Extend the list of known frame types with a value for Go and Rust ([#2003](https://github.com/open-telemetry/semantic-conventions/issues/2003)) - `otel`: Adds SDK self-monitoring metrics for log processing ([#1921](https://github.com/open-telemetry/semantic-conventions/issues/1921)) ## v1.31.0 ### πŸ›‘ Breaking changes πŸ›‘ - `code`: `code.function.name` value should contain the fully qualified function name, `code.namespace` is now deprecated ([#1677](https://github.com/open-telemetry/semantic-conventions/issues/1677)) - `gen-ai`: Introduce `gen_ai.output.type`and deprecate `gen_ai.openai.request.response_format` ([#1757](https://github.com/open-telemetry/semantic-conventions/issues/1757)) - `mobile`: Rework `device.app.lifecycle` mobile event. ([#1880](https://github.com/open-telemetry/semantic-conventions/issues/1880)) The `device.app.lifecycle` event has been reworked to use attributes instead of event body fields. The `ios.app.state` and `android.app.state` attributes have been reintroduced to the attribute registry. - `system`: Move CPU-related system.cpu.* metrics to CPU namespace ([#1873](https://github.com/open-telemetry/semantic-conventions/issues/1873)) - `k8s`: Change k8s.replication_controller metrics to k8s.replicationcontroller ([#1848](https://github.com/open-telemetry/semantic-conventions/issues/1848)) - `db`: Rename `db.system` to `db.system.name` in database metrics, and update the values to be consistent with database spans. ([#1581](https://github.com/open-telemetry/semantic-conventions/issues/1581)) - `session`: Move `session.id` and `session.previous_id` from body fields to event attributes, and yamlize `session.start` and `session.end` events. ([#1845](https://github.com/open-telemetry/semantic-conventions/issues/1845)) As part of the ongoing migration of event fields from LogRecord body to extended/complex attributes, the `session.start` and `session.end` events have been redefined. ### πŸ’‘ Enhancements πŸ’‘ - `code`: Mark `code.*` semantic conventions as release candidate ([#1377](https://github.com/open-telemetry/semantic-conventions/issues/1377)) - `gen-ai`: Added AI Agent Semantic Convention ([#1732](https://github.com/open-telemetry/semantic-conventions/issues/1732), [#1739](https://github.com/open-telemetry/semantic-conventions/issues/1739)) - `db`: Add database-specific notes on db.operation.name and db.collection.name for Cassandra, Cosmos DB, HBase, MongoDB, and Redis, covering their batch/bulk terms and lack of cross-table queries. ([#1863](https://github.com/open-telemetry/semantic-conventions/issues/1863), [#1573](https://github.com/open-telemetry/semantic-conventions/issues/1573)) - `gen-ai`: Adds `gen_ai.request.choice.count` span attribute ([#1888](https://github.com/open-telemetry/semantic-conventions/issues/1888)) Enables recording target number of completions to generate - `enduser`: Undeprecate 'enduser.id' and introduce new attribute `enduser.pseudo.id` ([#1104](https://github.com/open-telemetry/semantic-conventions/issues/1104)) The new attribute `enduser.pseudo.id` is intended to provide a unique identifier of a pseudonymous enduser. - `k8s`: Add `k8s.hpa`, `k8s.resourcequota` and `k8s.replicationcontroller` attributes and resources ([#1656](https://github.com/open-telemetry/semantic-conventions/issues/1656)) - `k8s`: How to populate resource attributes based on attributes, labels and transformation ([#236](https://github.com/open-telemetry/semantic-conventions/issues/236)) - `process`: Adjust the semantic expectations for `process.executable.name` ([#1736](https://github.com/open-telemetry/semantic-conventions/issues/1736)) - `otel`: Adds SDK self-monitoring metrics for span processing ([#1631](https://github.com/open-telemetry/semantic-conventions/issues/1631)) - `cicd`: Adds a new attribute `cicd.pipeline.run.url.full` and corrects the attribute description of `cicd.pipeline.task.run.url.full` ([#1796](https://github.com/open-telemetry/semantic-conventions/issues/1796)) - `user-agent`: Add `user_agent.os.name` and `user_agent.os.version` attributes ([#1433](https://github.com/open-telemetry/semantic-conventions/issues/1433)) ### 🧰 Bug fixes 🧰 - `process`: Fix units of process.open_file_descriptor.count and process.context_switches ([#1662](https://github.com/open-telemetry/semantic-conventions/issues/1662)) ## v1.30.0 ### πŸ›‘ Breaking changes πŸ›‘ - `event`: Deprecate `event.name` attribute in favor of the top level event name property on the log record ([#1646](https://github.com/open-telemetry/semantic-conventions/issues/1646)) - `gen_ai`: Rename `gen_ai.openai.request.seed` to `gen_ai.request.seed` and use it on general GenAI conventions. ([#1715](https://github.com/open-telemetry/semantic-conventions/issues/1715)) - `db`: Rename `db.system` to `db.system.name` and clean up its values. Rename `db.elasticsearch.*`, `db.cassandra.*`, `db.cosmosdb.*` attributes to `elasticsearch.*`, `cassandra.*`, and `azure.cosmosdb.*` respectively. Rename `db.client.cosmosdb.*` metrics to `azure.cosmosdb.client.*`. ([#1581](https://github.com/open-telemetry/semantic-conventions/issues/1581), [#608](https://github.com/open-telemetry/semantic-conventions/issues/608)) - `code`: rename `code.function`, `code.lineno`, `code.column` and `code.filepath` ([#1377](https://github.com/open-telemetry/semantic-conventions/issues/1377), [#1599](https://github.com/open-telemetry/semantic-conventions/issues/1599)) `code.function` renamed to `code.function.name` `code.lineno` renamed to `code.line.number` `code.column` renamed to `code.column.number` `code.filepath` renamed to `code.file.path` - `system`: Replace `system.network.state` with `network.connection.state` ([#308](https://github.com/open-telemetry/semantic-conventions/issues/308)) - `messaging`: RabbitMQ: Specify how to populate `messaging.destination.name` ([#1529](https://github.com/open-telemetry/semantic-conventions/issues/1529)) ### πŸš€ New components πŸš€ - `security-rule`: Introducing a new security rule namespace ([#903](https://github.com/open-telemetry/semantic-conventions/issues/903)) ### πŸ’‘ Enhancements πŸ’‘ - `cloud`: Add Oracle Cloud Infrastructure to Semantic Conventions ([#1658](https://github.com/open-telemetry/semantic-conventions/issues/1658)) - `gen_ai`: Yamlify gen_ai events and clean up examples. ([#1469](https://github.com/open-telemetry/semantic-conventions/issues/1469)) - `cicd`: Add CICD metrics ([#1600](https://github.com/open-telemetry/semantic-conventions/issues/1600)) Makes the following changes: - Add metrics `cicd.pipeline.run.duration`, `cicd.pipeline.run.active`, `cicd.worker.count`, `cicd.pipeline.run.errors` and `cicd.system.errors`. - The CICD attributes `cicd.pipeline.run.state`, `cicd.pipeline.result`, `cicd.system.component`, `cicd.worker.state` have been added to the registry. - `gen-ai`: Adds OpenAI API compatible `gen_ai.system` attribute values: `az.ai.openai`, `deepseek`, `gemini`, `groq`, `perplexity` and `xai`. Elaborates that `openai` can be ambiguous due to API emulation. ([#1655](https://github.com/open-telemetry/semantic-conventions/issues/1655)) - `docs`: Update attribute, events, and metrics naming guidance to include new best practices. ([#1694](https://github.com/open-telemetry/semantic-conventions/issues/1694)) - Use namespaces (with `.` delimiter) whenever possible. - Use precise, descriptive, unambiguous names that leave room for expansion. - `docs, db`: Add common guidance for recording errors on spans and metrics, clarify DB conventions. ([#1516](https://github.com/open-telemetry/semantic-conventions/issues/1516), [#1536](https://github.com/open-telemetry/semantic-conventions/issues/1536), [#1716](https://github.com/open-telemetry/semantic-conventions/issues/1716)) - `gen-ai`: Adds `mistral_ai` as a `gen_ai.system` attribute value. ([#1719](https://github.com/open-telemetry/semantic-conventions/issues/1719)) - `process`: Update `process.runtime` example for the Python language. ([#1772](https://github.com/open-telemetry/semantic-conventions/issues/1772)) - `db`: Add metrics section to each of the database system-specific conventions. ([#1447](https://github.com/open-telemetry/semantic-conventions/issues/1447), [#1779](https://github.com/open-telemetry/semantic-conventions/issues/1779)) - `k8s`: Add metrics for k8s deployment, replicaset, replication_controller, statefulset and hpa. ([#1636](https://github.com/open-telemetry/semantic-conventions/issues/1636), [#1637](https://github.com/open-telemetry/semantic-conventions/issues/1637), [#1644](https://github.com/open-telemetry/semantic-conventions/issues/1644)) This addition focused on providing consistency between these metrics, while also ensuring alignment with recommendations from Kubernetes. More details in [#1637](https://github.com/open-telemetry/semantic-conventions/issues/1637) - `k8s`: Add k8s deamonset related metrics ([#1649](https://github.com/open-telemetry/semantic-conventions/issues/1649)) - `k8s`: Add k8s metrics for job and cronjob ([#1660](https://github.com/open-telemetry/semantic-conventions/issues/1660)) - `k8s`: Add k8s.namespace.phase metric along with the respective attribute ([#1668](https://github.com/open-telemetry/semantic-conventions/issues/1668)) - `aws`: Add extended request ID to general AWS attributes as `aws.extended_request_id` ([#1670](https://github.com/open-telemetry/semantic-conventions/issues/1670)) - `messaging`: Further clarify `{destination}` value on span names ([#1635](https://github.com/open-telemetry/semantic-conventions/issues/1635)) - `gen_ai`: Introduce gen_ai.request.seed and deprecated gen_ai.openai.request.seed ([#1710](https://github.com/open-telemetry/semantic-conventions/issues/1710)) - `system`: Adds note about how `system.cpu.physical.count` and `system.cpu.logical.count` are calculated ([#1780](https://github.com/open-telemetry/semantic-conventions/issues/1780)) - `k8s`: Add migration guide for K8s semantic conventions ([#1597](https://github.com/open-telemetry/semantic-conventions/issues/1597)) - `profile`: Extend the list of known frame types with a value for Erlang ([#1735](https://github.com/open-telemetry/semantic-conventions/issues/1735)) - `dotnet`: Mark .NET runtime metrics as stable ([#1602](https://github.com/open-telemetry/semantic-conventions/issues/1602)) - `vcs`: Adds `vcs.repository.name` attribute to registry and update `vcs.repository.url.full` description for consistent representation. Updates the VCS metrics to include `vcs.repository.name` as a recommended attribute. ([#1254](https://github.com/open-telemetry/semantic-conventions/issues/1254), [#1453](https://github.com/open-telemetry/semantic-conventions/issues/1453)) - `vcs`: Add `vcs.change.time_to_merge` metric. ([#1685](https://github.com/open-telemetry/semantic-conventions/issues/1685)) ## v1.29.0 ### πŸ›‘ Breaking changes πŸ›‘ - `vcs`: Add the VCS metrics inspired by the GitHub Receiver (#1372) Makes the following changes: - Add metrics `vcs.change.count`, `vcs.change.duration`, `vcs.change.time_to_approval`, `vcs.repository.count`, `vcs.ref.count`, `vcs.ref.lines_delta`, `vcs.ref.revisions_delta`, `vcs.ref.time`, `vcs.contributor.count` - The VCS attributes `vcs.change.state`, `vcs.revision_delta.direction` and `vcs.line_change.type` have been added to the registry. - The VCS ref attributes have been duplicated to `vcs.ref.base.*` to allow for ref comparisons. - The VCS attribute `vcs.ref.type` has been added for simplicity when neither a full head or base ref is necessary. - `vcs.repository.change.*` attributes have been deprecated and moved to `vcs.change.*`. - `vcs.repository.ref.*` attributes have been deprecated and moved to `vcs.ref.head.*`. - `feature_flag`: Rename `feature_flag` event to `feature_flag.evaluation` event, define new feature flag attributes and provide body definition. Remove `feature_flag` span event definition in favor of log-based event. (#1440) - `db`: Generalize `db.query.parameter.` to `db.operation.parameter.` (#1559) - `db`: Remove redis database index from the redis span name. (#1449) - `db`: Don't capture `db.operation.name` and `db.collection.name` from query formats that support multiples. (#1566) - `system`: Introduce `network.interface.name` and use that instead of `system.device` for system and container network metrics (#1492) - `system`: Add system.device attribute to system paging metrics (#1408) - `process`: Change process.uptime instrument to a gauge. (#1518) - `process.executable.build_id`: Rename process.executable.build_id.profiling to process.executable.build_id.htlhash. (#1520) With [#4197](https://github.com/open-telemetry/opentelemetry-specification/pull/4197) it was decided to rename the attribute profiling in process.executable.build_id to htlhash. - `graphql`: Update the GraphQL Span name convention (#1361) ### πŸš€ New components πŸš€ - `cli`: Define span describing CLI application execution (#1577) - `geo`: Add geo fields to attribute registry. (#1033) ### πŸ’‘ Enhancements πŸ’‘ - `gen_ai`: Add system-specific conventions for Azure AI Inference. (#1393) - `http`: Define how to handle experimental attributes in stable groups, add policies and move experimental HTTP attributes into stable HTTP groups (as opt_in). (#906, #1472) - `db, gen-ai, faas`: Relax wording for span kind - use SHOULD instead of MUST for logical operations. (#1315, #1506) - `kestrel`: Add .NET 9 error reasons to Kestrel connection metric. (#1582) - `db`: Specify how to set span status for database operations. (#1536, #1560) - `gen-ai`: Add 2 well-known gen-ai systems as reference values of the gen-ai system attribute including AWS Bedrock and IBM Watsonx AI (#1574) - `http`: Relax `server.port` requirement level on HTTP server spans (#1387) - `gen-ai`: Add conventions for GenAI Embeddings operations (#1174, #1603) - `feature_flag`: Rename `feature_flag.system` back to `feature_flag.provider_name` (#1614) - `user_agent`: Add the `user_agent.synthetic.type` attribute to specify the category of synthetic traffic, such as tests or bots. (#1127) - `system`: Add system uptime metric (#648) - `gen-ai`: Add `gen_ai.openai.response.system_fingerprint` attribute (#1355) - `k8s`: Add k8s.{node,pod}.network.{io,errors} metrics (#1427) - `k8s`: Add uptime metrics for container, K8s Pod and K8s Node (#1486) - `linux`: Add linux.process.cgroup attribute (#1357) - `docs`: Improve separation between attribute table footnotes and enum values (#1569) - `messaging`: Specify which span kind to use for messaging settle operations (#1478) - `db`: Added `db.cosmosdb.regions_contacted` attribute to Cosmos DB metrics and traces. (#1525) - `db`: Added new common `db.client.response.returned_rows` database metric and several operation level metrics for Azure Cosmos DB. (#1438) ### 🧰 Bug fixes 🧰 - `service`: Merge `resource` experimental and stable groups for service and telemetry.sdk (#1423) Discovered when fixing [weaver#306](https://github.com/open-telemetry/weaver/issues/306) - `db`: Fix telemetry for complex queries: - introduce the `db.query.summary` attribute to provide a concise, low-cardinality representation of the query text. - use `db.query.summary` as the span name and as a recommended attribute on metrics. - avoid capturing `db.operation.name` and `db.collection.name` when the query involves multiple operations or collections, to prevent ambiguity. (#521, #805, #1159) - `url`: Specific URL query string values should now be redacted by default due to concerns around leaking credentials. (#971) - `messaging`: Fix typo in schemas for messaging attribute changes (#1595) ## v1.28.0 ### πŸ›‘ Breaking changes πŸ›‘ - `database`: Add new `db.response.status_code` attribute, deprecate `db.cosmos.status_code`. (#1424) - `gen_ai`: Deprecate `gen_ai.prompt` and `gen_ai.completion` attributes, introduce log-based events for GenAI inputs and outputs. (#834, #980) - `system`: Make `system.cpu.utilization` and `process.cpu.utilization` opt-in (#1130) - `messaging`: Mark `*.size` messaging attributes as opt-in (#474) ### 🚩 Deprecations 🚩 - `event`: Remove support for the event `fields` supporting referencing / inheriting fields from global attributes. (#1341) ### πŸš€ New components πŸš€ - `cloudfoundry`: Adds a resource convention for Cloud Foundry applications and system components. (#622, #624) Introduces a description for CloudFoundry resources. These can either be applications deployed on the runtime or system components of Cloud Foundry itself. It also extends to the runtime logs and metrics, e.g. Gorouter access logs and container metrics. - `dotnet`: Adds experimental metrics for the .NET Common Language Runtime (CLR). (#956) - `profile`: Introduce semantic convention for OTel Profiles. (#1188) ### πŸ’‘ Enhancements πŸ’‘ - `db`: Mark database semantic conventions as release candidate (#1101) - `messaging`: Define span kind for unspecified cases of messaging `publish` and `process` spans. (#1112) - `db`: Change description of `db.client.connection.pending_requests` from cumulative to current value (#1290) - `docs`: Add note on tooling limitations for attribute names and enforce name format. (#1124) - `az, db`: Define `db.operation.name` values for Cosmos DB, declare `az.namespace` attribute and add proper reference to it. (#1330) - `db`: Recommend to capture `db.namespace` from initial connection over not capturing any, also specify `db.namespace` value for PostgreSQL, MySQL and MariaDB (#1437) - `messaging`: Add recommendation to report "Create" spans for batch send calls only and to allow to disable "Create" spans. (#1273) - `other`: Update resource to include stability in the YAML file (#1399) Makes the following changes: - Require `name` on resource groups. - Enforce backwards compatibility stability requirements on resource groups. - Rename `telemetry` to `telemetry.sdk`, attributes are unchanged. - Mark `telemetry.sdk` and `resource` as stable in YAML model. - Markdown templates for resource groups NOW includes header describing the resource `type`, `stability` and `description`. - `process`: Add additional process fields from ECS (#993) - `container`: Add `container.cpu.usage` metric (#1128) - `container`: Add CSI (Container Storage Interface) attributes: `container.csi.plugin.name` and `container.csi.volume.id`. (#1119) - `system`: Add the `system.filesystem.limit` metric (#127) - `k8s`: Add `k8s.pod.cpu.time`, `k8s.pod.cpu.usage`, `k8s.node.cpu.time`, `k8s.node.cpu.usage` metrics (#1320) - `k8s`: Add k8s.pod.memory usage and k8s.node.memory.usage metrics (#1406) - `k8s`: Adds `k8s.volume.name` and `k8s.volume.type` attributes to the registry (#1164) - `os`: add lookup for `os.build_id` (#1318) - `gen_ai`: Add system specific conventions for OpenAI. (#1370) - `system`: Add the `system.disk.limit` metric (#127) - `file`: Add additional attributes from ECS to the `file` namespace. (#914) - `messaging`: Clarify the possibility to have a parent-child trace structure in messaging conventions (#1282) - `nodejs`: Adding `nodejs.eventloop.time` metric to Node.js runtime metrics. (#1259) - `process`: Extend process.executable with build_id attributes. (#1329) For correct symbolization it is important to uniquely identify executables. - `messaging`: Change messaging.operation.type = publish to messaging.operation.type = send (#1285) - `host`: update lookup for os.build_id (#1396) ### 🧰 Bug fixes 🧰 - `messaging`: Fix deprecated note for service bus attributes (#1418) - `container`: Fixes broken link (#1332) ## 1.27.0 ### πŸ›‘ Breaking changes πŸ›‘ - `messaging`: Support generic operations in messaging and rename metrics: - Make `messaging.operation.name` required and `messaging.operation.type` conditionally required when type is applicable. - Rename `messaging.publish.messages` metric to `messaging.client.published.messages` - Unify `messaging.publish.duration` and `messaging.receive.duration` metrics into `messaging.client.operation.duration` - Unify `messaging.receive.messages` and `messaging.process.messages` metrics into `messaging.client.consumed.messages` (#1006, #947, #937) - `db`: Clean up `db.system` enum members: - remove `firstsql`, `mssqlcompact`, and `cloudscape` as the corresponding databases are discontinued. - rename `cache` to `intersystems_cache` - remove `coldfusion` as it is not a database. (#1110) - `db`: Rename `db.client.connections.*` attributes to `db.client.connection.*` (#1125) - `messaging`: Rename `messaging.kafka.message.offset` to `messaging.kafka.offset` (#1156) - `db`: Sampling relevant attributes defined for database client spans (#1019) - `tls`: Deprecate `tls.client.server_name attribute` in favor of common `server.address`. (#1211, #1216) - `messaging`: Deprecate `messaging.destination_publish.*`` namespace and remove all usages. (#1178, #1241) - `messaging`: Introduce common attributes for consumer group and subscription name instead of per-system ones: - `messaging.consumer.group.name` instead of `messaging.kafka.consumer.group`, `messaging.rocketmq.client_group`, and `messaging.eventhubs.consumer.group`. - `messaging.destination.subscription.name` instead of `messaging.servicebus.destination.subscription_name`. Use it in the Google Pub/Sub conventions. (#815) - `db`: Align Elasticsearch span name to the general database span name guidelines. Deprecates `db.elasticsearch.cluster.name` in favor of `db.namespace`. (#1002) - `cicd, deployment, artifact, test, vcs`: Adds CICD common attributes to the registry. (#915, #832, #833) - CICD common attributes have been added to the registry. - `deployment.environment` has been deprecated and moved to `deployment.environment.name`. - `jvm`: Rename JVM metric `jvm.buffer.memory.usage` to `jvm.buffer.memory.used` (#288) - `system`: Rename `process.cpu.state`, `container.cpu.state`, and `system.cpu.state` attributes into a common `cpu.mode` attribute (#840) ### πŸš€ New components πŸš€ - `azure`: Add Azure SDK attributes & Logs event semantic conventions (#1027) - `go`: Add new go namespace for Go runtime metrics (#535) - `nodejs`: Introducing semantic conventions for Node.js runtime metrics. (#990) - `user`: BREAKING - deprecate `enduser` in favor of a new `user` namespace. Add more `user` attributes. (#731) - `v8js`: Introducing semantic conventions for V8 JS Engine runtime metrics. (#990) ### πŸ’‘ Enhancements πŸ’‘ - `db`: List SQL database systems on the SQL semantic conventions. (#1024) - `db`: Update database span name: clarify that target depends on the operation and should not be set when corresponding data is not available. (#1045) - `db`: Mention how to capture collection and operation names from query text in the registry (#1070) - `docs`: Don't render deprecated enum members in semconv tables. (#1110) - `gen-ai`: Use GenAI instead of LLM on GenAI trace semantic conventions and minor cleanups. (#1087) - `gen-ai`: Add GenAI model server metrics for measuring LLM serving latency (#1102) - `db`: Clarify that `db.query.parameter.` is string representation of the parameter value (#1165) - `messaging`: Clarify how per-message attributes should be recorded for batch operations. (#1168) - `messaging`: Define sampling relevant attributes for messaging client spans (#432, #1169) - `gen_ai`: Rename `gen_ai.usage.prompt_tokens` to `gen_ai.usage.input_tokens` and `gen_ai.usage.completion_tokens` to `gen_ai.usage.output_tokens` to align terminology between spans and metrics. (#1200) - `gen_ai`: Convert `gen_ai.operation.name` to enum and use it on spans (#1202) - `network`: Add QUIC to the list of well known network transports (#1237, #1239) - `db`: `db.query.text` IN-clauses MAY be collapsed during the sanitization process (#1053) - `db`, `messaging`: Clarify that DB and messaging system-specific conventions override common ones (#1235, #1244) - `db`: Add better example of how to make the pool name unique (#1289) - `docs`: Update semantic conventions code generation documentation to use weaver instead of build-tools. (#1296) - `gen_ai`: Add `server.address`, `server.port`, and `error.type` to GenAI spans. (#1297) - `gen-ai`: Adding metrics for GenAI clients. (#811) - `gen-ai`: Adding `gen_ai.request.top_k`, `gen_ai.request.presence_penalty`, `gen_ai.request.frequency_penalty` and `gen_ai.request.stop_sequences` attributes. (#839) - `messaging`: Document `messaging.operation.name` for Azure messaging systems. (#942) - `all`: Define name abbreviations guidelines in attribute and metric names. (#1121) - `messaging`: Add pulsar message system (#1099) - `linux`: Add the `system.linux.memory.slab.usage` metric and the `linux.memory.slab.state` attributes. (#531) - `cloudevents`: CloudEvents conventions to follow HTTP/Messaging Span conventions (#654) - `db`: Add support for database batch operations (#712) - `db`: Specify sanitization for `db.query.text`. (#717) - `gen-ai`: Add 3 well-known gen-ai systems as reference values of the gen-ai system attribute (#1020) - `gcp`: Introduces `gcp.client.service` scope attribute. (#1047) - `db`: Add semantic convention of InfluxDB (#949) - `log`: Add 'log.record.original' attribute. (#1137) - `session`: Add new experimental `session.start` and `session.end` events (#1091) ### 🧰 Bug fixes 🧰 - `messaging`: Update Kafka Spring example to align with the messaging spec (#1155) - `http`: Relax requirement on when to set HTTP span status to Error from `MUST` to `SHOULD`. (#1167, #1003) ## v1.26.0 ### πŸ›‘ Breaking changes πŸ›‘ - `db`: Rename `db.statement` to `db.query.text` and introduce `db.query.parameter.` (#716) - `db`: Renames `db.sql.table`, `db.cassandra.table`, `db.mongodb.collection`, and `db.cosmosdb.container` attributes to `db.collection.name` (#870) - `db`: Rename `db.operation` to `db.operation.name`. (#884) - `messaging`: Rename `messaging.operation` to `messaging.operation.type`, add `messaging.operation.name`. (#890) - `db`: Deprecate the `db.user` attribute. (#885) - `db`: Rename `db.name` and `db.redis.database_index` to `db.namespace`, deprecate `db.mssql.instance_name`. (#885) - `db`: Remove `db.instance.id`. For Elasticsearch, replace with `db.elasticsearch.node.name`. (#972) - `db`: Clarify database span name format and fallback values. (#974, #704) - `db`: Rename `db.client.connections.*` metric namespace to `db.client.connection.*` and rename `db.client.connection.usage` to `db.client.connection.count`. (#201, #967) - `db`: Rename `pool.name` to `db.client.connections.pool.name` and `state` to `db.client.connections.state`. (#909) - `system`: Deprecate `shared` from `system.memory.state` values and make it a standalone metric (#522) - `device.app.lifecycle`: Reformat and update the `device.app.lifecycle` event description adds constraints for the possible values of the `android.state` and `ios.state`. (#794) Removes the `ios.lifecycle.events` and `android.lifecycle.events` attributes from the global registry and adds constraints for the possible values of the `android.state` and `ios.state` attributes. - `messaging`: Rename `messaging.client_id` to `messaging.client.id` (#935) - `rpc`: Rename`message.*` attributes under `rpc` to `rpc.message.*`. Deprecate old `message.*` attributes. (#854) ### πŸš€ New components πŸš€ - `gen-ai`: Introducing semantic conventions for GenAI clients. (#327) ### πŸ’‘ Enhancements πŸ’‘ - `all`: Markdown snippets are now generated by jinja templates in the `templates` directory. (#1000) - `db, messaging, gen_ai`: Clarify that `db.system`, `messaging.system`, `gen_ai.system` attributes capture the client perception and may differ from the actual product name. (#813, #1016) - `messaging`: Show all applicable attributes in individual messaging semantic conventions. (#869, #1018) - `process`: Add additional attributes to process attribute registry (#564) - `messaging`: Add a GCP Pub/Sub unary pull example and the new GCP messaging attributes: - `messaging.gcp_pubsub.message.ack_deadline`, - `messaging.gcp_pubsub.message.ack_id`, - `messaging.gcp_pubsub.message.delivery_attempt` (#527) - `db`: Add `db.client.operation.duration` metric (#512) - `messaging`: Adds `messaging.destination.partition.id`` to the messaging attributes (#814) - `exception`: Replace constraints with requirement levels on exceptions. (#862) - `process`: Replace constraints with requirement_level in process attributes. (#863) - `db`: Reorganize DB conventions to be shared across span and metric conventions. (#910) - `all`: Migrate Attribute Registry to be completely autogenerated. (#197) Migrate to using weaver for markdown generation (snippet + registry). The entirety of the registry now is generated using weaver with templates under the `templates/` directory. Snippets still require a hardcoded command. - `http`: List all HTTP client and server attributes in the corresponding table, remove common attributes from yaml and markdown. (#928) - `other`: Document patterns and suggestions for semconv code generation. (#551, #953) - `db`: Show applicable common attributes in individual database semantic conventions. (#973) - `db`: Add `error.type` attribute to the database span and operation duration metric. (#975) - `db`: Parameterized query text does not need to be sanitized by default (#976) - `http`: List experimental HTTP attributes applicable to HTTP client and server spans. (#989) - `db`: Finalizes the migration requirement for instrumentations to follow when updating to stable database semconv. (#719) - `http`: New `url.template` attribute added to URL, HTTP client attributes are extended with optional low-cardinality `url.template` (#675) - `db`: Add note to `db.collection.name`, `db.namespace`, and `db.operation.name` about capturing those without attempting to do any case normalization. (#886) - `events`: Provides additional definitions of log events and their structure. (#755) - `k8s`: add container.status.last_terminated_reason resource attribute (#922) ### 🧰 Bug fixes 🧰 - `http`: Add previously deprecated http attributes to registry (#1025) These attributes were deprecated in 1.13 - `net`: Add previously deprecated net attributes to registry (#1029) These attributes were deprecated in 1.13 ## v1.25.0 ### πŸ›‘ Breaking changes πŸ›‘ - `messaging`: Remove `network.transport` and `network.type` attributes from messaging semantic conventions, clarify when `network.peer.address|port` should be populated. (#690, #698) - `db`: Remove `network.transport` and `network.type` attributes from database semantic conventions, clarify when `network.peer.address|port` should be populated. (#690, #768) - `messaging`: Introduce common `messaging.destination.partition.id` instead of `messaging.kafka.destination.partition` (#798) - `host`: [resource/host] Change type of host.cpu.stepping to string (#664, #665) - `system`: Rename `system.processes.*` namespace to `system.process.*`(#484) - `k8s`, `container`: Depluralize labels for pod (`k8s.pod.labels.*`) and container (`container.labels.*`) resources (#625) - `process`: Generate process metrics from YAML (#330): - Rename `process.threads` to `process.thread.count` - Rename `process.open_file_descriptors` to `process.open_file_descriptor.count` - Rename attributes for `process.cpu.*` - `state` to `process.cpu.state` - Change attributes for `process.disk.io` - Instead of `direction` use `disk.io.direction` from global registry - Change attributes for `process.network.io` - Instead of `direction` use `network.io.direction` from global registry - Rename attributes for `process.context_switches` - `type` to `process.context_switch_type` - Rename attributes for `process.paging.faults` - `type` to `process.paging.fault_type` ### 🚩 Deprecations 🚩 - `db`: Deprecate `db.connection_string` attribute in favor of `server.address` and `server.port` (#724, #769) - `db`: Deprecate `db.jdbc.driver_classname` attribute (#796) ### πŸš€ New components πŸš€ - `file`: Add new file namespace (#732) ### πŸ’‘ Enhancements πŸ’‘ - `messaging`: Add `messaging.rabbitmq.message.delivery_tag`` to the list of RabbitMQ specific tags (#433) - `messaging`: Clarify producer span relationships for messaging semantic conventions (#509) - `rpc`: Add link to specification for metrics defined by gRPC community. (#627) - `messaging`: Add messaging semantic conventions for settlement spans (#621) - `messaging`: Clarifies span names for Azure messaging systems and adds `messaging.servicebus.disposition_status attribute`. (#697) - `messaging`: Add a "Process" spans and metrics for messaging (#657) - `db`: Update Elasticsearch attributes to use db.instance.id instead of db.elasticsearch.node.name (#725) - `db`: Merge DB connection-level and call-level attributes tables (#780) - `dns`: Introduces common DNS lookup duration metric and attributes. (#404) - `other`: Update build-tools version to 0.24.0 and make semantic conventions compatible with this version (add stability on enum members and deprecated attributes). (#807) - `system`: Align `system.cpu.state`'s definition with this of `process.cpu.state`. (#563) - `container`: Add new container metrics for `cpu`, `memory`, `disk` and `network` (#282, #72) - `url`: Sensitive content provided in `url.full`, `url.path`, and `url.query` SHOULD be scrubbed when instrumentations can identify it. (#676) - `metrics`: Clarify metric attributes should be namespaced. (#394) - `events`: Add clarification that the body of an Event will live in the LogRecord body field. (#566) - `http`: Add `http.request.size` and `http.response.size` attributes for the total number of bytes in http messages (#38, #84) - `http`: Extracts common HTTP client metrics from .NET conventions. (#800) - `resource`: Define a common algorithm for `service.instance.id`. (#312) - `user-agent`: Update user_agent subfields wording to support it's usage for non-browser products with multiple names/versions (#680) - `url`: Add remaining ECS fields to the url namespace (#496) - `messaging`: Make `network.protocol.name` conditionally required for messaging (#644) - `cloud`: Add `azure_container_apps` to `cloud.platform` semantic conventions (#615) - `user_agent`: Add `user_agent.name` and `user_agent.version` attributes (#452) - `messaging`: Add an example for gcp_pubsub asynchronous batch publish (#545) - `aws`: Add `aws.ecs.task.id` attribute, corrected description for `aws.ecs.task.arn` (#597) - `messaging`: Add Azure Service Bus and Event Hubs messaging attributes (#572) ### 🧰 Bug fixes 🧰 - `aws-lambda`: Fix problem in `xray-lambda` propagator definition (#778) - `http`: Two fixes to the HTTP semconv migration guide (#802) - `network`: Clarifies that network.protocol.version represents negotiated version (#686) - `jvm`: Fix JVM buffer metric schema translations (#683) ## v1.24.0 (2023-12-15) ### Breaking - Update `jvm.gc.duration` histogram buckets to `[ 0.01, 0.1, 1, 10 ]` ([#317](https://github.com/open-telemetry/semantic-conventions/pull/317)) - BREAKING: Change type of `host.cpu.model.id` and `host.cpu.model.family` to string. ([#499](https://github.com/open-telemetry/semantic-conventions/pull/499)) - Changed `messaging.system` attribute type to an open enum ([#517](https://github.com/open-telemetry/semantic-conventions/pull/517)) - Rename metrics `jvm.memory.usage` to `jvm.memory.used` and `jvm.memory.usage_after_last_gc` to `jvm.memory.used_after_last_gc` ([#536](https://github.com/open-telemetry/semantic-conventions/pull/536)) - BREAKING: Change `event.name` definition to include `namespace` and remove `event.domain` from log event attributes. ([#473](https://github.com/open-telemetry/semantic-conventions/pull/473)) - BREAKING: Change `system.disk.io.direction` and `system.network.io.direction` to global attributes `disk.io.direction` and `network.io.direction` ([#530](https://github.com/open-telemetry/semantic-conventions/pull/530)) - BREAKING: Change `messaging.kafka.partition` to `messaging.kafka.destination.partition` ([#547](https://github.com/open-telemetry/semantic-conventions/pull/547)) ### Features - Adds `labels` attribute to `k8s.pod` resource ([#494](https://github.com/open-telemetry/semantic-conventions/pull/494)) - Change Erlang managed thread attribute to be the Erlang process ([#491](https://github.com/open-telemetry/semantic-conventions/pull/491)) - Add gcp_pubsub as a messaging system ([#490](https://github.com/open-telemetry/semantic-conventions/pull/490)) - Adds `annotation` attribute to `k8s.pod` resource ([#494](https://github.com/open-telemetry/semantic-conventions/pull/573)) - Add `code.stacktrace` attribute ([#435](https://github.com/open-telemetry/semantic-conventions/pull/435)) - Add `http.flavor` and `http.user_agent` to list of deprecated attributes ([#503](https://github.com/open-telemetry/semantic-conventions/pull/503)) - Add Semantic conventions for TLS/SSL encrypted communication. ([#21](https://github.com/open-telemetry/semantic-conventions/pull/21)) - Add `messaging.gcp_pubsub.message.ordering_key` attribute. ([#528](https://github.com/open-telemetry/semantic-conventions/pull/528)) - Define how to set `process.runtime.name`, `process.runtime.version`, `process.runtime.description` for .NET runtime. ([#561](https://github.com/open-telemetry/semantic-conventions/pull/561)) - Add `db.instance.id` attribute. ([#345](https://github.com/open-telemetry/semantic-conventions/pull/345)) - Add messaging metrics ([#163](https://github.com/open-telemetry/semantic-conventions/pull/163)) - Add .NET 8.0 metrics for HTTP client, ASP.NET Core, SignalR server and Kestrel. ([#283](https://github.com/open-telemetry/semantic-conventions/pull/283)) - Add system shared IO direction attributes ([#530](https://github.com/open-telemetry/semantic-conventions/pull/530)) - JVM metrics marked stable ([#569](https://github.com/open-telemetry/semantic-conventions/pull/569)) - Add attribute for k8s pod annotations ([#573](https://github.com/open-telemetry/semantic-conventions/pull/573)) - Replace AWS X-Ray Environment Span Link section with AWS X-Ray Active Tracing Considerations ([#354](https://github.com/open-telemetry/semantic-conventions/pull/354)) ### Fixes - Remove misleading pluralization wording related to count metrics ([#488](https://github.com/open-telemetry/semantic-conventions/pull/488)) - Remove no longer relevant Oct 1 mention from `OTEL_SEMCONV_STABILITY_OPT_IN` ([#541](https://github.com/open-telemetry/semantic-conventions/pull/541)) - Update stability definitions of HTTP client and server duration metrics to be consistent with markdown. ([#587](https://github.com/open-telemetry/semantic-conventions/pull/587)) - Use `deprecated` property to mark attributes as deprecated instead of `stability` ([#588](https://github.com/open-telemetry/semantic-conventions/pull/588)) ## v1.23.1 (2023-11-17) ### Breaking ### Features ### Fixes - [backport to 1.23.x] Temp fix for separation of resource and semantic attributes ([#524](https://github.com/open-telemetry/semantic-conventions/pull/524)) via ([#537](https://github.com/open-telemetry/semantic-conventions/pull/537)) ## v1.23.0 (2023-11-03) This release marks the first where the core of HTTP semantic conventions have stabilized. ### Breaking - BREAKING: Rename http.resend_count to http.request.resend_count. ([#374](https://github.com/open-telemetry/semantic-conventions/pull/374)) - BREAKING: Change `network.protocol.name` from recommended to opt-in in HTTP semconv. ([#398](https://github.com/open-telemetry/semantic-conventions/pull/398)) - BREAKING: Define url.scheme in terms of logical operation in HTTP server semconv. ([#376](https://github.com/open-telemetry/semantic-conventions/pull/376)) - BREAKING: Change `network.transport` from recommended to opt-in in HTTP semconv. ([#402](https://github.com/open-telemetry/semantic-conventions/pull/402)) - BREAKING: Change `network.type` from recommended to opt-in in HTTP semconv. ([#410](https://github.com/open-telemetry/semantic-conventions/pull/410)) - BREAKING: Factor in `X-Forwarded-Host` / `Forwarded` when capturing `server.address` and `server.port`. ([#411](https://github.com/open-telemetry/semantic-conventions/pull/411)) - Remove `thread.daemon`, and introduce `jvm.thread.daemon` instead. Introduce `jvm.thread.state` attribute and add it to `jvm.thread.count` metric. ([#297](https://github.com/open-telemetry/semantic-conventions/pull/297)) - Fix `server.port` to be not required when `server.address` is not set. ([#429](https://github.com/open-telemetry/semantic-conventions/pull/429)) - Use seconds as default duration for FaaS duration histograms ([#384](https://github.com/open-telemetry/semantic-conventions/pull/384)) - BREAKING: Remove `total` from list of well-known values of `system.memory.state` attribute. ([#409](https://github.com/open-telemetry/semantic-conventions/pull/409)) - Remove `url.path` default value. ([#462](https://github.com/open-telemetry/semantic-conventions/pull/462)) - Remove conditional requirement on `network.peer.address` and `network.peer.port` ([#449](https://github.com/open-telemetry/semantic-conventions/pull/449)) - Change `user_agent.original` from recommended to opt-in on HTTP client spans. ([#468](https://github.com/open-telemetry/semantic-conventions/pull/468)) - Change `http.request.body.size` and `http.response.body.size` from recommended to opt-in. ([#460](https://github.com/open-telemetry/semantic-conventions/pull/460)) - Clarify that `client.port` is the port of whichever client was captured in `client.address`. ([#471](https://github.com/open-telemetry/semantic-conventions/pull/471)) - Change `client.port` from recommended to opt-in on HTTP server spans ([#472](https://github.com/open-telemetry/semantic-conventions/pull/472)) - BREAKING: Make `url.scheme` opt_in for HTTP client and remove default value for `server.port` making it required on the client. ([#459](https://github.com/open-telemetry/semantic-conventions/pull/459)) - Make `client.address` sampling relevant on HTTP server spans. ([#469](https://github.com/open-telemetry/semantic-conventions/pull/469)) - Change `network.protocol.name` from opt-in to conditionally required. ([#478](https://github.com/open-telemetry/semantic-conventions/pull/478)) - Remove outdated `http.request.header.host` guidance ([#479](https://github.com/open-telemetry/semantic-conventions/pull/479)) - Change sampling relevant from `MUST` to `SHOULD` ([#486](https://github.com/open-telemetry/semantic-conventions/pull/486)) - Make `user_agent.original` and `http.request.header.*` sampling relevant on HTTP server spans. ([#467](https://github.com/open-telemetry/semantic-conventions/pull/467)) ### Features - Adds `session.previous_id` to session.md ([#348](https://github.com/open-telemetry/semantic-conventions/pull/348)) - Metric namespaces SHOULD NOT be pluralized. ([#267](https://github.com/open-telemetry/opentelemetry-specification/pull/267)) - Add opt-in `system.memory.limit` metric. ([#409](https://github.com/open-telemetry/semantic-conventions/pull/409)) - Add `host.mac` resource attribute convention. ([#340](https://github.com/open-telemetry/semantic-conventions/pull/340)) - Mark HTTP semantic conventions as stable. ([#377](https://github.com/open-telemetry/semantic-conventions/pull/377)) ### Fixes - Clarify that `error.type` should be the fully-qualified exception class name when it represents an exception type. ([#387](https://github.com/open-telemetry/semantic-conventions/pull/387)) - Add cardinality warning about two opt-in HTTP metric attributes ([#401](https://github.com/open-telemetry/semantic-conventions/pull/401)) - Change `server.port` from recommended to conditionally required on HTTP server semconv. ([#399](https://github.com/open-telemetry/semantic-conventions/pull/399)) - Add cardinality warning about two opt-in HTTP metric attributes to all HTTP metrics. ([#412](https://github.com/open-telemetry/semantic-conventions/pull/412)) - Remove outdated note about not recording HTTP `server.address` when only IP address available. ([#413](https://github.com/open-telemetry/semantic-conventions/pull/413)) - Clarify HTTP server definitions and `server.address|port` notes. ([#423](https://github.com/open-telemetry/semantic-conventions/pull/423)) - Change the precedence between `:authority` and `Host` headers when populating `server.address` and `server.port` attributes. ([#455](https://github.com/open-telemetry/semantic-conventions/pull/455)) - Explain `deployment.environment` impact on service identity. ([#481](https://github.com/open-telemetry/semantic-conventions/pull/481)) ## v1.22.0 (2023-10-12) - Remove experimental Kafka metrics ([#338](https://github.com/open-telemetry/semantic-conventions/pull/338)) - Adds `session.id` and session.md to general docs and model ([#215](https://github.com/open-telemetry/semantic-conventions/pull/215)) - Add `container.labels.` attributes. ([#125](https://github.com/open-telemetry/semantic-conventions/pull/125)) - Add `cluster.name` and `node.name` attributes to Elasticsearch semantic conventions. ([#285](https://github.com/open-telemetry/semantic-conventions/pull/285)) - Fix the unit of metric.process.runtime.jvm.system.cpu.load_1m to be {run_queue_item} ([#95](https://github.com/open-telemetry/semantic-conventions/pull/95)) - Update `.count` metric naming convention so that it only applies to UpDownCounters, and add that `.total` should not be used by either Counters or UpDownCounters ([#107](https://github.com/open-telemetry/semantic-conventions/pull/107)) - Add `oci.manifest.digest`, `container.image.repo_digests` attributes. Make `container.image.tag` array and in plural form. ([#159](https://github.com/open-telemetry/semantic-conventions/pull/159)) - BREAKING: Rename `http.client.duration` and `http.server.duration` metrics to `http.client.request.duration` and `http.server.request.duration` respectively. ([#224](https://github.com/open-telemetry/semantic-conventions/pull/224)) - Update HTTP `network.protocol.version` examples to match HTTP RFCs. ([#228](https://github.com/open-telemetry/semantic-conventions/pull/228)) - Re-introduce namespace and attributes to describe the original destination messages were published to (`messaging.destination_publish.*`). ([#156](https://github.com/open-telemetry/semantic-conventions/pull/156)) - Generate FaaS metric semantic conventions from YAML. ([#88](https://github.com/open-telemetry/semantic-conventions/pull/88)) The conventions cover metrics that are recorded by the FaaS itself and not by clients invoking them. - BREAKING: Rename all JVM metrics from `process.runtime.jvm.*` to `jvm.*` ([#241](https://github.com/open-telemetry/semantic-conventions/pull/241)) - BREAKING: Add namespaces to JVM metric attributes ([#20](https://github.com/open-telemetry/semantic-conventions/pull/20)). - Rename attributes `type` to `jvm.memory.type`, `pool` to `jvm.memory.pool.name` - Applies to metrics: - `jvm.memory.usage` - `jvm.memory.init` - `jvm.memory.committed` - `jvm.memory.limit` - `jvm.memory.usage_after_last_gc` - Rename attributes `gc` to `jvm.gc.name`, `action` to `jvm.gc.action` - Applies to metrics: - `jvm.gc.duration` - Rename attribute `daemon` to `thread.daemon` - Applies to metrics: - `jvm.threads.count` - Rename attribute `pool` to `jvm.buffer.pool.name` - Applies to metrics: - `jvm.buffer.usage` - `jvm.buffer.limit` - `jvm.buffer.count` - Clarify that `http/dup` has higher precedence than `http` in case both values are present in `OTEL_SEMCONV_STABILITY_OPT_IN` ([#249](https://github.com/open-telemetry/semantic-conventions/pull/249)) - Add `jvm.cpu.count` metric. ([#52](https://github.com/open-telemetry/semantic-conventions/pull/52)) - BREAKING: Rename metrics `jvm.buffer.usage` to `jvm.buffer.memory.usage` and `jvm.buffer.limit` to `jvm.buffer.memory.limit`. ([#253](https://github.com/open-telemetry/semantic-conventions/pull/253)) - BREAKING: Rename `jvm.classes.current_loaded` metrics to `jvm.classes.count` ([#60](https://github.com/open-telemetry/semantic-conventions/pull/60)) - BREAKING: Remove pluralization from JVM metric namespaces. ([#252](https://github.com/open-telemetry/semantic-conventions/pull/252)) - Simplify HTTP metric briefs. ([#276](https://github.com/open-telemetry/semantic-conventions/pull/276)) - Add host cpu resource attributes. ([#209](https://github.com/open-telemetry/semantic-conventions/pull/209)) - Introduce `error.type` attribute and use it in HTTP conventions ([#205](https://github.com/open-telemetry/semantic-conventions/pull/205)) - BREAKING: Change HTTP span name when method is unknown (use `HTTP` instead of `_OTHER`) ([#270](https://github.com/open-telemetry/semantic-conventions/pull/270)) - Moved RPC streaming notes from metric brief section to notes section. ([#275](https://github.com/open-telemetry/semantic-conventions/pull/275)) - Updates `client.address` to allow domain names for consistency with `server.address`. ([#302](https://github.com/open-telemetry/semantic-conventions/pull/302)) - BREAKING: Generate System metrics semconv from YAML. ([#89](https://github.com/open-telemetry/semantic-conventions/pull/89)) - Rename attributes for `system.cpu.*` metrics: - `state` to `system.cpu.state` - `cpu` to `system.cpu.logical_number` - Rename attributes for `system.memory.*` metrics: - `state` to `system.memory.state` - Rename attributes for `system.paging.*` metrics: - `state` to `system.paging.state` - `type` to `system.paging.type` - `direction` to `system.paging.direction` - Rename attributes for `system.disk.*` metrics: - `device` to `system.device` - `direction` to `system.disk.direction` - Rename attributes for `system.filesystem.*` metrics: - `device` to `system.device` - `state` to `system.filesystem.state` - `type` to `system.filesystem.type` - `mode` to `system.filesystem.mode` - `mountpoint` to `system.filesystem.mountpoint` - Rename attributes for `system.network.*` metrics: - `device` to `system.device` - `direction` to `system.network.direction` - `protocol` to `network.protocol` - `state` to `system.network.state` - Rename attributes for `system.processes.*` metrics: - `status` to `system.processes.status` - BREAKING: Rename `messaging.message.payload_size_bytes` to `messaging.message.body.size`, remove `messaging.message.payload_compressed_size_bytes`. ([#229](https://github.com/open-telemetry/semantic-conventions/pull/229)) - Add `system.linux.memory.available` metric. ([#323](https://github.com/open-telemetry/semantic-conventions/pull/323)) - BREAKING: Rename `http.server.request.size` metric to `http.server.request.body.size` and `http.server.response.size` metric to `http.server.response.body.size` ([#247](https://github.com/open-telemetry/semantic-conventions/pull/247)) - Move non-`network.*` attributes out of network.yaml. ([#296](https://github.com/open-telemetry/semantic-conventions/pull/296)) - Introducing Android `android.os.api_level` resource attribute. ([#328](https://github.com/open-telemetry/semantic-conventions/pull/328)) - Added `os.build_id` resource attribute. ([#293](https://github.com/open-telemetry/semantic-conventions/pull/293)) - BREAKING: Remove the zero bucket boundary from `http.server.request.duration` and `http.client.request.duration`. ([#318](https://github.com/open-telemetry/semantic-conventions/pull/318)) - Encourage setting `network.transport` when reporting port numbers ([#289](https://github.com/open-telemetry/semantic-conventions/pull/289)) - BREAKING: Add `url.scheme` to `http.client.*` metrics ([#357](https://github.com/open-telemetry/semantic-conventions/pull/357)) - BREAKING: Remove `server.socket.address` from HTTP and RPC client metrics. ([#350](https://github.com/open-telemetry/semantic-conventions/pull/350)) - Improve network attribute briefs. ([#352](https://github.com/open-telemetry/semantic-conventions/pull/352)) - Document the difference between host and system metrics ([#324](https://github.com/open-telemetry/semantic-conventions/pull/324)) - BREAKING: Rename `telemetry.auto.version` resource attribute to `telemetry.distro.version` and add `telemetry.distro.name` resource attribute ([#178](https://github.com/open-telemetry/semantic-conventions/pull/178)) - Add `system.cpu.frequency` metric. ([#337](https://github.com/open-telemetry/semantic-conventions/pull/337)) - Improve HTTP metric briefs. ([#366](https://github.com/open-telemetry/semantic-conventions/pull/366)) - Add `host.ip` resource attribute convention. ([#203](https://github.com/open-telemetry/semantic-conventions/pull/203)) - BREAKING: remove `-` to `_` normalization from http header and rpc metadata attribute keys. ([#369](https://github.com/open-telemetry/semantic-conventions/pull/369)) - BREAKING: Rename/replace `(client|server).socket.(address|port)` attributes with `network.(peer|local).(address|port)`. ([#342](https://github.com/open-telemetry/semantic-conventions/pull/342)) - Make `network.protocol.name|version` description consistent between HTTP spans and metrics. ([#367](https://github.com/open-telemetry/semantic-conventions/pull/367)) ## v1.21.0 (2023-07-13) Note: This is the first release of Semantic Conventions separate from the Specification. - Add GCP Bare Metal Solution as a cloud platform ([#64](https://github.com/open-telemetry/semantic-conventions/pull/64)) - Clarify the scope of the HTTP client span. ([#3290](https://github.com/open-telemetry/opentelemetry-specification/pull/3290)) - Add moratorium on relying on schema transformations for telemetry stability ([#3380](https://github.com/open-telemetry/opentelemetry-specification/pull/3380)) - Mark "Instrumentation Units" and "Instrumentation Types" sections of the general metric semantic conventions as stable ([#3294](https://github.com/open-telemetry/opentelemetry-specification/pull/3294)) - Add clarification that UCUM c/s variant applies to all units other than `1` and those using [annotations](https://ucum.org/ucum.html#para-curly). ([#3393](https://github.com/open-telemetry/opentelemetry-specification/pull/3393)) - Specify that seconds should be used for measuring durations. ([#3388](https://github.com/open-telemetry/opentelemetry-specification/pull/3388)) - Change http.server.duration and http.client.duration units to seconds ([#3390](https://github.com/open-telemetry/opentelemetry-specification/pull/3390)) - BREAKING: Remove `messaging.consumer.id`, make `messaging.client_id` generic ([#3336](https://github.com/open-telemetry/opentelemetry-specification/pull/3336)) - Add transition plan for upcoming breaking changes to the unstable HTTP semantic conventions. ([#3443](https://github.com/open-telemetry/opentelemetry-specification/pull/3443)) - Rename `net.peer.*`, `net.host.*`, and `net.sock.*` attributes to align with ECS ([#3402](https://github.com/open-telemetry/opentelemetry-specification/pull/3402)) BREAKING: rename `net.peer.name` to `server.address` on client side and to `client.address` on server side, `net.peer.port` to `server.port` on client side and to `client.port` on server side, `net.host.name` and `net.host.port` to `server.address` and `server.port` (since `net.host.*` attributes only applied to server instrumentation), `net.sock.peer.addr` to `server.socket.address` on client side and to `client.socket.address` on server side, `net.sock.peer.port` to `server.socket.port` on client side and to `client.socket.port` on server side, `net.sock.peer.name` to `server.socket.domain` (since `net.sock.peer.name` only applied to client instrumentation), `net.sock.host.addr` to `server.socket.address` (since `net.sock.host.*` only applied to server instrumentation), `net.sock.host.port` to `server.socket.port` (similarly since `net.sock.host.*` only applied to server instrumentation), `http.client_ip` to `client.address` - BREAKING: Introduce `network.transport` defined as [OSI Transport Layer](https://osi-model.com/transport-layer/) or [Inter-process Communication method](https://en.wikipedia.org/wiki/Inter-process_communication). Introduce `network.type` defined as [OSI Network Layer](https://osi-model.com/network-layer/) or non-OSI equivalent. Remove `net.transport` and `net.sock.family`. Rename `net.protocol.*` to `network.protocol.*`, `net.host.connection.*` to `network.connection.*`, and `net.host.carrier.*` to `network.carrier.*`. ([#3426](https://github.com/open-telemetry/opentelemetry-specification/pull/3426)) - BREAKING: Adopt ECS attributes in HTTP semantic conventions. Renames: `http.method` to `http.request.method`, `http.status_code` to `http.response.status_code`, `http.request_content_length` to `http.request.body.size`, `http.response_content_length` to `http.response.body.size`, `http.url` to `url.full`, `http.scheme` to `url.scheme`, and removes `http.target` breaking it down to `http.target` to `url.path`, `url.query`, and `url.fragment`. ([#3355](https://github.com/open-telemetry/opentelemetry-specification/pull/3355)) - Add `gcp.cloud_run.job.execution` and `gcp.cloud_run.job.task_id` resource attributes for GCP Cloud Run Jobs ([#3378](https://github.com/open-telemetry/opentelemetry-specification/pull/3378)) - Specify second unit (`s`) and advice bucket boundaries of `[]` for `process.runtime.jvm.gc.duration`. ([#3458](https://github.com/open-telemetry/opentelemetry-specification/pull/3458)) - Specify the value range for JVM CPU metrics. ([#13](https://github.com/open-telemetry/semantic-conventions/pull/13)) - Rename `process.runtime.jvm.cpu.utilization` to `process.runtime.jvm.cpu.recent_utilization`. ([#53](https://github.com/open-telemetry/semantic-conventions/pull/53)) - Clarify `process.runtime.jvm.threads.count` refers to platform threads. ([#54](https://github.com/open-telemetry/semantic-conventions/pull/54)) - Add `gcp.gce.instance.name` and `gcp.gce.instance.hostname` resource attributes for GCP Compute Engine VMs. ([#15](https://github.com/open-telemetry/semantic-conventions/pull/15)) - Add note that HTTP duration metrics should match HTTP span duration. ([#69](https://github.com/open-telemetry/semantic-conventions/pull/69)) - Clarify when HTTP client spans should end. ([#70](https://github.com/open-telemetry/semantic-conventions/pull/70)) - Clarify that OTEL_SEMCONV_STABILITY_OPT_IN is a comma-separated list of values ([#104](https://github.com/open-telemetry/semantic-conventions/pull/104)) - Add `process.runtime.jvm.cpu.time` metric. ([#55](https://github.com/open-telemetry/semantic-conventions/pull/55)) - Split out sections for proposed stable JVM metrics and experimental JVM metrics. ([#56](https://github.com/open-telemetry/semantic-conventions/pull/56)) - Make `url.query` conditionally required for HTTP spans. ([#118](https://github.com/open-telemetry/semantic-conventions/pull/118)) - Change `server.address` and `server.port` requirement levels on HTTP server metrics from `required` to `opt_in`. ([#109](https://github.com/open-telemetry/semantic-conventions/pull/109)) - Updated AWS Java Lambda guidance - using system properties. ([#27](https://github.com/open-telemetry/semantic-conventions/pull/27)) - Limit `http.request.method` values to a closed set of known values, introduce `http.request.method_original` for the original value. ([#17](https://github.com/open-telemetry/semantic-conventions/pull/17)) - Mark service.version as stable. ([#106](https://github.com/open-telemetry/semantic-conventions/pull/106)) - Mark initial set of HTTP semantic conventions as frozen ([#105](https://github.com/open-telemetry/semantic-conventions/pull/105)) - BREAKING: Remove `messaging.source.*` attributes and use `messaging.destination.*` attributes on producer and consumer to describe messaging queue or topic. ([#100](https://github.com/open-telemetry/semantic-conventions/pull/100)) - Mark `process.runtime.jvm.system.cpu.load_1m` and `process.runtime.jvm.system.cpu.utilization` metrics as opt-in. ([#57](https://github.com/open-telemetry/semantic-conventions/pull/57)) - Add container `image.id`, `command`, `command_line` and `command_args` resource attributes. ([#39](https://github.com/open-telemetry/semantic-conventions/pull/39)) - Add Elasticsearch client semantic conventions. ([#23](https://github.com/open-telemetry/semantic-conventions/pull/23)) - Add YAML definitions for log semantic conventions and define requirement levels ([#133](https://github.com/open-telemetry/semantic-conventions/pull/133)) - Add markdown file for url semantic conventions ([#174](https://github.com/open-telemetry/semantic-conventions/pull/174)) - Add `system.cpu.physical.count` and `system.cpu.logical.count` metrics. ([#99](https://github.com/open-telemetry/opentelemetry-specification/pull/99)) ## v1.20.0 (2023-04-07) This and earlier versions were released as part of [the Specification](https://github.com/open-telemetry/opentelemetry-specification/). See [the specification changelog](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/CHANGELOG.md) if you'd like to `git blame` a changelog entry. - Clarify that attribute requirement levels apply to the instrumentation library ([#3289](https://github.com/open-telemetry/opentelemetry-specification/pull/3289)) - Fix grammatical number of metric units. ([#3298](https://github.com/open-telemetry/opentelemetry-specification/pull/3298)) - Rename `net.app.protocol.(name|version)` to `net.protocol.(name|version)` ([#3272](https://github.com/open-telemetry/opentelemetry-specification/pull/3272)) - Replace `http.flavor` with `net.protocol.(name|version)` ([#3272](https://github.com/open-telemetry/opentelemetry-specification/pull/3272)) - Metric requirement levels are now stable ([#3271](https://github.com/open-telemetry/opentelemetry-specification/pull/3271)) - BREAKING: remove `messaging.destination.kind` and `messaging.source.kind`. ([#3214](https://github.com/open-telemetry/opentelemetry-specification/pull/3214), [#3348](https://github.com/open-telemetry/opentelemetry-specification/pull/3348)) - Define attributes collected for `cosmosdb` by Cosmos DB SDK ([#3097](https://github.com/open-telemetry/opentelemetry-specification/pull/3097)) - Clarify stability requirements of semantic conventions ([#3225](https://github.com/open-telemetry/opentelemetry-specification/pull/3225)) - BREAKING: Change span statuses for gRPC server spans. ([#3333](https://github.com/open-telemetry/opentelemetry-specification/pull/3333)) - Stabilize key components of `service.*` and `telemetry.sdk.*` resource semantic conventions. ([#3202](https://github.com/open-telemetry/opentelemetry-specification/pull/3202)) - Fixed attributes requirement level in semantic conventions for hardware metrics ([#3258](https://github.com/open-telemetry/opentelemetry-specification/pull/3258)) - Added AWS S3 semantic conventions. ([#3251](https://github.com/open-telemetry/opentelemetry-specification/pull/3251)) - Fix units in the Kafka metric semantic conventions. ([#3300](https://github.com/open-telemetry/opentelemetry-specification/pull/3300)) - Add Trino to Database specific conventions ([#3347](https://github.com/open-telemetry/opentelemetry-specification/pull/3347)) - Change `db.statement` to only be collected if there is sanitization. ([#3127](https://github.com/open-telemetry/opentelemetry-specification/pull/3127)) - BREAKING: Remove `http.status_code` attribute from the `http.server.active_requests` metric. ([#3366](https://github.com/open-telemetry/opentelemetry-specification/pull/3366)) - Mark attribute requirement levels as stable ([#3368](https://github.com/open-telemetry/opentelemetry-specification/pull/3368)) ## v1.19.0 (2023-03-06) - Move X-Ray Env Variable propagation to span link instead of parent for AWS Lambda. ([#3166](https://github.com/open-telemetry/opentelemetry-specification/pull/3166)) - Add heroku resource semantic conventions. [#3075](https://github.com/open-telemetry/opentelemetry-specification/pull/3075) - BREAKING: Rename faas.execution to faas.invocation_id ([#3209](https://github.com/open-telemetry/opentelemetry-specification/pull/3209)) - BREAKING: Change faas.max_memory units to Bytes instead of MB ([#3209](https://github.com/open-telemetry/opentelemetry-specification/pull/3209)) - BREAKING: Expand scope of faas.id to cloud.resource_id ([#3188](https://github.com/open-telemetry/opentelemetry-specification/pull/3188)) - Add Connect RPC specific conventions ([#3116](https://github.com/open-telemetry/opentelemetry-specification/pull/3116)) - Rename JVM metric attribute value from `nonheap` to `non_heap` ([#3250](https://github.com/open-telemetry/opentelemetry-specification/pull/3250)) - Mark the attribute naming guidelines in the specification as stable. ([#3220](https://github.com/open-telemetry/opentelemetry-specification/pull/3220)) - Mark telemetry schema readme stable. ([#3221](https://github.com/open-telemetry/opentelemetry-specification/pull/3221)) - Remove mention of `net.transport` from HTTP semantic conventions ([#3244](https://github.com/open-telemetry/opentelemetry-specification/pull/3244)) - Clarifies that if an HTTP client request is explicitly made to an IP address, e.g. `http://x.x.x.x:8080`, then `net.peer.name` SHOULD be the IP address `x.x.x.x` ([#3276](https://github.com/open-telemetry/opentelemetry-specification/pull/3276)) - Mark `net.sock.host.port` as conditionally required. ([#3246](https://github.com/open-telemetry/opentelemetry-specification/pull/3246)) - Rename Optional attribute requirement level to Opt-In. ([#3228](https://github.com/open-telemetry/opentelemetry-specification/pull/3228)) - Rename `http.user_agent` to `user_agent.original`. ([#3190](https://github.com/open-telemetry/opentelemetry-specification/pull/3190)) - Expand the declaration of `pool.name`. ([#3050](https://github.com/open-telemetry/opentelemetry-specification/pull/3050)) ## v1.18.0 (2023-02-09) - Add Cloud Spanner and Microsoft SQL Server Compact to db.system semantic conventions ([#3105](https://github.com/open-telemetry/opentelemetry-specification/pull/3105)). - Enable semantic convention tooling for metrics in spec ([#3119](https://github.com/open-telemetry/opentelemetry-specification/pull/3119)) - Rename google openshift platform attribute from `google_cloud_openshift` to `gcp_openshift` to match the existing `cloud.provider` prefix. ([#3095](https://github.com/open-telemetry/opentelemetry-specification/pull/3095)) - Changes http server span names from `{http.route}` to `{http.method} {http.route}` (when route is available), and from `HTTP {http.method}` to `{http.method}` (when route is not available). Changes http client span names from `HTTP {http.method}` to `{http.method}`. ([#3165](https://github.com/open-telemetry/opentelemetry-specification/pull/3165)) - Mark `http.server.duration` and `http.client.duration` metrics as required, and mark all other HTTP metrics as optional. [#3158](https://github.com/open-telemetry/opentelemetry-specification/pull/3158) - Add `net.host.port` to `http.server.active_requests` metrics attributes. [#3158](https://github.com/open-telemetry/opentelemetry-specification/pull/3158) - `http.route` SHOULD contain the "application root" if there is one. ([#3164](https://github.com/open-telemetry/opentelemetry-specification/pull/3164)) ## v1.17.0 (2023-01-17) - Clarify common HTTP attributes apply to both clients and servers ([#3044](https://github.com/open-telemetry/opentelemetry-specification/pull/3044)) - Add `code.lineno` source code attribute ([#3029](https://github.com/open-telemetry/opentelemetry-specification/pull/3029)) - Add ClickHouse to db.system semantic conventions ([#3011](https://github.com/open-telemetry/opentelemetry-specification/pull/3011)) - Refactor messaging attributes and per-message attributes in batching scenarios. ([#2957](https://github.com/open-telemetry/opentelemetry-specification/pull/2957)). BREAKING: rename `messaging.consumer_id` to `messaging.consumer.id`, `messaging.destination` to `messaging.destination.name`, `messaging.temp_destination` to `messaging.destination.temporary`, `messaging.destination_kind` to `messaging.destination.kind`, `messaging.message_id` to `messaging.message.id`, `messaging.protocol` to `net.app.protocol.name`, `messaging.protocol_version`, `net.app.protocol.version`, `messaging.conversation_id` to `messaging.message.conversation_id`, `messaging.message_payload_size_bytes` to `messaging.message.payload_size_bytes`, `messaging.message_payload_compressed_size_bytes` to `messaging.message.payload_compressed_size_bytes`, `messaging.rabbitmq.routing_key`: `messaging.rabbitmq.destination.routing_key`, `messaging.kafka.message_key` to `messaging.kafka.message.key`, `messaging.kafka.consumer_group` to `messaging.kafka.consumer.group`, `messaging.kafka.partition` to `messaging.kafka.destination.partition`, `messaging.kafka.tombstone` to `messaging.kafka.message.tombstone`, `messaging.rocketmq.message_type` to `messaging.rocketmq.message.type`, `messaging.rocketmq.message_tag` to `messaging.rocketmq.message.tag`, `messaging.rocketmq.message_keys` to `messaging.rocketmq.message.keys`; Removed `messaging.url`; Renamed `send` operation to `publish`; Split `destination` and `source` namespaces and clarify per-message attributes in batching scenarios. ## v1.16.0 (2022-12-08) - Add `process.runtime.jvm.gc.duration` metric to semantic conventions. ([#2903](https://github.com/open-telemetry/opentelemetry-specification/pull/2903)) - Make http.status_code metric attribute an int. ([#2943](https://github.com/open-telemetry/opentelemetry-specification/pull/2943)) - Add IBM Cloud as a cloud provider. ([#2965](https://github.com/open-telemetry/opentelemetry-specification/pull/2965)) - Add semantic conventions for Feature Flags ([#2529](https://github.com/open-telemetry/opentelemetry-specification/pull/2529)) - Rename `rpc.request.metadata.` and `rpc.response.metadata.` to `rpc.grpc.request.metadata.` and `rpc.grpc.response.metadata.` ([#2981](https://github.com/open-telemetry/opentelemetry-specification/pull/2981)) - List the machine-id as potential source for a unique host.id ([#2978](https://github.com/open-telemetry/opentelemetry-specification/pull/2978)) - Add `messaging.kafka.message.offset` attribute. ([#2982](https://github.com/open-telemetry/opentelemetry-specification/pull/2982)) - Update hardware metrics to use `direction` as per general semantic conventions ([#2942](https://github.com/open-telemetry/opentelemetry-specification/pull/2942)) ## v1.15.0 (2022-11-09) - Change to messaging.kafka.max.lag from UpDownCounter to Gauge (and rename it) ([#2837](https://github.com/open-telemetry/opentelemetry-specification/pull/2837)) - Add daemon attribute to jvm threads metric ([#2828](https://github.com/open-telemetry/opentelemetry-specification/pull/2828)) - Add gRPC request and response metadata semantic conventions ([#2874](https://github.com/open-telemetry/opentelemetry-specification/pull/2874)) - Add `process.paging.faults` metric to semantic conventions ([#2827](https://github.com/open-telemetry/opentelemetry-specification/pull/2827)) - Define semantic conventions yaml for non-otlp conventions ([#2850](https://github.com/open-telemetry/opentelemetry-specification/pull/2850)) - Add more semantic convention attributes of Apache RocketMQ ([#2881](https://github.com/open-telemetry/opentelemetry-specification/pull/2881)) - Add `process.runtime.jvm.memory.usage_after_last_gc` metric to semantic conventions. ([#2901](https://github.com/open-telemetry/opentelemetry-specification/pull/2901)) ## v1.14.0 (2022-10-04) - Add `process.context_switches`, and `process.open_file_descriptors`, to the metrics semantic conventions ([#2706](https://github.com/open-telemetry/opentelemetry-specification/pull/2706)) - Add exceptions to the logs semantic conventions ([#2819](https://github.com/open-telemetry/opentelemetry-specification/pull/2819)) - Make context propagation requirements explicit for messaging semantic conventions ([#2750](https://github.com/open-telemetry/opentelemetry-specification/pull/2750)). - Update http metrics to use `http.route` instead of `http.target` for servers, drop `http.url` for clients ([#2818](https://github.com/open-telemetry/opentelemetry-specification/pull/2818)). ## v1.13.0 (2022-09-19) - Add `net.app.protocol.*` attributes ([#2602](https://github.com/open-telemetry/opentelemetry-specification/pull/2602)) - Add network metrics to process semantic conventions ([#2556](https://github.com/open-telemetry/opentelemetry-specification/pull/2556)) - Adopt attribute requirement levels in semantic conventions ([#2594](https://github.com/open-telemetry/opentelemetry-specification/pull/2594)) - Add semantic conventions for GraphQL ([#2456](https://github.com/open-telemetry/opentelemetry-specification/pull/2456)) - Change `cloudevents.event_spec_version` and `cloudevents.event_type` level from `required` to `recommended` ([#2618](https://github.com/open-telemetry/opentelemetry-specification/pull/2618)) - Change `faas.document.time` and `faas.time` level from `required` to `recommended` ([#2627](https://github.com/open-telemetry/opentelemetry-specification/pull/2627)) - Add `rpc.grpc.status_code` to RPC metric semantic conventions ([#2604](https://github.com/open-telemetry/opentelemetry-specification/pull/2604)) - Add `http.*.*.size` metric semantic conventions for tracking size of requests / responses for http servers / clients ([#2588](https://github.com/open-telemetry/opentelemetry-specification/pull/2588)) - BREAKING: rename `net.peer.ip` to `net.sock.peer.addr`, `net.host.ip` to `net.sock.host.addr`, `net.peer.name` to `net.sock.peer.name` for socket-level instrumentation. Define socket-level attributes and clarify logical peer and host attributes meaning ([#2594](https://github.com/open-telemetry/opentelemetry-specification/pull/2594)) - Add semantic conventions for JVM buffer pool usage ([#2650](https://github.com/open-telemetry/opentelemetry-specification/pull/2650)) - Improve the definition of `state` attribute for metric `system.network.connections` ([#2663](https://github.com/open-telemetry/opentelemetry-specification/pull/2663)) - Add `process.parent_pid` attribute for use in reporting parent process id (PID) ([#2691](https://github.com/open-telemetry/opentelemetry-specification/pull/2691)) - Add OpenSearch to db.system semantic conventions ([#2718](https://github.com/open-telemetry/opentelemetry-specification/pull/2718)) - Clarify when "count" is used instead of pluralization ([#2613](https://github.com/open-telemetry/opentelemetry-specification/pull/2613)) - Add the convention 'type' to the YAML definitions for all existing semantic conventions ([#2693](https://github.com/open-telemetry/opentelemetry-specification/pull/2693)) - Remove alternative attribute sets from HTTP semantic conventions ([#2469](https://github.com/open-telemetry/opentelemetry-specification/pull/2469)) ## v1.12.0 (2022-06-10) - Add semantic conventions for JVM CPU metrics ([#2292](https://github.com/open-telemetry/opentelemetry-specification/pull/2292)) - Add details for FaaS conventions for Azure Functions and allow FaaS/Cloud resources as span attributes on incoming FaaS spans ([#2502](https://github.com/open-telemetry/opentelemetry-specification/pull/2502)) - Define attribute requirement levels ([#2522](https://github.com/open-telemetry/opentelemetry-specification/pull/2522)) - Initial addition of Kafka metrics ([#2485](https://github.com/open-telemetry/opentelemetry-specification/pull/2485)). - Add semantic conventions for Kafka consumer metrics ([#2536](https://github.com/open-telemetry/opentelemetry-specification/pull/2536)) - Add database connection pool metrics semantic conventions ([#2273](https://github.com/open-telemetry/opentelemetry-specification/pull/2273)). - Specify how to obtain a Ruby thread's id ([#2508](https://github.com/open-telemetry/opentelemetry-specification/pull/2508)). - Refactor jvm classes semantic conventions ([#2550](https://github.com/open-telemetry/opentelemetry-specification/pull/2550)). - Add browser.\* attributes ([#2353](https://github.com/open-telemetry/opentelemetry-specification/pull/2353)). - Change JVM runtime metric `process.runtime.jvm.memory.max` to `process.runtime.jvm.memory.limit` ([#2605](https://github.com/open-telemetry/opentelemetry-specification/pull/2605)). - Add semantic conventions for hardware metrics ([#2518](https://github.com/open-telemetry/opentelemetry-specification/pull/2518)). ## v1.11.0 (2022-05-04) - Note added that `net.peer.name` SHOULD NOT be set if capturing it would require an extra reverse DNS lookup. And moved `net.peer.name` from common http attributes to just client http attributes. ([#2446](https://github.com/open-telemetry/opentelemetry-specification/pull/2446)) - Add `net.host.name` and `net.host.ip` conventions for rpc server spans. ([#2447](https://github.com/open-telemetry/opentelemetry-specification/pull/2447)) - Allow all metric conventions to be either synchronous or asynchronous. ([#2458](https://github.com/open-telemetry/opentelemetry-specification/pull/2458) - Update JVM metrics with JMX Gatherer values ([#2478](https://github.com/open-telemetry/opentelemetry-specification/pull/2478)) - Add HTTP/3 ([#2507](https://github.com/open-telemetry/opentelemetry-specification/pull/2507)) - Map SunOS to solaris for os.type resource attribute ([#2509](https://github.com/open-telemetry/opentelemetry-specification/pull/2509)) ## v1.10.0 (2022-04-01) - Define span structure for HTTP retries and redirects. ([#2078](https://github.com/open-telemetry/opentelemetry-specification/pull/2078)) - Changed `rpc.system` to an enum (allowing custom values), and changed the `rpc.system` value for .NET WCF from `wcf` to `dotnet_wcf`. ([#2377](https://github.com/open-telemetry/opentelemetry-specification/pull/2377)) - Define JavaScript runtime semantic conventions. ([#2290](https://github.com/open-telemetry/opentelemetry-specification/pull/2290)) - Add semantic conventions for [CloudEvents](https://cloudevents.io). ([#1978](https://github.com/open-telemetry/opentelemetry-specification/pull/1978)) - Add `process.cpu.utilization` metric. ([#2436](https://github.com/open-telemetry/opentelemetry-specification/pull/2436)) - Add `rpc.system` value for Apache Dubbo. ([#2453](https://github.com/open-telemetry/opentelemetry-specification/pull/2453)) ## v1.9.0 (2022-02-10) - Align runtime metric and resource namespaces ([#2112](https://github.com/open-telemetry/opentelemetry-specification/pull/2112)) - Prohibit usage of retired names in semantic conventions. ([#2191](https://github.com/open-telemetry/opentelemetry-specification/pull/2191)) - Add `device.manufacturer` to describe mobile device manufacturers. ([2100](https://github.com/open-telemetry/opentelemetry-specification/pull/2100)) - Change golang namespace to 'go', rather than 'gc' ([#2262](https://github.com/open-telemetry/opentelemetry-specification/pull/2262)) - Add JVM memory runtime semantic conventions. ([#2272](https://github.com/open-telemetry/opentelemetry-specification/pull/2272)) - Add opentracing.ref_type semantic convention. ([#2297](https://github.com/open-telemetry/opentelemetry-specification/pull/2297)) ## v1.8.0 (2021-11-12) - Add `k8s.container.restart_count` Resource attribute. ([#1945](https://github.com/open-telemetry/opentelemetry-specification/pull/1945)) - Add "IBM z/Architecture" (`s390x`) to `host.arch` ([#2055](https://github.com/open-telemetry/opentelemetry-specification/pull/2055)) - BREAKING: Remove db.cassandra.keyspace and db.hbase.namespace, and clarify db.name ([#1973](https://github.com/open-telemetry/opentelemetry-specification/pull/1973)) - Add AWS App Runner as a cloud platform ([#2004](https://github.com/open-telemetry/opentelemetry-specification/pull/2004)) - Add Tencent Cloud as a cloud provider. ([#2006](https://github.com/open-telemetry/opentelemetry-specification/pull/2006)) - Don't set Span.Status for 4xx http status codes for SERVER spans. ([#1998](https://github.com/open-telemetry/opentelemetry-specification/pull/1998)) - Add attributes for Apache RocketMQ. ([#1904](https://github.com/open-telemetry/opentelemetry-specification/pull/1904)) - Define http tracing attributes provided at span creation time ([#1916](https://github.com/open-telemetry/opentelemetry-specification/pull/1916)) - Change meaning and discourage use of `faas.trigger` for FaaS clients (outgoing). ([#1921](https://github.com/open-telemetry/opentelemetry-specification/pull/1921)) - Clarify difference between container.name and k8s.container.name ([#1980](https://github.com/open-telemetry/opentelemetry-specification/pull/1980)) ## v1.7.0 (2021-09-30) - BREAKING: Change enum member IDs to lowercase without spaces, not starting with numbers. Change values of `net.host.connection.subtype` to match. ([#1863](https://github.com/open-telemetry/opentelemetry-specification/pull/1863)) - Lambda instrumentations should check if X-Ray parent context is valid ([#1867](https://github.com/open-telemetry/opentelemetry-specification/pull/1867)) - Update YAML definitions for events ([#1843](https://github.com/open-telemetry/opentelemetry-specification/pull/1843)): - Mark exception as semconv type "event". - Add YAML definitions for grpc events. - Add `messaging.consumer_id` to differentiate between message consumers. ([#1810](https://github.com/open-telemetry/opentelemetry-specification/pull/1810)) - Clarifications for `http.client_ip` and `http.host`. ([#1890](https://github.com/open-telemetry/opentelemetry-specification/pull/1890)) - Add HTTP request and response headers semantic conventions. ([#1898](https://github.com/open-telemetry/opentelemetry-specification/pull/1898)) ## v1.6.0 (2021-08-06) - Add mobile-related network state: `net.host.connection.type`, `net.host.connection.subtype` & `net.host.carrier.*` [#1647](https://github.com/open-telemetry/opentelemetry-specification/issues/1647) - Adding alibaba cloud as a cloud provider. ([#1831](https://github.com/open-telemetry/opentelemetry-specification/pull/1831)) ## v1.5.0 (2021-07-08) - Clean up FaaS semantic conventions, add `aws.lambda.invoked_arn`. ([#1781](https://github.com/open-telemetry/opentelemetry-specification/pull/1781)) - Remove `rpc.jsonrpc.method`, clarify that `rpc.method` should be used instead. ([#1748](https://github.com/open-telemetry/opentelemetry-specification/pull/1748)) ## v1.4.0 (2021-06-07) - Add JSON RPC specific conventions ([#1643](https://github.com/open-telemetry/opentelemetry-specification/pull/1643)). - Add Memcached to Database specific conventions ([#1689](https://github.com/open-telemetry/opentelemetry-specification/pull/1689)). - Add semantic convention attributes for the host device and added OS name and version ([#1596](https://github.com/open-telemetry/opentelemetry-specification/pull/1596)). - Add CockroachDB to Database specific conventions ([#1725](https://github.com/open-telemetry/opentelemetry-specification/pull/1725)). ## v1.3.0 (2021-05-05) - Fix the inconsistent formatting of semantic convention enums. ([#1598](https://github.com/open-telemetry/opentelemetry-specification/pull/1598/)) - Add details for filling resource for AWS Lambda. ([#1610](https://github.com/open-telemetry/opentelemetry-specification/pull/1610)) - Add already specified `messaging.rabbitmq.routing_key` span attribute key to the respective YAML file. ([#1651](https://github.com/open-telemetry/opentelemetry-specification/pull/1651)) - Clarify usage of "otel." attribute namespace. ([#1640](https://github.com/open-telemetry/opentelemetry-specification/pull/1640)) - Add possibility to disable `db.statement` via instrumentation configuration. ([#1659](https://github.com/open-telemetry/opentelemetry-specification/pull/1659)) ## v1.2.0 (2021-04-14) - Add semantic conventions for AWS SDK operations and DynamoDB ([#1422](https://github.com/open-telemetry/opentelemetry-specification/pull/1422)) - Add details for filling semantic conventions for AWS Lambda ([#1442](https://github.com/open-telemetry/opentelemetry-specification/pull/1442)) - Update semantic conventions to distinguish between int and double ([#1550](https://github.com/open-telemetry/opentelemetry-specification/pull/1550)) - Add semantic convention for AWS ECS task revision ([#1581](https://github.com/open-telemetry/opentelemetry-specification/pull/1581)) ## v1.1.0 (2021-03-11) - Add `elasticsearch` to `db.system` semantic conventions ([#1463](https://github.com/open-telemetry/opentelemetry-specification/pull/1463)) - Add `arch` to `host` semantic conventions ([#1483](https://github.com/open-telemetry/opentelemetry-specification/pull/1483)) - Add `runtime` to `container` semantic conventions ([#1482](https://github.com/open-telemetry/opentelemetry-specification/pull/1482)) - Rename `gcp_gke` to `gcp_kubernetes_engine` to have consistency with other Google products under `cloud.infrastructure_service` ([#1496](https://github.com/open-telemetry/opentelemetry-specification/pull/1496)) - `http.url` MUST NOT contain credentials ([#1502](https://github.com/open-telemetry/opentelemetry-specification/pull/1502)) - Add `aws.eks.cluster.arn` to EKS specific semantic conventions ([#1484](https://github.com/open-telemetry/opentelemetry-specification/pull/1484)) - Rename `zone` to `availability_zone` in `cloud` semantic conventions ([#1495](https://github.com/open-telemetry/opentelemetry-specification/pull/1495)) - Rename `cloud.infrastructure_service` to `cloud.platform` ([#1530](https://github.com/open-telemetry/opentelemetry-specification/pull/1530)) - Add section describing that libraries and the collector should autogenerate the semantic convention keys. ([#1515](https://github.com/open-telemetry/opentelemetry-specification/pull/1515)) ## v1.0.1 (2021-02-11) N/A ## v1.0.0 (2021-02-10) First release of OpenTelemetry Specification. Semantic conventions were not explicitly tracked in changelog up to this point.