!zghijEASpYQWYFzriI:nixos.org

Hydra

395 Members
111 Servers

Load older messages


SenderMessageTime
14 Feb 2022
@janne.hess:helsinki-systems.dedas_j * Also if the code looks like I really wanted to learn some go reflection - that's what the project was initially for12:55:09
@hexa:lossy.networkhexathis looks much more complete from what I remember when I touched the upstream prometheus instance a few days ago 🙂12:59:32
@janne.hess:helsinki-systems.dedas_j Not by a lot actually. There's some stuff like nrUnsupportedSomething but the upstream exporter is mostly complete 13:00:27
@janne.hess:helsinki-systems.dedas_j Maybe you want --web.disable-exporter-metrics? :D 13:00:49
@seb:the-apothecary.clubTseb joined the room.13:34:33
@grahamc:nixos.org@grahamc:nixos.orgnice14:15:18
@grahamc:nixos.org@grahamc:nixos.orgI'm hoping we could add a proper exporter directly to the evaluator and queue runner some day, but this looks great14:15:37
@janne.hess:helsinki-systems.dedas_jyeah I was hoping the evaluator somehow dumps its state into the db as well but I couldn't find anything14:16:19
@grahamc:nixos.org@grahamc:nixos.orgone tricky bit of that is of course the process breakdown of hydra-evaulator calling hydra-evaluate-jobset calling hydra-eval-jobs, and potentially each of these could feasibly contain their own exporter, which would also be weird14:27:52
@janne.hess:helsinki-systems.dedas_jWhat about this: The main daemon opens a fd for its subprocesses (FD 5 or something), and the subprocesses write their metrics there, maybe as kv pairs? Would be shitty but better than nothing14:29:04
@janne.hess:helsinki-systems.dedas_jThe main process can then collect these and serve them14:29:27
@grahamc:nixos.org@grahamc:nixos.orgI've tried to do that for ofborg in the past but was sort of a mess14:29:31
@grahamc:nixos.org@grahamc:nixos.orgbut that was quite a bit more complicated 14:29:55
@janne.hess:helsinki-systems.dedas_jor each component just writes its stats into the main db and we scrape from there14:29:59
@grahamc:nixos.org@grahamc:nixos.orgso it could very well work here14:30:00
@pedrohlc:mozilla.org@pedrohlc:mozilla.org joined the room.15:13:45
15 Feb 2022
@packetgrill:automattic.com@packetgrill:automattic.com joined the room.13:32:31
@linus.heckemann:matrix.mayflower.deLinux Hackerman So I'm trying to update the hydra package in nixpkgs, and ran into migrations failing because the pgcrypto postgres extension was missing. Seems odd to me though that this wouldn't have been caught by NixOS tests. Has everyone who runs a hyra done CREATE EXTENSION pgcrypto; manually, or am I missing a place where that's done within hydra (a plain rg pgcrypto on the hydra repo didn't yield any results), or what might be happening here? 16:45:49
@linus.heckemann:matrix.mayflower.deLinux Hackerman * So I'm trying to update the hydra package in nixpkgs, and ran into migrations failing because the pgcrypto postgres extension was missing. Seems odd to me though that this wouldn't have been caught by NixOS tests. Has everyone who runs a Hydra done CREATE EXTENSION pgcrypto; manually, or am I missing a place where that's done within hydra (a plain rg pgcrypto on the hydra repo didn't yield any results), or what might be happening here? 16:45:55
@linus.heckemann:matrix.mayflower.deLinux Hackerman Aah, apparently gen_random_uuid() is built into postgres starting from 13.x 16:49:57
@janne.hess:helsinki-systems.dedas_j
In reply to @linus.heckemann:matrix.mayflower.de
So I'm trying to update the hydra package in nixpkgs, and ran into migrations failing because the pgcrypto postgres extension was missing. Seems odd to me though that this wouldn't have been caught by NixOS tests. Has everyone who runs a Hydra done CREATE EXTENSION pgcrypto; manually, or am I missing a place where that's done within hydra (a plain rg pgcrypto on the hydra repo didn't yield any results), or what might be happening here?
Ah if you're touching it anyway (I know people love when I say that - could you replace --set HYDRA_RELEASE ${version} \ with --set-default HYDRA_RELEASE ${version} \? I don't think it's worth its own PR
16:51:14
@linus.heckemann:matrix.mayflower.deLinux Hackermanlol16:51:31
@linus.heckemann:matrix.mayflower.deLinux Hackermanyeah can do that16:51:37
@janne.hess:helsinki-systems.dedas_jthanks ;)16:51:42
@rick:matrix.ciphernetics.nlRick (Mindavi)
In reply to @linus.heckemann:matrix.mayflower.de
So I'm trying to update the hydra package in nixpkgs, and ran into migrations failing because the pgcrypto postgres extension was missing. Seems odd to me though that this wouldn't have been caught by NixOS tests. Has everyone who runs a Hydra done CREATE EXTENSION pgcrypto; manually, or am I missing a place where that's done within hydra (a plain rg pgcrypto on the hydra repo didn't yield any results), or what might be happening here?
Thanks for looking into that.
17:08:44
@linus.heckemann:matrix.mayflower.deLinux Hackermanthanks for starting the work, I picked your commit as a base :)17:09:00
@linus.heckemann:matrix.mayflower.deLinux Hackerman das_j: hm, why exactly should that be --set-default? Changing that to something other than the running package seems weird. 17:14:35
@janne.hess:helsinki-systems.dedas_j
In reply to @linus.heckemann:matrix.mayflower.de
das_j: hm, why exactly should that be --set-default? Changing that to something other than the running package seems weird.
I'm overriding the src of the package locally and the postPatch is not affected by that override
17:15:03
@linus.heckemann:matrix.mayflower.deLinux Hackermanaah fair17:16:20
@linus.heckemann:matrix.mayflower.deLinux Hackerman das_j: Rick (Mindavi): would you care to be maintainers as well? With https://github.com/NixOS/nixpkgs/pull/158948 it doesn't currently have any maintainers. 19:01:50

Show newer messages


Back to Room ListRoom Version: 6