diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bff2573b7e..77e9e1342f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,9 @@ release. ### Logs +- Update GCP data model to use `TraceFlags` 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..6dbf00e9611 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. | TraceFlags.SAMPLED All other fields | | | Attributes["gcp.*"] ### Elastic Common Schema