Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit c6f1882

Browse files
committed
New format
1 parent 204890b commit c6f1882

File tree

9 files changed

+70
-19
lines changed

9 files changed

+70
-19
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ build/Release
3737
# Dependency directories
3838
node_modules/
3939
jspm_packages/
40+
dist/
41+
doitintl-bigquery-datasource/
4042

4143
# TypeScript v1 declaration files
4244
typings/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If Grafana is running on a Google Compute Engine (GCE) virtual machine, it is po
125125

126126
1. First of all, you need to create a Service Account that can be used by the GCE virtual machine. See detailed instructions on how to do that [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#createanewserviceaccount).
127127
2. Make sure the GCE virtual machine instance is being run as the service account that you just created. See instructions [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#using).
128-
3. Allow access to the `BigQuery API` scope. See instructions [here](changeserviceaccountandscopes).
128+
3. Allow access to the `BigQuery API` scope. See instructions [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#changeserviceaccountandscopes).
129129

130130
Read more about creating and enabling service accounts for GCE VM instances [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances).
131131

dist/MANIFEST.txt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@ Hash: SHA512
99
"signedByOrgName": "DoiT International",
1010
"plugin": "doitintl-bigquery-datasource",
1111
"version": "2.0.1",
12-
"time": 1608137088177,
12+
"time": 1610017627530,
1313
"keyId": "7e4d0c6a708866e7",
1414
"files": {
1515
"LICENSE.md": "b40d79313086aafb7ab31bf033798850a20ff52daf52f9dba84f6ef169e326b2",
16+
".DS_Store": "d65165279105ca6773180500688df4bdc69a2c7b771752f0a46ef120b7fd8ec3",
1617
"doitintl-bigquery-datasource_darwin_amd64": "89d3c1769d56208894555aaeb428d4d81d227d134d521cebdf1a3ea36333f93c",
1718
"module.js.map": "c674267fa0d98e3295e8dbc225cc1f4fc563f6e59bb782088ce200219e04e27d",
1819
"doitintl-bigquery-datasource_windows_amd64.exe": "bfaa4dd2fc271e68ece7458f7dda4eb01ed5965e23a1c9052aa925b9aa61a9b9",
19-
"plugin.json": "198f8a869a085aefecfd17d3eb40166a54df2ed113fad4408ac67ddb4019f215",
20-
"README.md": "2c54953a9adbfd16ac4cc4ee4de052dc1895892416713cd9626a0e353e5e2047",
20+
"plugin.json": "a1d813d29f55c189cd99b332db7361e17ee80982028b78f67ce917fb57a7ffb2",
21+
"README.md": "73f37f56e09728a0c2296279407d3735b2141bdcfd4d491cb8a03b220283d5f5",
2122
"img/logo.png": "dcd9277d3dfc4e412dc006a000d0ee5b9ff4d9f126687a01f189cea9987e2bfa",
2223
"module.js": "ba4bb31df5beb210d312a7bcd03a345c86e727933319cc9156ba73b7a603a0c2",
2324
"partials/annotations.editor.html": "c8b36fe73e7c3b13df4db94153ebd820a9bec4104c1b179db92d64dcdcf04156",
24-
"partials/query.editor.html": "23a40ae6a4a3e2dfa32bee8f5cc963c447750e9752a46e5aced85e6d7f70d6e5",
25+
"partials/query.editor.html": "b1bd544d357e006339cf14ea27802692f9e33341e385cd74fb2dcf653ab8fb1d",
2526
"partials/config.html": "31cadbac85238e8a0cb8e4766fc20329cda9d918b4140e6130626cb3631dbe8d",
2627
"doitintl-bigquery-datasource_linux_amd64": "be64c3ed2eff027a886d9c8b5a8c75ca4aa883c093baf15943a3df46eca20956"
2728
}
@@ -30,9 +31,9 @@ Hash: SHA512
3031
Version: OpenPGP.js v4.10.1
3132
Comment: https://openpgpjs.org
3233

33-
wqEEARMKAAYFAl/aOYAACgkQfk0ManCIZuesYgIJAUjs7U8cep9swDag+dnN
34-
77ElBVj211p5OLMpkhzXoc2cr0J6UCwaIBaBPIK0eaJulAzWxvehZ/QMWlTl
35-
E9jDv1r7AgYskx434pIyZ0IfGCj7fkFAUX4O+LorvsIKMb7l1Ae6z0mWQ3bU
36-
BbxZj695ZR7PrCcawmCWgPsyV89PJ4KQgg+l6g==
37-
=gG5R
34+
wqEEARMKAAYFAl/261sACgkQfk0ManCIZucQwAII42ki8JPco/uXnrN7TGe3
35+
5a144L2+qIbG/wCIatxSCO2E+l7qNnBjJgQJsGf3Ity53lYJaqPtPIOUgyH0
36+
Rah7wVICCQEhbIh2dpebV8N28Q4Ki3aP/r1AOPoBT3fpj2a8RF1NsHIXV6bA
37+
zUiOzScw4yJxuCHUZUqnnq1uX0wJoGUXx5Gd8A==
38+
=OlQG
3839
-----END PGP SIGNATURE-----

dist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If Grafana is running on a Google Compute Engine (GCE) virtual machine, it is po
125125

126126
1. First of all, you need to create a Service Account that can be used by the GCE virtual machine. See detailed instructions on how to do that [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#createanewserviceaccount).
127127
2. Make sure the GCE virtual machine instance is being run as the service account that you just created. See instructions [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#using).
128-
3. Allow access to the `BigQuery API` scope. See instructions [here](changeserviceaccountandscopes).
128+
3. Allow access to the `BigQuery API` scope. See instructions [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#changeserviceaccountandscopes).
129129

130130
Read more about creating and enabling service accounts for GCE VM instances [here](https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances).
131131

dist/partials/query.editor.html

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,32 @@
160160
</div>
161161
<div class="gf-form">
162162
<label class="gf-form-label query-keyword">Processing Location</label>
163-
<div class="gf-form-select-wrapper">
164-
<select class="gf-form-input gf-size-auto" ng-model="ctrl.target.location"
163+
<div class="">
164+
<!-- <select class="gf-form-input gf-size-auto" ng-model="ctrl.target.location"
165165
ng-options="f.value as f.text for f in ctrl.locations"
166-
ng-change="ctrl.refresh()"></select>
166+
ng-change="ctrl.refresh()"></select> -->
167+
<input class="gf-form-input gf-size-auto" list="locationList" ng-model="ctrl.target.location"/>
168+
<datalist id="locationList">
169+
<option value=US>United States (US)</option>
170+
<option value=EU>European Union (EU)</option>
171+
<option value=us-west2>Los Angeles (us-west2)</option>
172+
<option value=northamerica-northeast1>Montréal (northamerica-northeast1)</option>
173+
<option value=us-east1>South Carolina (us-east1)</option>
174+
<option value=us-east4>Northern Virginia (us-east4)</option>
175+
<option value=southamerica-east1>São Paulo (southamerica-east1)</option>
176+
<option value=europe-north1>Finland (europe-north1)</option>
177+
<option value=europe-west2>London (europe-west2)</option>
178+
<option value=europe-west3>Frankfurt (europe-west3)</option>
179+
<option value=europe-west6>Zürich (europe-west6)</option>
180+
<option value=asia-east2>Hong Kong (asia-east2)</option>
181+
<option value=asia-south1>Mumbai (asia-south1)</option>
182+
<option value=asia-northeast2>Osaka (asia-northeast2)</option>
183+
<option value=asia-east1>Taiwan (asia-east1)</option>
184+
<option value=asia-northeast1>Tokyo (asia-northeast1)</option>
185+
<option value=asia-southeast1>Singapore (asia-southeast1)</option>
186+
<option value=australia-southeast1>Sydney (australia-southeast1)</option>
187+
<option value=asia-northeast3>Seoul (asia-northeast3)</option>
188+
</datalist>
167189
</div>
168190
</div>
169191

dist/plugin.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"backend": true,
1010
"executable": "doitintl-bigquery-datasource",
1111
"dependencies": {
12-
"grafanaVersion": "7.x.x"
12+
"grafanaDependency": "7.x.x"
1313
},
1414
"queryOptions": {
1515
"maxDataPoints": true
@@ -30,6 +30,8 @@
3030
{ "name": "GitHub", "url": "https://github.com/doitintl/bigquery-grafana" },
3131
{ "name": "MIT License", "url": "https://github.com/doitintl/bigquery-grafana/blob/master/LICENSE.md" }
3232
],
33+
"updated": "2020-12-16",
34+
"screenshots": [{"name": "Query builder", "path":"https://raw.githubusercontent.com/doitintl/bigquery-grafana/master/img/QueryBuilder.png"}],
3335
"version": "2.0.1"
3436
},
3537
"routes": [
55 KB
Binary file not shown.

src/partials/query.editor.html

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,32 @@
160160
</div>
161161
<div class="gf-form">
162162
<label class="gf-form-label query-keyword">Processing Location</label>
163-
<div class="gf-form-select-wrapper">
164-
<select class="gf-form-input gf-size-auto" ng-model="ctrl.target.location"
163+
<div class="">
164+
<!-- <select class="gf-form-input gf-size-auto" ng-model="ctrl.target.location"
165165
ng-options="f.value as f.text for f in ctrl.locations"
166-
ng-change="ctrl.refresh()"></select>
166+
ng-change="ctrl.refresh()"></select> -->
167+
<input class="gf-form-input gf-size-auto" list="locationList" ng-model="ctrl.target.location"/>
168+
<datalist id="locationList">
169+
<option value=US>United States (US)</option>
170+
<option value=EU>European Union (EU)</option>
171+
<option value=us-west2>Los Angeles (us-west2)</option>
172+
<option value=northamerica-northeast1>Montréal (northamerica-northeast1)</option>
173+
<option value=us-east1>South Carolina (us-east1)</option>
174+
<option value=us-east4>Northern Virginia (us-east4)</option>
175+
<option value=southamerica-east1>São Paulo (southamerica-east1)</option>
176+
<option value=europe-north1>Finland (europe-north1)</option>
177+
<option value=europe-west2>London (europe-west2)</option>
178+
<option value=europe-west3>Frankfurt (europe-west3)</option>
179+
<option value=europe-west6>Zürich (europe-west6)</option>
180+
<option value=asia-east2>Hong Kong (asia-east2)</option>
181+
<option value=asia-south1>Mumbai (asia-south1)</option>
182+
<option value=asia-northeast2>Osaka (asia-northeast2)</option>
183+
<option value=asia-east1>Taiwan (asia-east1)</option>
184+
<option value=asia-northeast1>Tokyo (asia-northeast1)</option>
185+
<option value=asia-southeast1>Singapore (asia-southeast1)</option>
186+
<option value=australia-southeast1>Sydney (australia-southeast1)</option>
187+
<option value=asia-northeast3>Seoul (asia-northeast3)</option>
188+
</datalist>
167189
</div>
168190
</div>
169191

src/plugin.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"backend": true,
1010
"executable": "doitintl-bigquery-datasource",
1111
"dependencies": {
12-
"grafanaVersion": "7.x.x"
12+
"grafanaDependency": "7.x.x"
1313
},
1414
"queryOptions": {
1515
"maxDataPoints": true
@@ -30,6 +30,8 @@
3030
{ "name": "GitHub", "url": "https://github.com/doitintl/bigquery-grafana" },
3131
{ "name": "MIT License", "url": "https://github.com/doitintl/bigquery-grafana/blob/master/LICENSE.md" }
3232
],
33+
"updated": "2020-12-16",
34+
"screenshots": [{"name": "Query builder", "path":"https://raw.githubusercontent.com/doitintl/bigquery-grafana/master/img/QueryBuilder.png"}],
3335
"version": "2.0.1"
3436
},
3537
"routes": [

0 commit comments

Comments
 (0)