-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Glean server knobs monitoring table (#4491)
* Glean server knobs monitoring table * fix code gen and skip dry-run * Remove view creation in query
- Loading branch information
1 parent
e860ee6
commit b0a79c1
Showing
5 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
12 changes: 12 additions & 0 deletions
12
...moz-fx-data-shared-prod/monitoring_derived/glean_server_knob_experiments_v1/metadata.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
friendly_name: Glean Server Knobs | ||
description: |- | ||
A view on the experiment monitoring dataset of all glean server knob configs | ||
labels: | ||
incremental: false | ||
public_bigquery: false | ||
public_json: false | ||
owners: | ||
- wstuckey@mozilla.com | ||
scheduling: | ||
dag_name: bqetl_monitoring | ||
task_name: glean_server_knob_experiments__v1 |
20 changes: 20 additions & 0 deletions
20
sql/moz-fx-data-shared-prod/monitoring_derived/glean_server_knob_experiments_v1/query.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SELECT | ||
normandy_slug AS slug, | ||
app_name, | ||
app_id, | ||
start_date, | ||
end_date, | ||
status, | ||
targeted_percent, | ||
targeting, | ||
feature.value.gleanMetricConfiguration AS glean_metric_config | ||
FROM | ||
`moz-fx-data-experiments.monitoring.experimenter_experiments_v1` | ||
CROSS JOIN | ||
UNNEST(branches) AS branch | ||
CROSS JOIN | ||
UNNEST(JSON_EXTRACT_ARRAY(branch.features)) AS feature | ||
WHERE | ||
"glean" IN UNNEST(feature_ids) | ||
AND STRING(feature.featureId) = "glean" | ||
AND JSON_QUERY(feature.value, "$.gleanMetricConfiguration") IS NOT NULL |