{"action":"created","issue":{"url":"https://api.github.com/repos/netdata/netdata/issues/4944","repository_url":"https://api.github.com/repos/netdata/netdata","labels_url":"https://api.github.com/repos/netdata/netdata/issues/4944/labels{/name}","comments_url":"https://api.github.com/repos/netdata/netdata/issues/4944/comments","events_url":"https://api.github.com/repos/netdata/netdata/issues/4944/events","html_url":"https://github.com/netdata/netdata/pull/4944","id":388733853,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2OTMwNjMx","number":4944,"title":"[wip] postgres fix: detect servers version and use the right query","user":{"login":"ilyam8","id":22274335,"node_id":"MDQ6VXNlcjIyMjc0MzM1","avatar_url":"https://avatars3.githubusercontent.com/u/22274335?v=4","gravatar_id":"","url":"https://api.github.com/users/ilyam8","html_url":"https://github.com/ilyam8","followers_url":"https://api.github.com/users/ilyam8/followers","following_url":"https://api.github.com/users/ilyam8/following{/other_user}","gists_url":"https://api.github.com/users/ilyam8/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyam8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyam8/subscriptions","organizations_url":"https://api.github.com/users/ilyam8/orgs","repos_url":"https://api.github.com/users/ilyam8/repos","events_url":"https://api.github.com/users/ilyam8/events{/privacy}","received_events_url":"https://api.github.com/users/ilyam8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-07T16:52:59Z","updated_at":"2018-12-07T17:21:07Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/netdata/netdata/pulls/4944","html_url":"https://github.com/netdata/netdata/pull/4944","diff_url":"https://github.com/netdata/netdata/pull/4944.diff","patch_url":"https://github.com/netdata/netdata/pull/4944.patch"},"body":"<!--\r\nDescribe the change in summary section, including rationale and degin decisions.\r\nInclude \"Fixes #nnn\" if you are fixing an existing issue.\r\n\r\nIn \"Component Name\" section write which component is changed in this PR. This\r\nwill help us review your PR quicker.\r\n\r\nIf you have more information you want to add, write them in \"Additional\r\nInformation\" section. This is usually used to help others understand your\r\nmotivation behind this change. A step-by-step reproduction of the problem is\r\nhelpful if there is no related issue.\r\n-->\r\n\r\n##### Summary\r\nFixes: #4910\r\nFixes: #4904\r\n\r\n##### Component Name\r\npython.d module `postgres`\r\n\r\n##### Additional Information\r\n\r\nadd support for use specific query depending on server version\r\n\r\n@anayrat \r\n@arenddeboer \r\n\r\nif you have free time please test, the issue should be fixed\r\n\r\n@anayrat please look at all queries, I could break something :sweat_smile: \r\nhttps://github.com/ilyam8/netdata/blob/4271131581f3a0f2c5e10a8ed24d69f2ca988a59/collectors/python.d.plugin/postgres/postgres.chart.py#L122-L416\r\n"},"comment":{"url":"https://api.github.com/repos/netdata/netdata/issues/comments/445303141","html_url":"https://github.com/netdata/netdata/pull/4944#issuecomment-445303141","issue_url":"https://api.github.com/repos/netdata/netdata/issues/4944","id":445303141,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTMwMzE0MQ==","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T17:21:07Z","updated_at":"2018-12-07T17:21:07Z","author_association":"NONE","body":"\n![Codacy](https://app.codacy.com/assets/images/favicon.png) Here is an overview of what got changed by this pull request:\n\n\n```diff\n\nIssues\n======\n- Added 4\n           \n\nComplexity increasing per file\n==============================\n- collectors/python.d.plugin/postgres/postgres.chart.py  6\n         \n\nClones removed\n==============\n+ collectors/python.d.plugin/postgres/postgres.chart.py  -1\n         \n```\n\n\nSee the complete overview on [Codacy](https://app.codacy.com/app/paulfantom/netdata/pullRequest?prid=2695509&bid=10114176)\n        "}}
{"actor":{"display_login":"codacy-bot"}}