blazer 2.4.3 → 2.4.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of blazer might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/README.md +41 -1
- data/app/assets/javascripts/blazer/bootstrap.js +300 -97
- data/app/assets/javascripts/blazer/vue.js +10754 -9687
- data/app/assets/stylesheets/blazer/bootstrap.css.erb +529 -451
- data/app/controllers/blazer/queries_controller.rb +2 -1
- data/app/models/blazer/query.rb +1 -1
- data/app/views/blazer/queries/run.html.erb +4 -2
- data/lib/blazer/adapters/athena_adapter.rb +35 -19
- data/lib/blazer/adapters/bigquery_adapter.rb +1 -1
- data/{app/mailers → lib}/blazer/check_mailer.rb +0 -0
- data/{app/mailers → lib}/blazer/slack_notifier.rb +0 -0
- data/lib/blazer/version.rb +1 -1
- data/lib/blazer.rb +5 -0
- data/licenses/LICENSE-bootstrap.txt +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 001d5a72253bcf62b525854064c1242e7569cc139b8263f54fade4536772de0a
|
4
|
+
data.tar.gz: 9bf14d133dec31e413fa37390cadcd24bf9e0ae965dee208fc7fe7acca0f9111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0406c619b9f6ab242d7dd8d6dcca2341876ee9b5326638a57c590a5a95ecffccc9082b6323dca929487c8d55d5961b93e53788d323866c3d97d06aa846de21a
|
7
|
+
data.tar.gz: 8841aaf8abbedd623b355fac0dd455a1c437abf297748ca847df15c895ba8ff59bda8c536e48da0c1e3fd882e10dbe449f6ba9c7916f0ac3caa882d822339b00
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## 2.4.7 (2021-09-25)
|
2
|
+
|
3
|
+
- Made Action Mailer optional
|
4
|
+
- Fixed error with multiple maps on dashboard
|
5
|
+
|
6
|
+
## 2.4.6 (2021-09-20)
|
7
|
+
|
8
|
+
- Added support for workgroup with Amazon Athena
|
9
|
+
- Added casting for timestamp with time zone columns with Amazon Athena
|
10
|
+
- Added support for setting credentials in config file with Amazon Athena
|
11
|
+
- Made output location optional with Amazon Athena
|
12
|
+
- Fixed casting error for `NULL` values with Amazon Athena
|
13
|
+
- Fixed issue with Google BigQuery only showing first page of results
|
14
|
+
|
15
|
+
## 2.4.5 (2021-09-15)
|
16
|
+
|
17
|
+
- Improved fix for some forked queries not appearing on home page
|
18
|
+
|
19
|
+
## 2.4.4 (2021-09-15)
|
20
|
+
|
21
|
+
- Fixed issue with some forked queries not appearing on home page
|
22
|
+
|
1
23
|
## 2.4.3 (2021-07-27)
|
2
24
|
|
3
25
|
- Added Prophet anomaly detection
|
data/README.md
CHANGED
@@ -456,7 +456,7 @@ Trend.url = "http://localhost:8000"
|
|
456
456
|
|
457
457
|
### R
|
458
458
|
|
459
|
-
R
|
459
|
+
R uses Twitter’s [AnomalyDetection](https://github.com/twitter/AnomalyDetection) library.
|
460
460
|
|
461
461
|
First, [install R](https://cloud.r-project.org/). Then, run:
|
462
462
|
|
@@ -620,9 +620,49 @@ data_sources:
|
|
620
620
|
my_source:
|
621
621
|
adapter: athena
|
622
622
|
database: database
|
623
|
+
|
624
|
+
# optional settings
|
623
625
|
output_location: s3://some-bucket/
|
626
|
+
workgroup: primary
|
627
|
+
access_key_id: ...
|
628
|
+
secret_access_key: ...
|
629
|
+
```
|
630
|
+
|
631
|
+
Here’s an example IAM policy:
|
632
|
+
|
633
|
+
```json
|
634
|
+
{
|
635
|
+
"Version": "2012-10-17",
|
636
|
+
"Statement": [
|
637
|
+
{
|
638
|
+
"Effect": "Allow",
|
639
|
+
"Action": [
|
640
|
+
"athena:GetQueryExecution",
|
641
|
+
"athena:GetQueryResults",
|
642
|
+
"athena:StartQueryExecution"
|
643
|
+
],
|
644
|
+
"Resource": [
|
645
|
+
"arn:aws:athena:region:account-id:workgroup/primary"
|
646
|
+
]
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"Effect": "Allow",
|
650
|
+
"Action": [
|
651
|
+
"glue:GetTable",
|
652
|
+
"glue:GetTables"
|
653
|
+
],
|
654
|
+
"Resource": [
|
655
|
+
"arn:aws:glue:region:account-id:catalog",
|
656
|
+
"arn:aws:glue:region:account-id:database/default",
|
657
|
+
"arn:aws:glue:region:account-id:table/default/*"
|
658
|
+
]
|
659
|
+
}
|
660
|
+
]
|
661
|
+
}
|
624
662
|
```
|
625
663
|
|
664
|
+
You also need to configure [S3 permissions](https://aws.amazon.com/premiumsupport/knowledge-center/access-denied-athena/).
|
665
|
+
|
626
666
|
### Amazon Redshift
|
627
667
|
|
628
668
|
Add [activerecord6-redshift-adapter](https://github.com/kwent/activerecord6-redshift-adapter) or [activerecord5-redshift-adapter](https://github.com/ConsultingMD/activerecord5-redshift-adapter) to your Gemfile and set:
|