Skip to content

Commit

Permalink
change prometheus storage period
Browse files Browse the repository at this point in the history
  • Loading branch information
sadMaxim committed Apr 1, 2024
1 parent 5e4db76 commit 29e792f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/containers/prometheus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
text = ''
ln -sf ${pkgs.iana-etc}/etc/protocols /etc/protocols
ln -sf ${pkgs.iana-etc}/etc/services /etc/services
${pkgs.prometheus}/bin/prometheus --config.file=${./prometheus.yaml} --storage.tsdb.path=/data --storage.tsdb.retention.time=6m
${pkgs.prometheus}/bin/prometheus --config.file=${./prometheus.yaml} --storage.tsdb.path=/data --storage.tsdb.retention.time=4320h
'';
};
};
Expand Down

0 comments on commit 29e792f

Please sign in to comment.