{"action":"created","issue":{"url":"https://api.github.com/repos/learningequality/kolibri/issues/4270","repository_url":"https://api.github.com/repos/learningequality/kolibri","labels_url":"https://api.github.com/repos/learningequality/kolibri/issues/4270/labels{/name}","comments_url":"https://api.github.com/repos/learningequality/kolibri/issues/4270/comments","events_url":"https://api.github.com/repos/learningequality/kolibri/issues/4270/events","html_url":"https://github.com/learningequality/kolibri/issues/4270","id":361090123,"node_id":"MDU6SXNzdWUzNjEwOTAxMjM=","number":4270,"title":"add basic kolibri manage command for testing server performance","user":{"login":"indirectlylit","id":2367265,"node_id":"MDQ6VXNlcjIzNjcyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/2367265?v=4","gravatar_id":"","url":"https://api.github.com/users/indirectlylit","html_url":"https://github.com/indirectlylit","followers_url":"https://api.github.com/users/indirectlylit/followers","following_url":"https://api.github.com/users/indirectlylit/following{/other_user}","gists_url":"https://api.github.com/users/indirectlylit/gists{/gist_id}","starred_url":"https://api.github.com/users/indirectlylit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirectlylit/subscriptions","organizations_url":"https://api.github.com/users/indirectlylit/orgs","repos_url":"https://api.github.com/users/indirectlylit/repos","events_url":"https://api.github.com/users/indirectlylit/events{/privacy}","received_events_url":"https://api.github.com/users/indirectlylit/received_events","type":"User","site_admin":false},"labels":[{"id":492818262,"node_id":"MDU6TGFiZWw0OTI4MTgyNjI=","url":"https://api.github.com/repos/learningequality/kolibri/labels/TASK:%20new%20feature","name":"TASK: new feature","color":"72486f","default":false}],"state":"open","locked":false,"assignee":{"login":"jredrejo","id":1008178,"node_id":"MDQ6VXNlcjEwMDgxNzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1008178?v=4","gravatar_id":"","url":"https://api.github.com/users/jredrejo","html_url":"https://github.com/jredrejo","followers_url":"https://api.github.com/users/jredrejo/followers","following_url":"https://api.github.com/users/jredrejo/following{/other_user}","gists_url":"https://api.github.com/users/jredrejo/gists{/gist_id}","starred_url":"https://api.github.com/users/jredrejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jredrejo/subscriptions","organizations_url":"https://api.github.com/users/jredrejo/orgs","repos_url":"https://api.github.com/users/jredrejo/repos","events_url":"https://api.github.com/users/jredrejo/events{/privacy}","received_events_url":"https://api.github.com/users/jredrejo/received_events","type":"User","site_admin":false},"assignees":[{"login":"jredrejo","id":1008178,"node_id":"MDQ6VXNlcjEwMDgxNzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1008178?v=4","gravatar_id":"","url":"https://api.github.com/users/jredrejo","html_url":"https://github.com/jredrejo","followers_url":"https://api.github.com/users/jredrejo/followers","following_url":"https://api.github.com/users/jredrejo/following{/other_user}","gists_url":"https://api.github.com/users/jredrejo/gists{/gist_id}","starred_url":"https://api.github.com/users/jredrejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jredrejo/subscriptions","organizations_url":"https://api.github.com/users/jredrejo/orgs","repos_url":"https://api.github.com/users/jredrejo/repos","events_url":"https://api.github.com/users/jredrejo/events{/privacy}","received_events_url":"https://api.github.com/users/jredrejo/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/learningequality/kolibri/milestones/22","html_url":"https://github.com/learningequality/kolibri/milestone/22","labels_url":"https://api.github.com/repos/learningequality/kolibri/milestones/22/labels","id":3254318,"node_id":"MDk6TWlsZXN0b25lMzI1NDMxOA==","number":22,"title":"0.11.0","description":"","creator":{"login":"indirectlylit","id":2367265,"node_id":"MDQ6VXNlcjIzNjcyNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/2367265?v=4","gravatar_id":"","url":"https://api.github.com/users/indirectlylit","html_url":"https://github.com/indirectlylit","followers_url":"https://api.github.com/users/indirectlylit/followers","following_url":"https://api.github.com/users/indirectlylit/following{/other_user}","gists_url":"https://api.github.com/users/indirectlylit/gists{/gist_id}","starred_url":"https://api.github.com/users/indirectlylit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirectlylit/subscriptions","organizations_url":"https://api.github.com/users/indirectlylit/orgs","repos_url":"https://api.github.com/users/indirectlylit/repos","events_url":"https://api.github.com/users/indirectlylit/events{/privacy}","received_events_url":"https://api.github.com/users/indirectlylit/received_events","type":"User","site_admin":false},"open_issues":76,"closed_issues":86,"state":"open","created_at":"2018-04-09T23:34:55Z","updated_at":"2018-09-18T17:53:38Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2018-09-18T00:18:53Z","updated_at":"2018-09-18T18:53:40Z","closed_at":null,"author_association":"MEMBER","body":"\r\n### Observed behavior\r\n\r\nWe often get reports of performance issues in the field, but it can be challenging to debug with remote users in other timezones with limited connectivity.\r\n\r\n### Expected behavior\r\n\r\nLet's add a diagnostics command that can be run to help us debug performance issues on peoples' servers. We can request that people run the command when they're experiencing poor performance, and then send us the output.\r\n\r\nSome statistics we might include:\r\n\r\n* Number of logged-in users\r\n* CPU load\r\n* total and used RAM \r\n* OS process list\r\n* metrics about the time to hit some test endpoints:\r\n  * a basic ping\r\n  * a processor-intensive command\r\n  * a DB-intensive command\r\n* time to download a large static file (can this be generated so it doesn't need to be distributed?)\r\n\r\nIf there are other things that would be helpful to include, let's do so. Conversely, things above seem too difficult, let's skip them.\r\n\r\n### User-facing consequences\r\n\r\neasier to help us debug performance issues\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/learningequality/kolibri/issues/comments/422507024","html_url":"https://github.com/learningequality/kolibri/issues/4270#issuecomment-422507024","issue_url":"https://api.github.com/repos/learningequality/kolibri/issues/4270","id":422507024,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjUwNzAyNA==","user":{"login":"rtibbles","id":1680573,"node_id":"MDQ6VXNlcjE2ODA1NzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1680573?v=4","gravatar_id":"","url":"https://api.github.com/users/rtibbles","html_url":"https://github.com/rtibbles","followers_url":"https://api.github.com/users/rtibbles/followers","following_url":"https://api.github.com/users/rtibbles/following{/other_user}","gists_url":"https://api.github.com/users/rtibbles/gists{/gist_id}","starred_url":"https://api.github.com/users/rtibbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtibbles/subscriptions","organizations_url":"https://api.github.com/users/rtibbles/orgs","repos_url":"https://api.github.com/users/rtibbles/repos","events_url":"https://api.github.com/users/rtibbles/events{/privacy}","received_events_url":"https://api.github.com/users/rtibbles/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T18:53:40Z","updated_at":"2018-09-18T18:53:40Z","author_association":"MEMBER","body":"While not directly in Kolibri, inspection of nginx timing logs has been invaluable for understanding how Kolibri is performing under load (and understanding whether load issues are due to Kolibri itself, or network conditions) - would be good to consider being able to either upload these log files, or a parsed summary of them if we start to include nginx in our installers/as a dependency."}}
{"actor":{"display_login":"rtibbles"}}