Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Monitoring] Fix 500 error from /api/stats #36986

Merged

Conversation

chrisronline
Copy link
Contributor

Fixes #36943

Introduced by #35691

Added a test too. Fairly self-explanatory. Need to backport everywhere #35691 went

@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

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

LGTM.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@chrisronline chrisronline merged commit eb2ede6 into elastic:master May 24, 2019
@chrisronline chrisronline deleted the monitoring/stats_endpoint_500 branch May 24, 2019 13:11
chrisronline added a commit to chrisronline/kibana that referenced this pull request May 24, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
chrisronline added a commit to chrisronline/kibana that referenced this pull request May 24, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
chrisronline added a commit to chrisronline/kibana that referenced this pull request May 24, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
chrisronline added a commit to chrisronline/kibana that referenced this pull request May 24, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
chrisronline added a commit to chrisronline/kibana that referenced this pull request May 24, 2019
chrisronline added a commit that referenced this pull request May 24, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
@chrisronline
Copy link
Contributor Author

chrisronline commented May 24, 2019

Backport:

7.x: cf9fdaa
7.2: b0b1c57
7.1: 8ba8b98
6.8: 866ad9b

chrisronline added a commit that referenced this pull request May 24, 2019
* Backport #36986 to 6.8

* Undo changes that aren't supposed to be here
chrisronline added a commit that referenced this pull request May 24, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
chrisronline added a commit that referenced this pull request May 28, 2019
* Fix 500 and add test for it

* Return an empty object so the logic later will still execute

* Update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stats API fails with 500 when certain query string parameters are used
3 participants