{"action":"created","issue":{"url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage/issues/461","repository_url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage","labels_url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage/issues/461/comments","events_url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage/issues/461/events","html_url":"https://github.com/intellij-dlanguage/intellij-dlanguage/issues/461","id":342743864,"node_id":"MDU6SXNzdWUzNDI3NDM4NjQ=","number":461,"title":"anonymous feedback usage data","user":{"login":"SingingBush","id":870567,"node_id":"MDQ6VXNlcjg3MDU2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/870567?v=4","gravatar_id":"","url":"https://api.github.com/users/SingingBush","html_url":"https://github.com/SingingBush","followers_url":"https://api.github.com/users/SingingBush/followers","following_url":"https://api.github.com/users/SingingBush/following{/other_user}","gists_url":"https://api.github.com/users/SingingBush/gists{/gist_id}","starred_url":"https://api.github.com/users/SingingBush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SingingBush/subscriptions","organizations_url":"https://api.github.com/users/SingingBush/orgs","repos_url":"https://api.github.com/users/SingingBush/repos","events_url":"https://api.github.com/users/SingingBush/events{/privacy}","received_events_url":"https://api.github.com/users/SingingBush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"SingingBush","id":870567,"node_id":"MDQ6VXNlcjg3MDU2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/870567?v=4","gravatar_id":"","url":"https://api.github.com/users/SingingBush","html_url":"https://github.com/SingingBush","followers_url":"https://api.github.com/users/SingingBush/followers","following_url":"https://api.github.com/users/SingingBush/following{/other_user}","gists_url":"https://api.github.com/users/SingingBush/gists{/gist_id}","starred_url":"https://api.github.com/users/SingingBush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SingingBush/subscriptions","organizations_url":"https://api.github.com/users/SingingBush/orgs","repos_url":"https://api.github.com/users/SingingBush/repos","events_url":"https://api.github.com/users/SingingBush/events{/privacy}","received_events_url":"https://api.github.com/users/SingingBush/received_events","type":"User","site_admin":false},"assignees":[{"login":"SingingBush","id":870567,"node_id":"MDQ6VXNlcjg3MDU2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/870567?v=4","gravatar_id":"","url":"https://api.github.com/users/SingingBush","html_url":"https://github.com/SingingBush","followers_url":"https://api.github.com/users/SingingBush/followers","following_url":"https://api.github.com/users/SingingBush/following{/other_user}","gists_url":"https://api.github.com/users/SingingBush/gists{/gist_id}","starred_url":"https://api.github.com/users/SingingBush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SingingBush/subscriptions","organizations_url":"https://api.github.com/users/SingingBush/orgs","repos_url":"https://api.github.com/users/SingingBush/repos","events_url":"https://api.github.com/users/SingingBush/events{/privacy}","received_events_url":"https://api.github.com/users/SingingBush/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-19T14:07:53Z","updated_at":"2018-08-05T01:28:11Z","closed_at":null,"author_association":"MEMBER","body":"The total downloads on https://plugins.jetbrains.com/plugin/8115 is the only metric we have about usage.\r\n\r\nAs well as reporting bugs via the _errorHandler_ it would be helpful to have the plugin post some anonymous data about it's configuration whenever a D project is opened.\r\n\r\nOf course the user should be able to control such a setting and it should default to being off. I've looked at a way to prompt the user to make a decision to enable feedback if they've not already been asked.\r\n\r\nEssentially it would need a project component so that we can hook into the _projectOpened()_ method to post some generic data to a webapp.\r\n\r\n```\r\n    <project-components>\r\n        <component>\r\n            <interface-class>io.github.intellij.dlanguage.PluginUsageFeedback</interface-class>\r\n            <implementation-class>io.github.intellij.dlanguage.PluginUsageFeedbackImpl</implementation-class>\r\n        </component>\r\n    </project-components>\r\n```\r\n\r\nAt a minimum it would be helpful to get an idea of how many active users there are (suspect it's a small number) but it'd also be good to know things like:\r\n\r\n - how many users actually configure D Tools\r\n - what systems are the most used\r\n - are most of our users on CLion or IDEA\r\n - what are the most common non-english locales used\r\n\r\n![dlang-plugin-usage-data-mockup](https://user-images.githubusercontent.com/870567/42947624-a9149c16-8b65-11e8-949d-75615247ed67.png)mockup\r\n\r\nAny objections/support for this then please post here. I wait for a few opinions before putting more time into it.\r\n"},"comment":{"url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage/issues/comments/410488693","html_url":"https://github.com/intellij-dlanguage/intellij-dlanguage/issues/461#issuecomment-410488693","issue_url":"https://api.github.com/repos/intellij-dlanguage/intellij-dlanguage/issues/461","id":410488693,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ4ODY5Mw==","user":{"login":"pirocks","id":10455020,"node_id":"MDQ6VXNlcjEwNDU1MDIw","avatar_url":"https://avatars1.githubusercontent.com/u/10455020?v=4","gravatar_id":"","url":"https://api.github.com/users/pirocks","html_url":"https://github.com/pirocks","followers_url":"https://api.github.com/users/pirocks/followers","following_url":"https://api.github.com/users/pirocks/following{/other_user}","gists_url":"https://api.github.com/users/pirocks/gists{/gist_id}","starred_url":"https://api.github.com/users/pirocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirocks/subscriptions","organizations_url":"https://api.github.com/users/pirocks/orgs","repos_url":"https://api.github.com/users/pirocks/repos","events_url":"https://api.github.com/users/pirocks/events{/privacy}","received_events_url":"https://api.github.com/users/pirocks/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T01:28:11Z","updated_at":"2018-08-05T01:28:11Z","author_association":"COLLABORATOR","body":"Do downloads include updates?"}}
{"actor":{"display_login":"pirocks"}}