brontes3d-production_log_analyzer 2009022403
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +34 -0
- data/LICENSE.txt +27 -0
- data/Manifest.txt +18 -0
- data/README.txt +147 -0
- data/Rakefile +17 -0
- data/bin/action_errors +46 -0
- data/bin/action_grep +19 -0
- data/bin/pl_analyze +36 -0
- data/lib/passenger_log_per_proc.rb +55 -0
- data/lib/production_log/action_grep.rb +41 -0
- data/lib/production_log/analyzer.rb +416 -0
- data/lib/production_log/parser.rb +228 -0
- data/test/test_action_grep.rb +72 -0
- data/test/test_analyzer.rb +425 -0
- data/test/test_helper.rb +68 -0
- data/test/test_parser.rb +420 -0
- data/test/test_passenger_log_per_proc.rb +88 -0
- data/test/test_syslogs/test.syslog.0.14.x.log +4 -0
- data/test/test_syslogs/test.syslog.1.2.shortname.log +4 -0
- data/test/test_syslogs/test.syslog.empty.log +0 -0
- data/test/test_syslogs/test.syslog.log +256 -0
- data/test/test_vanilla/test.0.14.x.log +4 -0
- data/test/test_vanilla/test.1.2.shortname.log +4 -0
- data/test/test_vanilla/test.empty.log +0 -0
- data/test/test_vanilla/test.log +255 -0
- data/test/test_vanilla/test_log_parts/1_online1-rails-59600.log +7 -0
- data/test/test_vanilla/test_log_parts/2_online2-rails-59628.log +11 -0
- data/test/test_vanilla/test_log_parts/3_online1-rails-59628.log +9 -0
- data/test/test_vanilla/test_log_parts/4_online1-rails-59645.log +30 -0
- data/test/test_vanilla/test_log_parts/5_online1-rails-59629.log +38 -0
- data/test/test_vanilla/test_log_parts/6_online1-rails-60654.log +32 -0
- data/test/test_vanilla/test_log_parts/7_online1-rails-59627.log +70 -0
- data/test/test_vanilla/test_log_parts/8_online1-rails-59635.log +58 -0
- metadata +113 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
Goal Load (0.002112) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 59133 ORDER BY score DESC LIMIT 3
|
2
|
+
Tag Load (0.001527) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 59133 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
3
|
+
Rendering things/view within layouts/default
|
4
|
+
Person Load (0.001884) SELECT * FROM people WHERE id = 10519 LIMIT 1
|
5
|
+
Person Load (0.001159) SELECT * FROM people WHERE id = 10519 LIMIT 1
|
6
|
+
Rendering layouts/default (200 OK)
|
7
|
+
Completed in 0.300741 (3 reqs/sec) | Rendering: 0.049924 (16%) | DB: 0.092428 (30%)
|
@@ -0,0 +1,11 @@
|
|
1
|
+
-> vsize: 83628032 rssize: 79933440 runtime: 1151489566)
|
2
|
+
Processing RssController#uber (for 67.18.200.5 at Mon Mar 07 00:00:25 CST 2005)
|
3
|
+
Parameters: {:id=>"author", :"rss/uber/author.html/uber/author"=>nil, :action=>"uber", :username=>"looch", :controller=>"rss"}
|
4
|
+
Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
5
|
+
Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
6
|
+
Browser Load (0.003963) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
7
|
+
Person Load (0.002445) SELECT * FROM people WHERE username = 'looch' AND active = '1' LIMIT 1
|
8
|
+
ProfileImage Load (0.001554) SELECT * FROM profile_images WHERE id = 2782 LIMIT 1
|
9
|
+
Rendering rss/rss2.0 (200 OK)
|
10
|
+
Completed in 0.034519 (28 reqs/sec) | Rendering: 0.011770 (34%) | DB: 0.007962 (23%)
|
11
|
+
<- vsize: 83628032 rssize: 79933440 runtime: 1151487080
|
@@ -0,0 +1,9 @@
|
|
1
|
+
Processing RssController#uber (for 67.18.200.5 at Mon Mar 07 00:00:25 CST 2005)
|
2
|
+
Parameters: {:id=>"author", :"rss/uber/author.html/uber/author"=>nil, :action=>"uber", :username=>"looch", :controller=>"rss"}
|
3
|
+
Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
4
|
+
Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:25 GMT
|
5
|
+
Browser Load (0.003963) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
6
|
+
Person Load (0.002445) SELECT * FROM people WHERE username = 'looch' AND active = '1' LIMIT 1
|
7
|
+
ProfileImage Load (0.001554) SELECT * FROM profile_images WHERE id = 2782 LIMIT 1
|
8
|
+
Rendering rss/rss2.0 (200 OK)
|
9
|
+
Completed in 0.034519 (28 reqs/sec) | Rendering: 0.011770 (34%) | DB: 0.007962 (23%)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
Processing ThingsController#view (for 67.18.200.5 at Mon Mar 07 00:00:27 CST 2005)
|
2
|
+
Parameters: {:id=>"11891", :"things/view/11891.html/view/11891"=>nil, :action=>"view", :controller=>"things"}
|
3
|
+
Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:27 GMT
|
4
|
+
Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:27 GMT
|
5
|
+
Browser Load (0.001425) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
6
|
+
Goal Load (0.001303) SELECT * FROM goals WHERE id = '11891' LIMIT 1
|
7
|
+
TeamMember Load (0.002593) SELECT * FROM team_members WHERE goal_id = 11891 AND active_member = 1 AND goal_is_complete = 1 AND goal_is_complete = '1' ORDER BY num_entries DESC, updated_date DESC LIMIT 3
|
8
|
+
TeamMember Load (0.070738) SELECT * FROM team_members WHERE goal_id = 11891 AND active_member = 1 AND goal_is_complete = 0 AND goal_is_complete = '0' ORDER BY num_entries DESC, updated_date DESC LIMIT 10
|
9
|
+
Entry Load (0.003074) SELECT e.* FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 11891 AND e.active = 1 ORDER BY e.id DESC LIMIT 10
|
10
|
+
Entry Count (0.000956) SELECT count(*) as num_entries FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 11891 AND e.active = 1 AND e.active = 1
|
11
|
+
TeamMember Count (0.000993) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 11891
|
12
|
+
TeamMember Count (0.000878) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 11891
|
13
|
+
TeamMember Count (0.000878) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 11891
|
14
|
+
Goal Load (0.002212) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 11891 ORDER BY score DESC LIMIT 3
|
15
|
+
Tag Load (0.002522) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 11891 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
16
|
+
Rendering things/view within layouts/default
|
17
|
+
Person Load (0.018285) SELECT * FROM people WHERE id = 2526 LIMIT 1
|
18
|
+
Person Load (0.001736) SELECT * FROM people WHERE id = 6627 LIMIT 1
|
19
|
+
Person Load (0.001611) SELECT * FROM people WHERE id = 11889 LIMIT 1
|
20
|
+
Person Load (0.001879) SELECT * FROM people WHERE id = 12472 LIMIT 1
|
21
|
+
ProfileImage Load (0.001176) SELECT * FROM profile_images WHERE id = 6024 LIMIT 1
|
22
|
+
City Load (0.001226) SELECT * FROM cities WHERE id = 43 LIMIT 1
|
23
|
+
Person Load (0.001712) SELECT * FROM people WHERE id = 2576 LIMIT 1
|
24
|
+
ProfileImage Load (0.001464) SELECT * FROM profile_images WHERE id = 1579 LIMIT 1
|
25
|
+
City Load (0.001098) SELECT * FROM cities WHERE id = 409 LIMIT 1
|
26
|
+
Person Load (0.001300) SELECT * FROM people WHERE id = 2526 LIMIT 1
|
27
|
+
ProfileImage Load (0.001536) SELECT * FROM profile_images WHERE id = 1234 LIMIT 1
|
28
|
+
Person Load (0.001562) SELECT * FROM people WHERE id = 6627 LIMIT 1
|
29
|
+
Rendering layouts/default (200 OK)
|
30
|
+
Completed in 0.396183 (2 reqs/sec) | Rendering: 0.107987 (27%) | DB: 0.122158 (30%)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
Processing PeopleController#view (for 67.18.200.5 at Mon Mar 07 00:00:28 CST 2005)
|
2
|
+
Parameters: {:id=>"denstat", :action=>"view", :controller=>"people", :"people/view/denstat.html/view/denstat"=>nil}
|
3
|
+
Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:28 GMT
|
4
|
+
Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:28 GMT
|
5
|
+
Browser Load (0.003869) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
6
|
+
Person Load (0.088823) SELECT * FROM people WHERE username = 'denstat' AND active = '1' LIMIT 1
|
7
|
+
ProfileImage Load (0.001174) SELECT * FROM profile_images WHERE id = 2031 LIMIT 1
|
8
|
+
TeamMember Load (0.004332) SELECT * FROM team_members WHERE person_id = 2693 AND active_member = '1'
|
9
|
+
Goal Load (0.010591) SELECT g.* FROM goals g, team_members tm WHERE g.id = tm.goal_id AND tm.person_id = 2693 AND tm.active_member <> 0
|
10
|
+
Team Load (0.005076) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = 0 AND active_member != 0 AND tm.person_id = 2693 ORDER BY sort_order, tm.joined_date
|
11
|
+
Team Load (0.003954) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = '1' AND active_member != '0' AND tm.person_id = 2693 ORDER BY tm.updated_date DESC LIMIT 10
|
12
|
+
Entry Load (0.010843) SELECT e.* FROM entries e, team_members tm, (SELECT team_id, max(id) recent_id FROM entries WHERE active <> 0 AND person_id = 2693 GROUP BY team_id) recent_entries WHERE e.id = recent_entries.recent_id AND tm.person_id = e.person_id AND tm.team_id = e.team_id AND tm.active_member <> 0
|
13
|
+
Rendering people/view within layouts/default
|
14
|
+
ProfileImage Load (0.001088) SELECT * FROM profile_images WHERE id = 2031 LIMIT 1
|
15
|
+
City Load (0.000689) SELECT * FROM cities WHERE id = 1170 LIMIT 1
|
16
|
+
Team Load (0.001622) SELECT * FROM teams WHERE id = 132991 LIMIT 1
|
17
|
+
Team Load (0.001059) SELECT * FROM teams WHERE id = 132980 LIMIT 1
|
18
|
+
Team Load (0.001117) SELECT * FROM teams WHERE id = 129534 LIMIT 1
|
19
|
+
Team Load (0.001104) SELECT * FROM teams WHERE id = 126799 LIMIT 1
|
20
|
+
Team Load (0.015325) SELECT * FROM teams WHERE id = 124130 LIMIT 1
|
21
|
+
Team Load (0.001067) SELECT * FROM teams WHERE id = 121991 LIMIT 1
|
22
|
+
Team Load (0.001169) SELECT * FROM teams WHERE id = 121978 LIMIT 1
|
23
|
+
Team Load (0.001264) SELECT * FROM teams WHERE id = 121976 LIMIT 1
|
24
|
+
Team Load (0.001131) SELECT * FROM teams WHERE id = 121971 LIMIT 1
|
25
|
+
Team Load (0.000970) SELECT * FROM teams WHERE id = 121967 LIMIT 1
|
26
|
+
Team Load (0.001507) SELECT * FROM teams WHERE id = 121868 LIMIT 1
|
27
|
+
Team Load (0.075690) SELECT * FROM teams WHERE id = 69373 LIMIT 1
|
28
|
+
Team Load (0.201582) SELECT * FROM teams WHERE id = 69343 LIMIT 1
|
29
|
+
Team Load (0.001294) SELECT * FROM teams WHERE id = 65942 LIMIT 1
|
30
|
+
Team Load (0.013834) SELECT * FROM teams WHERE id = 65932 LIMIT 1
|
31
|
+
Team Load (0.001222) SELECT * FROM teams WHERE id = 27367 LIMIT 1
|
32
|
+
Team Load (0.004668) SELECT * FROM teams WHERE id = 42378 LIMIT 1
|
33
|
+
Team Load (0.001271) SELECT * FROM teams WHERE id = 27314 LIMIT 1
|
34
|
+
Team Load (0.009752) SELECT * FROM teams WHERE id = 27306 LIMIT 1
|
35
|
+
TeamMember Count (0.001410) SELECT COUNT(*) FROM team_members WHERE active_member = 1 and goal_is_complete = 1 and person_id = 2693
|
36
|
+
Person Load (0.017762) SELECT p.*, count(*) as num_teams_in_common FROM people p, team_members tms, team_members tmp WHERE tmp.person_id = p.id AND tms.team_id = tmp.team_id AND tms.person_id = 2693 AND tms.active_member <> 0 AND tms.goal_is_complete = 0 AND tmp.person_id <> 2693 AND tmp.active_member <> 0 AND tmp.goal_is_complete = 0 GROUP BY p.id ORDER BY num_teams_in_common DESC, p.last_name
|
37
|
+
Rendering layouts/default (200 OK)
|
38
|
+
Completed in 1.102098 (0 reqs/sec) | Rendering: 0.695476 (63%) | DB: 0.486258 (44%)
|
@@ -0,0 +1,32 @@
|
|
1
|
+
Processing TeamsController#progress (for 220.255.60.111; 165.21.154.137 at Mon Mar 07 00:00:29 CST 2005)
|
2
|
+
Parameters: {:id=>"35926", :action=>"progress", :"teams/progress/35926.html/progress/35926"=>nil, :controller=>"teams"}
|
3
|
+
Browser Load (0.204679) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
4
|
+
Team Load (0.001341) SELECT * FROM teams WHERE id = '35926' LIMIT 1
|
5
|
+
Entry Load (0.122496) SELECT * FROM entries WHERE team_id = 35926 AND active = 1
|
6
|
+
TeamMember Load (0.001972) SELECT * FROM team_members WHERE team_id = 35926 AND active_member = 1
|
7
|
+
Person Load (0.004097) SELECT * FROM people WHERE id = 3357 LIMIT 1
|
8
|
+
Redirected to http://www.43things.com/people/progress/swirlygirl/35926
|
9
|
+
Goal Load (0.001213) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
10
|
+
Goal Load (0.002178) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 225 ORDER BY score DESC LIMIT 3
|
11
|
+
TeamMember Count (0.558625) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
12
|
+
TeamMember Count (0.135848) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
13
|
+
TeamMember Count (0.111128) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
14
|
+
Completed in 1.469788 (0 reqs/sec) | DB: 1.143577 (77%)
|
15
|
+
Processing PeopleController#view (for 67.18.200.5 at Mon Mar 07 00:00:31 CST 2005)
|
16
|
+
Parameters: {:id=>"elizabeth", :action=>"view", :"people/view/elizabeth.html/view/elizabeth"=>nil, :controller=>"people"}
|
17
|
+
Person Load (0.012043) SELECT * FROM people WHERE id = 2077 LIMIT 1
|
18
|
+
Person Load (0.005866) SELECT * FROM people WHERE username = 'elizabeth' AND active = '1' LIMIT 1
|
19
|
+
ProfileImage Load (0.007170) SELECT * FROM profile_images WHERE id = 2153 LIMIT 1
|
20
|
+
TeamMember Load (0.011367) SELECT * FROM team_members WHERE person_id = 4042 AND active_member = '1'
|
21
|
+
Goal Load (0.007064) SELECT g.* FROM goals g, team_members tm WHERE g.id = tm.goal_id AND tm.person_id = 4042 AND tm.active_member <> 0
|
22
|
+
Team Load (0.007723) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = 0 AND active_member != 0 AND tm.person_id = 4042 ORDER BY sort_order, tm.joined_date
|
23
|
+
Team Load (0.007425) SELECT t.* FROM teams t, team_members tm WHERE t.id = tm.team_id AND goal_is_complete = '1' AND active_member != '0' AND tm.person_id = 4042 ORDER BY tm.updated_date DESC LIMIT 10
|
24
|
+
Entry Load (0.005561) SELECT e.* FROM entries e, team_members tm, (SELECT team_id, max(id) recent_id FROM entries WHERE active <> 0 AND person_id = 4042 GROUP BY team_id) recent_entries WHERE e.id = recent_entries.recent_id AND tm.person_id = e.person_id AND tm.team_id = e.team_id AND tm.active_member <> 0
|
25
|
+
Rendering people/view within layouts/default
|
26
|
+
FlickrPhoto Load (0.001567) SELECT * FROM flickr_photos WHERE person_id = 4042
|
27
|
+
ProfileImage Load (0.013853) SELECT * FROM profile_images WHERE id = 2153 LIMIT 1
|
28
|
+
City Load (0.000694) SELECT * FROM cities WHERE id = 5 LIMIT 1
|
29
|
+
TeamMember Count (0.006965) SELECT COUNT(*) FROM team_members WHERE active_member = 1 and goal_is_complete = 1 and person_id = 4042
|
30
|
+
Person Load (0.101821) SELECT p.*, count(*) as num_teams_in_common FROM people p, team_members tms, team_members tmp WHERE tmp.person_id = p.id AND tms.team_id = tmp.team_id AND tms.person_id = 4042 AND tms.active_member <> 0 AND tms.goal_is_complete = 0 AND tmp.person_id <> 4042 AND tmp.active_member <> 0 AND tmp.goal_is_complete = 0 GROUP BY p.id ORDER BY num_teams_in_common DESC, p.last_name
|
31
|
+
Rendering layouts/default (200 OK)
|
32
|
+
Completed in 0.360210 (2 reqs/sec) | Rendering: 0.277921 (77%) | DB: 0.189119 (52%)
|
@@ -0,0 +1,70 @@
|
|
1
|
+
Processing ThingsController#view (for 67.18.200.5 at Mon Mar 07 00:00:29 CST 2005)
|
2
|
+
Parameters: {:id=>"19986", :action=>"view", :"things/view/19986.html/view/19986"=>nil, :controller=>"things"}
|
3
|
+
Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
4
|
+
Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
5
|
+
Browser Load (0.028144) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
6
|
+
Goal Load (0.001371) SELECT * FROM goals WHERE id = '19986' LIMIT 1
|
7
|
+
TeamMember Load (0.014705) SELECT * FROM team_members WHERE goal_id = 19986 AND active_member = 1 AND goal_is_complete = 1 AND goal_is_complete = '1' ORDER BY num_entries DESC, updated_date DESC LIMIT 3
|
8
|
+
TeamMember Load (0.002019) SELECT * FROM team_members WHERE goal_id = 19986 AND active_member = 1 AND goal_is_complete = 0 AND goal_is_complete = '0' ORDER BY num_entries DESC, updated_date DESC LIMIT 10
|
9
|
+
Entry Load (0.005880) SELECT e.* FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 19986 AND e.active = 1 ORDER BY e.id DESC LIMIT 10
|
10
|
+
Entry Count (0.001063) SELECT count(*) as num_entries FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 19986 AND e.active = 1 AND e.active = 1
|
11
|
+
TeamMember Count (0.015829) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 19986
|
12
|
+
TeamMember Count (0.000884) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 19986
|
13
|
+
TeamMember Count (0.000809) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 19986
|
14
|
+
Goal Load (0.002577) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 19986 ORDER BY score DESC LIMIT 3
|
15
|
+
Tag Load (0.002195) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 19986 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
16
|
+
Rendering things/view within layouts/default
|
17
|
+
Person Load (0.002223) SELECT * FROM people WHERE id = 1694 LIMIT 1
|
18
|
+
Person Load (0.090841) SELECT * FROM people WHERE id = 4350 LIMIT 1
|
19
|
+
ProfileImage Load (0.001119) SELECT * FROM profile_images WHERE id = 2322 LIMIT 1
|
20
|
+
City Load (0.000659) SELECT * FROM cities WHERE id = 819 LIMIT 1
|
21
|
+
Person Load (0.001279) SELECT * FROM people WHERE id = 1694 LIMIT 1
|
22
|
+
ProfileImage Load (0.001170) SELECT * FROM profile_images WHERE id = 1945 LIMIT 1
|
23
|
+
Rendering layouts/default (200 OK)
|
24
|
+
Completed in 0.491760 (2 reqs/sec) | Rendering: 0.197126 (40%) | DB: 0.172767 (35%)
|
25
|
+
Processing PeopleController#progress (for 220.255.60.111; 165.21.154.158 at Mon Mar 07 00:00:30 CST 2005)
|
26
|
+
Parameters: {:id=>"swirlygirl", :on=>"35926", :action=>"progress", :"people/progress/swirlygirl/35926.html/progress/swirlygirl/35926"=>nil, :controller=>"people"}
|
27
|
+
Browser Load (0.000760) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
28
|
+
Person Load (0.001974) SELECT * FROM people WHERE username = 'swirlygirl' LIMIT 1
|
29
|
+
Team Load (0.001060) SELECT * FROM teams WHERE id = '35926' LIMIT 1
|
30
|
+
TeamMember Load (0.001061) SELECT * FROM team_members WHERE team_id = 35926 AND active_member = 1
|
31
|
+
Entry Load (0.004121) SELECT * FROM entries WHERE team_id = 35926 AND person_id = 3357 AND active = 1 ORDER BY created_date DESC LIMIT 0, 20
|
32
|
+
Tag Load (0.001446) SELECT t.*, j.* FROM tags_teams j, tags t WHERE t.id = j.tag_id AND j.team_id = 35926 ORDER BY t.id
|
33
|
+
Goal Load (0.000904) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
34
|
+
Tag Load (0.162564) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 225 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
35
|
+
Goal Load (0.002303) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 225 ORDER BY score DESC LIMIT 3
|
36
|
+
TeamMember Count (0.000653) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
37
|
+
TeamMember Count (0.000800) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
38
|
+
TeamMember Count (0.014575) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
39
|
+
TeamMember Load (0.116729) SELECT * FROM team_members WHERE goal_id = 225 AND active_member = 1 AND goal_is_complete = 1 AND person_id <> '3357' ORDER BY updated_date DESC LIMIT 3
|
40
|
+
Rendering people/progress within layouts/default
|
41
|
+
ProfileImage Load (0.021914) SELECT * FROM profile_images WHERE id = 1770 LIMIT 1
|
42
|
+
Person Load (0.001863) SELECT * FROM people WHERE id = 6731 LIMIT 1
|
43
|
+
ProfileImage Load (0.090583) SELECT * FROM profile_images WHERE id = 6434 LIMIT 1
|
44
|
+
Team Load (0.001336) SELECT * FROM teams WHERE id = 79140 LIMIT 1
|
45
|
+
Person Load (0.001677) SELECT * FROM people WHERE id = 660 LIMIT 1
|
46
|
+
ProfileImage Load (0.001106) SELECT * FROM profile_images WHERE id = 370 LIMIT 1
|
47
|
+
Team Load (0.001231) SELECT * FROM teams WHERE id = 15523 LIMIT 1
|
48
|
+
Person Load (0.001581) SELECT * FROM people WHERE id = 1900 LIMIT 1
|
49
|
+
ProfileImage Load (0.001111) SELECT * FROM profile_images WHERE id = 3207 LIMIT 1
|
50
|
+
Team Load (0.001221) SELECT * FROM teams WHERE id = 37202 LIMIT 1
|
51
|
+
TeamMember Load (0.379744) SELECT * FROM team_members WHERE goal_id = 225 AND active_member = 1 AND goal_is_complete = 1
|
52
|
+
Goal Load (0.005007) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
53
|
+
Cheer Load (0.004291) SELECT * FROM cheers WHERE entity_id = 36073 AND entity_type_id = 4
|
54
|
+
Person Load (0.008794) SELECT * FROM people WHERE id = 3357 LIMIT 1
|
55
|
+
Rendering layouts/default (200 OK)
|
56
|
+
Completed in 0.977398 (1 reqs/sec) | Rendering: 0.604444 (61%) | DB: 0.830409 (84%)
|
57
|
+
Processing TeamsController#progress (for 220.255.60.111; 165.21.154.137 at Mon Mar 07 00:00:32 CST 2005)
|
58
|
+
Parameters: {:id=>"35926", :action=>"progress", :"teams/progress/35926.html/progress/35926"=>nil, :controller=>"teams"}
|
59
|
+
Browser Load (0.001007) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
60
|
+
Team Load (0.000973) SELECT * FROM teams WHERE id = '35926' LIMIT 1
|
61
|
+
Entry Load (0.001138) SELECT * FROM entries WHERE team_id = 35926 AND active = 1
|
62
|
+
TeamMember Load (0.001781) SELECT * FROM team_members WHERE team_id = 35926 AND active_member = 1
|
63
|
+
Person Load (0.030966) SELECT * FROM people WHERE id = 3357 LIMIT 1
|
64
|
+
Redirected to http://www.43things.com/people/progress/swirlygirl/35926
|
65
|
+
Goal Load (0.000835) SELECT * FROM goals WHERE id = 225 LIMIT 1
|
66
|
+
Goal Load (0.009688) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 225 ORDER BY score DESC LIMIT 3
|
67
|
+
TeamMember Count (0.007285) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
68
|
+
TeamMember Count (0.095106) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
69
|
+
TeamMember Count (0.000578) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 225
|
70
|
+
Completed in 0.211973 (4 reqs/sec) | DB: 0.149357 (70%)
|
@@ -0,0 +1,58 @@
|
|
1
|
+
Processing ThingsController#view (for 67.18.200.5 at Mon Mar 07 00:00:29 CST 2005)
|
2
|
+
Parameters: {:id=>"9794", :action=>"view", :"things/view/9794.html/view/9794"=>nil, :controller=>"things"}
|
3
|
+
Cookie set: auth=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
4
|
+
Cookie set: ubid=STUFF; path=/; expires=Thu, 05 Mar 2015 06:00:29 GMT
|
5
|
+
Browser Load (0.001218) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
6
|
+
Goal Load (0.001052) SELECT * FROM goals WHERE id = '9794' LIMIT 1
|
7
|
+
TeamMember Load (0.102165) SELECT * FROM team_members WHERE goal_id = 9794 AND active_member = 1 AND goal_is_complete = 1 AND goal_is_complete = '1' ORDER BY num_entries DESC, updated_date DESC LIMIT 3
|
8
|
+
TeamMember Load (0.002217) SELECT * FROM team_members WHERE goal_id = 9794 AND active_member = 1 AND goal_is_complete = 0 AND goal_is_complete = '0' ORDER BY num_entries DESC, updated_date DESC LIMIT 10
|
9
|
+
Entry Load (0.004002) SELECT e.* FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 9794 AND e.active = 1 ORDER BY e.id DESC LIMIT 10
|
10
|
+
Entry Count (0.001231) SELECT count(*) as num_entries FROM entries e, teams t WHERE e.team_id = t.id AND t.goal_id = 9794 AND e.active = 1 AND e.active = 1
|
11
|
+
TeamMember Count (0.001088) SELECT count(*) as count FROM team_members WHERE worth_it = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 9794
|
12
|
+
TeamMember Count (0.001411) SELECT count(*) as count FROM team_members WHERE (worth_it <> 1 or worth_it is null) AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 9794
|
13
|
+
TeamMember Count (0.001344) SELECT count(*) as count FROM team_members WHERE help_others = 1 AND goal_is_complete = 1 AND active_member = 1 AND goal_id = 9794
|
14
|
+
Goal Load (0.240670) SELECT g.*, gs.score as score FROM goals g, goal_similarities gs WHERE g.id = gs.similar_goal_id AND g.num_active_people > 0 AND gs.goal_similarity_type_id = 1 AND gs.goal_id = 9794 ORDER BY score DESC LIMIT 3
|
15
|
+
Tag Load (0.191137) SELECT tags.*, count(*) as num_goals FROM tags_teams, tags, teams WHERE tags_teams.tag_id = tags.id AND tags_teams.team_id = teams.id AND teams.num_members > 0 AND teams.goal_id = 9794 GROUP BY tags.id ORDER BY num_goals DESC LIMIT 5
|
16
|
+
Rendering things/view within layouts/default
|
17
|
+
Person Load (0.004756) SELECT * FROM people WHERE id = 4758 LIMIT 1
|
18
|
+
ProfileImage Load (0.007942) SELECT * FROM profile_images WHERE id = 2557 LIMIT 1
|
19
|
+
Team Load (0.007545) SELECT * FROM teams WHERE id = 56225 LIMIT 1
|
20
|
+
Person Load (0.003433) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
21
|
+
Person Load (0.007808) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
22
|
+
ProfileImage Load (0.008622) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
23
|
+
City Load (0.007911) SELECT * FROM cities WHERE id = 164 LIMIT 1
|
24
|
+
Person Load (0.008706) SELECT * FROM people WHERE id = 7887 LIMIT 1
|
25
|
+
ProfileImage Load (0.007501) SELECT * FROM profile_images WHERE id = 4135 LIMIT 1
|
26
|
+
City Load (0.018941) SELECT * FROM cities WHERE id = 598 LIMIT 1
|
27
|
+
Person Load (0.007344) SELECT * FROM people WHERE id = 11610 LIMIT 1
|
28
|
+
Person Load (0.075532) SELECT * FROM people WHERE id = 8694 LIMIT 1
|
29
|
+
ProfileImage Load (0.009264) SELECT * FROM profile_images WHERE id = 4519 LIMIT 1
|
30
|
+
City Load (0.007255) SELECT * FROM cities WHERE id = 808 LIMIT 1
|
31
|
+
Person Load (0.009140) SELECT * FROM people WHERE id = 7413 LIMIT 1
|
32
|
+
ProfileImage Load (0.007755) SELECT * FROM profile_images WHERE id = 3908 LIMIT 1
|
33
|
+
City Load (0.007233) SELECT * FROM cities WHERE id = 732 LIMIT 1
|
34
|
+
Person Load (0.008803) SELECT * FROM people WHERE id = 7412 LIMIT 1
|
35
|
+
ProfileImage Load (0.008236) SELECT * FROM profile_images WHERE id = 4743 LIMIT 1
|
36
|
+
City Load (0.007333) SELECT * FROM cities WHERE id = 156 LIMIT 1
|
37
|
+
Person Load (0.003778) SELECT * FROM people WHERE id = 4765 LIMIT 1
|
38
|
+
ProfileImage Load (0.010916) SELECT * FROM profile_images WHERE id = 2571 LIMIT 1
|
39
|
+
Person Load (0.002019) SELECT * FROM people WHERE id = 1452 LIMIT 1
|
40
|
+
ProfileImage Load (0.001126) SELECT * FROM profile_images WHERE id = 5516 LIMIT 1
|
41
|
+
City Load (0.011705) SELECT * FROM cities WHERE id = 1061 LIMIT 1
|
42
|
+
Person Load (0.002113) SELECT * FROM people WHERE id = 895 LIMIT 1
|
43
|
+
ProfileImage Load (0.001151) SELECT * FROM profile_images WHERE id = 420 LIMIT 1
|
44
|
+
City Load (0.000736) SELECT * FROM cities WHERE id = 164 LIMIT 1
|
45
|
+
Person Load (0.001225) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
46
|
+
ProfileImage Load (0.001099) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
47
|
+
Person Load (0.016354) SELECT * FROM people WHERE id = 4758 LIMIT 1
|
48
|
+
ProfileImage Load (0.078197) SELECT * FROM profile_images WHERE id = 2557 LIMIT 1
|
49
|
+
Person Load (0.001518) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
50
|
+
ProfileImage Load (0.001268) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
51
|
+
Person Load (0.001255) SELECT * FROM people WHERE id = 1674 LIMIT 1
|
52
|
+
ProfileImage Load (0.001137) SELECT * FROM profile_images WHERE id = 751 LIMIT 1
|
53
|
+
Rendering layouts/default (200 OK)
|
54
|
+
Completed in 1.259728 (0 reqs/sec) | Rendering: 0.505973 (40%) | DB: 0.914192 (72%)
|
55
|
+
Processing PeopleController#progress (for 220.255.60.111; 165.21.154.158 at Mon Mar 07 00:00:32 CST 2005)
|
56
|
+
Parameters: {:id=>"swirlygirl", :on=>"35926", :action=>"progress", :"people/progress/swirlygirl/35926.html/progress/swirlygirl/35926"=>nil, :controller=>"people"}
|
57
|
+
Browser Load (0.000698) SELECT * FROM browsers WHERE ubid = 'STUFF' LIMIT 1
|
58
|
+
Person Load (0.001319) SELECT * FROM people WHERE username = 'swirlygirl' LIMIT 1
|
metadata
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: brontes3d-production_log_analyzer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "2009022403"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Hodel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-06-11 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails_analyzer_tools
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.4.0
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.12.2
|
34
|
+
version:
|
35
|
+
description: production_log_analyzer provides three tools to analyze log files created by SyslogLogger. pl_analyze for getting daily reports, action_grep for pulling log lines for a single action and action_errors to summarize errors with counts.
|
36
|
+
email: drbrain@segment7.net
|
37
|
+
executables:
|
38
|
+
- action_errors
|
39
|
+
- action_grep
|
40
|
+
- pl_analyze
|
41
|
+
extensions: []
|
42
|
+
|
43
|
+
extra_rdoc_files:
|
44
|
+
- History.txt
|
45
|
+
- LICENSE.txt
|
46
|
+
- Manifest.txt
|
47
|
+
- README.txt
|
48
|
+
files:
|
49
|
+
- History.txt
|
50
|
+
- LICENSE.txt
|
51
|
+
- Manifest.txt
|
52
|
+
- README.txt
|
53
|
+
- Rakefile
|
54
|
+
- bin/action_errors
|
55
|
+
- bin/action_grep
|
56
|
+
- bin/pl_analyze
|
57
|
+
- lib/production_log/action_grep.rb
|
58
|
+
- lib/production_log/analyzer.rb
|
59
|
+
- lib/production_log/parser.rb
|
60
|
+
- test/test_action_grep.rb
|
61
|
+
- test/test_analyzer.rb
|
62
|
+
- test/test_parser.rb
|
63
|
+
- test/test_helper.rb
|
64
|
+
- lib/passenger_log_per_proc.rb
|
65
|
+
- test/test_passenger_log_per_proc.rb
|
66
|
+
- test/test_syslogs/test.syslog.0.14.x.log
|
67
|
+
- test/test_syslogs/test.syslog.1.2.shortname.log
|
68
|
+
- test/test_syslogs/test.syslog.empty.log
|
69
|
+
- test/test_syslogs/test.syslog.log
|
70
|
+
- test/test_vanilla/test.0.14.x.log
|
71
|
+
- test/test_vanilla/test.1.2.shortname.log
|
72
|
+
- test/test_vanilla/test.empty.log
|
73
|
+
- test/test_vanilla/test.log
|
74
|
+
- test/test_vanilla/test_log_parts/1_online1-rails-59600.log
|
75
|
+
- test/test_vanilla/test_log_parts/2_online2-rails-59628.log
|
76
|
+
- test/test_vanilla/test_log_parts/3_online1-rails-59628.log
|
77
|
+
- test/test_vanilla/test_log_parts/4_online1-rails-59645.log
|
78
|
+
- test/test_vanilla/test_log_parts/5_online1-rails-59629.log
|
79
|
+
- test/test_vanilla/test_log_parts/6_online1-rails-60654.log
|
80
|
+
- test/test_vanilla/test_log_parts/7_online1-rails-59627.log
|
81
|
+
- test/test_vanilla/test_log_parts/8_online1-rails-59635.log
|
82
|
+
has_rdoc: true
|
83
|
+
homepage: http://seattlerb.rubyforge.org/production_log_analyzer
|
84
|
+
post_install_message:
|
85
|
+
rdoc_options:
|
86
|
+
- --main
|
87
|
+
- README.txt
|
88
|
+
require_paths:
|
89
|
+
- lib
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: "0"
|
95
|
+
version:
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: "0"
|
101
|
+
version:
|
102
|
+
requirements: []
|
103
|
+
|
104
|
+
rubyforge_project: seattlerb
|
105
|
+
rubygems_version: 1.2.0
|
106
|
+
signing_key:
|
107
|
+
specification_version: 2
|
108
|
+
summary: production_log_analyzer lets you find out which actions on a Rails site are slowing you down.
|
109
|
+
test_files:
|
110
|
+
- test/test_action_grep.rb
|
111
|
+
- test/test_analyzer.rb
|
112
|
+
- test/test_helper.rb
|
113
|
+
- test/test_parser.rb
|