{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/45","labels_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/45/comments","events_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/45/events","html_url":"https://github.com/prometheus/mysqld_exporter/issues/45","id":110019434,"number":45,"title":"Make all data sources configurable","user":{"login":"PeterZaitsev","id":3651746,"avatar_url":"https://avatars.githubusercontent.com/u/3651746?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterZaitsev","html_url":"https://github.com/PeterZaitsev","followers_url":"https://api.github.com/users/PeterZaitsev/followers","following_url":"https://api.github.com/users/PeterZaitsev/following{/other_user}","gists_url":"https://api.github.com/users/PeterZaitsev/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterZaitsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterZaitsev/subscriptions","organizations_url":"https://api.github.com/users/PeterZaitsev/orgs","repos_url":"https://api.github.com/users/PeterZaitsev/repos","events_url":"https://api.github.com/users/PeterZaitsev/events{/privacy}","received_events_url":"https://api.github.com/users/PeterZaitsev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-06T14:28:18Z","updated_at":"2015-10-12T00:00:52Z","closed_at":"2015-10-12T00:00:52Z","body":"mysqld exporter can report on multiple data sources, most of them can be enabled through collect.info_schema.userstats and similar settings however things like global status and global variables are always scrapped and reported:\r\n\r\nif err = scrapeGlobalStatus(db, ch); err != nil {\r\n\t\tlog.Println(\"Error scraping global state:\", err)\r\n\t\treturn\r\n\t}\r\n\r\nIt would be good to have options for them too so they can be disabled if needed (keeping them on by default) \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/comments/147257199","html_url":"https://github.com/prometheus/mysqld_exporter/issues/45#issuecomment-147257199","issue_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/45","id":147257199,"user":{"login":"SuperQ","id":1320667,"avatar_url":"https://avatars.githubusercontent.com/u/1320667?v=3","gravatar_id":"","url":"https://api.github.com/users/SuperQ","html_url":"https://github.com/SuperQ","followers_url":"https://api.github.com/users/SuperQ/followers","following_url":"https://api.github.com/users/SuperQ/following{/other_user}","gists_url":"https://api.github.com/users/SuperQ/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperQ/subscriptions","organizations_url":"https://api.github.com/users/SuperQ/orgs","repos_url":"https://api.github.com/users/SuperQ/repos","events_url":"https://api.github.com/users/SuperQ/events{/privacy}","received_events_url":"https://api.github.com/users/SuperQ/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T00:00:52Z","updated_at":"2015-10-12T00:00:52Z","body":"PR Merged."}}