{"action":"created","comment":{"url":"https://api.github.com/repos/percona/mysqld_exporter/pulls/comments/230758132","pull_request_review_id":171565644,"id":230758132,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDc1ODEzMg==","diff_hunk":"@@ -0,0 +1,251 @@\n+// Copyright 2018 The Prometheus Authors\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+// http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+// Scrape `mysql.user`.\n+\n+package collector\n+\n+import (\n+\t\"context\"\n+\t\"database/sql\"\n+\t\"fmt\"\n+\t\"strings\"\n+\n+\t\"github.com/prometheus/client_golang/prometheus\"\n+\t\"gopkg.in/alecthomas/kingpin.v2\"\n+)\n+\n+const mysqlUserQuery = `\n+\t\t  SELECT\n+\t\t    user,\n+\t\t    host,\n+\t\t    Select_priv,\n+\t\t    Insert_priv,\n+\t\t    Update_priv,\n+\t\t    Delete_priv,\n+\t\t    Create_priv,\n+\t\t    Drop_priv,\n+\t\t    Reload_priv,\n+\t\t    Shutdown_priv,\n+\t\t    Process_priv,\n+\t\t    File_priv,\n+\t\t    Grant_priv,\n+\t\t    References_priv,\n+\t\t    Index_priv,\n+\t\t    Alter_priv,\n+\t\t    Show_db_priv,\n+\t\t    Super_priv,\n+\t\t    Create_tmp_table_priv,\n+\t\t    Lock_tables_priv,\n+\t\t    Execute_priv,\n+\t\t    Repl_slave_priv,\n+\t\t    Repl_client_priv,\n+\t\t    Create_view_priv,\n+\t\t    Show_view_priv,\n+\t\t    Create_routine_priv,\n+\t\t    Alter_routine_priv,\n+\t\t    Create_user_priv,\n+\t\t    Event_priv,\n+\t\t    Trigger_priv,\n+\t\t    Create_tablespace_priv,\n+\t\t    max_questions,\n+\t\t    max_updates,\n+\t\t    max_connections,\n+\t\t    max_user_connections\n+\t\t  FROM mysql.user\n+\t\t`\n+\n+// Tunable flags.\n+var (\n+\tuserPrivilegesFlag = kingpin.Flag(\n+\t\t\"collect.mysql.user.privileges\",\n+\t\t\"Enable collecting user privileges from mysql.user\",\n+\t).Default(\"false\").Bool()\n+)\n+\n+var (\n+\tlabelNames = []string{\"mysql_user\", \"hostmask\"}\n+)\n+\n+// Metric descriptors.\n+var (\n+\tuserMaxQuestionsDesc = prometheus.NewDesc(\n+\t\tprometheus.BuildFQName(namespace, mysql, \"max_questions\"),\n+\t\t\"The number of max_questions by user.\",\n+\t\tlabelNames, nil)\n+\tuserMaxUpdatesDesc = prometheus.NewDesc(\n+\t\tprometheus.BuildFQName(namespace, mysql, \"max_updates\"),\n+\t\t\"The number of max_updates by user.\",\n+\t\tlabelNames, nil)\n+\tuserMaxConnectionsDesc = prometheus.NewDesc(\n+\t\tprometheus.BuildFQName(namespace, mysql, \"max_connections\"),\n+\t\t\"The number of max_connections by user.\",\n+\t\tlabelNames, nil)\n+\tuserMaxUserConnectionsDesc = prometheus.NewDesc(\n+\t\tprometheus.BuildFQName(namespace, mysql, \"max_user_connections\"),\n+\t\t\"The number of max_user_connections by user.\",\n+\t\tlabelNames, nil)\n+)\n+\n+// ScrapeUser collects from `information_schema.processlist`.\n+type ScrapeUser struct{}\n+\n+// Name of the Scraper. Should be unique.\n+func (ScrapeUser) Name() string {\n+\treturn mysql + \".user\"\n+}\n+\n+// Help describes the role of the Scraper.\n+func (ScrapeUser) Help() string {\n+\treturn \"Collect data from mysql.user\"\n+}\n+\n+// Version of MySQL from which scraper is available.\n+func (ScrapeUser) Version() float64 {\n+\treturn 5.1\n+}\n+\n+// Scrape collects data from database connection and sends it over channel as prometheus metric.\n+func (ScrapeUser) Scrape(ctx context.Context, db *sql.DB, ch chan<- prometheus.Metric) error {\n+\tvar (\n+\t\tuserRows *sql.Rows\n+\t\terr      error\n+\t)\n+\tuserQuery := fmt.Sprint(mysqlUserQuery)\n+\tuserRows, err = db.QueryContext(ctx, userQuery)\n+\tif err != nil {\n+\t\treturn err\n+\t}\n+\tdefer userRows.Close()\n+\n+\tvar (\n+\t\tuser                   string\n+\t\thost                   string\n+\t\tSelect_priv            string\n+\t\tInsert_priv            string\n+\t\tUpdate_priv            string\n+\t\tDelete_priv            string\n+\t\tCreate_priv            string\n+\t\tDrop_priv              string\n+\t\tReload_priv            string\n+\t\tShutdown_priv          string\n+\t\tProcess_priv           string\n+\t\tFile_priv              string\n+\t\tGrant_priv             string\n+\t\tReferences_priv        string\n+\t\tIndex_priv             string\n+\t\tAlter_priv             string\n+\t\tShow_db_priv           string\n+\t\tSuper_priv             string\n+\t\tCreate_tmp_table_priv  string\n+\t\tLock_tables_priv       string\n+\t\tExecute_priv           string\n+\t\tRepl_slave_priv        string\n+\t\tRepl_client_priv       string\n+\t\tCreate_view_priv       string\n+\t\tShow_view_priv         string\n+\t\tCreate_routine_priv    string\n+\t\tAlter_routine_priv     string\n+\t\tCreate_user_priv       string\n+\t\tEvent_priv             string\n+\t\tTrigger_priv           string\n+\t\tCreate_tablespace_priv string\n+\t\tmax_questions          uint32\n+\t\tmax_updates            uint32\n+\t\tmax_connections        uint32","path":"collector/mysql_user.go","position":165,"original_position":165,"commit_id":"ce9737a44e9c4d67c4b9b03b7031891349dace19","original_commit_id":"ce9737a44e9c4d67c4b9b03b7031891349dace19","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"don't use underscores in Go names; var max_connections should be maxConnections","created_at":"2018-11-05T13:59:50Z","updated_at":"2018-11-05T13:59:51Z","html_url":"https://github.com/percona/mysqld_exporter/pull/35#discussion_r230758132","pull_request_url":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/percona/mysqld_exporter/pulls/comments/230758132"},"html":{"href":"https://github.com/percona/mysqld_exporter/pull/35#discussion_r230758132"},"pull_request":{"href":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35","id":212742640,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNzQyNjQw","html_url":"https://github.com/percona/mysqld_exporter/pull/35","diff_url":"https://github.com/percona/mysqld_exporter/pull/35.diff","patch_url":"https://github.com/percona/mysqld_exporter/pull/35.patch","issue_url":"https://api.github.com/repos/percona/mysqld_exporter/issues/35","number":35,"state":"open","locked":false,"title":"PMM-2921: Port upstream changes and improvements to our fork","user":{"login":"AlekSi","id":11512,"node_id":"MDQ6VXNlcjExNTEy","avatar_url":"https://avatars1.githubusercontent.com/u/11512?v=4","gravatar_id":"","url":"https://api.github.com/users/AlekSi","html_url":"https://github.com/AlekSi","followers_url":"https://api.github.com/users/AlekSi/followers","following_url":"https://api.github.com/users/AlekSi/following{/other_user}","gists_url":"https://api.github.com/users/AlekSi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekSi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekSi/subscriptions","organizations_url":"https://api.github.com/users/AlekSi/orgs","repos_url":"https://api.github.com/users/AlekSi/repos","events_url":"https://api.github.com/users/AlekSi/events{/privacy}","received_events_url":"https://api.github.com/users/AlekSi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-03T13:04:01Z","updated_at":"2018-11-05T13:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"AlekSi","id":11512,"node_id":"MDQ6VXNlcjExNTEy","avatar_url":"https://avatars1.githubusercontent.com/u/11512?v=4","gravatar_id":"","url":"https://api.github.com/users/AlekSi","html_url":"https://github.com/AlekSi","followers_url":"https://api.github.com/users/AlekSi/followers","following_url":"https://api.github.com/users/AlekSi/following{/other_user}","gists_url":"https://api.github.com/users/AlekSi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekSi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekSi/subscriptions","organizations_url":"https://api.github.com/users/AlekSi/orgs","repos_url":"https://api.github.com/users/AlekSi/repos","events_url":"https://api.github.com/users/AlekSi/events{/privacy}","received_events_url":"https://api.github.com/users/AlekSi/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlekSi","id":11512,"node_id":"MDQ6VXNlcjExNTEy","avatar_url":"https://avatars1.githubusercontent.com/u/11512?v=4","gravatar_id":"","url":"https://api.github.com/users/AlekSi","html_url":"https://github.com/AlekSi","followers_url":"https://api.github.com/users/AlekSi/followers","following_url":"https://api.github.com/users/AlekSi/following{/other_user}","gists_url":"https://api.github.com/users/AlekSi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlekSi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlekSi/subscriptions","organizations_url":"https://api.github.com/users/AlekSi/orgs","repos_url":"https://api.github.com/users/AlekSi/repos","events_url":"https://api.github.com/users/AlekSi/events{/privacy}","received_events_url":"https://api.github.com/users/AlekSi/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35/commits","review_comments_url":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35/comments","review_comment_url":"https://api.github.com/repos/percona/mysqld_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/mysqld_exporter/issues/35/comments","statuses_url":"https://api.github.com/repos/percona/mysqld_exporter/statuses/ce9737a44e9c4d67c4b9b03b7031891349dace19","head":{"label":"prometheus:master","ref":"master","sha":"ce9737a44e9c4d67c4b9b03b7031891349dace19","user":{"login":"prometheus","id":3380462,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODA0NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":32075541,"node_id":"MDEwOlJlcG9zaXRvcnkzMjA3NTU0MQ==","name":"mysqld_exporter","full_name":"prometheus/mysqld_exporter","private":false,"owner":{"login":"prometheus","id":3380462,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODA0NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/prometheus/mysqld_exporter","description":"Exporter for MySQL server metrics","fork":false,"url":"https://api.github.com/repos/prometheus/mysqld_exporter","forks_url":"https://api.github.com/repos/prometheus/mysqld_exporter/forks","keys_url":"https://api.github.com/repos/prometheus/mysqld_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/mysqld_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/mysqld_exporter/teams","hooks_url":"https://api.github.com/repos/prometheus/mysqld_exporter/hooks","issue_events_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/mysqld_exporter/events","assignees_url":"https://api.github.com/repos/prometheus/mysqld_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/mysqld_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/mysqld_exporter/tags","blobs_url":"https://api.github.com/repos/prometheus/mysqld_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/mysqld_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/mysqld_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/mysqld_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/mysqld_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/mysqld_exporter/languages","stargazers_url":"https://api.github.com/repos/prometheus/mysqld_exporter/stargazers","contributors_url":"https://api.github.com/repos/prometheus/mysqld_exporter/contributors","subscribers_url":"https://api.github.com/repos/prometheus/mysqld_exporter/subscribers","subscription_url":"https://api.github.com/repos/prometheus/mysqld_exporter/subscription","commits_url":"https://api.github.com/repos/prometheus/mysqld_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/mysqld_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/mysqld_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/mysqld_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/mysqld_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/mysqld_exporter/merges","archive_url":"https://api.github.com/repos/prometheus/mysqld_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/mysqld_exporter/downloads","issues_url":"https://api.github.com/repos/prometheus/mysqld_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/mysqld_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/mysqld_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/mysqld_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/mysqld_exporter/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/mysqld_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/mysqld_exporter/deployments","created_at":"2015-03-12T12:23:48Z","updated_at":"2018-11-05T13:59:33Z","pushed_at":"2018-11-05T13:59:29Z","git_url":"git://github.com/prometheus/mysqld_exporter.git","ssh_url":"git@github.com:prometheus/mysqld_exporter.git","clone_url":"https://github.com/prometheus/mysqld_exporter.git","svn_url":"https://github.com/prometheus/mysqld_exporter","homepage":"http://prometheus.io/","size":2647,"stargazers_count":393,"watchers_count":393,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":169,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":169,"open_issues":17,"watchers":393,"default_branch":"master"}},"base":{"label":"percona:PMM-2921-port-upstream-changes","ref":"PMM-2921-port-upstream-changes","sha":"7d978fe413d31939bc9e307234ff5910d8e84150","user":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":66241885,"node_id":"MDEwOlJlcG9zaXRvcnk2NjI0MTg4NQ==","name":"mysqld_exporter","full_name":"percona/mysqld_exporter","private":false,"owner":{"login":"percona","id":1683025,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODMwMjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/percona/mysqld_exporter","description":"Exporter for MySQL server metrics","fork":true,"url":"https://api.github.com/repos/percona/mysqld_exporter","forks_url":"https://api.github.com/repos/percona/mysqld_exporter/forks","keys_url":"https://api.github.com/repos/percona/mysqld_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/mysqld_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/mysqld_exporter/teams","hooks_url":"https://api.github.com/repos/percona/mysqld_exporter/hooks","issue_events_url":"https://api.github.com/repos/percona/mysqld_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/percona/mysqld_exporter/events","assignees_url":"https://api.github.com/repos/percona/mysqld_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/percona/mysqld_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/percona/mysqld_exporter/tags","blobs_url":"https://api.github.com/repos/percona/mysqld_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/mysqld_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/mysqld_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/mysqld_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/mysqld_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/mysqld_exporter/languages","stargazers_url":"https://api.github.com/repos/percona/mysqld_exporter/stargazers","contributors_url":"https://api.github.com/repos/percona/mysqld_exporter/contributors","subscribers_url":"https://api.github.com/repos/percona/mysqld_exporter/subscribers","subscription_url":"https://api.github.com/repos/percona/mysqld_exporter/subscription","commits_url":"https://api.github.com/repos/percona/mysqld_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/mysqld_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/mysqld_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/mysqld_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/mysqld_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/percona/mysqld_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/mysqld_exporter/merges","archive_url":"https://api.github.com/repos/percona/mysqld_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/mysqld_exporter/downloads","issues_url":"https://api.github.com/repos/percona/mysqld_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/percona/mysqld_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/mysqld_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/mysqld_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/mysqld_exporter/labels{/name}","releases_url":"https://api.github.com/repos/percona/mysqld_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/percona/mysqld_exporter/deployments","created_at":"2016-08-22T05:22:36Z","updated_at":"2018-10-12T05:45:03Z","pushed_at":"2018-11-05T13:59:32Z","git_url":"git://github.com/percona/mysqld_exporter.git","ssh_url":"git@github.com:percona/mysqld_exporter.git","clone_url":"https://github.com/percona/mysqld_exporter.git","svn_url":"https://github.com/percona/mysqld_exporter","homepage":"http://prometheus.io/","size":7746,"stargazers_count":26,"watchers_count":26,"language":"Go","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":3,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35"},"html":{"href":"https://github.com/percona/mysqld_exporter/pull/35"},"issue":{"href":"https://api.github.com/repos/percona/mysqld_exporter/issues/35"},"comments":{"href":"https://api.github.com/repos/percona/mysqld_exporter/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/mysqld_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/mysqld_exporter/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/percona/mysqld_exporter/statuses/ce9737a44e9c4d67c4b9b03b7031891349dace19"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"houndci-bot"}}