- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
RUM Auto-Instrumentation works by injecting the RUM Browser SDK into the HTML responses being served through a web server or proxy.
Keep in mind the following limitations when using this setup:
allowedTracingUrls
and excludedActivityUrls
.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 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.