{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/20765","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/20765/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/20765/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/20765/events","html_url":"https://github.com/elastic/kibana/pull/20765","id":341012015,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMjg1NjY0","number":20765,"title":"[Monitoring] Convert beats overview page to use EUI components","user":{"login":"chrisronline","id":56682,"node_id":"MDQ6VXNlcjU2Njgy","avatar_url":"https://avatars1.githubusercontent.com/u/56682?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisronline","html_url":"https://github.com/chrisronline","followers_url":"https://api.github.com/users/chrisronline/followers","following_url":"https://api.github.com/users/chrisronline/following{/other_user}","gists_url":"https://api.github.com/users/chrisronline/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisronline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisronline/subscriptions","organizations_url":"https://api.github.com/users/chrisronline/orgs","repos_url":"https://api.github.com/users/chrisronline/repos","events_url":"https://api.github.com/users/chrisronline/events{/privacy}","received_events_url":"https://api.github.com/users/chrisronline/received_events","type":"User","site_admin":false},"labels":[{"id":912940115,"node_id":"MDU6TGFiZWw5MTI5NDAxMTU=","url":"https://api.github.com/repos/elastic/kibana/labels/:Monitoring","name":":Monitoring","color":"fef2c0","default":false},{"id":135307740,"node_id":"MDU6TGFiZWwxMzUzMDc3NDA=","url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false},{"id":883958396,"node_id":"MDU6TGFiZWw4ODM5NTgzOTY=","url":"https://api.github.com/repos/elastic/kibana/labels/v6.4.0","name":"v6.4.0","color":"ffffff","default":false},{"id":654061976,"node_id":"MDU6TGFiZWw2NTQwNjE5NzY=","url":"https://api.github.com/repos/elastic/kibana/labels/v7.0.0","name":"v7.0.0","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":{"login":"chrisronline","id":56682,"node_id":"MDQ6VXNlcjU2Njgy","avatar_url":"https://avatars1.githubusercontent.com/u/56682?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisronline","html_url":"https://github.com/chrisronline","followers_url":"https://api.github.com/users/chrisronline/followers","following_url":"https://api.github.com/users/chrisronline/following{/other_user}","gists_url":"https://api.github.com/users/chrisronline/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisronline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisronline/subscriptions","organizations_url":"https://api.github.com/users/chrisronline/orgs","repos_url":"https://api.github.com/users/chrisronline/repos","events_url":"https://api.github.com/users/chrisronline/events{/privacy}","received_events_url":"https://api.github.com/users/chrisronline/received_events","type":"User","site_admin":false},"assignees":[{"login":"chrisronline","id":56682,"node_id":"MDQ6VXNlcjU2Njgy","avatar_url":"https://avatars1.githubusercontent.com/u/56682?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisronline","html_url":"https://github.com/chrisronline","followers_url":"https://api.github.com/users/chrisronline/followers","following_url":"https://api.github.com/users/chrisronline/following{/other_user}","gists_url":"https://api.github.com/users/chrisronline/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisronline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisronline/subscriptions","organizations_url":"https://api.github.com/users/chrisronline/orgs","repos_url":"https://api.github.com/users/chrisronline/repos","events_url":"https://api.github.com/users/chrisronline/events{/privacy}","received_events_url":"https://api.github.com/users/chrisronline/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-13T13:06:40Z","updated_at":"2018-07-19T16:21:54Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/20765","html_url":"https://github.com/elastic/kibana/pull/20765","diff_url":"https://github.com/elastic/kibana/pull/20765.diff","patch_url":"https://github.com/elastic/kibana/pull/20765.patch"},"body":"## Summary\r\nThis PR converts the Beat overview page in Monitoring to use EUI components. There are no functional changes - just visuals.\r\n\r\n## Testing\r\n\r\n1) Run a beat locally with monitoring enabled (Set `xpack.monitoring.enabled: true` in beat yml file)\r\n2) Load Monitoring tab in Kibana\r\n3) Make sure you see `Beats` section at the bottom\r\n4) Click `Overview` under `Beats`\r\n\r\n## Screenshots\r\nCurrent page:\r\n<img width=\"1977\" alt=\"screen shot 2018-07-12 at 4 54 04 pm\" src=\"https://user-images.githubusercontent.com/56682/42658737-35f7e89e-85f4-11e8-85a3-dbc4490745e3.png\">\r\n\r\nNew page:\r\n<img width=\"1976\" alt=\"screen shot 2018-07-12 at 4 46 42 pm\" src=\"https://user-images.githubusercontent.com/56682/42658746-3c49bc4a-85f4-11e8-9651-e977db369924.png\">\r\n\r\n## Questions for Reviewers\r\n1) How do we feel about the length of the snapshot files? Right now, I'm taking the safe approach and snapshotting the entire component but I could be convinced that only pulling a certain subset of components and snapshotting them might be less overhead and test what we really care about?\r\n2) Does it make sense to use the same logic from `seriesToShow` in the list of latest beats information? Like store some sort of configuration array and then loop through it instead of repeating similar code:\r\n```\r\n<EuiFlexItem>\r\n  <EuiTitle size=\"s\"><h3>Active Beats in Last Day</h3></EuiTitle>\r\n  <EuiSpacer size=\"s\"/>\r\n  <LatestActive latestActive={latestActive} />\r\n</EuiFlexItem>\r\n<EuiFlexItem>\r\n  <EuiTitle size=\"s\"><h3>Top 5 Beat Types in Last Day</h3></EuiTitle>\r\n  <EuiSpacer size=\"s\"/>\r\n  <LatestTypes latestTypes={latestTypes} />\r\n</EuiFlexItem>\r\n<EuiFlexItem>\r\n  <EuiTitle size=\"s\"><h3>Top 5 Versions in Last Day</h3></EuiTitle>\r\n  <EuiSpacer size=\"s\"/>\r\n  <LatestVersions latestVersions={latestVersions} />\r\n</EuiFlexItem>\r\n```"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/406335039","html_url":"https://github.com/elastic/kibana/pull/20765#issuecomment-406335039","issue_url":"https://api.github.com/repos/elastic/kibana/issues/20765","id":406335039,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjMzNTAzOQ==","user":{"login":"elasticmachine","id":15837671,"node_id":"MDQ6VXNlcjE1ODM3Njcx","avatar_url":"https://avatars3.githubusercontent.com/u/15837671?v=4","gravatar_id":"","url":"https://api.github.com/users/elasticmachine","html_url":"https://github.com/elasticmachine","followers_url":"https://api.github.com/users/elasticmachine/followers","following_url":"https://api.github.com/users/elasticmachine/following{/other_user}","gists_url":"https://api.github.com/users/elasticmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticmachine/subscriptions","organizations_url":"https://api.github.com/users/elasticmachine/orgs","repos_url":"https://api.github.com/users/elasticmachine/repos","events_url":"https://api.github.com/users/elasticmachine/events{/privacy}","received_events_url":"https://api.github.com/users/elasticmachine/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T16:21:54Z","updated_at":"2018-07-19T16:21:54Z","author_association":"NONE","body":"## :broken_heart: Build Failed\n* [continuous-integration/kibana-ci/pull-request](https://kibana-ci.elastic.co/job/elastic-kibana-pull-request/7292/)\n\n"}}
{"actor":{"display_login":"elasticmachine"}}