# LateInitSettings

**Kind**: interface | **Module**: [Insights](https://docs.interop.io/desktop/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/lateinitsettings/index.html

In io.Connect Desktop, the settings of a late io.Insights initialization - see
Settings.lateInit.

## Properties

- **`attributesTimeoutMs`** (`number`, optional) default: `0`
  How long (in milliseconds) to wait for a "pre-sso" autoStart application to provide
  additional OTEL attributes by invoking the T42.Otel.AddAttributes Interop method
  (`attributes` and `resourceAttributes`, merged into `additionalAttributes` and
  `additionalResourceAttributes`) before io.Insights gets initialized. The method is
  registered before the "pre-sso" apps are started, the wait begins once the SSO
  authentication has completed, and the first invocation ends it; attributes that arrive
  later are ignored. `0` (the default) disables the hand-over: the method is not registered
  and nothing is waited for. How long the startup waited is published as the
  `otelAttributesWaitMs` attribute of the startup span, and logged.
- **`enabled`** (`boolean`, optional) default: `false`
  Whether io.Insights is initialized late. Applies to an object that leaves it out as well.
- **`initStage`** (`"post-sso"`, optional) default: `"post-sso"`
  At what point of the startup io.Insights is initialized. "post-sso" - the only stage for
  now - means right after the SSO authentication has completed, which is after the "pre-sso"
  autoStart apps have been started and before the "post-sso" ones are.
