!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

551 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org147 Servers

Load older messages


SenderMessageTime
1 Dec 2024
@tanvir:hackliberty.org@tanvir:hackliberty.org removed their profile picture.17:38:34
@tanvir:hackliberty.org@tanvir:hackliberty.org removed their display name 𝒕𝒂𝒏𝒗𝒊𝒓.17:41:37
@tanvir:hackliberty.org@tanvir:hackliberty.org left the room.17:46:26
2 Dec 2024
@shelby_nya:catgirl.cloudShelby Lynn joined the room.00:48:18
@bachp:matrix.orgPascal Bach joined the room.10:16:28
@imadalin:matrix.org@imadalin:matrix.org joined the room.11:32:57
@funkybooboo:matrix.orgNate Stott joined the room.15:02:17
@b10c:b10c.meb10c joined the room.15:59:12
4 Dec 2024
@kaleocheng:matrix.orgkaleo joined the room.09:36:44
@adam:robins.wtf@adam:robins.wtfNote to future self, it's probably cleaner to remove a garage node prior to redeploying it rather than force removing it afterwards.15:03:24
5 Dec 2024
@shados:nixos.devShados joined the room.01:22:47
@qualytllc:matrix.orgDanny Gerhardt joined the room.09:57:42
7 Dec 2024
@sigmasquadron:matrix.orgFernando Rodrigues joined the room.22:12:38
@hexa:lossy.networkhexaanyone here who happily uses loki with rules and alerting?22:15:06
@hexa:lossy.networkhexa * anyone here who happily uses loki with rules and alerting and considers it useful? 22:30:51
@k900:0upti.meK900 I don't have any alerts in it right now, but I've done that before at $work and yes it is useful IF you know what to alert on 22:35:54
@hexa:lossy.networkhexaI find writing the expressions super tedious22:37:19
@hexa:lossy.networkhexaand since I mostly want to log on events it always follows the same pattern22:38:08
@hexa:lossy.networkhexa
sum by (machine) (count_over_time({...})
  |~ "some match" [5m]
)) >0
22:38:50
@hexa:lossy.networkhexa *
sum by (machine) (count_over_time({...}
  |~ "some match" [5m]
)) >0
22:39:05
@k900:0upti.meK900It depends on what you're setting up alerts for tbh 22:39:16
@hexa:lossy.networkhexayeah, 110% events22:39:25
@hexa:lossy.networkhexanot really rates and whatever they think of examples22:39:46
@k900:0upti.meK900I think you can just drop most of that then and just have the filter as the rule 22:41:22
@k900:0upti.meK900And it'll alert if anything matches 22:41:27
@hexa:lossy.networkhexahuh, ok22:41:45
@hexa:lossy.networkhexathat is kinda the simplicity I was looking for22:42:04
@hexa:lossy.networkhexa
      {unit="postgresql.service"}
        |~ "ALTER DATABASE \\w+ REFRESH COLLATION VERSION"
        | regexp "DATABASE (?<database>[a-zA-Z0-9]+) REFRESH" [5m]
22:42:59
@hexa:lossy.networkhexathat would be one example22:43:03
@hexa:lossy.networkhexa *
      {unit="postgresql.service"}
        |~ "ALTER DATABASE \\w+ REFRESH COLLATION VERSION"
        | regexp "DATABASE (?<database>[a-zA-Z0-9]+) REFRESH"
22:43:13

Show newer messages


Back to Room ListRoom Version: 10