Skip to content

Commit 77d0b95

Browse files
committed
feat: Document server.address
1 parent f8a5fda commit 77d0b95

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ By default the SDK should set the following attributes:
273273
5. `sentry.trace.parent_span_id`: The span id of the span that was active when the log was collected. This should not be set if there was no active span.
274274
6. `sentry.sdk.name`: The name of the SDK that sent the log
275275
7. `sentry.sdk.version`: The version of the SDK that sent the log
276+
8. [BACKEND SDKS ONLY] `server.address`: The address of the server that sent the log. Equivalent to `server_name` we attach to errors and transactions.
276277

277278
Example:
278279

@@ -284,8 +285,9 @@ Example:
284285
"sentry.environment": "production",
285286
"sentry.release": "1.0.0",
286287
"sentry.trace.parent_span_id": "b0e6f15b45c36b12",
287-
"sentry.sdk.name": "sentry.javascript.browser",
288-
"sentry.sdk.version": "9.11.0"
288+
"sentry.sdk.name": "sentry.javascript.node",
289+
"sentry.sdk.version": "9.11.0",
290+
"server.address": "foo.example.com"
289291
}
290292
```
291293

0 commit comments

Comments
 (0)