Skip to content

Commit

Permalink
metrics: fix "values" to be count not bytes, to match prev behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Mar 13, 2018
1 parent 15ee5ff commit 29d4647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/metrics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 29d4647

Please sign in to comment.