Skip to content

Commit

Permalink
[Monitoring] Used fixed_interval explicitly for date_histogram aggreg…
Browse files Browse the repository at this point in the history
…ations (#37023)

* Used fixed interval explicitly

* Fix tests
  • Loading branch information
chrisronline authored May 24, 2019
1 parent 1a2ec83 commit 34e6c90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function getMetricAggs(listingMetrics, bucketSize) {
date_histogram: {
field: 'timestamp',
min_doc_count: 1,
interval: bucketSize + 's'
fixed_interval: bucketSize + 's'
},
aggs: metric.aggs || metricAgg
};
Expand Down

0 comments on commit 34e6c90

Please sign in to comment.