- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`RUM Auto-Instrumentation works by injecting the RUM Browser SDK into the HTML responses being served through a web server or proxy.
To understand important limitations and compatibility requirements, see Limitations.
The Datadog Agent is installed and configured.
The auto-instrumentation method leverages the Apache httpd Modules capability to implement a response body filter. The filter injects the RUM Browser SDK into the response body for responses identified as HTML.
For more granular control over the instrumentation of the RUM application, you can also manually install and configure the module.
To automatically instrument your RUM application:
info
log level.To manually load the module onto your web server instead of running the installation script, follow the instructions below.
To manually instrument your RUM application:
mod_datadog.so
file. Move it to a location that Apache HTTP Server has access to (referenced as <RUM_MODULE_PATH>
in the steps below).Locate the configuration file. You can use apachectl -V
to find the default configuration path. Add the following line to load the module:
LoadModule datadog_module <RUM_MODULE_PATH>
Within the appropriate root or location section, add the following:
# APM Tracing is enabled by default. The following line disables APM Tracing
DatadogTracing Off
DatadogRum On
<DatadogRumSettings "v6">
DatadogRumOption "applicationId" "<DATADOG_APPLICATION_ID>"
DatadogRumOption "clientToken" "<DATADOG_CLIENT_TOKEN>"
DatadogRumOption "site" "<DATADOG_SITE>"
DatadogRumOption "service" "my-web-application"
DatadogRumOption "env" "production"
DatadogRumOption "version" "1.0.0"
DatadogRumOption "sessionSampleRate" "100"
DatadogRumOption "sessionReplaySampleRate" "100"
DatadogRumOption "trackResources" "true"
DatadogRumOption "trackLongTasks" "true"
DatadogRumOption "trackUserInteractions" "true"
</DatadogRumSettings>
info
log level.You can adjust your Session Sampling and Session Replay Sampling rates from the Application Management page.
To update your RUM Application:
/opt/datadog-httpd/datadog.conf
file.If you notice that RUM is not being injected into HTML pages, consider the following potential causes:
Content-Type
header does not correctly indicate text/html
, the injection is skipped.See other Limitations.
추가 유용한 문서, 링크 및 기사:
To manually remove RUM from your auto-instrumented web 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
.Include /opt/datadog-httpd/datadog.conf
./opt/datadog-httpd/
and all of its contents.