Skip to content

Commit

Permalink
metrics.nix: add nix-env.qaCountDrv metric
Browse files Browse the repository at this point in the history
Before ae16dd1 `nix-env.qaCount` and
`nix-env.qaCountDrv` were equivalent, after that change that is no longer
the case so this needs a separate metric now.
  • Loading branch information
oxij committed Feb 22, 2019
1 parent 828759f commit 36aa5b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/top-level/metrics.nix
Expand Up @@ -55,6 +55,9 @@ runCommand "nixpkgs-metrics"
num=$(nix-env -f ${nixpkgs} -qa | wc -l)
echo "nix-env.qaCount $num" >> $out/nix-support/hydra-metrics
num=$(nix-env -f ${nixpkgs} -qa --drv-path | wc -l)
echo "nix-env.qaCountDrv $num" >> $out/nix-support/hydra-metrics
# TODO: this has been ignored for some time
# GC Warning: Bad initial heap size 128k - ignoring it.
#export GC_INITIAL_HEAP_SIZE=128k
Expand Down

0 comments on commit 36aa5b6

Please sign in to comment.