Skip to main content
The InitOptions type allows you to customize the behavior of the III SDK when connecting to the engine.

Type Definition

Fields

Usage Examples

Basic Initialization

Custom Worker Name

Custom Timeout

Disable Telemetry

Custom Reconnection Behavior

Full Configuration

Environment Variables

Many options can also be configured via environment variables:
  • III_BRIDGE_URL - Engine WebSocket URL
  • OTEL_ENABLED - Enable/disable OpenTelemetry (true/false)
  • OTEL_SERVICE_NAME - Service name for telemetry
  • SERVICE_VERSION - Service version
  • SERVICE_NAMESPACE - Service namespace
  • SERVICE_INSTANCE_ID - Service instance ID
  • OTEL_METRICS_ENABLED - Enable/disable metrics