metrics in config.yaml
A top-level key of ~/.devlanes/config.yaml.
metrics
Section titled “metrics”Type: mapping.
How long CPU and memory history stays in the daemon’s database.
metrics: retention: 7dmetrics.retentionHow long per-minute CPU and memory samples, per-run summaries and startup memory peaks are kept; defaults to 7d and must be longer than 0s. Shorter keeps less history for graphs and for the memory a start is expected to need; state.max_size can delete samples sooner.
metrics.retention
Section titled “metrics.retention”Type: duration. Default: 7d.
How long per-minute CPU and memory samples, per-run summaries and startup memory peaks are kept; defaults to 7d and must be longer than 0s. Shorter keeps less history for graphs and for the memory a start is expected to need; state.max_size can delete samples sooner.
metrics: retention: 7dmetrics.retentionHow long per-minute CPU and memory samples, per-run summaries and startup memory peaks are kept; defaults to 7d and must be longer than 0s. Shorter keeps less history for graphs and for the memory a start is expected to need; state.max_size can delete samples sooner.