-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat][Kibana][status] metrics
is optional
#20956
[Metricbeat][Kibana][status] metrics
is optional
#20956
Conversation
6e85e5e
to
cc3d6e1
Compare
Pinging @elastic/stack-monitoring (Stack monitoring) |
Pinging @elastic/integrations-services (Team:Services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@ycombinator I noticed the team @elastic/kibana-platform is planning to migrate this endpoint to Kibana's New Platform and |
@afharo In that case let's not merge this PR. |
I'll double confirm with them and will come back. |
@afharo Any news here? |
Yes, @joshdover is working on elastic/kibana#76054 (that triggered elastic/kibana#76730). Both PRs should eventually ensure |
The fix in Kibana has been merged! elastic/kibana#76054 Closing this PR. |
What does this PR do?
Kibana might not return the
metrics
property to the/api/status
request. This PR makes that property optional in the schema.Why is it important?
In #20772, we've noticed some flaky tests. These changes will make Metricbeat more resilient.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
I'd say we can make it work if in the test environment, Kibana takes longer than 1 minute to start, we've seen than the first
green
/api/status
response might not contain the metrics data (it can take Kibana up to 5s to populate it after the startup).Related issues
Use cases
Screenshots
Logs