@interopio/otel 0.0.167 → 0.0.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/insights.d.ts +8 -8
  2. package/package.json +1 -1
package/insights.d.ts CHANGED
@@ -705,6 +705,14 @@ export namespace IOInsights {
705
705
  */
706
706
  enabled: boolean;
707
707
 
708
+ /**
709
+ * If `true`, io.Insights will instrument and trace XMLHttpRequest and fetch()
710
+ * requests automatically.
711
+ *
712
+ * @default true
713
+ */
714
+ instrumentRequests?: boolean;
715
+
708
716
  /**
709
717
  * Array of filter entries used to determine whether
710
718
  * a particular operation will create a tracing span, and
@@ -1224,14 +1232,6 @@ export namespace IOInsights {
1224
1232
  * @default true
1225
1233
  */
1226
1234
  nestEventListeners?: boolean;
1227
- /**
1228
- * If `true`, io.Insights will try to nest spans from fetch and xhr that occur during the same event under
1229
- * the Clickstream span. This is not guaranteed to always work due to specifics of how browsers execute
1230
- * event listeners.
1231
- *
1232
- * @default true
1233
- */
1234
- nestRequestSpans?: boolean;
1235
1235
  }
1236
1236
 
1237
1237
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interopio/otel",
3
- "version": "0.0.167",
3
+ "version": "0.0.168",
4
4
  "description": "io.Insights observability library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",