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
|`samplingRate`| Sampling rate to use when collecting spans. Value must be between `0` and `1`. |`1`|
136
-
|`corsUrls`| Array of CORS URLs to take into consideration when propagating trace information. By default, CORS URLs are excluded from the propagation. |`[]`|
137
-
|`collectorConfiguration`| Object that defines the OpenTelemetry collector configuration, like the URL to send spans to. See [OTLPExporterNodeConfigBase](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http) interface for all options. |`undefined`|
138
-
|`consoleOnly`| If `true` spans will be logged on the console and not sent to the collector endpoint. |`false`|
139
-
|`plugins`| Object for enabling and disabling OpenTelemetry plugins. ||
140
-
|`plugins.instrument_fetch`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch) for instrumentation of the fetch API. This will only be used in case the `fetch` API exists. |`true`|
141
-
|`plugins.instrument_xhr`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request) for instrumentation of the XMLHttpRequest API. |`true`|
142
-
|`plugins.instrument_document_load`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-document-load) for instrumentation of the document load (initial request). |`true`|
143
-
|`plugins.instrument_user_interaction`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-user-interaction) for instrumentation of user interactions. |`true`|
144
-
|`global_instrumentation`| Object for configuring additional instrumentations, which will be applied to every OpenTelemetry plugin. ||
145
-
|`global_instrumentation.requestParameter`| If enabled, existing request parameters will be added as attributes to spans and, if not excluded, will be added to the corresponding beacon as well. ||
146
-
|`exporter`| Object for configuring the span exporter. Only used if `consoleOnly` is not enabled. ||
147
-
|`exporter.maxQueueSize`| The maximum queue size. After the size is reached spans are dropped. |`100`|
148
-
|`exporter.maxExportBatchSize`| The maximum batch size of every export. It must be smaller or equal to `maxQueueSize`. |`10`|
149
-
|`exporter.scheduledDelayMillis`| The interval between two consecutive exports. |`500`|
150
-
|`exporter.exportTimeoutMillis`| How long the export can run before it is cancelled. |`30000`|
151
-
|`commonAttributes`| An Object defining common span attributes which will be added to each recorded span. |`{}`|
152
-
|`serviceName`| A `string` or function which can be used to set the spans' service name. A function can be defined for dynamically providing the service name, e.g. based on Boomerang values. |`undefined`|
153
-
|`propagationHeader`| Defines the format of the context propagation header. Available formats: `TRACE_CONTEXT`, `B3_SINGLE`, `B3_MULTI`|`TRACE_CONTEXT`|
|`samplingRate`| Sampling rate to use when collecting spans. Value must be between `0` and `1`. |`1`|
138
+
|`corsUrls`| Array of CORS URLs to take into consideration when propagating trace information. By default, CORS URLs are excluded from the propagation. |`[]`|
139
+
|`collectorConfiguration`| Object that defines the OpenTelemetry collector configuration, like the URL to send spans to. See [OTLPExporterNodeConfigBase](https://www.npmjs.com/package/@opentelemetry/exporter-trace-otlp-http) interface for all options. |`undefined`|
140
+
|`consoleOnly`| If `true` spans will be logged on the console and not sent to the collector endpoint. |`false`|
141
+
|`plugins`| Object for enabling and disabling OpenTelemetry plugins. ||
142
+
|`plugins.instrument_fetch`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-fetch) for instrumentation of the fetch API. This will only be used in case the `fetch` API exists. |`true`|
143
+
|`plugins.instrument_xhr`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request) for instrumentation of the XMLHttpRequest API. |`true`|
144
+
|`plugins.instrument_document_load`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-document-load) for instrumentation of the document load (initial request). |`true`|
145
+
|`plugins.instrument_user_interaction`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/web/opentelemetry-instrumentation-user-interaction) for instrumentation of user interactions. |`true`|
146
+
|`plugins.browser_detector`| Enabling the [OpenTelemetry plugin](https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-browser-detector) for detecting browser attributes. |`true`|
147
+
|`global_instrumentation`| Object for configuring additional instrumentations, which will be applied to every OpenTelemetry plugin. ||
148
+
|`global_instrumentation.requestParameter`| If enabled, existing request parameters will be added as attributes to spans and, if not excluded, will be added to the corresponding beacon as well. ||
149
+
|`exporter`| Object for configuring the span exporter. Only used if `consoleOnly` is not enabled. ||
150
+
|`exporter.maxQueueSize`| The maximum queue size. After the size is reached spans are dropped. |`100`|
151
+
|`exporter.maxExportBatchSize`| The maximum batch size of every export. It must be smaller or equal to `maxQueueSize`. |`10`|
152
+
|`exporter.scheduledDelayMillis`| The interval between two consecutive exports. |`500`|
153
+
|`exporter.exportTimeoutMillis`| How long the export can run before it is cancelled. |`30000`|
154
+
|`commonAttributes`| An Object defining common span attributes which will be added to each recorded span. |`{}`|
155
+
|`serviceName`| A `string` or function which can be used to set the spans' service name. A function can be defined for dynamically providing the service name, e.g. based on Boomerang values. |`undefined`|
156
+
|`propagationHeader`| Defines the format of the context propagation header. Available formats: `TRACE_CONTEXT`, `B3_SINGLE`, `B3_MULTI`|`TRACE_CONTEXT`|
0 commit comments