Skip to content

Commit c01aa89

Browse files
Prepare release v1.31.0 (#1970)
1 parent 963f308 commit c01aa89

22 files changed

+642
-308
lines changed

.chloggen/1599.yaml

-22
This file was deleted.

.chloggen/1646.yaml

-5
This file was deleted.

.chloggen/1732.yaml

-22
This file was deleted.

.chloggen/1757.yaml

-4
This file was deleted.

.chloggen/1863.yaml

-6
This file was deleted.

.chloggen/1880.yaml

-8
This file was deleted.

.chloggen/1888.yaml

-5
This file was deleted.

.chloggen/add_enduser_pseudo_id.yaml

-23
This file was deleted.

.chloggen/add_k8s_resources.yaml

-22
This file was deleted.

.chloggen/cpu_namespace.yaml

-22
This file was deleted.

.chloggen/fix_k8s_metrics.yaml

-22
This file was deleted.

.chloggen/fix_process_units.yaml

-22
This file was deleted.

.chloggen/k8s-label-recommendations.yaml

-7
This file was deleted.

.chloggen/process_executable_name.yaml

-22
This file was deleted.

.chloggen/rename-db-metric-name.yaml

-22
This file was deleted.

.chloggen/sdk-span-metrics.yaml

-22
This file was deleted.

.chloggen/update-pipeline-url-attributes.yaml

-22
This file was deleted.

.chloggen/user_agent_os.yaml

-22
This file was deleted.

.chloggen/yamlize_session_events_1845.yaml

-7
This file was deleted.

CHANGELOG.md

+38
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,44 @@
88

99
<!-- next version -->
1010

11+
## v1.31.0
12+
13+
### 🛑 Breaking changes 🛑
14+
15+
- `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))
16+
- `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))
17+
- `mobile`: Rework `device.app.lifecycle` mobile event. ([#1880](https://github.com/open-telemetry/semantic-conventions/issues/1880))
18+
The `device.app.lifecycle` event has been reworked to use attributes instead
19+
of event body fields. The `ios.app.state` and `android.app.state` attributes
20+
have been reintroduced to the attribute registry.
21+
22+
- `system`: Move CPU-related system.cpu.* metrics to CPU namespace ([#1873](https://github.com/open-telemetry/semantic-conventions/issues/1873))
23+
- `k8s`: Change k8s.replication_controller metrics to k8s.replicationcontroller ([#1848](https://github.com/open-telemetry/semantic-conventions/issues/1848))
24+
- `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))
25+
- `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))
26+
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.
27+
28+
### 💡 Enhancements 💡
29+
30+
- `code`: Mark `code.*` semantic conventions as release candidate ([#1377](https://github.com/open-telemetry/semantic-conventions/issues/1377))
31+
- `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))
32+
- `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))
33+
- `gen-ai`: Adds `gen_ai.request.choice.count` span attribute ([#1888](https://github.com/open-telemetry/semantic-conventions/issues/1888))
34+
Enables recording target number of completions to generate
35+
- `enduser`: Undeprecate 'enduser.id' and introduce new attribute `enduser.pseudo.id` ([#1104](https://github.com/open-telemetry/semantic-conventions/issues/1104))
36+
The new attribute `enduser.pseudo.id` is intended to provide a unique identifier of a pseudonymous enduser.
37+
38+
- `k8s`: Add `k8s.hpa`, `k8s.resourcequota` and `k8s.replicationcontroller` attributes and resources ([#1656](https://github.com/open-telemetry/semantic-conventions/issues/1656))
39+
- `k8s`: How to populate resource attributes based on attributes, labels and transformation ([#236](https://github.com/open-telemetry/semantic-conventions/issues/236))
40+
- `process`: Adjust the semantic expectations for `process.executable.name` ([#1736](https://github.com/open-telemetry/semantic-conventions/issues/1736))
41+
- `otel`: Adds SDK self-monitoring metrics for span processing ([#1631](https://github.com/open-telemetry/semantic-conventions/issues/1631))
42+
- `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))
43+
- `user-agent`: Add `user_agent.os.name` and `user_agent.os.version` attributes ([#1433](https://github.com/open-telemetry/semantic-conventions/issues/1433))
44+
45+
### 🧰 Bug fixes 🧰
46+
47+
- `process`: Fix units of process.open_file_descriptor.count and process.context_switches ([#1662](https://github.com/open-telemetry/semantic-conventions/issues/1662))
48+
1149
## v1.30.0
1250

1351
### 🛑 Breaking changes 🛑

schema-next.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
file_format: 1.1.0
2-
schema_url: https://opentelemetry.io/schemas/next
2+
schema_url: https://opentelemetry.io/schemas/1.31.0
33
versions:
44
next:
5+
1.31.0:
56
all:
67
changes:
78
# https://github.com/open-telemetry/semantic-conventions/pull/1880

0 commit comments

Comments
 (0)