From 6b0b918cc6c205ff133818696f253d9f76338159 Mon Sep 17 00:00:00 2001 From: Anna Scholtz Date: Mon, 14 Mar 2022 12:52:54 -0700 Subject: [PATCH] Ignore user count threshold in opmon views --- .../operational_monitoring/templates/histogram_view.sql | 2 +- bigquery_etl/operational_monitoring/templates/scalar_view.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bigquery_etl/operational_monitoring/templates/histogram_view.sql b/bigquery_etl/operational_monitoring/templates/histogram_view.sql index b02cbdae8f..003e6af809 100644 --- a/bigquery_etl/operational_monitoring/templates/histogram_view.sql +++ b/bigquery_etl/operational_monitoring/templates/histogram_view.sql @@ -8,7 +8,7 @@ WITH valid_builds AS ( FROM `{{gcp_project}}.{{dataset}}.{{slug}}_histogram` WHERE {% include 'where_clause.sql' %} GROUP BY 1 - HAVING COUNT(DISTINCT client_id) >= {{user_count_threshold}} + -- HAVING COUNT(DISTINCT client_id) >= {{user_count_threshold}} ), filtered_histograms AS ( diff --git a/bigquery_etl/operational_monitoring/templates/scalar_view.sql b/bigquery_etl/operational_monitoring/templates/scalar_view.sql index 71b68a655a..e551c8a104 100644 --- a/bigquery_etl/operational_monitoring/templates/scalar_view.sql +++ b/bigquery_etl/operational_monitoring/templates/scalar_view.sql @@ -6,7 +6,7 @@ WITH valid_builds AS ( FROM `{{gcp_project}}.{{dataset}}.{{slug}}_scalar` WHERE {% include 'where_clause.sql' %} GROUP BY 1 - HAVING COUNT(DISTINCT client_id) >= {{user_count_threshold}} + -- HAVING COUNT(DISTINCT client_id) >= {{user_count_threshold}} ), filtered_scalars AS (