CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 23 Jul 2025 15:39:20 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081227054241
location: https://web.archive.org/web/20081227054241/https://github.com/github/query_trace/tree
server-timing: captures_list;dur=0.678321, exclusion.robots;dur=0.023894, exclusion.robots.policy;dur=0.011244, esindex;dur=0.012049, cdx.remote;dur=91.120578, LoadShardBlock;dur=797.409079, PetaboxLoader3.datanode;dur=284.805930, PetaboxLoader3.resolve;dur=219.208647
x-app-server: wwwb-app212
x-ts: 302
x-tr: 945
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app212; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Wed, 23 Jul 2025 15:39:21 GMT
content-type: text/html; charset=utf-8
content-length: 114
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sat, 27 Dec 2008 05:42:40 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20081227054241/https://github.com/github/query_trace/tree/master
x-archive-orig-x-runtime: 188ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 114
cache-control: max-age=1800
memento-datetime: Sat, 27 Dec 2008 05:42:41 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 09 Jul 2008 02:17:55 GMT", ; rel="prev memento"; datetime="Wed, 09 Jul 2008 02:17:55 GMT", ; rel="memento"; datetime="Sat, 27 Dec 2008 05:42:41 GMT", ; rel="next memento"; datetime="Mon, 17 Aug 2009 18:40:16 GMT", ; rel="last memento"; datetime="Mon, 17 Aug 2009 18:40:16 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20081227010851_crawl107-c/52_7_20081227053815_crawl103.arc.gz
server-timing: captures_list;dur=0.756123, exclusion.robots;dur=0.028156, exclusion.robots.policy;dur=0.012848, esindex;dur=0.014129, cdx.remote;dur=50.312927, LoadShardBlock;dur=400.272501, PetaboxLoader3.datanode;dur=291.665836, PetaboxLoader3.resolve;dur=162.157976, load_resource;dur=196.604165
x-app-server: wwwb-app212
x-ts: 301
x-tr: 684
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 23 Jul 2025 15:39:21 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sat, 27 Dec 2008 05:42:41 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 739ms
x-archive-orig-etag: "bff24ebdcc37822f9f1936d8fe60e158"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 17242
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 27 Dec 2008 05:42:41 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 10 Oct 2008 18:50:12 GMT", ; rel="prev memento"; datetime="Fri, 10 Oct 2008 18:50:12 GMT", ; rel="memento"; datetime="Sat, 27 Dec 2008 05:42:41 GMT", ; rel="next memento"; datetime="Sun, 28 Dec 2008 14:18:35 GMT", ; rel="last memento"; datetime="Mon, 17 Aug 2009 18:40:16 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20081227010851_crawl107-c/52_7_20081227053815_crawl103.arc.gz
server-timing: captures_list;dur=0.650459, exclusion.robots;dur=0.026869, exclusion.robots.policy;dur=0.012238, esindex;dur=0.012482, cdx.remote;dur=73.357955, LoadShardBlock;dur=291.218712, PetaboxLoader3.datanode;dur=216.958988, PetaboxLoader3.resolve;dur=173.398558, load_resource;dur=111.240934
x-app-server: wwwb-app212
x-ts: 200
x-tr: 600
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
github's query_trace at master — GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of ntalbott/query_trace | |
Description: | Adds query origin tracing to your logs. |
Clone URL: |
git://github.com/github/query_trace.git
Give this clone URL to anyone.
git clone git://github.com/github/query_trace.git
|
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Wed May 17 08:34:15 -0700 2006 | Initial import. [nathaniel] |
![]() |
README | Tue Mar 25 13:20:20 -0700 2008 | Update README with current location(s). [ntalbott] |
![]() |
init.rb | Wed May 17 08:34:15 -0700 2006 | Initial import. [nathaniel] |
![]() |
lib/ | Mon Nov 05 12:57:18 -0800 2007 | Fixed for Ruby 1.8.6. Hopefully not therefore b... [ntalbott] |
README
= QueryTrace plugin for Rails It's nice that ActiveRecord logs the queries that are performed when your actions are executed, since it makes it easy to see when you have serious inefficiencies in your application. The next question, though, is always, "OK, so where are those being run from?" Before QueryTrace, that question could be a real pain to answer, since you'd have to go trawling through your code looking for the culprit. Once you have QueryTrace installed, though, your logs won't just tell you that you have a problem, they will pinpoint the location of that problem for you. == Usage All you have to do is have the plugin installed - QueryTrace takes care of the rest, including: * Only displaying when at the DEBUG log level * Honoring your log colorization settings == Example Before: Schedule Load (0.023687) SELECT * FROM schedules WHERE (schedules.id = 3) LIMIT 1 Resource Load (0.001076) SELECT * FROM resources WHERE (resources.id = 328) LIMIT 1 Schedule Load (0.011488) SELECT * FROM schedules WHERE (schedules.id = 3) LIMIT 1 Resource Load (0.022471) SELECT * FROM resources WHERE (resources.id = 328) LIMIT 1 After: Schedule Load (0.023687) SELECT * FROM schedules WHERE (schedules.id = 3) LIMIT 1 app/models/available_work.rb:50:in `study_method' app/helpers/plan_helper.rb:4:in `work_description' app/views/plan/_resource_schedule.rhtml:27:in `_run_rhtml_plan__resource_schedule' app/views/plan/_resource_schedule.rhtml:24:in `_run_rhtml_plan__resource_schedule' app/views/plan/_schedule_listing.rhtml:5:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:3:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:1:in `_run_rhtml_plan__schedule_listing' app/views/plan/index.rhtml:6:in `_run_rhtml_plan_index' vendor/plugins/textmate_footnotes/lib/textmate_footnotes.rb:60:in `render' Resource Load (0.001076) SELECT * FROM resources WHERE (resources.id = 328) LIMIT 1 app/models/available_work.rb:54:in `div_type' app/helpers/plan_helper.rb:6:in `work_description' app/views/plan/_resource_schedule.rhtml:27:in `_run_rhtml_plan__resource_schedule' app/views/plan/_resource_schedule.rhtml:24:in `_run_rhtml_plan__resource_schedule' app/views/plan/_schedule_listing.rhtml:5:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:3:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:1:in `_run_rhtml_plan__schedule_listing' app/views/plan/index.rhtml:6:in `_run_rhtml_plan_index' vendor/plugins/textmate_footnotes/lib/textmate_footnotes.rb:60:in `render' Schedule Load (0.011488) SELECT * FROM schedules WHERE (schedules.id = 3) LIMIT 1 app/models/available_work.rb:50:in `study_method' app/helpers/plan_helper.rb:4:in `work_description' app/views/plan/_resource_schedule.rhtml:27:in `_run_rhtml_plan__resource_schedule' app/views/plan/_resource_schedule.rhtml:24:in `_run_rhtml_plan__resource_schedule' app/views/plan/_schedule_listing.rhtml:5:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:3:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:1:in `_run_rhtml_plan__schedule_listing' app/views/plan/index.rhtml:6:in `_run_rhtml_plan_index' vendor/plugins/textmate_footnotes/lib/textmate_footnotes.rb:60:in `render' Resource Load (0.022471) SELECT * FROM resources WHERE (resources.id = 328) LIMIT 1 app/models/available_work.rb:54:in `div_type' app/helpers/plan_helper.rb:6:in `work_description' app/views/plan/_resource_schedule.rhtml:27:in `_run_rhtml_plan__resource_schedule' app/views/plan/_resource_schedule.rhtml:24:in `_run_rhtml_plan__resource_schedule' app/views/plan/_schedule_listing.rhtml:5:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:3:in `_run_rhtml_plan__schedule_listing' app/views/plan/_schedule_listing.rhtml:1:in `_run_rhtml_plan__schedule_listing' app/views/plan/index.rhtml:6:in `_run_rhtml_plan_index' vendor/plugins/textmate_footnotes/lib/textmate_footnotes.rb:60:in `render' == Additional Info Author: Nathaniel Talbott (for Terralien) Contact: nathaniel@talbott.ws License: MIT Home: https://github.com/ntalbott/query_trace/ Subversion mirror: https://terralien.devguard.com/svn/projects/plugins/query_trace Copyright (c) 2006 Nathaniel Talbott. All Rights Reserved.
This feature is coming soon. Sit tight!