nixos/dd-agent: fix runtime errors by adding gohai to $PATH
The Datadog agent requires `gohai` to be available on its `$PATH` in order to collect certain metrics. It would previously start up and collect certain types of metrics, but log errors related to the missing gohai binary. This commit configures the systemd-unit to make gohai available at runtime. This fixes #39810.
This commit is contained in:
parent
ab500439cd
commit
f4c87183df
@ -190,7 +190,7 @@ in {
|
||||
|
||||
systemd.services.dd-agent = {
|
||||
description = "Datadog agent monitor";
|
||||
path = [ pkgs."dd-agent" pkgs.python pkgs.sysstat pkgs.procps ];
|
||||
path = [ pkgs."dd-agent" pkgs.python pkgs.sysstat pkgs.procps pkgs.gohai ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.dd-agent}/bin/dd-agent foreground";
|
||||
|
Loading…
x
Reference in New Issue
Block a user