From a51ee771bed2449b0afe0f562844da3a5a4330bf Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 9 Sep 2021 08:06:15 -0700 Subject: [PATCH] nixos/datadog-agent: Update process collection binary. --- nixos/modules/services/monitoring/datadog-agent.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/monitoring/datadog-agent.nix b/nixos/modules/services/monitoring/datadog-agent.nix index b25a53435d06..ea9eca180902 100644 --- a/nixos/modules/services/monitoring/datadog-agent.nix +++ b/nixos/modules/services/monitoring/datadog-agent.nix @@ -51,7 +51,7 @@ in { options.services.datadog-agent = { enable = mkOption { description = '' - Whether to enable the datadog-agent v6 monitoring service + Whether to enable the datadog-agent v7 monitoring service ''; default = false; type = types.bool; @@ -61,7 +61,7 @@ in { default = pkgs.datadog-agent; defaultText = "pkgs.datadog-agent"; description = '' - Which DataDog v6 agent package to use. Note that the provided + Which DataDog v7 agent package to use. Note that the provided package is expected to have an overridable `pythonPackages`-attribute which configures the Python environment with the Datadog checks. @@ -274,7 +274,7 @@ in { path = [ ]; script = '' export DD_API_KEY=$(head -n 1 ${cfg.apiKeyFile}) - ${pkgs.datadog-process-agent}/bin/agent --config /etc/datadog-agent/datadog.yaml + ${pkgs.datadog-process-agent}/bin/process-agent --config /etc/datadog-agent/datadog.yaml ''; });