Skip to content

Manual configuration for IIS RUM injector #29938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -57,6 +57,38 @@
2. On the **SDK Configuration** page, adjust the slider or enter a specific percentage in the input box for Session Sampling or Session Replay Sampling.
3. Copy and replace the code in the Datadog RUM config file for the IIS site that you instrumented.

## Manual configuration

### Log Level

Check warning on line 62 in content/en/real_user_monitoring/browser/setup/server/windows_iis.md

GitHub Actions / vale

Datadog.headings

'Log Level' should use sentence-style capitalization.

You can configure the log level in the IIS `applicationHost.config` file:

```
<configuration>
<system.applicationHost>
<datadogRumServer logLevel="debug" />
</system.applicationHost>
</configuration>
```

The possible `logLevel` values are:
- `debug`
- `info` (default)
- `error`

### Allowed tracing URLs

To connect RUM sessions and APM traces you can configure `allowedTracingUrls` in the site's `web.config` file with comma-separated fixed URLs in the `datadogRum` section. Regular expressions and Javascript functions are unsupported. See [more information about trace correlation][1].

```
<datadogRum>
...
<option name="allowedTracingUrls" value="https://api.example.com,https://other.example.com" />
</datadogRum>
```

[1]: https://docs.datadoghq.com/tracing/other_telemetry/rum

## Troubleshooting

### RUM is not injected
Loading
Oops, something went wrong.