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 2 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
12 changes: 11 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 @@ -113,4 +113,14 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
[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

While automatic uninstallation will be available soon, you can manually remove the RUM Auto-Instrumentation by following these steps.

1. Locate your Apache httpd binary, it may be one of `httpd`, `apachectl`, `apache2` or `apache2ctl`. `httpd` will be used for illustration purposes.
2. Locate the Apache httpd configuration file by running `httpd -V`. Example: `/usr/local/apache2/conf/httpd.conf`.
3. Edit the file by removing the following line at the end `Include /opt/datadog-httpd/datadog.conf`.
4. Delete the directory `/opt/datadog-httpd/` and all its contents.
5. Finally, restart or reload Apache httpd.
12 changes: 11 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 @@ -117,4 +117,14 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
[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

While automatic uninstallation will be available soon, you can manually remove the RUM Auto-Instrumentation by following these steps.

1. Locate your IBM HTTP Server binary, it may be one of `httpd`, `apachectl`, `apache2` or `apache2ctl`. `httpd` will be used for illustration purposes.
2. Locate the IBM HTTP Server configuration file by running `httpd -V`. Example: `/usr/local/apache2/conf/httpd.conf`.
3. Edit the file by removing the following line at the end `Include /opt/datadog-httpd/datadog.conf`.
4. Delete the directory `/opt/datadog-httpd/` and all its contents.
5. Finally, restart or reload 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 @@ -124,6 +124,26 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
- **Content-Type mismatch**: RUM is injected only into HTML pages. If the `Content-Type` header does not correctly indicate `text/html`, the injection is skipped.
- **Upstream server has end-to-end encryption or content compression**: See [Limitations](#limitations).

## Uninstall

While automatic uninstallation will be available soon, you can manually remove the RUM Auto-Instrumentation by following these steps.

1. Locate the NGINX configuration file by running `nginx -T`. Example: `/etc/nginx/nginx.conf`.
2. Edit the file by removing the following line at the beginning `load_module /opt/datadog-nginx/ngx_http_datadog_module.so;`.
3. Edit the file by removing all existing `datadog_*` sections from within the `http` directive. They will look similar to these, 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 its contents.
5. Finally, restart or reload NGINX.

## Reference

### NGINX modules
Expand Down Expand Up @@ -186,4 +206,4 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
[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 @@ -79,3 +79,7 @@ If you notice that RUM is not being injected into HTML pages, consider the follo
[2]: /agent/
[3]: https://app.datadoghq.com/rum/list/create/
[4]: /real_user_monitoring/guide/best-practices-for-rum-sampling/

## Uninstall

Completely uninstall RUM Auto-Instrumentation by uninstalling Datadog RUM from Windows' Apps & features.
Loading
0