Skip to content

Commit

Permalink
logs: Document Flags mapping in Google Cloud logs appendix (#3629)
Browse files Browse the repository at this point in the history
Co-authored-by: Armin Ruech <[email protected]>
  • Loading branch information
damemi and arminru authored Aug 11, 2023
1 parent db9422d commit 7b4c60c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions specification/logs/data-model-appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<string,string> | 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
Expand Down

0 comments on commit 7b4c60c

Please sign in to comment.