{"action":"created","issue":{"url":"https://api.github.com/repos/digitalocean/bind_exporter/issues/8","repository_url":"https://api.github.com/repos/digitalocean/bind_exporter","labels_url":"https://api.github.com/repos/digitalocean/bind_exporter/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/digitalocean/bind_exporter/issues/8/comments","events_url":"https://api.github.com/repos/digitalocean/bind_exporter/issues/8/events","html_url":"https://github.com/digitalocean/bind_exporter/pull/8","id":136496996,"number":8,"title":"Support Bind9.10","user":{"login":"miekg","id":353371,"avatar_url":"https://avatars.githubusercontent.com/u/353371?v=3","gravatar_id":"","url":"https://api.github.com/users/miekg","html_url":"https://github.com/miekg","followers_url":"https://api.github.com/users/miekg/followers","following_url":"https://api.github.com/users/miekg/following{/other_user}","gists_url":"https://api.github.com/users/miekg/gists{/gist_id}","starred_url":"https://api.github.com/users/miekg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miekg/subscriptions","organizations_url":"https://api.github.com/users/miekg/orgs","repos_url":"https://api.github.com/users/miekg/repos","events_url":"https://api.github.com/users/miekg/events{/privacy}","received_events_url":"https://api.github.com/users/miekg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-25T20:10:11Z","updated_at":"2016-02-25T20:36:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/digitalocean/bind_exporter/pulls/8","html_url":"https://github.com/digitalocean/bind_exporter/pull/8","diff_url":"https://github.com/digitalocean/bind_exporter/pull/8.diff","patch_url":"https://github.com/digitalocean/bind_exporter/pull/8.patch"},"body":"This is feeble attempt at a PR and totally not read to be merged, but it does support the new xml bind9.10 emits. It's working, but they've changed quite a lot. For server now emits:\r\n```\r\nbind_incoming_queries_total{code=\"NS\",type=\"qtype\"} 472\r\nbind_incoming_queries_total{code=\"NSEC\",type=\"qtype\"} 154\r\nbind_incoming_queries_total{code=\"Others\",type=\"qtype\"} 10\r\nbind_incoming_queries_total{code=\"QUERY\",type=\"opcode\"} 10669\r\nbind_incoming_queries_total{code=\"RESERVED10\",type=\"opcode\"} 0\r\nbind_incoming_queries_total{code=\"RESERVED11\",type=\"opcode\"} 0\r\nbind_incoming_queries_total{code=\"RESERVED12\",type=\"opcode\"} 0\r\nbind_incoming_queries_total{code=\"RESERVED13\",type=\"opcode\"} 0\r\nbind_incoming_queries_total{code=\"RESERVED14\",type=\"opcode\"} 0\r\n```\r\nThe same could be per zone, as those structures are the same. Haven't look at the rest.\r\nAdded lame ass test and bind910 example XML file.\r\n\r\nIn short: don't merge :) It usable for me as-is.\r\n\r\n\r\nSort of fixes #7"},"comment":{"url":"https://api.github.com/repos/digitalocean/bind_exporter/issues/comments/188971720","html_url":"https://github.com/digitalocean/bind_exporter/pull/8#issuecomment-188971720","issue_url":"https://api.github.com/repos/digitalocean/bind_exporter/issues/8","id":188971720,"user":{"login":"grobie","id":3432,"avatar_url":"https://avatars.githubusercontent.com/u/3432?v=3","gravatar_id":"","url":"https://api.github.com/users/grobie","html_url":"https://github.com/grobie","followers_url":"https://api.github.com/users/grobie/followers","following_url":"https://api.github.com/users/grobie/following{/other_user}","gists_url":"https://api.github.com/users/grobie/gists{/gist_id}","starred_url":"https://api.github.com/users/grobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grobie/subscriptions","organizations_url":"https://api.github.com/users/grobie/orgs","repos_url":"https://api.github.com/users/grobie/repos","events_url":"https://api.github.com/users/grobie/events{/privacy}","received_events_url":"https://api.github.com/users/grobie/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T20:36:34Z","updated_at":"2016-02-25T20:36:34Z","body":"Definitely thanks for contributing. I put it on my \"open-source todo\" list (it's long)."}}