[13:50:58] godog: any advice on what i'm doing wrong in https://gerrit.wikimedia.org/r/c/operations/alerts/+/772829 ? [13:51:08] https://integration.wikimedia.org/ci/job/alerts-pipeline-test/292/console [13:51:23] it seems my series isn't causing these alerts to fire...i think [14:10:02] ottomata: you need to provide data for all intervals [14:10:52] when your interval is 1m and eval_time is 5m, you need to provide at least 5 values in input_series [14:11:14] huh, okay, i was copying from eventgate_test.yaml which doesn't seem to do that [14:11:24] okay, so for the 2h one I need to specify all? [14:11:37] or, can I just make interval larger? [14:12:08] oh maybe eventgate_test doesnt' do that because its using a 5m based recording rule [14:12:46] jayme: what is evaluation_interval? [14:13:35] I'm not exactly sure tbh [14:13:59] but you don't need to specify all. There is a fancy syntax to polulate the values [14:14:20] check https://prometheus.io/docs/prometheus/latest/configuration/unit_testing_rules/#series [14:16:02] "promtool test rules gobblin_test.yaml" will also help with figuring it out I guess [14:21:11] ottomata: yeah I think it is what jayme said [14:24:20] oh cool, expanding [14:24:25] will try that [14:37:11] ah ha, this is my problem: https://github.com/prometheus/prometheus/issues/4817#issuecomment-514765285 [14:37:15] time() returns eval_time [14:37:36] which uh, if is 3 hours, that will be 3h after the unix epoch [14:43:53] *nod* [14:51:36] awesome, okay tests pass. godog okay to merge this? https://gerrit.wikimedia.org/r/c/operations/alerts/+/772829 [14:53:13] yeah let's do it!