We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e26ca1 commit 94d89a2Copy full SHA for 94d89a2
treeherder/perf/auto_perf_sheriffing/telemetry_alerting/probe.py
@@ -11,6 +11,11 @@
11
12
logger = logging.getLogger(__name__)
13
14
+ALERTING_PROBES = (
15
+ "networking_http_channel_page_open_to_first_sent",
16
+ "perf_largest_contentful_paint",
17
+)
18
+
19
20
class TelemetryProbeValidationError(Exception):
21
"""Raised when a probes information is incorrect, or missing."""
@@ -82,6 +87,11 @@ def setup_notification_emails(self, default=DEFAULT_ALERT_EMAIL):
82
87
):
83
88
return
84
89
90
+ # XXX: Remove once prototyping is complete
91
+ if self.name not in ALERTING_PROBES:
92
+ self.monitor_info["notification_emails"] = [default]
93
+ return
94
85
95
try:
86
96
url = GLEAN_PROBE_INFO.format(probe_name=self.name)
97
response = requests.get(url)
0 commit comments