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
Copy file name to clipboardExpand all lines: content/en/real_user_monitoring/browser/setup/server.md
+83-2
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The available functionality has the following important limitations:
29
29
30
30
- If proxying compressed traffic, the Auto-Instrumentation method is not able to inject the JS scriptlet into the HTML traffic.
31
31
- This instrumentation method does not support any [advanced RUM configurations][3]. However, `allowedTracingUrls` and `excludedActivityUrls` are supported for NGINX web servers.
32
-
- If NGINX or IIS is acting as a proxy and the upstream server has end-to-end encryption (like TLS) enabled, the module cannot inject RUM. Ensure the web server is set up for TLS origination for successful instrumentation.
32
+
- If acting as a proxy and the upstream server has end-to-end encryption (like TLS) enabled, the module cannot inject RUM. Ensure the web server is set up for TLS origination for successful instrumentation.
33
33
- (Windows IIS only) Configuration for Auto-Instrumentation is only available per Windows IIS site.
34
34
35
35
## Prerequisites
@@ -115,6 +115,75 @@ To automatically instrument your RUM application:
115
115
116
116
{{% /collapse-content %}}
117
117
118
+
{{% /tab %}}
119
+
{{% tab "httpd" %}}
120
+
121
+
The Auto-Instrumentation method leverages the [Apache httpd Modules capability][1] to implement a response body filter. The filter injects the RUM SDK into the response body for responses
122
+
identified as HTML. For more granular control over how configuration files or permissions are handled, you can also install Apache httpd Server manually.
1. In Datadog, navigate to the [**Digital Experience > Add an Application Page**][1] and select the JavaScript (JS) application type.
132
+
2. Select **Auto-Instrumentation** and **httpd**.
133
+
3. Set your Session and Session Replay sample rates. See [guidance on configuring sampling][2].
134
+
4. Copy and run the installer command to load the Datadog httpd Module with the RUM SDK Injector onto httpd.
135
+
5. After the installer successfully installs the SDK Injector, restart httpd to begin collecting RUM sessions.
136
+
6. (Optional) To verify the module is successfully injecting the RUM Browser SDK into HTML pages, check the NGINX error logs for relevant messages. The module logs important steps during the injection process. Ensure that httpd is configured with at least the `info` log level.
2. Extract the zip to obtain the `mod_datadog.so` file. Move it to a location that httpd has access to (referenced as `<RUM_MODULE_PATH>` in the steps below).
1. Restart the httpd server to begin collecting data for your Datadog RUM application. By default, the RUM SDK is injected to all HTML documents. You may need to clear your browser cache.
183
+
2. (Optional) To verify the module is successfully injecting the RUM Browser SDK into HTML pages, check the httpd error logs for relevant messages. The module logs important steps during the injection process. Ensure that httpd is configured with at least the `info` log level.
184
+
185
+
{{% /collapse-content %}}
186
+
118
187
{{% /tab %}}
119
188
{{% tab "Windows IIS" %}}
120
189
@@ -162,7 +231,19 @@ To update your RUM Application:
162
231
163
232
1. Go to your RUM application from the [Application Management][1] list.
164
233
2. On the Instrument your application page, adjust the slider or enter a specific percentage in the input box for Session Sampling or Session Replay Sampling.
165
-
3. Copy and run the installer command in your `NGINX.conf` file.
234
+
3. Copy and paste the configuration snippet to your `NGINX.conf` file.
235
+
236
+
[1]: https://app.datadoghq.com/rum/list
237
+
238
+
{{% /tab %}}
239
+
240
+
{{% tab "httpd" %}}
241
+
242
+
To update your RUM Application:
243
+
244
+
1. Go to your RUM application from the [Application Management][1] list.
245
+
2. On the Instrument your application page, adjust the slider or enter a specific percentage in the input box for Session Sampling or Session Replay Sampling.
246
+
3. Copy and paste the configuration snippet to your `/opt/datadog-httpd/datadog.conf` file.
0 commit comments