You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop-docs/sdk/telemetry/logs.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,13 +309,13 @@ If a log is generated by an SDK integration, the SDK should also set the `sentry
309
309
310
310
Logs can be generated in three ways:
311
311
312
-
1. User calls Sentry’s Logging API directly: No `sentry.origin`.
312
+
1. User calls Sentry’s Logging API directly: No `sentry.origin`. Users are charged by how many bytes are used, therefore we want to minimize the size of each log.
313
313
314
314
2. Captured from a logging library: Use `auto.log.<name>` format. where `<name>` is the relevant integration. For example, the .NET Serilog library emits:
315
315
```json
316
316
{ "sentry.origin": "auto.log.serilog" }
317
317
```
318
-
3. Auto-emitted logs from other instrumented systems: Use the matching trace origin category (e.g. db, http, etc.).
318
+
3. Auto-emitted logs from other instrumented systems: Use the `auto.<category>.<integration-name>` format as outlined in [Trace Origin](/sdk/telemetry/traces/trace-origin/) documentation.
0 commit comments