Skip to content

Commit eb3fd01

Browse files
authored
Bug 1998551 - Disable darwin/linux platforms for telemetry alerting. (#9120)
This patch disables telemetry alerting on darwin/linux due to high false positive rates.
1 parent fb1ab61 commit eb3fd01

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

treeherder/perf/auto_perf_sheriffing/sherlock.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ def telemetry_alert(self):
282282
repository = Repository.objects.get(name="mozilla-central")
283283
framework = PerformanceFramework.objects.get(name="telemetry")
284284
for metric_info in metric_definitions:
285+
if metric_info["platform"] == "mobile":
286+
# Skip mobile detection since it's currently broken
287+
continue
285288
if metric_info["name"] not in INITIAL_PROBES:
286289
continue
287290
try:
@@ -300,11 +303,7 @@ def telemetry_alert(self):
300303
logger.info(f"Running detection for {probe.name}")
301304
cdf_ts_detector = ts_detectors[probe.get_change_detection_technique()]
302305

303-
for platform in ("Windows", "Darwin", "Linux"):
304-
if metric_info["platform"] == "mobile" and platform != "Mobile":
305-
continue
306-
elif metric_info["platform"] == "desktop" and platform == "Mobile":
307-
continue
306+
for platform in ("Windows",):
308307
logger.info(f"On Platform {platform}")
309308
try:
310309
data = get_metric_table(

0 commit comments

Comments
 (0)