{"action":"closed","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/1289","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1289/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1289/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1289/events","html_url":"https://github.com/DataDog/dd-agent/issues/1289","id":54130455,"number":1289,"title":"Invalid metric type GAUGE for postgresql.deadlocks","user":{"login":"tomas-edwardsson","id":585184,"avatar_url":"https://avatars.githubusercontent.com/u/585184?v=3","gravatar_id":"","url":"https://api.github.com/users/tomas-edwardsson","html_url":"https://github.com/tomas-edwardsson","followers_url":"https://api.github.com/users/tomas-edwardsson/followers","following_url":"https://api.github.com/users/tomas-edwardsson/following{/other_user}","gists_url":"https://api.github.com/users/tomas-edwardsson/gists{/gist_id}","starred_url":"https://api.github.com/users/tomas-edwardsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomas-edwardsson/subscriptions","organizations_url":"https://api.github.com/users/tomas-edwardsson/orgs","repos_url":"https://api.github.com/users/tomas-edwardsson/repos","events_url":"https://api.github.com/users/tomas-edwardsson/events{/privacy}","received_events_url":"https://api.github.com/users/tomas-edwardsson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T00:16:04Z","updated_at":"2015-01-23T21:05:50Z","closed_at":"2015-01-23T21:05:50Z","body":"Looking at graphs from my postgresql servers, I can see that the graphs for postgresql.deadlocks shows the total number of deadlocks since startup. Wouldn't it make more sense to use RATE instead?\r\n\r\nhttps://github.com/DataDog/dd-agent/blob/2bd69dc0ee50eb1d246ad0b958efb415d6ec5c7e/checks.d/postgres.py#L54"}}