mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
Merge pull request #156315 from lheckemann/promtail-package
Promtail package
This commit is contained in:
commit
7b2f9d4732
@ -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 New Issue
Block a user