When the Agent runs as a container, Autodiscovery tries to discover other containers based on default configuration files named auto_conf.yaml. You can find these files in the corresponding conf.d/<INTEGRATION>.d/ folders for the following integrations:

auto_conf.yaml 構成ファイルには、特定のインテグレーションのセットアップに必要なすべてのパラメーターと、コンテナ環境を考慮して用意されているそれらに相当するオートディスカバリーテンプレートの変数が含まれます。

Override auto-configuration

Each auto_conf.yaml file provides a default configuration. To override this, you can add a custom configuration in Kubernetes annotations or Docker Labels.

Kubernetes annotations and Docker Labels take precedence over auto_conf.yaml files, but auto_conf.yaml files take precedence over Autodiscovery configuration set in the Datadog Operator and Helm charts. To use Datadog Operator or Helm to configure Autodiscovery for an integration in the table on this page, you must disable auto-configuration.

Disable auto-configuration

The following examples disable auto-configuration for the Redis and Istio integrations.

In your datadog-agent.yaml, use override.nodeAgent.env to set the DD_IGNORE_AUTOCONF environment variable.

apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
  name: datadog
spec:
  global:
    credentials:
      apiKey: <DATADOG_API_KEY>

  override:
    nodeAgent:
      containers: 
        agent:
          env:
            - name: DD_IGNORE_AUTOCONF
              value: "redisdb istio"

Then, apply the new configuration.

Add datadog.ignoreAutoconfig to your datadog-values.yaml:

datadog:
 #auto_conf.yaml を無視するインテグレーションの一覧。
  ignoreAutoConfig:
    - redisdb
    - istio

To disable auto configuration integration(s) with the Operator, add the DD_IGNORE_AUTOCONF variable to your datadog-agent.yaml file:

  override:
    nodeAgent:
      containers: 
        agent:
          env:
            - name: DD_IGNORE_AUTOCONF
              value: "redisdb istio"

DaemonSet との自動構成インテグレーションを無効にするには、Agent マニフェストに DD_IGNORE_AUTOCONF 変数を追加します。

DD_IGNORE_AUTOCONF="redisdb istio"

その他の参考資料

PREVIEWING: rtrieu/product-analytics-ui-changes