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

[Logs UI] Support partitioned log rate results in API #46751

Merged

Conversation

weltenwort
Copy link
Member

@weltenwort weltenwort commented Sep 26, 2019

⚠️ This is WIP and contains unmerged commits of prior PR #46690.

Summary

This changes the log entry rate result API response such that it returns partitioned log rate results. It also adapts the client-side consumption to match the new data structures. To do so it replaces the line chart with a rudimentary bar chart that demonstrates the usage.

closes #46459

TODO

Implementation Notes

Previews

grafik

Checklist

For maintainers

@weltenwort weltenwort added v8.0.0 Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes v7.5.0 labels Sep 26, 2019
@weltenwort weltenwort self-assigned this Sep 26, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@Kerry350 Kerry350 self-assigned this Oct 1, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@Kerry350 Kerry350 marked this pull request as ready for review October 2, 2019 14:46
@Kerry350 Kerry350 requested a review from a team as a code owner October 2, 2019 14:46
@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Member

@jasonrhodes jasonrhodes left a comment

Choose a reason for hiding this comment

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

Looks great. My only comment is I would avoid using "dataSet" as the actual code-level variable name and just call it "partition" since nothing about this implementation couples this to using event.dataset, but everything works great so we can talk about that in a future PR if that's easier. :)

@katrin-freihofner
Copy link
Contributor

@katrin-freihofner
Copy link
Contributor

Open questions and things to discuss/explore:
notes

@Kerry350
Copy link
Contributor

Kerry350 commented Oct 3, 2019

@jasonrhodes Thanks for reviewing 👍 Cool, I can see that point. I'll note it down and we can handle it later as it's not urgent or user facing. Just waiting for a build before merging as there were some dead translations.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Kerry350
Copy link
Contributor

Kerry350 commented Oct 3, 2019

@elasticmachine merge upstream

@Kerry350
Copy link
Contributor

Kerry350 commented Oct 3, 2019

Became outdated whilst building 🙈

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Kerry350 Kerry350 merged commit 8e9f17d into elastic:master Oct 3, 2019
Kerry350 pushed a commit to Kerry350/kibana that referenced this pull request Oct 3, 2019
jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 3, 2019
…ysens/kibana into console-fix-menu-actions-alignment

* 'console-fix-menu-actions-alignment' of github.com:jloleysens/kibana: (59 commits)
  [Canvas] i18n for page manager, page preview, and shape preview (elastic#46865)
  [SIEM] hide siem data on empty string or _all (elastic#47166)
  [Uptime] Shim UI exports for new platform (elastic#44722)
  [Monitoring] Metricbeat Migration Wizard Tests (elastic#47139)
  [Logs UI] Support partitioned log rate results in API (elastic#46751)
  [APM] Remove beta badge from transaction breakdown (elastic#47163)
  test: 💍 convert Interpreter font function tests to Jest (elastic#47193)
  visualizations 👉 NP-ready (elastic#47142)
  [Uptime] Update pings chart colors (elastic#46780)
  Add scroll into view to avoid tooltip overlap (elastic#47106)
  Variety of quick a11y fixes (elastic#46569)
  [Graph] Empty workspace overlay (elastic#45547)
  [ML] Converts index and saved search selection to React (elastic#47117)
  [Uptime] Change default status filter in ping list to all on monitor page  (elastic#47108)
  refactor: 💡 convert Interpreter .js -> .ts (elastic#44545)
  Add TypeScript rules to STYLEGUIDE [skip ci] (elastic#47125)
  chore(NA): fix logic behind cleaning x-pack node modules on build (elastic#47091)
  [SIEM] Update Settings Text (elastic#47147)
  Add KQL functionality in the find function of the saved objects (elastic#41136)
  [Maps] Add 'InjectedData' class and revise so File Upload Features are assigned to new InjectedData instances (elastic#46381)
  ...
Kerry350 added a commit that referenced this pull request Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.5.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Logs UI] Support partitioned jobs in the log entry rate results API
6 participants