| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your Trace API Key found in the dashboard. |
environment | string | 'development' | Current environment name (e.g., 'production'). |
sampleRate | number | 1.0 | Percentage of events to capture (0.0 to 1.0). |
Configure your Trace instance.
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your Trace API Key found in the dashboard. |
environment | string | 'development' | Current environment name (e.g., 'production'). |
sampleRate | number | 1.0 | Percentage of events to capture (0.0 to 1.0). |