Merge pull request #156315 from lheckemann/promtail-package
Promtail package
This commit is contained in:
commit
7b2f9d4732
2 changed files with 7 additions and 1 deletions
|
@ -45,7 +45,7 @@ in {
|
|||
Restart = "on-failure";
|
||||
TimeoutStopSec = 10;
|
||||
|
||||
ExecStart = "${pkgs.grafana-loki}/bin/promtail -config.file=${prettyJSON cfg.configuration} ${escapeShellArgs cfg.extraFlags}";
|
||||
ExecStart = "${pkgs.promtail}/bin/promtail -config.file=${prettyJSON cfg.configuration} ${escapeShellArgs cfg.extraFlags}";
|
||||
|
||||
ProtectSystem = "strict";
|
||||
ProtectHome = true;
|
||||
|
|
|
@ -21106,6 +21106,12 @@ with pkgs;
|
|||
buildGoModule = buildGo116Module;
|
||||
};
|
||||
|
||||
promtail = grafana-loki.overrideAttrs (o: {
|
||||
pname = "promtail";
|
||||
subPackages = ["clients/cmd/promtail"];
|
||||
CGO_ENABLED = 1;
|
||||
});
|
||||
|
||||
grafana_reporter = callPackage ../servers/monitoring/grafana-reporter { };
|
||||
|
||||
grafana-image-renderer = callPackage ../servers/monitoring/grafana-image-renderer { };
|
||||
|
|
Loading…
Reference in a new issue