easy_admin 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +11 -4
- data/app/models/outbound_request.rb +9 -1
- data/lib/easy_admin/version.rb +1 -1
- data/test/dummy/log/test.log +484 -0
- data/test/outbound_request_test.rb +7 -0
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,20 @@
|
|
1
1
|
# Changelog for easy-admin
|
2
2
|
|
3
|
-
## 0.
|
3
|
+
## 0.3.1 (2013-08-12)
|
4
4
|
|
5
|
-
|
5
|
+
Bugfixes
|
6
6
|
|
7
|
-
*
|
7
|
+
* Add filtering ability to OutboundRequest#response_summary
|
8
8
|
|
9
9
|
## 0.3.0 (2013-08-12)
|
10
10
|
|
11
11
|
New Features
|
12
12
|
|
13
|
-
* Added OutboundRequest#response_summary method that reports of response codes within a time period
|
13
|
+
* Added OutboundRequest#response_summary method that reports of response codes within a time period
|
14
|
+
|
15
|
+
## 0.2.0 (2013-08-12)
|
16
|
+
|
17
|
+
New Features:
|
18
|
+
|
19
|
+
* Added OutboundRequest#rpm method that returns the number of requests per minute for the supplied criteria
|
20
|
+
|
@@ -64,6 +64,14 @@ class OutboundRequest < ActiveRecord::Base
|
|
64
64
|
def self.response_summary(params={})
|
65
65
|
period = params[:period] || 60
|
66
66
|
|
67
|
-
where('created_at > ?', Time.current - period.seconds)
|
67
|
+
query = where('created_at > ?', Time.current - period.seconds)
|
68
|
+
|
69
|
+
[:service, :action].each do |filter|
|
70
|
+
if params[filter]
|
71
|
+
query = query.where(filter => params[filter])
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
query.group('response_code').count
|
68
76
|
end
|
69
77
|
end
|
data/lib/easy_admin/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -2653,3 +2653,487 @@ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
|
2653
2653
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2654
2654
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:31:57.784158')
|
2655
2655
|
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2656
|
+
Connecting to database specified by database.yml
|
2657
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2658
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2659
|
+
[1m[36mSQL (21.6ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2660
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2661
|
+
Processing by Admin::JobsController#destroy as HTML
|
2662
|
+
Parameters: {"id"=>"1"}
|
2663
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2665
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ?[0m [["id", 1]]
|
2666
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2667
|
+
Redirected to http://test.host/admin/jobs
|
2668
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
2669
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2670
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2671
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2672
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2673
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2674
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2675
|
+
Processing by Admin::JobsController#index as HTML
|
2676
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "delayed_jobs" [0m
|
2677
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "delayed_jobs"
|
2678
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" ORDER BY run_at[0m
|
2679
|
+
Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.2ms)
|
2680
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2681
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2682
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2683
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2684
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2685
|
+
Processing by Admin::JobsController#show as HTML
|
2686
|
+
Parameters: {"id"=>"1"}
|
2687
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", "1"]]
|
2688
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
2689
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2690
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2691
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2692
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2694
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "delayed_jobs" SET "attempts" = 5 WHERE "delayed_jobs"."id" = 1[0m
|
2695
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m SELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1 [["id", 1]]
|
2696
|
+
Processing by Admin::JobsController#retry as HTML
|
2697
|
+
Parameters: {"id"=>"1"}
|
2698
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2699
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "delayed_jobs" SET "attempts" = 0 WHERE "delayed_jobs"."id" = 1
|
2700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2702
|
+
Redirected to http://test.host/admin/jobs
|
2703
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
2704
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", 1]]
|
2705
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2707
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2709
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2711
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2712
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2714
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2717
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2719
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2720
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2723
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2724
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2725
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV1' AND (created_at > '2013-08-12 04:09:37.190949') GROUP BY response_code
|
2726
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2727
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2728
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2730
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2731
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2733
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2736
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2739
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2742
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2744
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 04:09:37.198893') GROUP BY response_code[0m
|
2745
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2747
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2749
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2751
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2752
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2753
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2754
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2755
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2758
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2759
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2761
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2763
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 04:13:37.205096') GROUP BY response_code
|
2764
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2765
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2766
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2767
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2768
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2769
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2770
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2771
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2772
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2774
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2776
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2777
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2778
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2780
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2782
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."response_code" = '200' AND (created_at > '2013-08-12 04:13:37.211122')[0m
|
2783
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2785
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2786
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2787
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2788
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2789
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2791
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2793
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2794
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2795
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2796
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2797
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2799
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2800
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2801
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-A' AND (created_at > '2013-08-12 04:13:37.237687')
|
2802
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2804
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2805
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2806
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2807
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2808
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2809
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2810
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2811
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2812
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2813
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2814
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2815
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2816
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2818
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2819
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2820
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-E' AND (created_at > '2013-08-12 04:13:37.244076')[0m
|
2821
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2823
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "outbound_requests"
|
2824
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2825
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2826
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2828
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2829
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2830
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2831
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2832
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2833
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2834
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2835
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2836
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2837
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2838
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2839
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV1' AND (created_at > '2013-08-12 04:13:37.250387')
|
2840
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2841
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2842
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2843
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2844
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2845
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2846
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2847
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2848
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2849
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2850
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2852
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2853
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2854
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2856
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2857
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2858
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 04:04:37.256502')[0m
|
2859
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2861
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "outbound_requests"
|
2862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2863
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2866
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2867
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2868
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2869
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2870
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2872
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2873
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2874
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2875
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2877
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 04:12:37.262849')
|
2878
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2879
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2880
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2881
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2882
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2883
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2885
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2886
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2888
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2889
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2890
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2891
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2892
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2894
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:10:37 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:14:37 UTC +00:00]]
|
2895
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2896
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE (created_at > '2013-08-12 04:13:37.268772')[0m
|
2897
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2898
|
+
Connecting to database specified by database.yml
|
2899
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2900
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2901
|
+
[1m[36mSQL (21.0ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2903
|
+
Processing by Admin::JobsController#destroy as HTML
|
2904
|
+
Parameters: {"id"=>"1"}
|
2905
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2907
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ?[0m [["id", 1]]
|
2908
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2909
|
+
Redirected to http://test.host/admin/jobs
|
2910
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
2911
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2912
|
+
[1m[35m (1.5ms)[0m rollback transaction
|
2913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2914
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2915
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2916
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2917
|
+
Processing by Admin::JobsController#index as HTML
|
2918
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "delayed_jobs" [0m
|
2919
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "delayed_jobs"
|
2920
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" ORDER BY run_at[0m
|
2921
|
+
Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.2ms)
|
2922
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2925
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2927
|
+
Processing by Admin::JobsController#show as HTML
|
2928
|
+
Parameters: {"id"=>"1"}
|
2929
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", "1"]]
|
2930
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
2931
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2934
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2936
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "delayed_jobs" SET "attempts" = 5 WHERE "delayed_jobs"."id" = 1[0m
|
2937
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m SELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1 [["id", 1]]
|
2938
|
+
Processing by Admin::JobsController#retry as HTML
|
2939
|
+
Parameters: {"id"=>"1"}
|
2940
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2941
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "delayed_jobs" SET "attempts" = 0 WHERE "delayed_jobs"."id" = 1
|
2942
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2944
|
+
Redirected to http://test.host/admin/jobs
|
2945
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
2946
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", 1]]
|
2947
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2949
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2950
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2951
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2952
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2953
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2956
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2958
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2959
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2960
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2965
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2966
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2967
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV1' AND (created_at > '2013-08-12 04:10:10.415260') GROUP BY response_code
|
2968
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2970
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2971
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2972
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2975
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2976
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2977
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2978
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2979
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2980
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2981
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2982
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2983
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2984
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2986
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 04:10:10.423037') GROUP BY response_code[0m
|
2987
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2989
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2991
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2992
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2994
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2995
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2996
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2997
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
2998
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2999
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3000
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3001
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3002
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3003
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3004
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3005
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 04:14:10.429161') GROUP BY response_code
|
3006
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3008
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
3009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3010
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3011
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3013
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3015
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3016
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3017
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3018
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3019
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3020
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3021
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3022
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3024
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."response_code" = '200' AND (created_at > '2013-08-12 04:14:10.435657')[0m
|
3025
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3027
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
3028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3029
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3031
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3032
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3033
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3034
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3035
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3036
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3038
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3039
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3040
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3041
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3042
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3043
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-A' AND (created_at > '2013-08-12 04:14:10.462111')
|
3044
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3046
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
3047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3048
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3049
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3050
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3051
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3052
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3054
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3055
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3057
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3060
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3062
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-E' AND (created_at > '2013-08-12 04:14:10.468535')[0m
|
3063
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3064
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3065
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
3066
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3067
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3068
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3073
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3074
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3076
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3077
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3079
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3081
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV1' AND (created_at > '2013-08-12 04:14:10.474599')
|
3082
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3084
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
3085
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3086
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3088
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3089
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3090
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3092
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3095
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3097
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3098
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3099
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3100
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 04:05:10.480549')[0m
|
3101
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3103
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
3104
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3105
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3106
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3108
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3110
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3111
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3112
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3113
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3114
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3115
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3116
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3117
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3118
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3119
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 04:13:10.486510')
|
3120
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3121
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3122
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
3123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3124
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3127
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3128
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3129
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3130
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3131
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3133
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3134
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3136
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 04:11:10 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 04:15:10 UTC +00:00]]
|
3137
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3138
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE (created_at > '2013-08-12 04:14:10.492497')[0m
|
3139
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
@@ -52,4 +52,11 @@ class OutboundRequestTest < ActiveSupport::TestCase
|
|
52
52
|
assert_equal 3, summary['200'], "expected 3 responses with code of 200"
|
53
53
|
assert_equal 2, summary['404'], "expected 2 responses with a code of 404"
|
54
54
|
end
|
55
|
+
|
56
|
+
test '#response_summary should give 3 results for a 5 minute period, with SRV1' do
|
57
|
+
summary = OutboundRequest.response_summary(period: 5.minutes, service: 'SRV1')
|
58
|
+
assert_not_nil summary
|
59
|
+
assert_equal 3, summary['200'], "expected 3 responses with code of 200"
|
60
|
+
assert_nil summary['404'], "expected no responses with a code of 404"
|
61
|
+
end
|
55
62
|
end
|