{"action":"created","issue":{"url":"https://api.github.com/repos/jankotek/MapDB/issues/478","labels_url":"https://api.github.com/repos/jankotek/MapDB/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/jankotek/MapDB/issues/478/comments","events_url":"https://api.github.com/repos/jankotek/MapDB/issues/478/events","html_url":"https://github.com/jankotek/MapDB/issues/478","id":66579859,"number":478,"title":"Add metrics reporting","user":{"login":"jankotek","id":359021,"avatar_url":"https://avatars.githubusercontent.com/u/359021?v=3","gravatar_id":"","url":"https://api.github.com/users/jankotek","html_url":"https://github.com/jankotek","followers_url":"https://api.github.com/users/jankotek/followers","following_url":"https://api.github.com/users/jankotek/following{/other_user}","gists_url":"https://api.github.com/users/jankotek/gists{/gist_id}","starred_url":"https://api.github.com/users/jankotek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankotek/subscriptions","organizations_url":"https://api.github.com/users/jankotek/orgs","repos_url":"https://api.github.com/users/jankotek/repos","events_url":"https://api.github.com/users/jankotek/events{/privacy}","received_events_url":"https://api.github.com/users/jankotek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jankotek/MapDB/labels/2.0","name":"2.0","color":"009800"},{"url":"https://api.github.com/repos/jankotek/MapDB/labels/missing","name":"missing","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-06T10:47:56Z","updated_at":"2015-04-07T11:13:14Z","closed_at":null,"body":"MapDB should be able to report some basic statistics. For now it should log in regular intervals.\r\n\r\nMake this work:\r\n```\r\n   DBMaker.new...\r\n    .metricsEnable().\r\n    .metricsLogInterval(10000)\r\n    .metricsExecutorEnable()\r\n\r\n   db.getMetrics():Map<Enum,Integer> ?\r\n```\r\n\r\nAnd add following values:\r\n\r\n - record written size/count\r\n - record read size/count\r\n - record written since last log size/count\r\n - record read since last log size/count\r\n - cache misses\r\n - cache hits\r\n - cache size\r\n - average record size read\r\n - average record size written\r\n - used memory \r\n - store free memory\r\n - store used memory\r\n \r\n\r\n "},"comment":{"url":"https://api.github.com/repos/jankotek/MapDB/issues/comments/90508988","html_url":"https://github.com/jankotek/MapDB/issues/478#issuecomment-90508988","issue_url":"https://api.github.com/repos/jankotek/MapDB/issues/478","id":90508988,"user":{"login":"bwzhang2011","id":749788,"avatar_url":"https://avatars.githubusercontent.com/u/749788?v=3","gravatar_id":"","url":"https://api.github.com/users/bwzhang2011","html_url":"https://github.com/bwzhang2011","followers_url":"https://api.github.com/users/bwzhang2011/followers","following_url":"https://api.github.com/users/bwzhang2011/following{/other_user}","gists_url":"https://api.github.com/users/bwzhang2011/gists{/gist_id}","starred_url":"https://api.github.com/users/bwzhang2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwzhang2011/subscriptions","organizations_url":"https://api.github.com/users/bwzhang2011/orgs","repos_url":"https://api.github.com/users/bwzhang2011/repos","events_url":"https://api.github.com/users/bwzhang2011/events{/privacy}","received_events_url":"https://api.github.com/users/bwzhang2011/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T11:13:14Z","updated_at":"2015-04-07T11:13:14Z","body":"+1"}}