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
advancedNetworkCapture:true, // Capture full HTTP request/response headers and bodies (default false)
20
+
otelResourceAttributes: {
21
+
'service.version':'1.0.0',
22
+
'deployment.environment':'production',
23
+
},
20
24
});
21
25
```
22
26
@@ -38,6 +42,14 @@ HyperDX.init({
38
42
-`maskAllText` - (Optional) Whether to mask all text in session replay (default
39
43
`false`).
40
44
-`disableIntercom` - (Optional) Whether to disable Intercom integration (default `false`)
45
+
-`otelResourceAttributes` - (Optional) Object containing OpenTelemetry resource attributes to be added to all spans. These are set at the resource level and merged with default SDK attributes. Example:
46
+
```js
47
+
otelResourceAttributes: {
48
+
'service.version':'1.0.0',
49
+
'deployment.environment':'production',
50
+
'custom.attribute':'value',
51
+
}
52
+
```
41
53
-`disableReplay` - (Optional) Whether to disable session replay (default `false`)
42
54
-`recordCanvas` - (Optional) Whether to record canvas elements (default `false`)
43
55
-`sampling` - (Optional) The sampling [config](https://github.com/rrweb-io/rrweb/blob/5fbb904edb653f3da17e6775ee438d81ef0bba83/docs/recipes/optimize-storage.md?plain=1#L22) in the session recording
0 commit comments