Skip to content

Commit

Permalink
logs: Document Flags mapping in Google Cloud logs appendix
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi committed Jul 28, 2023
1 parent dd38620 commit e0cbbcd
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 @@ -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
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. | Flags
All other fields | | | Attributes["gcp.*"]

### Elastic Common Schema
Expand Down

0 comments on commit e0cbbcd

Please sign in to comment.