{"action":"opened","issue":{"url":"https://api.github.com/repos/kairosdb/kairosdb/issues/148","labels_url":"https://api.github.com/repos/kairosdb/kairosdb/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/kairosdb/kairosdb/issues/148/comments","events_url":"https://api.github.com/repos/kairosdb/kairosdb/issues/148/events","html_url":"https://github.com/kairosdb/kairosdb/issues/148","id":56537501,"number":148,"title":"No way to disable internal metrics","user":{"login":"dimas","id":93186,"avatar_url":"https://avatars.githubusercontent.com/u/93186?v=3","gravatar_id":"","url":"https://api.github.com/users/dimas","html_url":"https://github.com/dimas","followers_url":"https://api.github.com/users/dimas/followers","following_url":"https://api.github.com/users/dimas/following{/other_user}","gists_url":"https://api.github.com/users/dimas/gists{/gist_id}","starred_url":"https://api.github.com/users/dimas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimas/subscriptions","organizations_url":"https://api.github.com/users/dimas/orgs","repos_url":"https://api.github.com/users/dimas/repos","events_url":"https://api.github.com/users/dimas/events{/privacy}","received_events_url":"https://api.github.com/users/dimas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-04T15:00:53Z","updated_at":"2015-02-04T15:00:53Z","closed_at":null,"body":"There seems to be no way to tell KairosDB to completely disable logging of internal metrics.\r\n\r\nWe use Kairos with H2 backend to run integration tests and these produce a lot of data. Even though our tests clean up after themselves, H2 database still keeps growing to uncontrollable size over a long periods of time because of stuff it logs internally and which none of us really need in test environment.\r\n\r\nYes, we can set\r\n```\r\n kairosdb.service.reporter=\r\n```\r\n(to a blank value) but MetricsResource.java will still be logging \"kairosdb.datastore.query_sample_size\" and others.\r\n\r\nFor now I guess the only option is to stop Kairos, remove its H2 folder and start it again before each integration test run. Which is probably ok but not ideal."}}