| 2 Dec 2024 |
| @imadalin:matrix.org joined the room. | 11:32:57 |
| Nate Stott joined the room. | 15:02:17 |
| b10c joined the room. | 15:59:12 |
| 4 Dec 2024 |
| kaleo joined the room. | 09:36:44 |
adamcstephens | Note 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 joined the room. | 01:22:47 |
| Danny Gerhardt joined the room. | 09:57:42 |
| 7 Dec 2024 |
| Fernando Rodrigues joined the room. | 22:12:38 |
hexa | anyone here who happily uses loki with rules and alerting? | 22:15:06 |
hexa | * anyone here who happily uses loki with rules and alerting and considers it useful? | 22:30:51 |
K900 | 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 | I find writing the expressions super tedious | 22:37:19 |
hexa | and since I mostly want to log on events it always follows the same pattern | 22:38:08 |
hexa | sum by (machine) (count_over_time({...})
|~ "some match" [5m]
)) >0
| 22:38:50 |
hexa | * sum by (machine) (count_over_time({...}
|~ "some match" [5m]
)) >0
| 22:39:05 |
K900 | It depends on what you're setting up alerts for tbh | 22:39:16 |
hexa | yeah, 110% events | 22:39:25 |
hexa | not really rates and whatever they think of examples | 22:39:46 |
K900 | I think you can just drop most of that then and just have the filter as the rule | 22:41:22 |
K900 | And it'll alert if anything matches | 22:41:27 |
hexa | huh, ok | 22:41:45 |
hexa | that is kinda the simplicity I was looking for | 22:42:04 |
hexa | {unit="postgresql.service"}
|~ "ALTER DATABASE \\w+ REFRESH COLLATION VERSION"
| regexp "DATABASE (?<database>[a-zA-Z0-9]+) REFRESH" [5m]
| 22:42:59 |
hexa | that would be one example | 22:43:03 |
hexa | * {unit="postgresql.service"}
|~ "ALTER DATABASE \\w+ REFRESH COLLATION VERSION"
| regexp "DATABASE (?<database>[a-zA-Z0-9]+) REFRESH"
| 22:43:13 |
K900 | Hm I should steal that | 22:43:52 |
hexa | 😛 | 22:44:28 |
hexa | now I wish there was webinterface to browse the state of loki | 22:52:13 |
hexa | not the user facing stuff like grafana, more like what prometheus has | 22:52:22 |
hexa | can't say it is alerting based on that expression | 22:56:05 |