-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
metrics.nix: add nix-env.qaCountDrv metric #56201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
Wouldn't it be more meaningful to add the difference instead? |
Difference requires context (previous commit? evaluation? on what jobset?) that perhaps is better part of visualization/analysis; metric reports the value at this point. Which IMO is the way to go. Or do you mean difference between the two metrics reported here? May have missed your meaning, sorry. |
By "difference" I meant adding |
@vcunat I wonder whether resource usage (provided no refactorings happen) tracks |
For now the difference is fairly small, so I don't think it matters in practice. |
@vcunat I'm fine either way. If you think |
... into release-19.03. (Cherry-picked from 35cf2c8.) The branch is affected by the stdenv change differentiating the numbers, and I believe consistency with master will be good here.
Modified and merged:
|
Awesome, thanks!
|
git log
metrics.nix: add nix-env.qaCountDrv metric
Before ae16dd1
nix-env.qaCount
andnix-env.qaCountDrv
were equivalent, after that change that is no longerthe case so this needs a separate metric now.
nix-instantiate
environmentnix-env -qaP
diffs/cc @matthewbauer @7c6f434c