This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/sentry/search/events/builder/metrics.py b/src/sentry/search/events/builder/metrics.py | |
index 019653f227..e03920bf9a 100644 | |
--- a/src/sentry/search/events/builder/metrics.py | |
+++ b/src/sentry/search/events/builder/metrics.py | |
@@ -44,6 +44,7 @@ from sentry.utils.snuba import DATASETS, Dataset, bulk_snql_query, raw_snql_quer | |
class MetricsQueryBuilder(QueryBuilder): | |
requires_organization_condition = True | |
organization_column: str = "organization_id" | |
+ is_alerts_query = False | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/sentry/search/events/builder/metrics.py b/src/sentry/search/events/builder/metrics.py | |
index 019653f227..4e1afa4e53 100644 | |
--- a/src/sentry/search/events/builder/metrics.py | |
+++ b/src/sentry/search/events/builder/metrics.py | |
@@ -43,6 +43,7 @@ from sentry.utils.snuba import DATASETS, Dataset, bulk_snql_query, raw_snql_quer | |
class MetricsQueryBuilder(QueryBuilder): | |
requires_organization_condition = True | |
+ is_alerts_query = False | |
organization_column: str = "organization_id" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event_id": "58cf30f61e064c59b3f6cb0e158db393", | |
"project": 2301244, | |
"release": null, | |
"dist": null, | |
"platform": "python", | |
"message": "", | |
"datetime": "2021-04-22T00:02:39.743010+00:00", | |
"tags": [ | |
[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function notify(){ | |
if hash notify-send 2>/dev/null; then | |
notify-send $1 $2 --urgency=${3:-normal} | |
elif hash terminal-notifier 2>/dev/null; then | |
echo $2 | terminal-notifier -sound default | |
else | |
echo $1 | |
fi | |
} |