-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Stack Monitoring] Adapt UI to processes
metrics from kibana 8.0
#113149
Comments
Pinging @elastic/stack-monitoring (Team:Monitoring) |
@jasonrhodes Do we know how will this work from a backward compatibility perspective? Backwards compatibility I think will be critical for proactive monitoring project otherwise we will be forced to setup 7.x and 8.x monitoring cluster. |
So from @mshustov 's comment in #104124 (comment) the main field is changing from At very least we'll need a beats update to upgrade a single process to a collection. I don't know what/who handles this for internal collection (or if we even have internal collection for kibana). For the beats side my goto is @sayden - hopefully he can advise on the required beats adjustments. We'll need to adapt the UI as well to be ready for multiple process metrics coming in per kibana node. |
Started poking around this yesterday. EOD update for today: Got metricbeat running locally and pointed at a standard The first curiosity is that the data gets written into With it writing there, stack monitoring won't see the kibana nodes apparently but I can see some of the ES data: Right now in kibana master it looks like we get the first entry of
I can pull a lens query of the same data, but there's no So I think the first thing we'll need to address is https://github.com/elastic/beats/blob/master/metricbeat/module/kibana/stats/_meta/fields.yml#L88 so that metricbeat can pick up Once we do that we'll have to update the UI. One thing to consider here is that we should probably account for some mixing of data shapes. For example, a customer might upgrade kibana ahead of beats. We should be clear on the failure mode in this case. Also we might have some mixing of kibana versions represented in the stack monitoring data. For example a customer might want to show their kibana data over a 30 day time frame that includes the upgrade period. In this case we'd have data before the upgrade with We'll likely want to be able to plot both data shapes continuously over the range. I'm guessing the UI will need to include plots for both fields in order to do this. |
EOD report: Kind of a slow one for me today among catch up with team efforts/SDH and a sick kid, but I did start on an extension to stats_test.go to work on getting metricbeat to handle the new format (in addition to the old format). It looks like we can't use https://github.com/elastic/beats/blob/master/metricbeat/mb/testing/testdata.go#L443 due to the extra call to Once metricbeat can ingest & publish both formats I can start figuring out what to do about plotting it in SM UI as well. Like with all field migrations, I'm kind of scratching my head about what to do about the transition period. Maybe there's something we can do with runtime fields to present older data with just @jasonrhodes if you're familiar with any good options we have from your transition experiences so far, let me know. |
processes
metrics from kibana 8.0
processes
metrics from kibana 8.0processes
metrics from kibana 8.0
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
@jasonrhodes I guess I should have read the "Ac" more carefully. I've identified the changes ( I've adapted this issue to handle adding graphing but maybe I should close this one and open a new one to address graphing. Let me know what you think. |
@matschaffer just confirming: the work needed to adapt to the original breaking change is done elsewhere, and this ticket now reflects our plans to adopt the "processes" view in graphs (but isn't itself a breaking change), is that right? |
Not sure which change you're referring to with "the original breaking change". What has happened is that This issue covers switching graphs to use Hope that helps clarify things :) |
processes
metrics from kibana 8.0processes
metrics from kibana 8.0
Oh yay! I can pick this back up before addressing #117615 - internal kibana collection includes both |
This is correct, we were planning to make the breaking change, but were blocked by the failing monitoring tests, so we decided we were okay with not making the break after all (Stack FF for 8.0 is already passed). |
Great to hear that @lukeelmers - in my investigation last week I think things may be more complex given kibana's lack of nested visualization support. I have a sync today with @Bamieh to discuss it. |
Closing this in favor of #119560 and probably also closing #104124 If we can keep |
Based on the work being done with the process field, we need to make sure the Stack Monitoring UI will continue to work as expected in 8.0.0 once these breaking changes are complete.
AC:
Blocked by data generation: #117615 or elastic/beats#27569
Related:
process
field from ops metrics & /stats API #104124The text was updated successfully, but these errors were encountered: