{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog/issues/59","repository_url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog","labels_url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog/issues/59/comments","events_url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog/issues/59/events","html_url":"https://github.com/DataDog/heroku-buildpack-datadog/issues/59","id":356786782,"node_id":"MDU6SXNzdWUzNTY3ODY3ODI=","number":59,"title":"Agent is quite verbose","user":{"login":"msiebuhr","id":330611,"node_id":"MDQ6VXNlcjMzMDYxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/330611?v=4","gravatar_id":"","url":"https://api.github.com/users/msiebuhr","html_url":"https://github.com/msiebuhr","followers_url":"https://api.github.com/users/msiebuhr/followers","following_url":"https://api.github.com/users/msiebuhr/following{/other_user}","gists_url":"https://api.github.com/users/msiebuhr/gists{/gist_id}","starred_url":"https://api.github.com/users/msiebuhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msiebuhr/subscriptions","organizations_url":"https://api.github.com/users/msiebuhr/orgs","repos_url":"https://api.github.com/users/msiebuhr/repos","events_url":"https://api.github.com/users/msiebuhr/events{/privacy}","received_events_url":"https://api.github.com/users/msiebuhr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-04T12:27:41Z","updated_at":"2018-10-09T22:52:21Z","closed_at":null,"author_association":"NONE","body":"We aggregate the Heroku drains to collect common metrics (the machine-ones are all but pointless to us; see #39).\r\n\r\nBut when checking the logs, we a debug-burp like this every ~10s:\r\n\r\n```\r\n2018-09-04T12:12:36.653264+00:00 app[web.1]: 2018-09-04 12:12:36 INFO (trace_writer.go:98) - flushed trace payload to the API, time:25.842345ms, size:5595 bytes\r\n2018-09-04T12:12:41.673945+00:00 app[web.1]: 2018-09-04 12:12:41 INFO (stats_writer.go:266) - flushed stat payload to the API, time:45.72011ms, size:3091 bytes\r\n```\r\n\r\nThis is especially annoying with interactive sessions (`heroku run bash --app foobar`).\r\n\r\nIs there any way to turn this off?"},"comment":{"url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog/issues/comments/428380194","html_url":"https://github.com/DataDog/heroku-buildpack-datadog/issues/59#issuecomment-428380194","issue_url":"https://api.github.com/repos/DataDog/heroku-buildpack-datadog/issues/59","id":428380194,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODM4MDE5NA==","user":{"login":"drobert","id":455162,"node_id":"MDQ6VXNlcjQ1NTE2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/455162?v=4","gravatar_id":"","url":"https://api.github.com/users/drobert","html_url":"https://github.com/drobert","followers_url":"https://api.github.com/users/drobert/followers","following_url":"https://api.github.com/users/drobert/following{/other_user}","gists_url":"https://api.github.com/users/drobert/gists{/gist_id}","starred_url":"https://api.github.com/users/drobert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drobert/subscriptions","organizations_url":"https://api.github.com/users/drobert/orgs","repos_url":"https://api.github.com/users/drobert/repos","events_url":"https://api.github.com/users/drobert/events{/privacy}","received_events_url":"https://api.github.com/users/drobert/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T22:52:21Z","updated_at":"2018-10-09T22:52:21Z","author_association":"NONE","body":":+1: on using `DD_LOG_LEVEL`. Somewhat across the board in this buildpack existing heroku environment values are used and cannot be overridden (e.g. the application name is taken from the dyno with no ability to override). \r\n\r\nEspecially for logging, though, it's important to be able to configure the datadog log levels without impacting my own application's logging. With heroku log drains, too, the log output actually costs companies money as some service is being paid to collect and store this 'noise'."}}
{"actor":{"display_login":"drobert"}}