{"action":"created","issue":{"url":"https://api.github.com/repos/firehol/netdata/issues/82","repository_url":"https://api.github.com/repos/firehol/netdata","labels_url":"https://api.github.com/repos/firehol/netdata/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/82/comments","events_url":"https://api.github.com/repos/firehol/netdata/issues/82/events","html_url":"https://github.com/firehol/netdata/issues/82","id":144720982,"number":82,"title":"PostgreSQL Support","user":{"login":"Vaiune","id":4493141,"avatar_url":"https://avatars.githubusercontent.com/u/4493141?v=3","gravatar_id":"","url":"https://api.github.com/users/Vaiune","html_url":"https://github.com/Vaiune","followers_url":"https://api.github.com/users/Vaiune/followers","following_url":"https://api.github.com/users/Vaiune/following{/other_user}","gists_url":"https://api.github.com/users/Vaiune/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaiune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaiune/subscriptions","organizations_url":"https://api.github.com/users/Vaiune/orgs","repos_url":"https://api.github.com/users/Vaiune/repos","events_url":"https://api.github.com/users/Vaiune/events{/privacy}","received_events_url":"https://api.github.com/users/Vaiune/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firehol/netdata/labels/new%20plugin%20request","name":"new plugin request","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"paulfantom","id":3531758,"avatar_url":"https://avatars.githubusercontent.com/u/3531758?v=3","gravatar_id":"","url":"https://api.github.com/users/paulfantom","html_url":"https://github.com/paulfantom","followers_url":"https://api.github.com/users/paulfantom/followers","following_url":"https://api.github.com/users/paulfantom/following{/other_user}","gists_url":"https://api.github.com/users/paulfantom/gists{/gist_id}","starred_url":"https://api.github.com/users/paulfantom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulfantom/subscriptions","organizations_url":"https://api.github.com/users/paulfantom/orgs","repos_url":"https://api.github.com/users/paulfantom/repos","events_url":"https://api.github.com/users/paulfantom/events{/privacy}","received_events_url":"https://api.github.com/users/paulfantom/received_events","type":"User","site_admin":false},"assignees":[{"login":"paulfantom","id":3531758,"avatar_url":"https://avatars.githubusercontent.com/u/3531758?v=3","gravatar_id":"","url":"https://api.github.com/users/paulfantom","html_url":"https://github.com/paulfantom","followers_url":"https://api.github.com/users/paulfantom/followers","following_url":"https://api.github.com/users/paulfantom/following{/other_user}","gists_url":"https://api.github.com/users/paulfantom/gists{/gist_id}","starred_url":"https://api.github.com/users/paulfantom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulfantom/subscriptions","organizations_url":"https://api.github.com/users/paulfantom/orgs","repos_url":"https://api.github.com/users/paulfantom/repos","events_url":"https://api.github.com/users/paulfantom/events{/privacy}","received_events_url":"https://api.github.com/users/paulfantom/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-03-30T21:10:53Z","updated_at":"2016-08-26T08:35:14Z","closed_at":null,"body":"This is such an awesome project.\r\nI would like to know if there would be support for postgresql charts like mysql has.\r\nAre you planning to implement this in near future?"},"comment":{"url":"https://api.github.com/repos/firehol/netdata/issues/comments/242667096","html_url":"https://github.com/firehol/netdata/issues/82#issuecomment-242667096","issue_url":"https://api.github.com/repos/firehol/netdata/issues/82","id":242667096,"user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars.githubusercontent.com/u/2662304?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T08:35:14Z","updated_at":"2016-08-26T08:35:14Z","body":"I would start with python. Python is pretty descent. Node.js is faster. Bash is simpler, but not resource efficient.\r\n\r\nIf you can do it in python, you can check the mysql plugin: https://github.com/firehol/netdata/blob/master/python.d/mysql.chart.py\r\n\r\n@paulfantom has done a great job to optimize the python base classes and it is now very well suited for most modules. However the CPU resources used for collecting data from a db, per second, depends heavily on the python library you are going to use. In mysql, for example, `python-mysqldb` is 10 times faster than `pymysql` (the later is a pure python implementation, while the former is a C library with python bindings - thus the difference). Check our discussion of mysql here: https://github.com/firehol/netdata/pull/555\r\n\r\nOf course, C is the best solution, but I wouldn't advice you to start with it."}}
{"actor":{"display_login":"ktsaou"}}