Skip to content

Commit

Permalink
Update metro detail metro picker to use datasource and dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmathis committed Jan 24, 2025
1 parent 73f3883 commit f103e70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions grafana-public/dashboards/Client_ISP_distrabutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@
{
"allValue": ".*",
"current": {
"selected": false,
"selected": true,
"text": [
"gru SA Sao Paulo, BR"
],
Expand All @@ -1523,7 +1523,7 @@
},
"datasource": {
"type": "grafana-bigquery-datasource",
"uid": "f126f149-75bd-4e5a-9883-fcd7e62bc80a"
"uid": "P116E76923C5457A4"
},
"definition": "",
"description": "Metro picker using cached metadata. Sorted by continent, country and city, to facilitate comparing nearby metros.",
Expand All @@ -1539,7 +1539,7 @@
"location": "",
"project": "measurement-lab",
"rawQuery": true,
"rawSql": "# From: 2024-12-20 Prototype cached site picker \n\nSELECT\n CONCAT(metro, ' ', ContinentCode, ' ', City, ', ', CountryCode) AS text,\n metro AS value,\nFROM (\n SELECT\n REGEXP_EXTRACT(site, '^([a-z]{3})') AS metro,\n ANY_VALUE(ContinentCode) AS ContinentCode,\n ANY_VALUE(City) AS City,\n ANY_VALUE(CountryCode) AS CountryCode,\n FROM `mlab-collaboration.mm_preproduction.cached_metadata` GROUP BY metro ORDER BY ContinentCode, CountryCode, metro\n)\n",
"rawSql": "# From: 2024-12-20 Prototype cached site picker \n\nSELECT\n CONCAT(metro, ' ', ContinentCode, ' ', City, ', ', CountryCode) AS text,\n metro AS value,\nFROM (\n SELECT\n REGEXP_EXTRACT(site, '^([a-z]{3})') AS metro,\n ANY_VALUE(ContinentCode) AS ContinentCode,\n ANY_VALUE(City) AS City,\n ANY_VALUE(CountryCode) AS CountryCode,\n FROM `${dataset}.cached_metadata` GROUP BY metro ORDER BY ContinentCode, CountryCode, metro\n)\n",
"refId": "tempvar",
"sql": {
"columns": [
Expand Down Expand Up @@ -1718,6 +1718,6 @@
"timezone": "utc",
"title": "Client ISP Distributions from cached histograms",
"uid": "20250114a",
"version": 7,
"version": 8,
"weekStart": ""
}
}

0 comments on commit f103e70

Please sign in to comment.