Commit Graph

19 Commits

Author SHA1 Message Date
Vladimír Čunát
e8c87f0946
Revert "metrics job: schedule on any machine, for now" 2022-06-12 13:45:06 +02:00
Vladimír Čunát
3ea36f0f74
metrics job: schedule on any machine, for now
For non-time metrics it doesn't matter,
and those seem more important anyway.
So better this than nothing, for now.
2022-05-13 11:44:20 +02:00
Vladimír Čunát
30e1b0bd69
Revert "metrics: drop requiredSystemFeatures; /cc #76776"
This reverts commit c7aef6dedb.

I believe it should work again since today, though I'm being a bit
conservative, pushing to `staging-next` instead of `master`.
2021-11-14 11:35:51 +01:00
Matthew Mazzanti
a923032c74 metrics: set NIX_STORE_DIR
Mirror ca5ecbed4b to workaround
NIX_STATE_DIR errors.

As with the other workaround, see:
https://github.com/NixOS/nix/issues/5495#issuecomment-963949707
2021-11-11 12:04:36 -05:00
Eelco Dolstra
39d038d14d Fix metrics job
It was failing because the pager wasn't set, causing the message

  error: executing '': No such file or directory

to pollute the JSON output.

https://hydra.nixos.org/build/154768851

Issue #76776.
2021-09-27 16:23:09 +02:00
Vladimír Čunát
c7aef6dedb
metrics: drop requiredSystemFeatures; /cc #76776
The build hasn't worked for months (even on 20.09).  Now also my
dedicated machine broke, and I don't feel like maintaining it until
the job has any chance of succeeding.
(I don't know why exactly it's failing.)
2021-03-28 12:08:59 +02:00
Eelco Dolstra
2d50c7c08e
Don't set $NIX_DB_DIR
This variable was removed in 2016.
2020-08-24 18:50:20 +02:00
Matthew Bauer
8bb03d3891 metrics: don’t output nix output for qaDrv*
These have a hug log that will hit “log limit exceeded” on Hydra. This
commit skips the biggest offenders - qaDrv and qaDrvAggresive, giving
smaller logs.

https://hydra.nixos.org/build/94487387
2019-06-07 15:52:10 -04:00
Vladimír Čunát
a593f64cd7
metrics.nix: track qaCountBroken instead of qaCountDrv
From these three values, I believe it's most meaningful to track
one of the higher ones and their difference (qaCountBroken).
It's a bit unclear which of the higher ones - I have no data on that,
so I kept the one used before the parent commit.
2019-03-01 13:59:30 +01:00
Jan Malakhovski
36aa5b691d metrics.nix: add nix-env.qaCountDrv metric
Before ae16dd1a15 `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.
2019-02-22 16:59:29 +00:00
Vladimír Čunát
61b8c03a78
metrics job: update for nix-2.2
Fixes https://github.com/NixOS/nixpkgs/issues/53858
I think I managed to keep all numbers the same as before nix-2.2.
2019-01-13 10:32:52 +01:00
Jan Malakhovski
9d35a02dab metrics.nix: add a metrick for the current number of packages as seen by nix-env 2018-11-17 10:24:46 +00:00
Eelco Dolstra
14b5d5e93e
Revert "release/metrics: drop requiredSystemFeatures"
This reverts commit 1d0caa7b03. Thanks
to @vcunat we have a 'benchmark' machine again!
2018-07-30 10:46:20 +02:00
Vladimír Čunát
1d0caa7b03
release/metrics: drop requiredSystemFeatures
Lack of a "benchmark" machine on Hydra prevents it from building,
and that blocks channels.
2018-07-26 18:32:41 +02:00
Will Dietz
29d46471e0 metrics: fix "values" to be count not bytes, to match prev behavior
https://github.com/NixOS/nixpkgs/pull/36896#discussion_r174163744
2018-03-13 13:29:15 -05:00
Will Dietz
5eb07e2396 metrics: fixup sed expr to work with Nix 2 2018-03-12 22:49:17 -05:00
Vladimír Čunát
88ccc386f5
nixpkgs.metrics: --show-trace into the log
If the log is empty, it's difficult to debug problems.  This case:
https://github.com/NixOS/nixpkgs/pull/30252/files#r153038794
2017-11-25 07:07:27 +01:00
Eelco Dolstra
03df731fb5 nixpkgs-metrics: Suppress build products 2016-03-24 18:06:46 +01:00
Eelco Dolstra
fab439201e Keep track of Nixpkgs/NixOS evaluation statistics 2016-03-24 17:37:17 +01:00