Skip to content

Commit

Permalink
build updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Nov 12, 2024
1 parent abec333 commit 184f5c9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,24 @@ settings = {
}
```
### Trace Data
The Sentry service is configure to automatically pass along the [W3 standard `traceparent` header](https://www.w3.org/TR/trace-context/#traceparent-header), which [Sentry will ingest](https://develop.sentry.dev/sdk/telemetry/traces/#header-traceparent) and append to the entry as distributed tracing data. If the upstream does not send this header [the `cbotel` module](https://forgebox.io/view/cbotel) may be used to create the trace parent data.
### Interceptions
The `onSentryEventCapture` interception point, allows other modules or framework listeners to contribute to sentry logs ( e.g providing tags or additional user info )
Example usage:
```java
function onSentryEventCapture( event, rc, prc, interceptData ){
var sentryEvent = interceptData.event;
sentryEvent.tags[ "foo" ] = "bar";
}
```
### Credit
This project is based on the fine open source work of others.
Expand Down

0 comments on commit 184f5c9

Please sign in to comment.