diff options
author | Will Dietz <w@wdtz.org> | 2018-03-13 13:29:15 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-03-13 13:29:15 -0500 |
commit | 29d46471e0ee2d21b359819bc38e8649d1180de5 (patch) | |
tree | 18fea76bfeac23ad9cd2e94055a46d6d4ecaf47a /pkgs/top-level/metrics.nix | |
parent | 15ee5ff446e494e420ce8fb5d05f7119f1f9753f (diff) |
metrics: fix "values" to be count not bytes, to match prev behavior
https://github.com/NixOS/nixpkgs/pull/36896#discussion_r174163744
Diffstat (limited to 'pkgs/top-level/metrics.nix')
-rw-r--r-- | pkgs/top-level/metrics.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/metrics.nix b/pkgs/top-level/metrics.nix index eeacb59b64b3..77f620da7249 100644 --- a/pkgs/top-level/metrics.nix +++ b/pkgs/top-level/metrics.nix @@ -35,7 +35,7 @@ runCommand "nixpkgs-metrics" [[ -n $x ]] || exit 1 echo "$name.allocations $x B" >> $out/nix-support/hydra-metrics - x=$(sed -e 's/.*values allocated bytes: \([0-9]\+\).*/\1/ ; t ; d' stats) + x=$(sed -e 's/.*values allocated count: \([0-9]\+\).*/\1/ ; t ; d' stats) [[ -n $x ]] || exit 1 echo "$name.values $x" >> $out/nix-support/hydra-metrics } |