{"action":"opened","number":1230,"pull_request":{"url":"https://api.github.com/repos/vmware/govmomi/pulls/1230","id":214625958,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NjI1OTU4","html_url":"https://github.com/vmware/govmomi/pull/1230","diff_url":"https://github.com/vmware/govmomi/pull/1230.diff","patch_url":"https://github.com/vmware/govmomi/pull/1230.patch","issue_url":"https://api.github.com/repos/vmware/govmomi/issues/1230","number":1230,"state":"open","locked":false,"title":"Added PerformanceManager simulator","user":{"login":"prydin","id":5239535,"node_id":"MDQ6VXNlcjUyMzk1MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/5239535?v=4","gravatar_id":"","url":"https://api.github.com/users/prydin","html_url":"https://github.com/prydin","followers_url":"https://api.github.com/users/prydin/followers","following_url":"https://api.github.com/users/prydin/following{/other_user}","gists_url":"https://api.github.com/users/prydin/gists{/gist_id}","starred_url":"https://api.github.com/users/prydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prydin/subscriptions","organizations_url":"https://api.github.com/users/prydin/orgs","repos_url":"https://api.github.com/users/prydin/repos","events_url":"https://api.github.com/users/prydin/events{/privacy}","received_events_url":"https://api.github.com/users/prydin/received_events","type":"User","site_admin":false},"body":"## Summary\r\nImplemented the following methods: QueryAvailablePerfMetric, QueryPerf, QueryPerfCounter and QueryPerfProviderSummary.\r\n\r\nIn this release, the interval manipulation functions are not implemented, nor is QueryPerfComposite.\r\n\r\nThe performance data is generated from a small lab. I've captured 100 samples for each metric and that sequence is repeated to form a continuous time series. I've added some gaussian noise to the values to make it look more \"realistic\".\r\n\r\nTested with govc commands and the vSphere plugin for telegraf.\r\n\r\n## Known issues:\r\n*  Interval manipulation methods aren't implemented\r\n* QueryPerfComposite isn't implemented\r\n* Some data may not add up in a correct way. For example, instance data on datastores for sizes of VM files, swapfiles etc. may not add up to the total usage. \r\n* Does not work with vR Ops, due to missing internal methods.","created_at":"2018-09-11T13:06:42Z","updated_at":"2018-09-11T13:06:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vmware/govmomi/pulls/1230/commits","review_comments_url":"https://api.github.com/repos/vmware/govmomi/pulls/1230/comments","review_comment_url":"https://api.github.com/repos/vmware/govmomi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmware/govmomi/issues/1230/comments","statuses_url":"https://api.github.com/repos/vmware/govmomi/statuses/64d875b9d7eb27155aa1afa5424a3329ea0d1c9d","head":{"label":"prydin:prydin-simulator","ref":"prydin-simulator","sha":"64d875b9d7eb27155aa1afa5424a3329ea0d1c9d","user":{"login":"prydin","id":5239535,"node_id":"MDQ6VXNlcjUyMzk1MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/5239535?v=4","gravatar_id":"","url":"https://api.github.com/users/prydin","html_url":"https://github.com/prydin","followers_url":"https://api.github.com/users/prydin/followers","following_url":"https://api.github.com/users/prydin/following{/other_user}","gists_url":"https://api.github.com/users/prydin/gists{/gist_id}","starred_url":"https://api.github.com/users/prydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prydin/subscriptions","organizations_url":"https://api.github.com/users/prydin/orgs","repos_url":"https://api.github.com/users/prydin/repos","events_url":"https://api.github.com/users/prydin/events{/privacy}","received_events_url":"https://api.github.com/users/prydin/received_events","type":"User","site_admin":false},"repo":{"id":145726126,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3MjYxMjY=","name":"govmomi","full_name":"prydin/govmomi","owner":{"login":"prydin","id":5239535,"node_id":"MDQ6VXNlcjUyMzk1MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/5239535?v=4","gravatar_id":"","url":"https://api.github.com/users/prydin","html_url":"https://github.com/prydin","followers_url":"https://api.github.com/users/prydin/followers","following_url":"https://api.github.com/users/prydin/following{/other_user}","gists_url":"https://api.github.com/users/prydin/gists{/gist_id}","starred_url":"https://api.github.com/users/prydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prydin/subscriptions","organizations_url":"https://api.github.com/users/prydin/orgs","repos_url":"https://api.github.com/users/prydin/repos","events_url":"https://api.github.com/users/prydin/events{/privacy}","received_events_url":"https://api.github.com/users/prydin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prydin/govmomi","description":"Go library for the VMware vSphere API","fork":true,"url":"https://api.github.com/repos/prydin/govmomi","forks_url":"https://api.github.com/repos/prydin/govmomi/forks","keys_url":"https://api.github.com/repos/prydin/govmomi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prydin/govmomi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prydin/govmomi/teams","hooks_url":"https://api.github.com/repos/prydin/govmomi/hooks","issue_events_url":"https://api.github.com/repos/prydin/govmomi/issues/events{/number}","events_url":"https://api.github.com/repos/prydin/govmomi/events","assignees_url":"https://api.github.com/repos/prydin/govmomi/assignees{/user}","branches_url":"https://api.github.com/repos/prydin/govmomi/branches{/branch}","tags_url":"https://api.github.com/repos/prydin/govmomi/tags","blobs_url":"https://api.github.com/repos/prydin/govmomi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prydin/govmomi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prydin/govmomi/git/refs{/sha}","trees_url":"https://api.github.com/repos/prydin/govmomi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prydin/govmomi/statuses/{sha}","languages_url":"https://api.github.com/repos/prydin/govmomi/languages","stargazers_url":"https://api.github.com/repos/prydin/govmomi/stargazers","contributors_url":"https://api.github.com/repos/prydin/govmomi/contributors","subscribers_url":"https://api.github.com/repos/prydin/govmomi/subscribers","subscription_url":"https://api.github.com/repos/prydin/govmomi/subscription","commits_url":"https://api.github.com/repos/prydin/govmomi/commits{/sha}","git_commits_url":"https://api.github.com/repos/prydin/govmomi/git/commits{/sha}","comments_url":"https://api.github.com/repos/prydin/govmomi/comments{/number}","issue_comment_url":"https://api.github.com/repos/prydin/govmomi/issues/comments{/number}","contents_url":"https://api.github.com/repos/prydin/govmomi/contents/{+path}","compare_url":"https://api.github.com/repos/prydin/govmomi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prydin/govmomi/merges","archive_url":"https://api.github.com/repos/prydin/govmomi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prydin/govmomi/downloads","issues_url":"https://api.github.com/repos/prydin/govmomi/issues{/number}","pulls_url":"https://api.github.com/repos/prydin/govmomi/pulls{/number}","milestones_url":"https://api.github.com/repos/prydin/govmomi/milestones{/number}","notifications_url":"https://api.github.com/repos/prydin/govmomi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prydin/govmomi/labels{/name}","releases_url":"https://api.github.com/repos/prydin/govmomi/releases{/id}","deployments_url":"https://api.github.com/repos/prydin/govmomi/deployments","created_at":"2018-08-22T15:11:22Z","updated_at":"2018-09-10T20:23:13Z","pushed_at":"2018-09-11T13:02:33Z","git_url":"git://github.com/prydin/govmomi.git","ssh_url":"git@github.com:prydin/govmomi.git","clone_url":"https://github.com/prydin/govmomi.git","svn_url":"https://github.com/prydin/govmomi","homepage":"","size":4588,"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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vmware:master","ref":"master","sha":"9aee30234c374c32e117b58ef18e8fd43c32f23b","user":{"login":"vmware","id":473334,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":22883982,"node_id":"MDEwOlJlcG9zaXRvcnkyMjg4Mzk4Mg==","name":"govmomi","full_name":"vmware/govmomi","owner":{"login":"vmware","id":473334,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/govmomi","description":"Go library for the VMware vSphere API","fork":false,"url":"https://api.github.com/repos/vmware/govmomi","forks_url":"https://api.github.com/repos/vmware/govmomi/forks","keys_url":"https://api.github.com/repos/vmware/govmomi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/govmomi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/govmomi/teams","hooks_url":"https://api.github.com/repos/vmware/govmomi/hooks","issue_events_url":"https://api.github.com/repos/vmware/govmomi/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/govmomi/events","assignees_url":"https://api.github.com/repos/vmware/govmomi/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/govmomi/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/govmomi/tags","blobs_url":"https://api.github.com/repos/vmware/govmomi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/govmomi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/govmomi/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/govmomi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/govmomi/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/govmomi/languages","stargazers_url":"https://api.github.com/repos/vmware/govmomi/stargazers","contributors_url":"https://api.github.com/repos/vmware/govmomi/contributors","subscribers_url":"https://api.github.com/repos/vmware/govmomi/subscribers","subscription_url":"https://api.github.com/repos/vmware/govmomi/subscription","commits_url":"https://api.github.com/repos/vmware/govmomi/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/govmomi/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/govmomi/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/govmomi/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/govmomi/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/govmomi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/govmomi/merges","archive_url":"https://api.github.com/repos/vmware/govmomi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/govmomi/downloads","issues_url":"https://api.github.com/repos/vmware/govmomi/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/govmomi/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/govmomi/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/govmomi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/govmomi/labels{/name}","releases_url":"https://api.github.com/repos/vmware/govmomi/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/govmomi/deployments","created_at":"2014-08-12T16:15:08Z","updated_at":"2018-09-10T05:25:50Z","pushed_at":"2018-09-10T20:23:11Z","git_url":"git://github.com/vmware/govmomi.git","ssh_url":"git@github.com:vmware/govmomi.git","clone_url":"https://github.com/vmware/govmomi.git","svn_url":"https://github.com/vmware/govmomi","homepage":"","size":4432,"stargazers_count":835,"watchers_count":835,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":315,"mirror_url":null,"archived":false,"open_issues_count":82,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":315,"open_issues":82,"watchers":835,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmware/govmomi/pulls/1230"},"html":{"href":"https://github.com/vmware/govmomi/pull/1230"},"issue":{"href":"https://api.github.com/repos/vmware/govmomi/issues/1230"},"comments":{"href":"https://api.github.com/repos/vmware/govmomi/issues/1230/comments"},"review_comments":{"href":"https://api.github.com/repos/vmware/govmomi/pulls/1230/comments"},"review_comment":{"href":"https://api.github.com/repos/vmware/govmomi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmware/govmomi/pulls/1230/commits"},"statuses":{"href":"https://api.github.com/repos/vmware/govmomi/statuses/64d875b9d7eb27155aa1afa5424a3329ea0d1c9d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":30610,"deletions":1,"changed_files":6}}
{"actor":{"display_login":"prydin"}}