Configure Datadog SDKs with application_monitoring.yaml on Linux
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Overview
On Linux hosts, you can configure Datadog SDKs at the host level using the application_monitoring.yaml file. The file works for any SDK loaded on the host, including those loaded through Single Step Instrumentation (SSI). All instrumented services on the host inherit these settings.
Configuration steps
Ensure the application_monitoring.yaml file exists at the following path:
/etc/datadog-agent/application_monitoring.yaml
Define configuration values under the apm_configuration_default block.
Note: If a configuration value is set through environment variables, those values override the settings in application_monitoring.yaml.
As an example, the following enables profiling and Data Streams Monitoring, and disables tracing:
apm_configuration_default:
DD_PROFILING_ENABLED: true
DD_DATA_STREAMS_ENABLED: true
DD_APM_TRACING_ENABLED: false
Restart services on the host to apply the configuration changes.
Supported configuration options
You can set any library configuration environment variable in application_monitoring.yaml.
Note: The Go SDK only supports APM tracing configuration options.
SDK version requirements
The following minimum SDK versions support configuration through application_monitoring.yaml:
| Language | Minimum SDK version |
|---|
| Java | v1.47.0 |
| Python | v3.2.0 |
| Node.js | v5.41.0 |
| .NET | v3.25.0 |
| PHP | v1.8.0 |
| Ruby | v2.18.0 |
| Go | v2.1.0 |
Further reading