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) (#43046)

* Used fixed interval explicitly

* Fix tests
  • Loading branch information
chrisronline authored Aug 9, 2019
1 parent 7b77373 commit 57694bd
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 57694bd

Please sign in to comment.