User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
okay, this is looking nice

charts.foxfox.cat/dashboard/snapshot/ujZxjmubXQCJPJOJ5by7hwuu1DblrvXO
:blobcateyes@polycule.li:1:blobcateyes@woem.men:1
3
0
3
2
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
it'd be nice to set up some kind of alerting for when the heart rate increases by more than N bpms in a short span of time ​:neocat_think:​

I'm unsure about how to calculate that.... also, I'm using PostgreSQL for backing the data, maybe I should have gone with something else
❤️1
1
0
6
1
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
okay this was actually quite easy. query for the data on the last 5 minutes, get the max and the min value, substract them, and if that's higher than the threshold raise the alert. done

I guess that can also be a post here (?)
💜1
3
0
5
1
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten this would also alert on a drop, wouldn't it?
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe I thought after that afterwards, yes ​:neocat_laugh_sweat:​ I'll see how to check that the max value is after the min value or something
0
0
0
0