From c08e20a34c2a2096114c420f36065f539df3dea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Wed, 27 Dec 2023 06:48:41 +0100 Subject: [PATCH 1/4] Deprecate `text` format for `profiling.data.format` --- CHANGELOG.md | 1 + specification/semantic_conventions.md | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebcab49..8a88638 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Deprecate `splunk.distro.version`, - Change `telemetry.auto.version` to `telemetry.distro.version`, - Add `telemetry.distro.name` resource attribute. +- Deprecate `text` format for `profiling.data.format` (#285). ## [1.6.0] - 2023-09-14 diff --git a/specification/semantic_conventions.md b/specification/semantic_conventions.md index 42b7eb0..d2c0ab4 100644 --- a/specification/semantic_conventions.md +++ b/specification/semantic_conventions.md @@ -125,7 +125,10 @@ instances. For each `LogRecord` instance: - `com.splunk.sourcetype` MUST be set to the value `otel.profiling` - `profiling.data.type` MUST be set to either `allocation` or `cpu` -- `profiling.data.format` MUST be set to either `text` or `pprof-gzip-base64` +- `profiling.data.format` MUST be set to either: + - `pprof-gzip-base64`, + - `text` ([deprecated](../README.md#versioning-and-status-of-the-specification) + format). #### `LogRecord` Message `text` Data Format Specific Attributes From 31039c2fee10717e42e0bc7c59e3e1c5eebae733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 28 Dec 2023 11:35:03 +0100 Subject: [PATCH 2/4] Update semantic_conventions.md --- specification/semantic_conventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/semantic_conventions.md b/specification/semantic_conventions.md index d2c0ab4..879c445 100644 --- a/specification/semantic_conventions.md +++ b/specification/semantic_conventions.md @@ -127,7 +127,7 @@ instances. For each `LogRecord` instance: - `profiling.data.type` MUST be set to either `allocation` or `cpu` - `profiling.data.format` MUST be set to either: - `pprof-gzip-base64`, - - `text` ([deprecated](../README.md#versioning-and-status-of-the-specification) + - `text` ([Deprecated](../README.md#versioning-and-status-of-the-specification) format). #### `LogRecord` Message `text` Data Format Specific Attributes From 7f8bc6fff9b7ec8414b6c4d92a29976f551d6ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 28 Dec 2023 11:35:38 +0100 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a88638..c5cd958 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - Deprecate `splunk.distro.version`, - Change `telemetry.auto.version` to `telemetry.distro.version`, - Add `telemetry.distro.name` resource attribute. -- Deprecate `text` format for `profiling.data.format` (#285). +- Deprecate `text` format for `profiling.data.format`. (#285) ## [1.6.0] - 2023-09-14 From 38abe90c9c16e6b0003cd9694eefbdc492a6e2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 28 Dec 2023 11:37:11 +0100 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5cd958..529edca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,11 @@ - Deprecate `splunk.distro.version`, - Change `telemetry.auto.version` to `telemetry.distro.version`, - Add `telemetry.distro.name` resource attribute. + +### Semantic Conventions + +#### Enhancements + - Deprecate `text` format for `profiling.data.format`. (#285) ## [1.6.0] - 2023-09-14 @@ -73,7 +78,7 @@ - Remove `telemetry.sdk.language` attribute from `ResourceLogs.resource`. -### Bugfixes +#### Bugfixes - Remove redunant and conflicting statement about file and line for `ResourceLogs`.