{"action":"created","comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/89882240","pull_request_review_id":10412941,"id":89882240,"diff_hunk":"@@ -0,0 +1,359 @@\n+#!/usr/bin/env ruby\n+require_relative '../../deployment'\n+require 'cdo/db'\n+require 'aws-sdk'\n+\n+# Report details MySQL metrics to CloudWatch.\n+# Intended to be run at 1-minute intervals.\n+\n+STATUS_CACHE = pegasus_dir('cache', 'mysql-status-cache.json')\n+\n+status = PEGASUS_DB.fetch('show global status').all.map{|x| [x[:Variable_name], x[:Value]]}.to_h\n+old_status = File.file?(STATUS_CACHE) ? JSON.parse(IO.read(STATUS_CACHE)) : {}\n+IO.write STATUS_CACHE, JSON.pretty_generate(status)\n+\n+const_keys = %w(\n+Audit_log_current_size\n+Audit_log_event_max_drop_size\n+Audit_log_total_size\n+Innodb_buffer_pool_bytes_data\n+Innodb_buffer_pool_bytes_dirty\n+Innodb_buffer_pool_pages_data\n+Innodb_buffer_pool_pages_dirty\n+Innodb_buffer_pool_pages_flushed\n+Innodb_buffer_pool_pages_free\n+Innodb_buffer_pool_pages_misc\n+Innodb_buffer_pool_pages_total\n+Innodb_data_pending_fsyncs\n+Innodb_data_pending_reads\n+Innodb_data_pending_writes\n+Innodb_num_open_files\n+Innodb_os_log_pending_fsyncs\n+Innodb_os_log_pending_writes\n+Innodb_row_lock_current_waits\n+Innodb_row_lock_time_avg\n+Innodb_row_lock_time_max\n+Key_blocks_not_flushed\n+Key_blocks_unused\n+Key_blocks_used\n+Last_query_cost\n+Last_query_partial_plans\n+Max_used_connections\n+Not_flushed_delayed_rows\n+Open_files\n+Open_streams\n+Open_table_definitions\n+Open_tables\n+Opened_files\n+Opened_table_definitions\n+Opened_tables\n+Prepared_stmt_count\n+Qcache_free_blocks\n+Qcache_free_memory\n+Qcache_queries_in_cache\n+Qcache_total_blocks\n+Threads_cached\n+Threads_connected\n+Threads_created\n+Threads_running\n+)\n+\n+constants = const_keys.map do |key|\n+  [key, status[key]]\n+end.to_h\n+\n+counter = 'Uptime_since_flush_status'\n+exit 0 unless status[counter] && old_status[counter]\n+interval = status[counter].to_i - old_status[counter].to_i\n+exit 0 if interval < 1\n+\n+interval_keys = %w(\n+Aborted_clients\n+Aborted_connects\n+Audit_log_events\n+Audit_log_events_filtered\n+Audit_log_events_lost\n+Audit_log_events_written\n+Audit_log_write_waits\n+Binlog_cache_disk_use\n+Binlog_cache_use\n+Binlog_stmt_cache_disk_use\n+Binlog_stmt_cache_use\n+Bytes_received\n+Bytes_sent\n+Com_admin_commands\n+Com_alter_db\n+Com_alter_db_upgrade\n+Com_alter_event\n+Com_alter_function\n+Com_alter_procedure\n+Com_alter_server\n+Com_alter_table\n+Com_alter_tablespace\n+Com_alter_user\n+Com_analyze\n+Com_assign_to_keycache\n+Com_begin\n+Com_binlog\n+Com_call_procedure\n+Com_change_db\n+Com_change_master\n+Com_check\n+Com_checksum\n+Com_commit\n+Com_create_db\n+Com_create_event\n+Com_create_function\n+Com_create_index\n+Com_create_procedure\n+Com_create_server\n+Com_create_table\n+Com_create_trigger\n+Com_create_udf\n+Com_create_user\n+Com_create_view\n+Com_dealloc_sql\n+Com_delete\n+Com_delete_multi\n+Com_do\n+Com_drop_db\n+Com_drop_event\n+Com_drop_function\n+Com_drop_index\n+Com_drop_procedure\n+Com_drop_server\n+Com_drop_table\n+Com_drop_trigger\n+Com_drop_user\n+Com_drop_view\n+Com_empty_query\n+Com_execute_sql\n+Com_flush\n+Com_get_diagnostics\n+Com_grant\n+Com_ha_close\n+Com_ha_open\n+Com_ha_read\n+Com_help\n+Com_insert\n+Com_insert_select\n+Com_install_plugin\n+Com_kill\n+Com_load\n+Com_lock_tables\n+Com_optimize\n+Com_preload_keys\n+Com_prepare_sql\n+Com_purge\n+Com_purge_before_date\n+Com_release_savepoint\n+Com_rename_table\n+Com_rename_user\n+Com_repair\n+Com_replace\n+Com_replace_select\n+Com_reset\n+Com_resignal\n+Com_revoke\n+Com_revoke_all\n+Com_rollback\n+Com_rollback_to_savepoint\n+Com_savepoint\n+Com_select\n+Com_set_option\n+Com_show_authors\n+Com_show_binlog_events\n+Com_show_binlogs\n+Com_show_charsets\n+Com_show_collations\n+Com_show_contributors\n+Com_show_create_db\n+Com_show_create_event\n+Com_show_create_func\n+Com_show_create_proc\n+Com_show_create_table\n+Com_show_create_trigger\n+Com_show_databases\n+Com_show_engine_logs\n+Com_show_engine_mutex\n+Com_show_engine_status\n+Com_show_errors\n+Com_show_events\n+Com_show_fields\n+Com_show_function_code\n+Com_show_function_status\n+Com_show_grants\n+Com_show_keys\n+Com_show_master_status\n+Com_show_ndb_status\n+Com_show_new_master\n+Com_show_open_tables\n+Com_show_plugins\n+Com_show_privileges\n+Com_show_procedure_code\n+Com_show_procedure_status\n+Com_show_processlist\n+Com_show_profile\n+Com_show_profiles\n+Com_show_relaylog_events\n+Com_show_slave_hosts\n+Com_show_slave_status\n+Com_show_status\n+Com_show_storage_engines\n+Com_show_table_status\n+Com_show_tables\n+Com_show_triggers\n+Com_show_variables\n+Com_show_warnings\n+Com_signal\n+Com_slave_start\n+Com_slave_stop\n+Com_stmt_close\n+Com_stmt_execute\n+Com_stmt_fetch\n+Com_stmt_prepare\n+Com_stmt_reprepare\n+Com_stmt_reset\n+Com_stmt_send_long_data\n+Com_truncate\n+Com_uninstall_plugin\n+Com_unlock_tables\n+Com_update\n+Com_update_multi\n+Com_xa_commit\n+Com_xa_end\n+Com_xa_prepare\n+Com_xa_recover\n+Com_xa_rollback\n+Com_xa_start\n+Connection_errors_accept\n+Connection_errors_internal\n+Connection_errors_max_connections\n+Connection_errors_peer_addr\n+Connection_errors_select\n+Connection_errors_tcpwrap\n+Connections\n+Created_tmp_disk_tables\n+Created_tmp_files\n+Created_tmp_tables\n+Firewall_access_denied\n+Firewall_access_granted\n+Firewall_cached_entries\n+Flush_commands\n+Handler_commit\n+Handler_delete\n+Handler_discover\n+Handler_external_lock\n+Handler_mrr_init\n+Handler_prepare\n+Handler_read_first\n+Handler_read_key\n+Handler_read_last\n+Handler_read_next\n+Handler_read_prev\n+Handler_read_rnd\n+Handler_read_rnd_next\n+Handler_rollback\n+Handler_savepoint\n+Handler_savepoint_rollback\n+Handler_update\n+Handler_write\n+Innodb_buffer_pool_read_ahead\n+Innodb_buffer_pool_read_ahead_evicted\n+Innodb_buffer_pool_read_ahead_rnd\n+Innodb_buffer_pool_read_requests\n+Innodb_buffer_pool_reads\n+Innodb_buffer_pool_wait_free\n+Innodb_buffer_pool_write_requests\n+Innodb_data_fsyncs\n+Innodb_data_read\n+Innodb_data_reads\n+Innodb_data_writes\n+Innodb_data_written\n+Innodb_dblwr_pages_written\n+Innodb_dblwr_writes\n+Innodb_log_waits\n+Innodb_log_write_requests\n+Innodb_log_writes\n+Innodb_os_log_fsyncs\n+Innodb_os_log_written\n+Innodb_pages_created\n+Innodb_pages_read\n+Innodb_pages_written\n+Innodb_row_lock_time\n+Innodb_row_lock_waits\n+Innodb_rows_deleted\n+Innodb_rows_inserted\n+Innodb_rows_read\n+Innodb_rows_updated\n+Innodb_truncated_status_writes\n+Key_read_requests\n+Key_reads\n+Key_write_requests\n+Key_writes\n+Qcache_hits\n+Qcache_inserts\n+Qcache_lowmem_prunes\n+Qcache_not_cached\n+Queries\n+Questions\n+Select_full_join\n+Select_full_range_join\n+Select_range\n+Select_range_check\n+Select_scan\n+Slow_launch_threads\n+Slow_queries\n+Sort_merge_passes\n+Sort_range\n+Sort_rows\n+Sort_scan\n+Table_locks_immediate\n+Table_locks_waited\n+Table_open_cache_hits\n+Table_open_cache_misses\n+Table_open_cache_overflows\n+Tc_log_page_waits\n+)\n+\n+intervals = interval_keys.map do |key|\n+  [key, (status[key].to_i - old_status[key].to_i)]\n+end.to_h","path":"bin/cron/mysql-metrics","position":321,"original_position":321,"commit_id":"510faab04484e32ad975c8a71d3e02052679dd54","original_commit_id":"510faab04484e32ad975c8a71d3e02052679dd54","user":{"login":"wjordan","id":56541,"avatar_url":"https://avatars.githubusercontent.com/u/56541?v=3","gravatar_id":"","url":"https://api.github.com/users/wjordan","html_url":"https://github.com/wjordan","followers_url":"https://api.github.com/users/wjordan/followers","following_url":"https://api.github.com/users/wjordan/following{/other_user}","gists_url":"https://api.github.com/users/wjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/wjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjordan/subscriptions","organizations_url":"https://api.github.com/users/wjordan/orgs","repos_url":"https://api.github.com/users/wjordan/repos","events_url":"https://api.github.com/users/wjordan/events{/privacy}","received_events_url":"https://api.github.com/users/wjordan/received_events","type":"User","site_admin":false},"body":"`nil.to_i` is `0`, so any values not available will be marked as `0`. For now for the general case, I think a `0`-valued metric is close enough to a `nil` (not-reported) metric that we don't need to care too much about collapsing the difference. (and we can revisit if a specific case/issue arises)\r\n\r\nThe initial-interval data won't be recorded (thanks to the `exit 0 unless status[counter] && old_status[counter]` line). This could be optimized to report just the `constant` values (and not the `interval` values) on the initial run, but not necessary for the first pass at capturing these metrics for now.","created_at":"2016-11-28T20:56:07Z","updated_at":"2016-11-28T20:56:07Z","html_url":"https://github.com/code-dot-org/code-dot-org/pull/12140#discussion_r89882240","pull_request_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140","_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/89882240"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/12140#discussion_r89882240"},"pull_request":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140"}}},"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140","id":95555925,"html_url":"https://github.com/code-dot-org/code-dot-org/pull/12140","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/12140.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/12140.patch","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/12140","number":12140,"state":"closed","locked":false,"title":"Add mysql metrics to CloudWatch","user":{"login":"wjordan","id":56541,"avatar_url":"https://avatars.githubusercontent.com/u/56541?v=3","gravatar_id":"","url":"https://api.github.com/users/wjordan","html_url":"https://github.com/wjordan","followers_url":"https://api.github.com/users/wjordan/followers","following_url":"https://api.github.com/users/wjordan/following{/other_user}","gists_url":"https://api.github.com/users/wjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/wjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjordan/subscriptions","organizations_url":"https://api.github.com/users/wjordan/orgs","repos_url":"https://api.github.com/users/wjordan/repos","events_url":"https://api.github.com/users/wjordan/events{/privacy}","received_events_url":"https://api.github.com/users/wjordan/received_events","type":"User","site_admin":false},"body":"This will run `show global status` on our database connection, pushing relevant detailed MySQL metrics to CloudWatch every minute. From CloudWatch we can use these metrics to visualize time-series and correlate with other relevant operational metrics.","created_at":"2016-11-28T18:53:05Z","updated_at":"2016-11-28T20:56:07Z","closed_at":"2016-11-28T19:27:14Z","merged_at":"2016-11-28T19:27:14Z","merge_commit_sha":"012839376c3a24425f5b4c1dae2caff025962323","assignee":{"login":"ewjordan","id":70630,"avatar_url":"https://avatars.githubusercontent.com/u/70630?v=3","gravatar_id":"","url":"https://api.github.com/users/ewjordan","html_url":"https://github.com/ewjordan","followers_url":"https://api.github.com/users/ewjordan/followers","following_url":"https://api.github.com/users/ewjordan/following{/other_user}","gists_url":"https://api.github.com/users/ewjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/ewjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewjordan/subscriptions","organizations_url":"https://api.github.com/users/ewjordan/orgs","repos_url":"https://api.github.com/users/ewjordan/repos","events_url":"https://api.github.com/users/ewjordan/events{/privacy}","received_events_url":"https://api.github.com/users/ewjordan/received_events","type":"User","site_admin":false},"assignees":[{"login":"ewjordan","id":70630,"avatar_url":"https://avatars.githubusercontent.com/u/70630?v=3","gravatar_id":"","url":"https://api.github.com/users/ewjordan","html_url":"https://github.com/ewjordan","followers_url":"https://api.github.com/users/ewjordan/followers","following_url":"https://api.github.com/users/ewjordan/following{/other_user}","gists_url":"https://api.github.com/users/ewjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/ewjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewjordan/subscriptions","organizations_url":"https://api.github.com/users/ewjordan/orgs","repos_url":"https://api.github.com/users/ewjordan/repos","events_url":"https://api.github.com/users/ewjordan/events{/privacy}","received_events_url":"https://api.github.com/users/ewjordan/received_events","type":"User","site_admin":false},{"login":"ashercodeorg","id":14206260,"avatar_url":"https://avatars.githubusercontent.com/u/14206260?v=3","gravatar_id":"","url":"https://api.github.com/users/ashercodeorg","html_url":"https://github.com/ashercodeorg","followers_url":"https://api.github.com/users/ashercodeorg/followers","following_url":"https://api.github.com/users/ashercodeorg/following{/other_user}","gists_url":"https://api.github.com/users/ashercodeorg/gists{/gist_id}","starred_url":"https://api.github.com/users/ashercodeorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashercodeorg/subscriptions","organizations_url":"https://api.github.com/users/ashercodeorg/orgs","repos_url":"https://api.github.com/users/ashercodeorg/repos","events_url":"https://api.github.com/users/ashercodeorg/events{/privacy}","received_events_url":"https://api.github.com/users/ashercodeorg/received_events","type":"User","site_admin":false},{"login":"jeremydstone","id":19172895,"avatar_url":"https://avatars.githubusercontent.com/u/19172895?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremydstone","html_url":"https://github.com/jeremydstone","followers_url":"https://api.github.com/users/jeremydstone/followers","following_url":"https://api.github.com/users/jeremydstone/following{/other_user}","gists_url":"https://api.github.com/users/jeremydstone/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydstone/subscriptions","organizations_url":"https://api.github.com/users/jeremydstone/orgs","repos_url":"https://api.github.com/users/jeremydstone/repos","events_url":"https://api.github.com/users/jeremydstone/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydstone/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140/commits","review_comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140/comments","review_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/12140/comments","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/510faab04484e32ad975c8a71d3e02052679dd54","head":{"label":"code-dot-org:mysql-metrics","ref":"mysql-metrics","sha":"510faab04484e32ad975c8a71d3e02052679dd54","user":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"repo":{"id":24250009,"name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-dot-org/code-dot-org","description":"The code powering code.org and studio.code.org","fork":false,"url":"https://api.github.com/repos/code-dot-org/code-dot-org","forks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/forks","keys_url":"https://api.github.com/repos/code-dot-org/code-dot-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-dot-org/code-dot-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-dot-org/code-dot-org/teams","hooks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/hooks","issue_events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/events{/number}","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/events","assignees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/assignees{/user}","branches_url":"https://api.github.com/repos/code-dot-org/code-dot-org/branches{/branch}","tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/tags","blobs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/{sha}","languages_url":"https://api.github.com/repos/code-dot-org/code-dot-org/languages","stargazers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/stargazers","contributors_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contributors","subscribers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscribers","subscription_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscription","commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contents/{+path}","compare_url":"https://api.github.com/repos/code-dot-org/code-dot-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-dot-org/code-dot-org/merges","archive_url":"https://api.github.com/repos/code-dot-org/code-dot-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-dot-org/code-dot-org/downloads","issues_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues{/number}","pulls_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls{/number}","milestones_url":"https://api.github.com/repos/code-dot-org/code-dot-org/milestones{/number}","notifications_url":"https://api.github.com/repos/code-dot-org/code-dot-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/labels{/name}","releases_url":"https://api.github.com/repos/code-dot-org/code-dot-org/releases{/id}","deployments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/deployments","created_at":"2014-09-20T00:46:11Z","updated_at":"2016-11-28T11:13:44Z","pushed_at":"2016-11-28T20:47:09Z","git_url":"git://github.com/code-dot-org/code-dot-org.git","ssh_url":"git@github.com:code-dot-org/code-dot-org.git","clone_url":"https://github.com/code-dot-org/code-dot-org.git","svn_url":"https://github.com/code-dot-org/code-dot-org","homepage":"http://code.org","size":5277589,"stargazers_count":150,"watchers_count":150,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":77,"forks":97,"open_issues":77,"watchers":150,"default_branch":"staging"}},"base":{"label":"code-dot-org:staging","ref":"staging","sha":"d51ebfc5e74b97b125dcf1f9f49bf5707ccd9110","user":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"repo":{"id":24250009,"name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-dot-org/code-dot-org","description":"The code powering code.org and studio.code.org","fork":false,"url":"https://api.github.com/repos/code-dot-org/code-dot-org","forks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/forks","keys_url":"https://api.github.com/repos/code-dot-org/code-dot-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-dot-org/code-dot-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-dot-org/code-dot-org/teams","hooks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/hooks","issue_events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/events{/number}","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/events","assignees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/assignees{/user}","branches_url":"https://api.github.com/repos/code-dot-org/code-dot-org/branches{/branch}","tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/tags","blobs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/{sha}","languages_url":"https://api.github.com/repos/code-dot-org/code-dot-org/languages","stargazers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/stargazers","contributors_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contributors","subscribers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscribers","subscription_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscription","commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contents/{+path}","compare_url":"https://api.github.com/repos/code-dot-org/code-dot-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-dot-org/code-dot-org/merges","archive_url":"https://api.github.com/repos/code-dot-org/code-dot-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-dot-org/code-dot-org/downloads","issues_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues{/number}","pulls_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls{/number}","milestones_url":"https://api.github.com/repos/code-dot-org/code-dot-org/milestones{/number}","notifications_url":"https://api.github.com/repos/code-dot-org/code-dot-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/labels{/name}","releases_url":"https://api.github.com/repos/code-dot-org/code-dot-org/releases{/id}","deployments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/deployments","created_at":"2014-09-20T00:46:11Z","updated_at":"2016-11-28T11:13:44Z","pushed_at":"2016-11-28T20:47:09Z","git_url":"git://github.com/code-dot-org/code-dot-org.git","ssh_url":"git@github.com:code-dot-org/code-dot-org.git","clone_url":"https://github.com/code-dot-org/code-dot-org.git","svn_url":"https://github.com/code-dot-org/code-dot-org","homepage":"http://code.org","size":5277589,"stargazers_count":150,"watchers_count":150,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":77,"forks":97,"open_issues":77,"watchers":150,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/12140"},"issue":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/12140"},"comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/12140/comments"},"review_comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140/comments"},"review_comment":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/12140/commits"},"statuses":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/510faab04484e32ad975c8a71d3e02052679dd54"}}}}
{"actor":{"display_login":"wjordan"}}