Commit 6a1364d
authored
feat(logs): Add sentry.origin attribute for log handler (#4250)
resolves https://linear.app/getsentry/issue/LOGS-13
Docs:
https://develop-docs-git-abhi-logs-sdk-developer-documentation.sentry.dev/sdk/telemetry/logs/#default-attributes
> If a log is generated by an SDK integration, the SDK should also set
the sentry.origin attribute, as per the [Trace
Origin](https://develop-docs-git-abhi-logs-sdk-developer-documentation.sentry.dev/sdk/telemetry/logs/traces/trace-origin/)
documentation. It is assumed that logs without a sentry.origin attribute
are manually created by the user.1 parent 7cb0451 commit 6a1364d
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
362 | 364 | | |
363 | 365 | | |
364 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| |||
0 commit comments