Skip to content

Commit

Permalink
docs: Adds trace related documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa committed Mar 18, 2021
1 parent d94c27b commit f553511
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/Google.Cloud.Logging.NLog/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ then the `projectId="PROJECT_ID"` configuration setting can be omitted; it will
- `ServiceContextVersion` - Configures the "version" in "serviceContext" when sending a JSON payload. (Defaults to the `FileVersion` of the entry assembly.)
- `EnableJsonLayout` - Uses NLog's native JSON layout to format JSON payloads, completely replacing the default layout.
- `JsonConverter` or `JsonConverterTypeName`/`JsonConverterMethodName` - Configures a custom conversion for individual values within a JSON payload.
- `TraceId` - The trace ID to associate to log entries. Ex: `06796866738c859f2f19b7cfb3214824`. See [Google Logging V2 LogEntry reference docs](https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LogEntry) for more information.
- `SpanId` - The span ID within the trace associated with the log entry. Trace API v2 uses a 16-character hexadecimal encoding of an 8-byte array, ex: `000000000000004a`. See [Google Logging V2 LogEntry reference docs](https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LogEntry) for more information.
- `TraceSampled` - The sampling decision of the trace associated with the log entry. See [Google Logging V2 LogEntry reference docs](https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#google.logging.v2.LogEntry) for more information.

## Sending JsonPayload

Expand Down

0 comments on commit f553511

Please sign in to comment.