Skip to content

[Uptime] Reduce bucket size for monitor list query - #36071

Merged
justinkambic merged 3 commits into
elastic:masterfrom
justinkambic:uptime_make-histogram-smaller
May 10, 2019
Merged

justinkambic merged 3 commits into
elastic:masterfrom
justinkambic:uptime_make-histogram-smaller

Conversation

@justinkambic

@justinkambic justinkambic commented May 3, 2019 •

Copy link
Copy Markdown
Contributor

Summary

Resolves elastic/uptime#34.

We have had reports of users encountering bucket overflow for one of our queries. We will be revisiting a number of these queries soon when we've implemented the states index. In the meantime, I propose we reduce the number of buckets for the monitor list query. It should be within the limits that default clusters will permit. start calculating our bucket size based on the given date range, and stop relying on auto_date_histogram, because it's proven challenging to create predictable aggregation output using it.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@justinkambic justinkambic added bug Fixes for quality problems that affect the customer experience v8.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.2.0 v7.0.1 labels May 3, 2019
@justinkambic
justinkambic requested a review from andrewvc May 3, 2019 23:26
@justinkambic justinkambic self-assigned this May 3, 2019
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@justinkambic
justinkambic force-pushed the uptime_make-histogram-smaller branch from c925166 to 2e9fa1b Compare May 9, 2019 12:49
@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@andrewvc andrewvc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested locally on browser as well

@justinkambic
justinkambic merged commit 5c03eee into elastic:master May 10, 2019
justinkambic added a commit to justinkambic/kibana that referenced this pull request May 10, 2019
* Reduce bucket size for monitor list query.

* Stop using auto_histogram.

* Update test fixtures to handle changed histogram logic.
justinkambic added a commit that referenced this pull request May 10, 2019
* Reduce bucket size for monitor list query.

* Stop using auto_histogram.

* Update test fixtures to handle changed histogram logic.
@justinkambic

Copy link
Copy Markdown
Contributor Author

Backported to:
7.x/7.2.0 35a14de
#36444

@justinkambic
justinkambic deleted the uptime_make-histogram-smaller branch May 10, 2019 15:13
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
* Reduce bucket size for monitor list query.

* Stop using auto_histogram.

* Update test fixtures to handle changed histogram logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.2.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Users are encountering oversized bucket aggs

3 participants