8000 Add uninstall instructions to RUM auto instrumentation server-side (#… · DataDog/documentation@65a9658 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65a9658

Browse files
pablomartinezbernardortrieu
authored andcommitted
Add uninstall instructions to RUM auto instrumentation server-side (#28703)
* Add uninstall instructions to RUM auto instrumentation server-side * Formatting * Apply suggestions from code review Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> * Update content/en/real_user_monitoring/browser/setup/server/ibm.md * Apply suggestions from code review Sorry for the delay, was OOO for a while there Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com> --------- Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
1 parent 78488ac commit 65a9658

File tree

4 files changed

+45
-3
lines changed

4 files changed

+45
-3
lines changed

content/en/real_user_monitoring/browser/setup/server/apache.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,13 @@ See other [Limitations][1].
118118
[3]: https://httpd.apache.org/modules/
119119
[4]: https://app.datadoghq.com/rum/list
120120
[5]: /real_user_monitoring/guide/sampling-browser-plans/
121-
[6]: https://rum-auto-instrumentation.s3.amazonaws.com/httpd/latest/mod_datadog-amd64.zip
121+
[6]: https://rum-auto-instrumentation.s3.amazonaws.com/httpd/latest/mod_datadog-amd64.zip
122+
123+
## Uninstall
124+
125+
To manually remove RUM from your auto-instrumented web server:
126+
127+
1. Locate the Apache (`httpd`) configuration file by running `httpd -V`. Depending on the Linux distribution used, this binary file could be named `http`, `apachectl`, `apache2` or `apache2ctl`. The following steps use `httpd` as an example. In this instance, the file location could be: `/usr/local/apache2/conf/httpd.conf`.
128+
2. At the end of the httpd configuration file, remove the line: `Include /opt/datadog-httpd/datadog.conf`.
129+
3. Delete the directory `/opt/datadog-httpd/` and all of its contents.
130+
4. Restart or reload Apache httpd.

content/en/real_user_monitoring/browser/setup/server/ibm.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,13 @@ See other [Limitations][1].
122122
[2]: /agent/
123123
[3]: https://httpd.apache.org/modules/
124124
[4]: https://rum-auto-instrumentation.s3.amazonaws.com/httpd/latest/mod_datadog-amd64.zip
125-
[5]: https://app.datadoghq.com/rum/list
125+
[5]: https://app.datadoghq.com/rum/list
126+
127+
## Uninstall
128+
129+
To manually remove RUM from your auto-instrumented web server:
130+
131+
1. Locate the IBM HTTP server (`httpd`) configuration file by running `httpd -V`. Depending on the Linux distribution used, this binary file could be named `http`, `apachectl`, `apache2` or `apache2ctl`. The following steps use `httpd` as an example. In this instance, the file location could be: `/usr/local/apache2/conf/httpd.conf`.
132+
2. At the end of the file, remove the line: `Include /opt/datadog-httpd/datadog.conf`.
133+
3. Delete the directory `/opt/datadog-httpd/` and all of its contents.
134+
4. Restart or reload the IBM HTTP Server.

content/en/real_user_monitoring/browser/setup/server/nginx.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,26 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
125125
### Limitations
126126
See other [Limitations][1].
127127

128+
## Uninstall
129+
130+
To manually remove RUM from your auto-instrumented web server:
131+
132+
1. Locate the NGINX configuration file by running `nginx -T`. For example: `/etc/nginx/nginx.conf`.
133+
2. At the beginning of the file, remove the line: `load_module /opt/datadog-nginx/ngx_http_datadog_module.so;`.
134+
3. In the file, remove all existing `datadog_*` sections from within the `http` directive. The sections look similar to the following, depending on your system configuration:
135+
136+
```
137+
datadog_agent_url http://datadog-agent:8126;
138+
datadog_tracing off;
139+
datadog_rum on;
140+
datadog_rum_config {
141+
# ... specific RUM configuration
142+
}
143+
```
144+
145+
4. Delete the directory `/opt/datadog-nginx/` and all of its contents.
146+
5. Restart or reload your NGINX web server.
147+
128148
## Reference
129149

130150
### NGINX modules
@@ -190,4 +210,4 @@ See other [Limitations][1].
190210
[36]: https://rum-auto-instrumentation.s3.amazonaws.com/nginx/latest/ngx_http_datadog_module-arm64-1.27.3.so.tgz
191211
[37]: https://rum-auto-instrumentation.s3.amazonaws.com/nginx/latest/ngx_http_datadog_module-amd64-1.27.4.so.tgz
192212
[38]: https://rum-auto-instrumentation.s3.amazonaws.com/nginx/latest/ngx_http_datadog_module-arm64-1.27.4.so.tgz
193-
[39]: https://nginx.org/en/docs/ngx_core_module.html#error_log
213+
[39]: https://nginx.org/en/docs/ngx_core_module.html#error_log

content/en/real_user_monitoring/browser/setup/server/windows_iis.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,7 @@ See other [Limitations][1].
8181
[2]: /agent/
8282
[3]: https://app.datadoghq.com/rum/list/create/
8383
[4]: /real_user_monitoring/guide/best-practices-for-rum-sampling/
84+
85+
## Uninstall
86+
87+
To completely remove RUM Auto-Instrumentation, uninstall Datadog RUM using the Windows Apps & Features tool.

0 commit comments

Comments
 (0)
0