Event collection
Datadog の調査レポート: サーバーレスの状態 レポート: サーバーレスの状態

Event collection

このページは英語では対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

If you haven’t yet, review the setup instructions to install the Datadog Cluster Agent and enable event collection.

  1. Disable leader election in your Datadog Node Agent Daemonset by setting the leader_election variable or DD_LEADER_ELECTION environment variable to false.

  2. In your Cluster Agent deployment file, set the DD_COLLECT_KUBERNETES_EVENTS and DD_LEADER_ELECTION environment variable to true:

        - name: DD_COLLECT_KUBERNETES_EVENTS
          value: "true"
        - name: DD_LEADER_ELECTION
          value: "true"

Enabling the leader election in this way ensures that only one Cluster Agent collects the events.

Further Reading