Skip to content

Commit

Permalink
Merge branch 'release/20190213-01'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsusek committed Feb 13, 2019
2 parents f37296c + 8861211 commit 32d665c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions config/api.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
},
"es_host": "elasticsearch",
"es_port": 9200,
"es_username": "",
"es_password": "",
"es_ssl": false,
"writeback_index": "praeco_elastalert_status"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "praeco",
"version": "0.1.0",
"version": "0.3.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
5 changes: 3 additions & 2 deletions src/components/config/ConfigCondition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -945,10 +945,11 @@ export default {
this.spikeOrThreshold = 'spike';
}
// if querykey and type is freq or flatline, set groupedOver to field
// if rule supports queryKey, set groupedOver to field
if (
this.queryKey &&
(this.type === 'frequency' || this.type === 'flatline')
['metric_aggregation', 'freqeuncy', 'flatline',
'change', 'spike', 'flatline'].includes(this.type)
) {
this.groupedOver = 'field';
}
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"v0.3.0"
"v0.3.1"

0 comments on commit 32d665c

Please sign in to comment.