Skip to content

Commit

Permalink
[APM]: use correct interval field key for histogram aggregation
Browse files Browse the repository at this point in the history
Fixes an issue with distribution aggs failing because elastic#39886 inadvertently changed the `interval` key for a histogram agg to `fixed_interval`, which only works on date_histogram aggs.
  • Loading branch information
dgieselaar committed Jul 9, 2019
1 parent 5d121cf commit 3821995
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function bucketFetcher(
distribution: {
histogram: {
field: TRANSACTION_DURATION,
fixed_interval: bucketSize,
interval: bucketSize,
min_doc_count: 0,
extended_bounds: {
min: 0,
Expand Down

0 comments on commit 3821995

Please sign in to comment.