{"action":"created","comment":{"url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/comments/365106676","pull_request_review_id":340993139,"id":365106676,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2NTEwNjY3Ng==","diff_hunk":"@@ -478,6 +490,44 @@ introspection system (available in Pyramid 1.3+ only).\n \n .. image:: introspection.png\n \n+.. _toolbar_settings:\n+\n+Toolbar Settings\n+----------------\n+\n+The :guilabel:`Settings` tab allows for realtime customization of the toolbar and its panels.\n+panels.\n+\n+.. seealso::\n+\n+   To display your Pyramid application's settings, see :ref:`panel_settings` [:guilabel:`Panels`].\n+\n+.. image:: toolbar_settings.png\n+\n+.. _toolbar_settings_performance:\n+\n+Performance Debug Panel\n+~~~~~~~~~~~~~~~~~~~~~~~\n+\n+An internal profiler can be enabled through the \"performance\" checkmark in the\n+`Settings` tab in the navigation bar. When the checkbox is green, the request\n+will be profiled and profiling information will be gathered and displayed on the\n+An internal profiler can be enabled under the :guilabel:`Settings` tab in the navigation bar.\n+Click the red :guilabel:`X` mark to enable the profiler.\n+When the mark is a green :guilabel:`check`, the request will be profiled and profiling information will be gathered and displayed on the :guilabel:`Performance` panel output.\n+See :ref:`panel_performance` [:guilabel:`Panels`].","path":"docs/index.rst","position":87,"original_position":87,"commit_id":"29638cb9462b24e088f3aac63564f35ed24a37b6","original_commit_id":"29638cb9462b24e088f3aac63564f35ed24a37b6","user":{"login":"stevepiercy","id":102112,"node_id":"MDQ6VXNlcjEwMjExMg==","avatar_url":"https://avatars1.githubusercontent.com/u/102112?v=4","gravatar_id":"","url":"https://api.github.com/users/stevepiercy","html_url":"https://github.com/stevepiercy","followers_url":"https://api.github.com/users/stevepiercy/followers","following_url":"https://api.github.com/users/stevepiercy/following{/other_user}","gists_url":"https://api.github.com/users/stevepiercy/gists{/gist_id}","starred_url":"https://api.github.com/users/stevepiercy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevepiercy/subscriptions","organizations_url":"https://api.github.com/users/stevepiercy/orgs","repos_url":"https://api.github.com/users/stevepiercy/repos","events_url":"https://api.github.com/users/stevepiercy/events{/privacy}","received_events_url":"https://api.github.com/users/stevepiercy/received_events","type":"User","site_admin":false},"body":"Misuse of `guilabel`.\r\n\r\n```suggestion\r\nSee :ref:`Performance panel <panel_performance>`.\r\n```","created_at":"2020-01-10T07:48:37Z","updated_at":"2020-01-10T07:56:35Z","html_url":"https://github.com/Pylons/pyramid_debugtoolbar/pull/358#discussion_r365106676","pull_request_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/comments/365106676"},"html":{"href":"https://github.com/Pylons/pyramid_debugtoolbar/pull/358#discussion_r365106676"},"pull_request":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358"}}},"pull_request":{"url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358","id":353045662,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUzMDQ1NjYy","html_url":"https://github.com/Pylons/pyramid_debugtoolbar/pull/358","diff_url":"https://github.com/Pylons/pyramid_debugtoolbar/pull/358.diff","patch_url":"https://github.com/Pylons/pyramid_debugtoolbar/pull/358.patch","issue_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/358","number":358,"state":"open","locked":false,"title":"adding js option to track hostname","user":{"login":"jvanasco","id":204779,"node_id":"MDQ6VXNlcjIwNDc3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/204779?v=4","gravatar_id":"","url":"https://api.github.com/users/jvanasco","html_url":"https://github.com/jvanasco","followers_url":"https://api.github.com/users/jvanasco/followers","following_url":"https://api.github.com/users/jvanasco/following{/other_user}","gists_url":"https://api.github.com/users/jvanasco/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanasco/subscriptions","organizations_url":"https://api.github.com/users/jvanasco/orgs","repos_url":"https://api.github.com/users/jvanasco/repos","events_url":"https://api.github.com/users/jvanasco/events{/privacy}","received_events_url":"https://api.github.com/users/jvanasco/received_events","type":"User","site_admin":false},"body":"This is a proposed feature to make the panel a little more useful when debugging multi-host applications.  \r\n\r\n1. The JSON payload about a route is extended to include the hostname\r\n2. A javascript toggle (default inactive) is offered to augment the `title` attribute of the sidebar elements with the hostname, which appears on mouseovers.\r\n\r\nIt has made my life a lot easier in a few situations.","created_at":"2019-12-13T19:48:53Z","updated_at":"2020-01-10T07:56:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c766121b29a0c206425e2d7df815cde6a076691","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358/commits","review_comments_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358/comments","review_comment_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/358/comments","statuses_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/statuses/29638cb9462b24e088f3aac63564f35ed24a37b6","head":{"label":"jvanasco:feature-host_information","ref":"feature-host_information","sha":"29638cb9462b24e088f3aac63564f35ed24a37b6","user":{"login":"jvanasco","id":204779,"node_id":"MDQ6VXNlcjIwNDc3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/204779?v=4","gravatar_id":"","url":"https://api.github.com/users/jvanasco","html_url":"https://github.com/jvanasco","followers_url":"https://api.github.com/users/jvanasco/followers","following_url":"https://api.github.com/users/jvanasco/following{/other_user}","gists_url":"https://api.github.com/users/jvanasco/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanasco/subscriptions","organizations_url":"https://api.github.com/users/jvanasco/orgs","repos_url":"https://api.github.com/users/jvanasco/repos","events_url":"https://api.github.com/users/jvanasco/events{/privacy}","received_events_url":"https://api.github.com/users/jvanasco/received_events","type":"User","site_admin":false},"repo":{"id":25370415,"node_id":"MDEwOlJlcG9zaXRvcnkyNTM3MDQxNQ==","name":"pyramid_debugtoolbar","full_name":"jvanasco/pyramid_debugtoolbar","private":false,"owner":{"login":"jvanasco","id":204779,"node_id":"MDQ6VXNlcjIwNDc3OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/204779?v=4","gravatar_id":"","url":"https://api.github.com/users/jvanasco","html_url":"https://github.com/jvanasco","followers_url":"https://api.github.com/users/jvanasco/followers","following_url":"https://api.github.com/users/jvanasco/following{/other_user}","gists_url":"https://api.github.com/users/jvanasco/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanasco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanasco/subscriptions","organizations_url":"https://api.github.com/users/jvanasco/orgs","repos_url":"https://api.github.com/users/jvanasco/repos","events_url":"https://api.github.com/users/jvanasco/events{/privacy}","received_events_url":"https://api.github.com/users/jvanasco/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jvanasco/pyramid_debugtoolbar","description":"Pyramid debug toolbar","fork":true,"url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar","forks_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/forks","keys_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/teams","hooks_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/hooks","issue_events_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/issues/events{/number}","events_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/events","assignees_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/assignees{/user}","branches_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/branches{/branch}","tags_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/tags","blobs_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/statuses/{sha}","languages_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/languages","stargazers_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/stargazers","contributors_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/contributors","subscribers_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/subscribers","subscription_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/subscription","commits_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/contents/{+path}","compare_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/merges","archive_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/downloads","issues_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/issues{/number}","pulls_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/pulls{/number}","milestones_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/milestones{/number}","notifications_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/labels{/name}","releases_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/releases{/id}","deployments_url":"https://api.github.com/repos/jvanasco/pyramid_debugtoolbar/deployments","created_at":"2014-10-17T17:59:55Z","updated_at":"2019-12-13T18:32:09Z","pushed_at":"2020-01-09T21:05:19Z","git_url":"git://github.com/jvanasco/pyramid_debugtoolbar.git","ssh_url":"git@github.com:jvanasco/pyramid_debugtoolbar.git","clone_url":"https://github.com/jvanasco/pyramid_debugtoolbar.git","svn_url":"https://github.com/jvanasco/pyramid_debugtoolbar","homepage":"","size":8296,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Pylons:master","ref":"master","sha":"130119512c07acb4178c6555f1ef073c85b39c06","user":{"login":"Pylons","id":452227,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MjIyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/452227?v=4","gravatar_id":"","url":"https://api.github.com/users/Pylons","html_url":"https://github.com/Pylons","followers_url":"https://api.github.com/users/Pylons/followers","following_url":"https://api.github.com/users/Pylons/following{/other_user}","gists_url":"https://api.github.com/users/Pylons/gists{/gist_id}","starred_url":"https://api.github.com/users/Pylons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pylons/subscriptions","organizations_url":"https://api.github.com/users/Pylons/orgs","repos_url":"https://api.github.com/users/Pylons/repos","events_url":"https://api.github.com/users/Pylons/events{/privacy}","received_events_url":"https://api.github.com/users/Pylons/received_events","type":"Organization","site_admin":false},"repo":{"id":2091724,"node_id":"MDEwOlJlcG9zaXRvcnkyMDkxNzI0","name":"pyramid_debugtoolbar","full_name":"Pylons/pyramid_debugtoolbar","private":false,"owner":{"login":"Pylons","id":452227,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MjIyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/452227?v=4","gravatar_id":"","url":"https://api.github.com/users/Pylons","html_url":"https://github.com/Pylons","followers_url":"https://api.github.com/users/Pylons/followers","following_url":"https://api.github.com/users/Pylons/following{/other_user}","gists_url":"https://api.github.com/users/Pylons/gists{/gist_id}","starred_url":"https://api.github.com/users/Pylons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pylons/subscriptions","organizations_url":"https://api.github.com/users/Pylons/orgs","repos_url":"https://api.github.com/users/Pylons/repos","events_url":"https://api.github.com/users/Pylons/events{/privacy}","received_events_url":"https://api.github.com/users/Pylons/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Pylons/pyramid_debugtoolbar","description":"Pyramid debug toolbar","fork":false,"url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar","forks_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/forks","keys_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/teams","hooks_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/hooks","issue_events_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/events{/number}","events_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/events","assignees_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/assignees{/user}","branches_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/branches{/branch}","tags_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/tags","blobs_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/statuses/{sha}","languages_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/languages","stargazers_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/stargazers","contributors_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/contributors","subscribers_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/subscribers","subscription_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/subscription","commits_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/contents/{+path}","compare_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/merges","archive_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/downloads","issues_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues{/number}","pulls_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls{/number}","milestones_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/milestones{/number}","notifications_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/labels{/name}","releases_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/releases{/id}","deployments_url":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/deployments","created_at":"2011-07-23T02:21:03Z","updated_at":"2020-01-07T08:42:08Z","pushed_at":"2020-01-09T21:05:21Z","git_url":"git://github.com/Pylons/pyramid_debugtoolbar.git","ssh_url":"git@github.com:Pylons/pyramid_debugtoolbar.git","clone_url":"https://github.com/Pylons/pyramid_debugtoolbar.git","svn_url":"https://github.com/Pylons/pyramid_debugtoolbar","homepage":"https://docs.pylonsproject.org/projects/pyramid-debugtoolbar/en/latest/","size":7998,"stargazers_count":93,"watchers_count":93,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":45,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":72,"open_issues":45,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358"},"html":{"href":"https://github.com/Pylons/pyramid_debugtoolbar/pull/358"},"issue":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/358"},"comments":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/Pylons/pyramid_debugtoolbar/statuses/29638cb9462b24e088f3aac63564f35ed24a37b6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"stevepiercy"}}