diff --git a/CHANGELOG.md b/CHANGELOG.md index 2828457717e..429a02771b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ release. ### Logs +- Update GCP data model to use `Flags` instead of + `gcp.trace_sampled`. ([#3629](https://github.com/open-telemetry/opentelemetry-specification/pull/3629)) + ### Resource ### Compatibility diff --git a/specification/logs/data-model-appendix.md b/specification/logs/data-model-appendix.md index 9d1e3fb8157..027ab0273e6 100644 --- a/specification/logs/data-model-appendix.md +++ b/specification/logs/data-model-appendix.md @@ -495,6 +495,7 @@ trace | string | The trace associated with the log entry, span_id | string | The span ID within the trace associated with the log entry. | SpanId labels | map | A set of user-defined (key, value) data that provides additional information about the log entry. | Attributes http_request | HttpRequest | The HTTP request associated with the log entry, if any. | Attributes["gcp.http_request"] +trace_sampled | boolean | The sampling decision of the trace associated with the log entry. | Flags All other fields | | | Attributes["gcp.*"] ### Elastic Common Schema