{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/beats/pulls/comments/215579678","pull_request_review_id":152866507,"id":215579678,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTU3OTY3OA==","diff_hunk":"@@ -0,0 +1,19 @@\n+{\n+    \"@timestamp\":\"2016-05-23T08:05:34.853Z\",\n+    \"beat\":{\n+        \"hostname\":\"beathost\",\n+        \"name\":\"beathost\"\n+    },\n+    \"metricset\":{\n+        \"host\":\"localhost\",\n+        \"module\":\"mssql\",\n+        \"name\":\"db\",\n+        \"rtt\":44269\n+    },\n+    \"mssql\":{\n+        \"db\":{\n+            \"example\": \"db\"\n+        }\n+    },\n+    \"type\":\"metricsets\"\n+}","path":"metricbeat/module/mssql/db/_meta/data.json","position":19,"original_position":19,"commit_id":"6b6f7ad357c0e1bd610ade637ce8e6888a703c33","original_commit_id":"6b6f7ad357c0e1bd610ade637ce8e6888a703c33","user":{"login":"jsoriano","id":15763,"node_id":"MDQ6VXNlcjE1NzYz","avatar_url":"https://avatars2.githubusercontent.com/u/15763?v=4","gravatar_id":"","url":"https://api.github.com/users/jsoriano","html_url":"https://github.com/jsoriano","followers_url":"https://api.github.com/users/jsoriano/followers","following_url":"https://api.github.com/users/jsoriano/following{/other_user}","gists_url":"https://api.github.com/users/jsoriano/gists{/gist_id}","starred_url":"https://api.github.com/users/jsoriano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsoriano/subscriptions","organizations_url":"https://api.github.com/users/jsoriano/orgs","repos_url":"https://api.github.com/users/jsoriano/repos","events_url":"https://api.github.com/users/jsoriano/events{/privacy}","received_events_url":"https://api.github.com/users/jsoriano/received_events","type":"User","site_admin":false},"body":"Take a look to the `TestData` functions in the integration tests of other modules to see how this file is generated.","created_at":"2018-09-06T10:44:47Z","updated_at":"2018-09-06T10:51:43Z","html_url":"https://github.com/elastic/beats/pull/8250#discussion_r215579678","pull_request_url":"https://api.github.com/repos/elastic/beats/pulls/8250","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments/215579678"},"html":{"href":"https://github.com/elastic/beats/pull/8250#discussion_r215579678"},"pull_request":{"href":"https://api.github.com/repos/elastic/beats/pulls/8250"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/8250","id":213430599,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNDMwNTk5","html_url":"https://github.com/elastic/beats/pull/8250","diff_url":"https://github.com/elastic/beats/pull/8250.diff","patch_url":"https://github.com/elastic/beats/pull/8250.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/8250","number":8250,"state":"open","locked":false,"title":"MS SQL metricset","user":{"login":"sayden","id":4249331,"node_id":"MDQ6VXNlcjQyNDkzMzE=","avatar_url":"https://avatars0.githubusercontent.com/u/4249331?v=4","gravatar_id":"","url":"https://api.github.com/users/sayden","html_url":"https://github.com/sayden","followers_url":"https://api.github.com/users/sayden/followers","following_url":"https://api.github.com/users/sayden/following{/other_user}","gists_url":"https://api.github.com/users/sayden/gists{/gist_id}","starred_url":"https://api.github.com/users/sayden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayden/subscriptions","organizations_url":"https://api.github.com/users/sayden/orgs","repos_url":"https://api.github.com/users/sayden/repos","events_url":"https://api.github.com/users/sayden/events{/privacy}","received_events_url":"https://api.github.com/users/sayden/received_events","type":"User","site_admin":false},"body":"I've started with this particular query https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-file-space-usage-transact-sql?view=sql-server-2017 from the `Database` metricset.\r\n\r\nI still have to build a local environment to test the entire module. I'll keep pushing progress and request approval once small metricsets are being finished","created_at":"2018-09-05T21:17:32Z","updated_at":"2018-09-06T10:51:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c8df1abaee72899b7a12c19b2327af0d459dd5a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":331378892,"node_id":"MDU6TGFiZWwzMzEzNzg4OTI=","url":"https://api.github.com/repos/elastic/beats/labels/Metricbeat","name":"Metricbeat","color":"008000","default":false},{"id":216798909,"node_id":"MDU6TGFiZWwyMTY3OTg5MDk=","url":"https://api.github.com/repos/elastic/beats/labels/in%20progress","name":"in progress","color":"207de5","default":false},{"id":219536313,"node_id":"MDU6TGFiZWwyMTk1MzYzMTM=","url":"https://api.github.com/repos/elastic/beats/labels/module","name":"module","color":"008000","default":false},{"id":360512612,"node_id":"MDU6TGFiZWwzNjA1MTI2MTI=","url":"https://api.github.com/repos/elastic/beats/labels/needs%20tests","name":"needs tests","color":"cc317c","default":false},{"id":627341443,"node_id":"MDU6TGFiZWw2MjczNDE0NDM=","url":"https://api.github.com/repos/elastic/beats/labels/needs_docs","name":"needs_docs","color":"b3694f","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/beats/pulls/8250/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/8250/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/8250/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/6b6f7ad357c0e1bd610ade637ce8e6888a703c33","head":{"label":"sayden:mssql-metricset","ref":"mssql-metricset","sha":"6b6f7ad357c0e1bd610ade637ce8e6888a703c33","user":{"login":"sayden","id":4249331,"node_id":"MDQ6VXNlcjQyNDkzMzE=","avatar_url":"https://avatars0.githubusercontent.com/u/4249331?v=4","gravatar_id":"","url":"https://api.github.com/users/sayden","html_url":"https://github.com/sayden","followers_url":"https://api.github.com/users/sayden/followers","following_url":"https://api.github.com/users/sayden/following{/other_user}","gists_url":"https://api.github.com/users/sayden/gists{/gist_id}","starred_url":"https://api.github.com/users/sayden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayden/subscriptions","organizations_url":"https://api.github.com/users/sayden/orgs","repos_url":"https://api.github.com/users/sayden/repos","events_url":"https://api.github.com/users/sayden/events{/privacy}","received_events_url":"https://api.github.com/users/sayden/received_events","type":"User","site_admin":false},"repo":{"id":147220550,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyMjA1NTA=","name":"beats","full_name":"sayden/beats","owner":{"login":"sayden","id":4249331,"node_id":"MDQ6VXNlcjQyNDkzMzE=","avatar_url":"https://avatars0.githubusercontent.com/u/4249331?v=4","gravatar_id":"","url":"https://api.github.com/users/sayden","html_url":"https://github.com/sayden","followers_url":"https://api.github.com/users/sayden/followers","following_url":"https://api.github.com/users/sayden/following{/other_user}","gists_url":"https://api.github.com/users/sayden/gists{/gist_id}","starred_url":"https://api.github.com/users/sayden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sayden/subscriptions","organizations_url":"https://api.github.com/users/sayden/orgs","repos_url":"https://api.github.com/users/sayden/repos","events_url":"https://api.github.com/users/sayden/events{/privacy}","received_events_url":"https://api.github.com/users/sayden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sayden/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":true,"url":"https://api.github.com/repos/sayden/beats","forks_url":"https://api.github.com/repos/sayden/beats/forks","keys_url":"https://api.github.com/repos/sayden/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sayden/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sayden/beats/teams","hooks_url":"https://api.github.com/repos/sayden/beats/hooks","issue_events_url":"https://api.github.com/repos/sayden/beats/issues/events{/number}","events_url":"https://api.github.com/repos/sayden/beats/events","assignees_url":"https://api.github.com/repos/sayden/beats/assignees{/user}","branches_url":"https://api.github.com/repos/sayden/beats/branches{/branch}","tags_url":"https://api.github.com/repos/sayden/beats/tags","blobs_url":"https://api.github.com/repos/sayden/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sayden/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sayden/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/sayden/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sayden/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/sayden/beats/languages","stargazers_url":"https://api.github.com/repos/sayden/beats/stargazers","contributors_url":"https://api.github.com/repos/sayden/beats/contributors","subscribers_url":"https://api.github.com/repos/sayden/beats/subscribers","subscription_url":"https://api.github.com/repos/sayden/beats/subscription","commits_url":"https://api.github.com/repos/sayden/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/sayden/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/sayden/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/sayden/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/sayden/beats/contents/{+path}","compare_url":"https://api.github.com/repos/sayden/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sayden/beats/merges","archive_url":"https://api.github.com/repos/sayden/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sayden/beats/downloads","issues_url":"https://api.github.com/repos/sayden/beats/issues{/number}","pulls_url":"https://api.github.com/repos/sayden/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/sayden/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/sayden/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sayden/beats/labels{/name}","releases_url":"https://api.github.com/repos/sayden/beats/releases{/id}","deployments_url":"https://api.github.com/repos/sayden/beats/deployments","created_at":"2018-09-03T15:05:23Z","updated_at":"2018-09-03T15:05:33Z","pushed_at":"2018-09-05T21:11:10Z","git_url":"git://github.com/sayden/beats.git","ssh_url":"git@github.com:sayden/beats.git","clone_url":"https://github.com/sayden/beats.git","svn_url":"https://github.com/sayden/beats","homepage":"https://www.elastic.co/products/beats","size":97254,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"65e2e5ea3c531cb00ada6078ef0bb15f5439bf68","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":16554739,"node_id":"MDEwOlJlcG9zaXRvcnkxNjU1NDczOQ==","name":"beats","full_name":"elastic/beats","owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":false,"url":"https://api.github.com/repos/elastic/beats","forks_url":"https://api.github.com/repos/elastic/beats/forks","keys_url":"https://api.github.com/repos/elastic/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/beats/teams","hooks_url":"https://api.github.com/repos/elastic/beats/hooks","issue_events_url":"https://api.github.com/repos/elastic/beats/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/beats/events","assignees_url":"https://api.github.com/repos/elastic/beats/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/beats/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/beats/tags","blobs_url":"https://api.github.com/repos/elastic/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/beats/languages","stargazers_url":"https://api.github.com/repos/elastic/beats/stargazers","contributors_url":"https://api.github.com/repos/elastic/beats/contributors","subscribers_url":"https://api.github.com/repos/elastic/beats/subscribers","subscription_url":"https://api.github.com/repos/elastic/beats/subscription","commits_url":"https://api.github.com/repos/elastic/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/beats/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/beats/merges","archive_url":"https://api.github.com/repos/elastic/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/beats/downloads","issues_url":"https://api.github.com/repos/elastic/beats/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/beats/labels{/name}","releases_url":"https://api.github.com/repos/elastic/beats/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/beats/deployments","created_at":"2014-02-05T19:01:02Z","updated_at":"2018-09-06T10:00:39Z","pushed_at":"2018-09-06T10:12:45Z","git_url":"git://github.com/elastic/beats.git","ssh_url":"git@github.com:elastic/beats.git","clone_url":"https://github.com/elastic/beats.git","svn_url":"https://github.com/elastic/beats","homepage":"https://www.elastic.co/products/beats","size":97638,"stargazers_count":6093,"watchers_count":6093,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1889,"mirror_url":null,"archived":false,"open_issues_count":920,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1889,"open_issues":920,"watchers":6093,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/8250"},"html":{"href":"https://github.com/elastic/beats/pull/8250"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/8250"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/8250/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/8250/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/8250/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/6b6f7ad357c0e1bd610ade637ce8e6888a703c33"}},"author_association":"NONE"}}
{"actor":{"display_login":"jsoriano"}}