<commit_before># This file defines alerts to be triggered by the server.

#
# SkiaPerf and SkiaGold
#

[[rule]]
name = "Perf Alerts"
message = "At least one perf alert has been found. Please visit https://skiaperf.com/alerts/ to triage."
query = "select value from skiaperf.alerting.new.value limit 1"
condition = "x > 0"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "24h"

[[rule]]
name = "Gold Alerts"
message = "At least one untriaged image has been found. Please visit https://skiagold.com/ to triage."
query = "select value from skiacorrectness.golden.untriaged.by_corpus.gm.value limit 1"
condition = "x > 0"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "24h"

[[rule]]
name = "Ingestion Failure (nanobench)"
message = "At least two rounds of data ingestion have failed back to back."
query = "select mean(value) from /ingest.ingester.nano-ingest.gauge.time-since-last-successful-update.value/ where time > now() - 10m"
condition = "x >= 750"
actions = ["Email(<EMAIL>)"]
auto-dismiss = false
nag = "1h"<commit_msg>Add alerts for gold and perf-trybot ingestion stalling.<commit_after># This file defines alerts to be triggered by the server.

#
# SkiaPerf and SkiaGold
#

[[rule]]
name = "Perf Alerts"
message = "At least one perf alert has been found. Please visit https://perf.skia.org/alerts/ to triage."
query = "select value from skiaperf.alerting.new.value limit 1"
condition = "x > 0"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "24h"

[[rule]]
name = "Gold Alerts"
message = "At least one untriaged image has been found. Please visit https://skiagold.com/ to triage."
query = "select value from skiacorrectness.golden.untriaged.by_corpus.gm.value limit 1"
condition = "x > 0"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "24h"

[[rule]]
name = "Ingestion Failure (perf)"
message = "At least two rounds of perf ingestion have failed back to back."
query = "select mean(value) from /ingest.ingester.nano-ingest.gauge.time-since-last-successful-update.value/ where time > now() - 10m"
condition = "x >= 750"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "1h"

[[rule]]
name = "Ingestion Failure (perf trybot)"
message = "At least two rounds of perf trybot ingestion have failed back to back."
query = "select mean(value) from /ingest.ingester.nano-trybot.gauge.time-since-last-successful-update.value/ where time > now() - 10m"
condition = "x >= 750"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "1h"

[[rule]]
name = "Ingestion Failure (gold)"
message = "At least two rounds of gold ingestion have failed back to back."
query = "select mean(value) from /ingest.ingester.golden-ingest.gauge.time-since-last-successful-update.value/ where time > now() - 10m"
condition = "x >= 750"
actions = ["Email(<EMAIL>)"]
auto-dismiss = true
nag = "1h"
{'fraction_non_alphanumeric': 0.14265385983635717, 'fraction_numerical': 0.014229811454998222, 'mean_word_length': 4.460194174757282, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 23, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3672532', 'n_tokens_mistral': 1007, 'n_tokens_neox': 946, 'n_words': 316}