Enable Infrastructure Monitoring
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Infrastructure monitoring includes core Datadog features that visualize, monitor, and measure the performance of your hosts, containers, and processes. This guide explains how to update the Datadog Agent configuration to enable infrastructure monitoring and leverage its features on top of standalone backend error tracking.
If your agent is deployed on a Linux host, the configuration update depends on the method you used to install the agent.
For a Datadog agent installed using the one-line installation command:
- Open the datadog.yaml configuration file. 
- Remove the - enable_payloadstop-level attribute:
 - - enable_payloads:
-   series: false
-   events: false
-   service_checks: false
-   sketches: false
  apm_config:
    enabled: true
    error_tracking_standalone:
      enabled: true
 
- Restart the Agent. 
For a Datadog agent configured manually for Backend Error Tracking:
- Open the datadog.yaml configuration file. 
- Remove the - core_agenttop-level attribute:
 - - core_agent:
-   enabled: false
  apm_config:
    error_tracking_standalone:
      enabled: true
 
- Restart the Agent. 
If your agent is deployed in Kubernetes, you need to update its configuration in Datadog Operator or Helm depending on the method you used to install the agent.
For a Datadog agent installed with Helm:
- Update your - datadog-values.yamlfile, replacing the- siteand- envvalues appropriately:
 -   agents:
    containers:
      agent:
        env:
          [...]
-         - name: DD_CORE_AGENT_ENABLED
-           value: "false"
  datadog:
-   processAgent:
-     enabled: false
-     containerCollection: false
  apiKeyExistingSecret: datadog-secret
  site: <DATADOG_SITE>
  tags:
    - env:<AGENT_ENV>
  apm:
    errorTrackingStandalone:
      enabled: true
    # Required to enable Single-Step Instrumentation
    instrumentation:
      enabled: true
      libVersions:
        java: "1"
        dotnet: "3"
        python: "2"
        js: "5"
        php: "1"
 
- After making your changes, upgrade your Datadog Helm chart: - helm upgrade -f datadog-values.yaml datadog-agent datadog/datadog
 
For a Datadog agent installed with the Datadog Operator:
- Update your datadog-agent.yamlfile, replacing thesiteandenvvalues appropriately:  apiVersion: datadoghq.com/v2alpha1
  kind: DatadogAgent
  metadata:
    name: datadog
  spec:
    global:
      site: <DATADOG_SITE>
      tags:
        - env:<AGENT_ENV>
      credentials:
        apiSecret:
          secretName: datadog-secret
          keyName: api-key
      env:
-       - name: DD_CORE_AGENT_ENABLED
-         value: "false"
    features:
      apm:
        errorTrackingStandalone:
          enabled: true
        instrumentation:
          enabled: true
          libVersions:
            java: "1"
            dotnet: "3"
            python: "2"
            js: "5"
            php: "1"
 
- Deploy the Datadog Agent with the updated configuration file:kubectl apply -f path/to/your/datadog-agent.yaml