mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
grafana: Add victorialogs dashboard
This commit is contained in:
parent
d7d28fa19f
commit
387af935d1
4 changed files with 41 additions and 10 deletions
|
|
@ -46,7 +46,12 @@ in
|
|||
|
||||
services.victorialogs = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.victorialogs;
|
||||
package = pkgs-unstable.victorialogs.overrideAttrs (
|
||||
_: previousAttrs: {
|
||||
version = "victoria-logs-" + previousAttrs.version;
|
||||
__intentionallyOverridingVersion = true;
|
||||
}
|
||||
);
|
||||
listenAddress = "localhost:${builtins.toString cfg.port}";
|
||||
extraOptions = [ "-retention.maxDiskSpaceUsageBytes=${cfg.maxDiskSpaceUsage}" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue