8000 Add uninstall instructions to RUM auto instrumentation server-side by pablomartinezbernardo · Pull Request #28703 · DataDog/documentation · GitHub
[go: up one dir, main page]

Skip to content

Add uninstall instructions to RUM auto instrumentation server-side #28703

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

Merged
merged 7 commits into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
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
11 changes: 10 additions & 1 deletion content/en/real_user_monitoring/browser/setup/server/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,13 @@ See other [Limitations][1].
[3]: https://httpd.apache.org/modules/
[4]: https://app.datadoghq.com/rum/list
[5]: /real_user_monitoring/guide/sampling-browser-plans/
[6]: https://rum-auto-instrumentation.s3.amazonaws.com/httpd/latest/mod_datadog-amd64.zip
[6]: https://rum-auto-instrumentation.s3.amazonaws.com/httpd/latest/mod_datadog-amd64.zip

## Uninstall

To manually remove RUM from your auto-instrumented web server:

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`.
2. At the end of the httpd configuration file, remove the line: `Include /opt/datadog-httpd/datadog.conf`.
3. Delete the directory `/opt/datadog-httpd/` and all of its contents.
4. Restart or reload Apache httpd.
11 changes: 10 additions & 1 deletion content/en/real_user_monitoring/browser/setup/server/ibm.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,13 @@ See other [Limitations][1].
[2]: /agent/
[3]: https://httpd.apache.org/modules/
[4]: https://rum-auto-instrumentation.s3.amazonaws.com/httpd/latest/mod_datadog-amd64.zip
[5]: https://app.datadoghq.com/rum/list
[5]: https://app.datadoghq.com/rum/list

## Uninstall

To manually remove RUM from your auto-instrumented web server:

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`.
2. At the end of the file, remove the line: `Include /opt/datadog-httpd/datadog.conf`.
3. Delete the directory `/opt/datadog-httpd/` and all of its contents.
4. Restart or reload the IBM HTTP Server.
22 changes: 21 additions & 1 deletion content/en/real_user_monitoring/browser/setup/server/nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,26 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
### Limitations
See other [Limitations][1].

## Uninstall

To manually remove RUM from your auto-instrumented web server:

1. Locate the NGINX configuration file by running `nginx -T`. For example: `/etc/nginx/nginx.conf`.
2. At the beginning of the file, remove the line: `load_module /opt/datadog-nginx/ngx_http_datadog_module.so;`.
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:

```
datadog_agent_url http://datadog-agent:8126;
datadog_tracing off;
datadog_rum on;
datadog_rum_config {
# ... specific RUM configuration
}
```

4. Delete the directory `/opt/datadog-nginx/` and all of its contents.
5. Restart or reload your NGINX web server.

## Reference

### NGINX modules
Expand Down Expand Up @@ -190,4 +210,4 @@ See other [Limitations][1].
[36]: https://rum-auto-instrumentation.s3.amazonaws.com/nginx/latest/ngx_http_datadog_module-arm64-1.27.3.so.tgz
[37]: https://rum-auto-instrumentation.s3.amazonaws.com/nginx/latest/ngx_http_datadog_module-amd64-1.27.4.so.tgz
[38]: https://rum-auto-instrumentation.s3.amazonaws.com/nginx/latest/ngx_http_datadog_module-arm64-1.27.4.so.tgz
[39]: https://nginx.org/en/docs/ngx_core_module.html#error_log
[39]: https://nginx.org/en/docs/ngx_core_module.html#error_log
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ See other [Limitations][1].
[2]: /agent/
[3]: https://app.datadoghq.com/rum/list/create/
[4]: /real_user_monitoring/guide/best-practices-for-rum-sampling/

## Uninstall

To completely remove RUM Auto-Instrumentation, uninstall Datadog RUM using the Windows Apps & Features tool.
Loading
0