-
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
[Logs UI] Adapt log entry rate data visualisations #47558
[Logs UI] Adapt log entry rate data visualisations #47558
Conversation
…ntry-rate-data-vis
💚 Build Succeeded |
…y350/kibana into 47201-adapt-log-entry-rate-data-vis
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
…/log_entry_rate.ts Co-Authored-By: Felix Stürmer <[email protected]>
…y350/kibana into 47201-adapt-log-entry-rate-data-vis
💔 Build Failed |
…ntry-rate-data-vis
@weltenwort Thank you for the thorough review, especially for catching things like the missing translations 😬
I've responded to almost all of the feedback, the bits I've left are the parts that had questions around them and open comments. As they're not blockers I feel we can defer those changes.
Yep, totally agree with all of this 👍 I'll move these improvements, and all other improvements, to a ticket so nothing gets lost. Builds seem to have been quite flaky here - some were caused by influx work, but the vast majority are being caused by a Java exception in CI (or that's what it looks like). |
💔 Build Failed |
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.
Awesome work 👏 And thanks for indulging my logs vs log entries nitpicking.
I don't have a strong opinion about the remaining wording questions. Maybe @Titch990 or @katrin-freihofner can weigh in on that.
jenkins, test this again |
💔 Build Failed |
@weltenwort and @Kerry350 you both did a great job! Thank you! |
@elasticmachine update branch |
💚 Build Succeeded |
This adapts the log rate page to the new sets of data visualisations. closes elastic#47201
Summary
This PR closes #47201, and adapts the log rate page to the new sets of data visualisations.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.Detailed overview
These screenshots and GIFs document the full functionality.
Pending work
dataset 1 [max-score]" etc
"Analyze in ML" buttons need adding(User facing) (Will be deferred to when we stich the two big log rate PRs together)data_formatters
) could potentially be DRY'd up and in some places hoisted. Components like the expanded row will only calculate and memoize their data when actually opened and mounted, and all derivations are memoized, so this isn't major-major. (Developer facing) (Can be deferred post-FF).(All the user facing work here is small, and will be completed on Monday).
Caveats / issues
Below are some caveats / issues, I don't think any of them are deal breakers. And some are just here to gain a majority opinion on how to proceed.
The anomalies charts render annotations for anomalies with a severity score of- Result: we will keep all severity gradings (warning, minor, major, critical)warning
,minor
,major
andcritical
. But notlow
(anything below 3). However, all anomaly scores do contribute to the "Top anomaly score" stat. This means you could see a stat of 2 for "Top anomaly score" but no anomaly annotations on the chart. Removing it from the "Top anomaly score" stat seems misleading. Should we addlow
severity score annotations to the chart? (These were omitted to avoid too much noise). Should we discountlow
scores from the "Top anomaly score"?The widths of all the charts don't align 100%. This seems quite hard to achieve due to there not being a way to give an explicit width to the chart legend - technically we can hack some surrounding CSS in, but I'm not confident this won't break chart rendering in certain situations. Furthermore, the width of the Y axis can differ slightly based on the values. Even if we were to use a set scale, and "pretty" / formatted numbers, we'd likely want - for example - 10 and 100 to be graphed in the same scale. But if one anomaly chart has a highest value of 8, and another is 10, the pixel width will still be slightly out.- Result: values will all be rendered using 3-digitsThe loading states are pretty jarring when auto reload is turned on. @jasonrhodes had mentioned other teams were potentially looking into a way to display a placeholder on top of graphs for this sort of situation.
I think that's everything!