i_wonder 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
data/test/dummy/log/test.log
CHANGED
@@ -85114,3 +85114,2604 @@ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
|
85114
85114
|
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
85115
85115
|
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
85116
85116
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85117
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
85118
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85119
|
+
[1m[36m (1.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
85120
|
+
[1m[35m (0.4ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
85121
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85122
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85123
|
+
[1m[36mSQL (3.4ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85124
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 76], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
85125
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85126
|
+
[1m[35mIWonder::TestGroupMembership Load (1.1ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
85127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85128
|
+
[1m[35m (0.4ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
85129
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 76], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85130
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85131
|
+
[1m[36mIWonder::TestGroupMembership Load (0.4ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
85132
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85133
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:07.774981', "options" = '---
|
85134
|
+
:test_group_names:
|
85135
|
+
- Options 1
|
85136
|
+
- Options 2
|
85137
|
+
', "test_group_data" = '--- {}
|
85138
|
+
|
85139
|
+
' WHERE "i_wonder_ab_tests"."id" = 76[0m
|
85140
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85141
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
85142
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85143
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1[0m
|
85144
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 76], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85145
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85146
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
85147
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85148
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:07.781113', "options" = '---
|
85149
|
+
:test_group_names:
|
85150
|
+
- Options 1
|
85151
|
+
- Options 2
|
85152
|
+
', "test_group_data" = '--- {}
|
85153
|
+
|
85154
|
+
' WHERE "i_wonder_ab_tests"."id" = 76
|
85155
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85156
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
85157
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85158
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
85159
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 76], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85160
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85161
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 76 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
85162
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85163
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85164
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85165
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
85166
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
85167
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85168
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85169
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85170
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 77], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
85171
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85172
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85173
|
+
[1m[36m (0.4ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = 'random_1') LIMIT 1[0m
|
85174
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "random_1"], ["member_type", "account"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85175
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85177
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = 'random_2') LIMIT 1[0m
|
85178
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "random_2"], ["member_type", "user"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85181
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = 'random_3') LIMIT 1[0m
|
85182
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "random_3"], ["member_type", "session"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85183
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85184
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
|
85185
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85186
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
85187
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85189
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1[0m
|
85190
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85191
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:07.804499', "options" = '---
|
85192
|
+
:test_group_names:
|
85193
|
+
- Options 1
|
85194
|
+
- Options 2
|
85195
|
+
', "test_group_data" = '--- {}
|
85196
|
+
|
85197
|
+
' WHERE "i_wonder_ab_tests"."id" = 77[0m
|
85198
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85199
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1[0m
|
85200
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85201
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1[0m
|
85202
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85203
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85204
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
|
85205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85206
|
+
[1m[35m (0.2ms)[0m UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:07.810172', "options" = '---
|
85207
|
+
:test_group_names:
|
85208
|
+
- Options 1
|
85209
|
+
- Options 2
|
85210
|
+
', "test_group_data" = '--- {}
|
85211
|
+
|
85212
|
+
' WHERE "i_wonder_ab_tests"."id" = 77
|
85213
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85214
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
|
85215
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85216
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
85217
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 77], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85218
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85219
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 77 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1[0m
|
85220
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85221
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85222
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85223
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
85224
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
85225
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85226
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85227
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85228
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 78], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
85229
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85230
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78
|
85231
|
+
[1m[36mIWonder::AbTest Load (0.3ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1[0m
|
85232
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
|
85233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85234
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 78 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
85235
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 78], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Options 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85236
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85237
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78[0m
|
85238
|
+
[1m[35mIWonder::AbTest Load (0.2ms)[0m SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
85239
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1[0m
|
85240
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 78
|
85241
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85242
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85243
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85244
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85245
|
+
[1m[36mIWonder::AbTest Load (0.2ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'non-existant test' LIMIT 1[0m
|
85246
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85247
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85248
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85249
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85250
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85251
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
85252
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
85253
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85254
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 79], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
85255
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85256
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85257
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Thu, 27 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "5"], ["updated_at", Thu, 27 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85258
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85260
|
+
[1m[35m (0.4ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '1') LIMIT 1
|
85261
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "1"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85262
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85264
|
+
[1m[35m (0.5ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
85265
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85266
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
85267
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85268
|
+
[1m[35m (0.5ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
|
85269
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "3"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85270
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
85271
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85272
|
+
[1m[35m (0.6ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
85273
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "4"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85275
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85276
|
+
[1m[35m (0.9ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '5') LIMIT 1
|
85277
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 79], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["member_id", "5"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00]]
|
85278
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
85279
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
85280
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "1"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85281
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85282
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85283
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85286
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85287
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85288
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85289
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "3"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85290
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85291
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85292
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "4"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85293
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85295
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "6"], ["updated_at", Fri, 28 Oct 2011 20:23:07 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85297
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1'[0m
|
85298
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2'
|
85299
|
+
[1m[36mIWonder::AbTest Load (0.5ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."id" = 79 LIMIT 1[0m
|
85300
|
+
[1m[35m (1.6ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:07.838155')
|
85301
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 79 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:07.838155')[0m
|
85302
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85303
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85304
|
+
|
85305
|
+
|
85306
|
+
Started GET "/i_wonder" for 127.0.0.1 at 2011-10-28 13:23:07 -0700
|
85307
|
+
Processing by IWonder::DashboardController#landing as HTML
|
85308
|
+
Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)
|
85309
|
+
|
85310
|
+
|
85311
|
+
Started GET "/i_wonder?block_this=true" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85312
|
+
Processing by IWonder::DashboardController#landing as HTML
|
85313
|
+
Parameters: {"block_this"=>"true"}
|
85314
|
+
Redirected to http://www.example.com/
|
85315
|
+
Completed 302 Found in 0ms
|
85316
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85317
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85318
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85319
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85320
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85321
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85322
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85323
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85324
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85325
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_2"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85326
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85327
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85328
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_3"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85330
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85331
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85333
|
+
[1m[36mIWonder::Event Load (1.2ms)[0m [1mSELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC[0m
|
85334
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'test_event_1' GROUP BY event_type
|
85335
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85336
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85337
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
85338
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85339
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85340
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85341
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
85342
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85343
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85344
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85345
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85346
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85347
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85348
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85349
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
85350
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85351
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85352
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "i_wonder_events"
|
85353
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85354
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85356
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85357
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85360
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", 1]]
|
85361
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85362
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
|
85363
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '123' AND user_id IS NULL)[0m
|
85364
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
|
85365
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'[0m
|
85366
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor'
|
85367
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85368
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85369
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85373
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1[0m
|
85374
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '321' AND user_id IS NULL)
|
85375
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "i_wonder_events" SET "event_type" = 'return_visit' WHERE (user_id = '1' AND event_type = 'new_visitor' AND id <> 581)[0m
|
85376
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."id" = $1 LIMIT 1 [["id", 584]]
|
85377
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'[0m
|
85378
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'new_visitor'
|
85379
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'return_visit'[0m
|
85380
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '321'
|
85381
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1[0m
|
85382
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85383
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85384
|
+
|
85385
|
+
|
85386
|
+
Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85387
|
+
Processing by IWonder::EventsController#index as HTML
|
85388
|
+
[1m[35mIWonder::Event Load (0.5ms)[0m SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
|
85389
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.5ms)
|
85390
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85391
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85392
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85393
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85394
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1[0m [["id", 505]]
|
85395
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85396
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 25 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 24 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85397
|
+
[1m[35m (0.0ms)[0m UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-09-24 07:00:01.000000', "options" = '---
|
85398
|
+
:collection_type: custom
|
85399
|
+
:takes_snapshots: true
|
85400
|
+
' WHERE "i_wonder_metrics"."id" = 505
|
85401
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85402
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85403
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 26 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 25 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85404
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85405
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85406
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 27 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 26 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85407
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85408
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85409
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 28 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 27 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85410
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85411
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85412
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 29 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 28 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85413
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85414
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85415
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 30 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 29 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85416
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85417
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85418
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 01 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 30 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85419
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85420
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85421
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 02 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 01 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85422
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85423
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85424
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 03 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 02 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85425
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85426
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85427
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 04 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 03 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85428
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85429
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85430
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 05 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 04 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85431
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85432
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85433
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 06 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 05 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85434
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85435
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85436
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 07 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 06 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85437
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85438
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85439
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 08 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 07 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85440
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85441
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85442
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 09 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 08 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85443
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85444
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85445
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 10 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 09 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85446
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85447
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85448
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 11 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 10 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85449
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85450
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85451
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 12 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 11 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85452
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85453
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85454
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 13 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 12 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85455
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85456
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85457
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 14 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 13 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85458
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85459
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85460
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 15 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 14 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85461
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85462
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85463
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 16 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 15 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85464
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85465
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85466
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 17 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 16 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85467
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85468
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85469
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 18 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Wed, 17 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85470
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85471
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85472
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Thu, 18 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85473
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85474
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85475
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Fri, 19 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85476
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85477
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85478
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85479
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85480
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85481
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85482
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85483
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1[0m
|
85484
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85485
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1[0m
|
85486
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 505 LIMIT 1
|
85487
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 505], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85488
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505 ORDER BY end_time DESC LIMIT 1
|
85489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85490
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 505]]
|
85491
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 505[0m
|
85492
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85493
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85495
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85496
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85497
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85498
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85500
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85501
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 506], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85502
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85503
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85504
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 0], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 506], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85505
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85506
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85507
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 9], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 506], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85509
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 506 ORDER BY end_time DESC LIMIT 1[0m
|
85510
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 507 ORDER BY end_time DESC LIMIT 1
|
85511
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 506 ORDER BY end_time DESC LIMIT 1[0m
|
85512
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 507 ORDER BY end_time DESC LIMIT 1
|
85513
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85514
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85515
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85516
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 3"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85518
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85519
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85520
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85521
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1[0m
|
85522
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
|
85523
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1[0m
|
85524
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85525
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85527
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 508 LIMIT 1[0m
|
85528
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85529
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85531
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-10-21 07:00:01.000000', "options" = '---
|
85532
|
+
:collection_type: custom
|
85533
|
+
:takes_snapshots: true
|
85534
|
+
' WHERE "i_wonder_metrics"."id" = 508[0m
|
85535
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85536
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1[0m
|
85537
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85538
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85540
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 508 LIMIT 1[0m
|
85541
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85542
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85543
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1
|
85544
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85545
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
85546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85547
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 508 LIMIT 1
|
85548
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 508], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85549
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85550
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508 ORDER BY end_time DESC LIMIT 1[0m
|
85551
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 508
|
85552
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85553
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85554
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85555
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "3"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85557
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85558
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85559
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85560
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85562
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85565
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85568
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85571
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85574
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 4\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85575
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85577
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 5\nkey_2: 3\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 510], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85578
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85579
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 510 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
|
85580
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85582
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85583
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85586
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85589
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85591
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85592
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85593
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85595
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85596
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85598
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 511], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85599
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85600
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 511 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')[0m
|
85601
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85602
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85604
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85605
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85606
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85607
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85608
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85610
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85611
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85612
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 512 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
85613
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85614
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "i_wonder_metrics" SET "options" = '---
|
85615
|
+
:collection_type: custom
|
85616
|
+
:takes_snapshots: true
|
85617
|
+
:combination_rule: average
|
85618
|
+
' WHERE "i_wonder_metrics"."id" = 512[0m
|
85619
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85621
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85624
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 512], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85625
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85626
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 512 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
85627
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85628
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85629
|
+
[1m[35mIWonder::Metric Load (0.2ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics"
|
85630
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
85631
|
+
[1m[35m (0.6ms)[0m SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 1' LIMIT 1
|
85632
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["description", nil], ["name", "Report 1"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85633
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85634
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85635
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 4"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85636
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85637
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85638
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "collection_method" = 'IWonder::Report.find(43).destroy; 1', "updated_at" = '2011-10-28 20:23:08.454599', "options" = '---
|
85639
|
+
:collection_type: custom
|
85640
|
+
:takes_snapshots: true
|
85641
|
+
' WHERE "i_wonder_metrics"."id" = 513[0m
|
85642
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85643
|
+
[1m[36mIWonder::Snapshot Load (0.3ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 513 ORDER BY end_time DESC LIMIT 1[0m
|
85644
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85645
|
+
[1m[36mIWonder::Report Load (0.4ms)[0m [1mSELECT "i_wonder_reports".* FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 LIMIT 1[0m [["id", 43]]
|
85646
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 [["id", 43]]
|
85647
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85649
|
+
[1m[36mIWonder::Metric Load (0.3ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 513 LIMIT 1[0m
|
85650
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["end_time", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["metric_id", 513], ["start_time", Thu, 27 Oct 2011 20:23:08 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85651
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85653
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "i_wonder_metrics" SET "earliest_measurement" = '2011-10-27 20:23:08.457062', "updated_at" = '2011-10-28 20:23:08.463112', "options" = '---
|
85654
|
+
:collection_type: custom
|
85655
|
+
:takes_snapshots: true
|
85656
|
+
' WHERE "i_wonder_metrics"."id" = 513[0m
|
85657
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85658
|
+
[1m[36mIWonder::Snapshot Load (0.3ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 513 ORDER BY end_time DESC LIMIT 1[0m
|
85659
|
+
[1m[35mIWonder::Metric Load (0.2ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 513]]
|
85660
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = 43 LIMIT 1[0m
|
85661
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 513
|
85662
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85663
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85664
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "i_wonder_metrics"[0m
|
85665
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85666
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 5"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85667
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
85668
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85669
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 19:53:08 UTC +00:00], ["name", "Measurement 6"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85670
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85671
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85672
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 18:53:08 UTC +00:00], ["name", "Measurement 7"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85675
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Fri, 28 Oct 2011 18:53:08 UTC +00:00], ["name", "Measurement 8"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85676
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85677
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85678
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["name", "Measurement 9"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85679
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85680
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85681
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Measurement 10"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85682
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85683
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85684
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", true], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 11"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85685
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
85686
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())[0m
|
85687
|
+
[1m[35mIWonder::Metric Load (0.4ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
|
85688
|
+
[1m[36mIWonder::Metric Load (0.4ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())[0m
|
85689
|
+
[1m[35mIWonder::Metric Load (0.4ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
|
85690
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85691
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85693
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 12"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85695
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85696
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85697
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85698
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "test name"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85699
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85700
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85701
|
+
[1m[35m (0.4ms)[0m UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:08.504723', "options" = '---
|
85702
|
+
:collection_type: event_counter
|
85703
|
+
:event_counter_event:
|
85704
|
+
:takes_snapshots: true
|
85705
|
+
' WHERE "i_wonder_metrics"."id" = 522
|
85706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85707
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85708
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:08.507079', "options" = '---
|
85709
|
+
:collection_type: event_counter
|
85710
|
+
:event_counter_event:
|
85711
|
+
:takes_snapshots: false
|
85712
|
+
' WHERE "i_wonder_metrics"."id" = 522[0m
|
85713
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85714
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85715
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:08.509436', "options" = '---
|
85716
|
+
:collection_type: event_counter
|
85717
|
+
:event_counter_event:
|
85718
|
+
:takes_snapshots: true
|
85719
|
+
' WHERE "i_wonder_metrics"."id" = 522
|
85720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85721
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85722
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:08.511624', "options" = '---
|
85723
|
+
:collection_type: event_counter
|
85724
|
+
:event_counter_event:
|
85725
|
+
:takes_snapshots: false
|
85726
|
+
' WHERE "i_wonder_metrics"."id" = 522[0m
|
85727
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85728
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85729
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85730
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85731
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 13"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85732
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85733
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85734
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85736
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"hit\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Hits"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: hit\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85738
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85739
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85740
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85741
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85742
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["event_type", :hit], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85743
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85744
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85745
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
85746
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85747
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85748
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'hit' AND (created_at >= '2011-10-27 20:23:08.528163' AND created_at < '2011-10-28 20:23:08.528270')[0m
|
85749
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
85750
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85751
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85753
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "Account.where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Accounts"], ["options", "--- \n:collection_type: model_counter\n:model_counter_class: Account\n:model_counter_scopes: \n:model_counter_method: Creation Rate\n:combination_rule: sum\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85754
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85755
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85756
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["active", nil], ["created_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00], ["updated_at", Wed, 26 Oct 2011 20:23:08 UTC +00:00]]
|
85757
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
85758
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85759
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00]]
|
85760
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85762
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:08 UTC +00:00]]
|
85763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85764
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85765
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "accounts" WHERE (created_at >= '2011-10-27 20:23:08.582976' AND created_at < '2011-10-28 20:23:08.583122')
|
85766
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85767
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85768
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "i_wonder_metrics" SET "collection_method" = 'Account.where("created_at < ?", end_time).count', "updated_at" = '2011-10-28 20:23:08.585454', "options" = '---
|
85769
|
+
:collection_type: model_counter
|
85770
|
+
:model_counter_class: Account
|
85771
|
+
:model_counter_scopes:
|
85772
|
+
:model_counter_method: Total Number
|
85773
|
+
:combination_rule: average
|
85774
|
+
:takes_snapshots: false
|
85775
|
+
' WHERE "i_wonder_metrics"."id" = 525[0m
|
85776
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85777
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85778
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "accounts" WHERE (created_at < '2011-10-28 20:23:08.587241')
|
85779
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85780
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85781
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85782
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85783
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85784
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85785
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85786
|
+
|
85787
|
+
|
85788
|
+
Started POST "/i_wonder/metrics" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85789
|
+
Processing by IWonder::MetricsController#create as HTML
|
85790
|
+
Parameters: {"metric"=>{"name"=>"New Metric"}}
|
85791
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85792
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "New Metric"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:08 UTC +00:00]]
|
85793
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85794
|
+
Redirected to http://www.example.com/i_wonder/metrics/526
|
85795
|
+
Completed 302 Found in 5ms
|
85796
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85797
|
+
[1m[35m (0.2ms)[0m BEGIN
|
85798
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85799
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85800
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85801
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85802
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 527], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85803
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85805
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 527], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85807
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85808
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 527], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85811
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85814
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 528], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
85816
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
85817
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 528], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85820
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 2' LIMIT 1[0m
|
85821
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["description", nil], ["name", "Report 2"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
85822
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id"[0m [["metric_id", 527], ["report_id", 44]]
|
85823
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 528], ["report_id", 44]]
|
85824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85825
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 44
|
85826
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 44[0m
|
85827
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 527 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
|
85828
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 528 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')[0m
|
85829
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 527 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
|
85830
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 528 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
85831
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 527 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
|
85832
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 528 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')[0m
|
85833
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85834
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85835
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85836
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85837
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85838
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85839
|
+
Processing by TestController#test_with_report as HTML
|
85840
|
+
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
85841
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85842
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85843
|
+
Processing by TestController#test_without_report as HTML
|
85844
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
85845
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
85846
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85847
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
85848
|
+
|
85849
|
+
|
85850
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85851
|
+
Processing by TestController#test_without_report as HTML
|
85852
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
85853
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
85854
|
+
[1m[35m (0.4ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '5e2dcb809967c6170252', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:08.722422', '2011-10-28 20:23:08.722435')
|
85855
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5e2dcb809967c6170252', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:08.723155', '2011-10-28 20:23:08.723165')[0m
|
85856
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85857
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
85858
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
85859
|
+
[1m[36mIWonder::Event Load (0.6ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1[0m
|
85860
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
85861
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
85862
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
85863
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
85864
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
85865
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
85866
|
+
|
85867
|
+
|
85868
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85869
|
+
Processing by TestController#test_without_report as HTML
|
85870
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
85871
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85872
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5e2dcb809967c6170252', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.733355', '2011-10-28 20:23:08.733365')[0m
|
85873
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85874
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
85875
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
85876
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1[0m
|
85877
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85878
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85879
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
85880
|
+
|
85881
|
+
|
85882
|
+
Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85883
|
+
Processing by TestController#test_without_login as HTML
|
85884
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
85885
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
85886
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
85887
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85888
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
85889
|
+
|
85890
|
+
|
85891
|
+
Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85892
|
+
Processing by IWonder::EventsController#index as HTML
|
85893
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC[0m
|
85894
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms)
|
85895
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85896
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85897
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85898
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
85899
|
+
|
85900
|
+
|
85901
|
+
Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85902
|
+
Processing by TestController#test_redirect as HTML
|
85903
|
+
Redirected to http://www.example.comtest_without_login
|
85904
|
+
Completed 302 Found in 0ms
|
85905
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85906
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85907
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85908
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85909
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85910
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
85911
|
+
|
85912
|
+
|
85913
|
+
Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85914
|
+
Processing by TestController#test_redirect as HTML
|
85915
|
+
Redirected to http://www.example.comtest_without_login
|
85916
|
+
Completed 302 Found in 0ms
|
85917
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85918
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'bfcc668a000188292bdf', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.759319', '2011-10-28 20:23:08.759331')[0m
|
85919
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'bfcc668a000188292bdf', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.760039', '2011-10-28 20:23:08.760049')
|
85920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85921
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85922
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
85923
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85924
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
85925
|
+
|
85926
|
+
|
85927
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:08 -0700
|
85928
|
+
Processing by TestController#test_without_report as HTML
|
85929
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
85930
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85931
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '13ce8e987353a4d1be80', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:08.766393', '2011-10-28 17:23:08.766423')[0m
|
85932
|
+
[1m[35m (0.4ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '13ce8e987353a4d1be80', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:08.767251', '2011-10-28 17:23:08.767281')
|
85933
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85934
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85935
|
+
|
85936
|
+
|
85937
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:08 -0700
|
85938
|
+
Processing by TestController#test_without_report as HTML
|
85939
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
85940
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
85941
|
+
[1m[35m (0.5ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '13ce8e987353a4d1be80', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:08.773825', '2011-10-28 17:23:08.773857')
|
85942
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85943
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85944
|
+
|
85945
|
+
|
85946
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85947
|
+
Processing by TestController#test_without_report as HTML
|
85948
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
85949
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85950
|
+
[1m[35m (0.1ms)[0m BEGIN
|
85951
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
85952
|
+
|
85953
|
+
|
85954
|
+
Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85955
|
+
Processing by TestController#test_without_login as HTML
|
85956
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
85957
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85958
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', NULL, NULL, 'a81ac48fd275887067a8', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.784249', '2011-10-28 20:23:08.784263')[0m
|
85959
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', NULL, NULL, 'a81ac48fd275887067a8', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.785054', '2011-10-28 20:23:08.785066')
|
85960
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85961
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
85962
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
85963
|
+
|
85964
|
+
|
85965
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:08 -0700
|
85966
|
+
Processing by TestController#test_without_report as HTML
|
85967
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
85968
|
+
[1m[35mIWonder::Event Load (0.5ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 2 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
|
85969
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "i_wonder_events" SET "user_id" = '2', "session_id" = 'a81ac48fd275887067a8' WHERE (session_id = 'a81ac48fd275887067a8' AND user_id IS NULL)[0m
|
85970
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85971
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a81ac48fd275887067a8', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:08.793796', '2011-10-28 20:23:08.793812')[0m
|
85972
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85973
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
85974
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
85975
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('blah blah', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-10-28 20:23:08.797212', '2011-10-28 20:23:08.797231')[0m
|
85976
|
+
[1m[35mIWonder::Event Load (0.5ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
85977
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
85978
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
85979
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
85980
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
85981
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
85982
|
+
[1m[36m (1.1ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
85983
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
85984
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
85985
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
85986
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
85987
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 80], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
85988
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
85989
|
+
[1m[35mIWonder::TestGroupMembership Load (0.8ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
85990
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
85991
|
+
[1m[35m (0.4ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
85992
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 80], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
85993
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
85994
|
+
[1m[36mIWonder::TestGroupMembership Load (0.4ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
85995
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
85996
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:38.721648', "options" = '---
|
85997
|
+
:test_group_names:
|
85998
|
+
- Options 1
|
85999
|
+
- Options 2
|
86000
|
+
', "test_group_data" = '--- {}
|
86001
|
+
|
86002
|
+
' WHERE "i_wonder_ab_tests"."id" = 80[0m
|
86003
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86004
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
86005
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86006
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1[0m
|
86007
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 80], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86008
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86009
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
86010
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86011
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:38.727124', "options" = '---
|
86012
|
+
:test_group_names:
|
86013
|
+
- Options 1
|
86014
|
+
- Options 2
|
86015
|
+
', "test_group_data" = '--- {}
|
86016
|
+
|
86017
|
+
' WHERE "i_wonder_ab_tests"."id" = 80
|
86018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86019
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
86020
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86021
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
86022
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 80], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86023
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86024
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 80 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
86025
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
86026
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86027
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86028
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86029
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86030
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86031
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86032
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86033
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 81], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86034
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86035
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86036
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = 'random_1') LIMIT 1[0m
|
86037
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "random_1"], ["member_type", "account"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86038
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86039
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86040
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = 'random_2') LIMIT 1[0m
|
86041
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "random_2"], ["member_type", "user"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86042
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86043
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86044
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = 'random_3') LIMIT 1[0m
|
86045
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "random_3"], ["member_type", "session"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86047
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
|
86048
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86049
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86050
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86051
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86052
|
+
[1m[36mIWonder::TestGroupMembership Load (0.2ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1[0m
|
86053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86054
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 20:23:38.748423', "options" = '---
|
86055
|
+
:test_group_names:
|
86056
|
+
- Options 1
|
86057
|
+
- Options 2
|
86058
|
+
', "test_group_data" = '--- {}
|
86059
|
+
|
86060
|
+
' WHERE "i_wonder_ab_tests"."id" = 81[0m
|
86061
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86062
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1[0m
|
86063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86064
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1[0m
|
86065
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86066
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86067
|
+
[1m[35mIWonder::TestGroupMembership Load (0.4ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
|
86068
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86069
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 20:23:38.753638', "options" = '---
|
86070
|
+
:test_group_names:
|
86071
|
+
- Options 1
|
86072
|
+
- Options 2
|
86073
|
+
', "test_group_data" = '--- {}
|
86074
|
+
|
86075
|
+
' WHERE "i_wonder_ab_tests"."id" = 81
|
86076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86077
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
|
86078
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86079
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
86080
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 81], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86081
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86082
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 81 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1[0m
|
86083
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86084
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86085
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86086
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86087
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86088
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86089
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86090
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86091
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 82], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86092
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86093
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82
|
86094
|
+
[1m[36mIWonder::AbTest Load (0.3ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1[0m
|
86095
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
|
86096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86097
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 82 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86098
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 82], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Options 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86099
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86100
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82[0m
|
86101
|
+
[1m[35mIWonder::AbTest Load (0.3ms)[0m SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86102
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1[0m
|
86103
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 82
|
86104
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86105
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86106
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
86107
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86108
|
+
[1m[36mIWonder::AbTest Load (0.2ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'non-existant test' LIMIT 1[0m
|
86109
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
86110
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86111
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86112
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86114
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86115
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86116
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86117
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 83], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86118
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86120
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Thu, 27 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "5"], ["updated_at", Thu, 27 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86123
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '1') LIMIT 1
|
86124
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "1"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86125
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86127
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86128
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86129
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86130
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86131
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
|
86132
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "3"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86134
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86135
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
86136
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "4"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86139
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '5') LIMIT 1
|
86140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 83], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["member_id", "5"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00]]
|
86141
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86143
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "1"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86144
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86145
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86146
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86147
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86148
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86149
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86150
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86152
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "3"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86153
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86154
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86155
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "4"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86156
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86157
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86158
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "6"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86159
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86160
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1'[0m
|
86161
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2'
|
86162
|
+
[1m[36mIWonder::AbTest Load (0.4ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."id" = 83 LIMIT 1[0m
|
86163
|
+
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:38.779104')
|
86164
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 83 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 20:23:38.779104')[0m
|
86165
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86166
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86167
|
+
|
86168
|
+
|
86169
|
+
Started GET "/i_wonder" for 127.0.0.1 at 2011-10-28 13:23:38 -0700
|
86170
|
+
Processing by IWonder::DashboardController#landing as HTML
|
86171
|
+
Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms)
|
86172
|
+
|
86173
|
+
|
86174
|
+
Started GET "/i_wonder?block_this=true" for 127.0.0.1 at 2011-10-28 13:23:38 -0700
|
86175
|
+
Processing by IWonder::DashboardController#landing as HTML
|
86176
|
+
Parameters: {"block_this"=>"true"}
|
86177
|
+
Redirected to http://www.example.com/
|
86178
|
+
Completed 302 Found in 0ms
|
86179
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
86180
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86182
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86183
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86184
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86185
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86188
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_2"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86189
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86191
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_3"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86194
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86196
|
+
[1m[36mIWonder::Event Load (1.1ms)[0m [1mSELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC[0m
|
86197
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'test_event_1' GROUP BY event_type
|
86198
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86199
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86200
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86202
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86203
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86204
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86205
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86206
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86207
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86209
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86210
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86211
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86212
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
86213
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86214
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86215
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "i_wonder_events"
|
86216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86217
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86220
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86223
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", 1]]
|
86224
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86225
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
|
86226
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '123' AND user_id IS NULL)[0m
|
86227
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
|
86228
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'[0m
|
86229
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor'
|
86230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86231
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86232
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86234
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 20:23:38 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86236
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1[0m
|
86237
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '321' AND user_id IS NULL)
|
86238
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "i_wonder_events" SET "event_type" = 'return_visit' WHERE (user_id = '1' AND event_type = 'new_visitor' AND id <> 615)[0m
|
86239
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."id" = $1 LIMIT 1 [["id", 618]]
|
86240
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'[0m
|
86241
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'new_visitor'
|
86242
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'return_visit'[0m
|
86243
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '321'
|
86244
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1[0m
|
86245
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86247
|
+
|
86248
|
+
|
86249
|
+
Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:38 -0700
|
86250
|
+
Processing by IWonder::EventsController#index as HTML
|
86251
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
|
86252
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.4ms)
|
86253
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86254
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86255
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86256
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86257
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1[0m [["id", 529]]
|
86258
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86259
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 25 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 24 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86260
|
+
[1m[35m (0.0ms)[0m UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-09-24 07:00:01.000000', "options" = '---
|
86261
|
+
:collection_type: custom
|
86262
|
+
:takes_snapshots: true
|
86263
|
+
' WHERE "i_wonder_metrics"."id" = 529
|
86264
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86265
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86266
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 26 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 25 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86267
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86268
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86269
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 27 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 26 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86270
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86271
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86272
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 28 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 27 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86273
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86274
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86275
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 29 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 28 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86276
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86277
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86278
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 30 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 29 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86279
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86280
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86281
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 01 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 30 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86282
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86283
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86284
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 02 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 01 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86285
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86286
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86287
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 03 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 02 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86288
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86289
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86290
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 04 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 03 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86291
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86292
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86293
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 05 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 04 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86294
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86295
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86296
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 06 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 05 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86297
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86298
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86299
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 07 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 06 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86300
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86301
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86302
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 08 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 07 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86303
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86304
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86305
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 09 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 08 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86306
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86307
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86308
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 10 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 09 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86309
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86310
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86311
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 11 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 10 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86312
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86313
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86314
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 12 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 11 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86315
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86316
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86317
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 13 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 12 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86318
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86319
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86320
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 14 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 13 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86321
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86322
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86323
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 15 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 14 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86324
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86325
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86326
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 16 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 15 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86327
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86328
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86329
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 17 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 16 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86330
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86331
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86332
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 18 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Wed, 17 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86333
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86334
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86335
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Thu, 18 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86336
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86337
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86338
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Fri, 19 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86339
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86340
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86341
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86342
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86343
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86344
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86345
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86346
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1[0m
|
86347
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86348
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1[0m
|
86349
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 529 LIMIT 1
|
86350
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 529], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86351
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529 ORDER BY end_time DESC LIMIT 1
|
86352
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86353
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 529]]
|
86354
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 529[0m
|
86355
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86356
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86357
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86358
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86359
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86361
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86362
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86364
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 530], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86365
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86367
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 530], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86370
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 7], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 530], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86371
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86372
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 530 ORDER BY end_time DESC LIMIT 1[0m
|
86373
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 531 ORDER BY end_time DESC LIMIT 1
|
86374
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 530 ORDER BY end_time DESC LIMIT 1[0m
|
86375
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 531 ORDER BY end_time DESC LIMIT 1
|
86376
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86377
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86379
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 3"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86380
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86382
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86384
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1[0m
|
86385
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
|
86386
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1[0m
|
86387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86388
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86389
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86390
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 532 LIMIT 1[0m
|
86391
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86392
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86393
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86394
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-10-21 07:00:01.000000', "options" = '---
|
86395
|
+
:collection_type: custom
|
86396
|
+
:takes_snapshots: true
|
86397
|
+
' WHERE "i_wonder_metrics"."id" = 532[0m
|
86398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86399
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1[0m
|
86400
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86401
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86403
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 532 LIMIT 1[0m
|
86404
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86405
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86406
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1
|
86407
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86408
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
86409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86410
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 532 LIMIT 1
|
86411
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 532], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86412
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86413
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532 ORDER BY end_time DESC LIMIT 1[0m
|
86414
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 532
|
86415
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86416
|
+
[1m[35m (0.0ms)[0m BEGIN
|
86417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86418
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "3"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86419
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86420
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86421
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86422
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86423
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86425
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86427
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86428
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86431
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86432
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86434
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86436
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86437
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 4\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86439
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86440
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 5\nkey_2: 3\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 534], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86441
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86442
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 534 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
|
86443
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
86444
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86445
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86446
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86447
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86448
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86449
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86450
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86451
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86452
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86453
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86454
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86455
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86456
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86457
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86458
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86459
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86460
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86461
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 535], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86462
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86463
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 535 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')[0m
|
86464
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86465
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86466
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86467
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86468
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86470
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86471
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86472
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86473
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86474
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86475
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 536 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
86476
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86477
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "i_wonder_metrics" SET "options" = '---
|
86478
|
+
:collection_type: custom
|
86479
|
+
:takes_snapshots: true
|
86480
|
+
:combination_rule: average
|
86481
|
+
' WHERE "i_wonder_metrics"."id" = 536[0m
|
86482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86484
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86485
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86486
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86487
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 536], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86488
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86489
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 536 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
86490
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
86491
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86492
|
+
[1m[35mIWonder::Metric Load (0.3ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics"
|
86493
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86494
|
+
[1m[35m (0.5ms)[0m SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 1' LIMIT 1
|
86495
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["description", nil], ["name", "Report 1"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86496
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86497
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86498
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 4"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86499
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86500
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86501
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "collection_method" = 'IWonder::Report.find(45).destroy; 1', "updated_at" = '2011-10-28 20:23:39.252056', "options" = '---
|
86502
|
+
:collection_type: custom
|
86503
|
+
:takes_snapshots: true
|
86504
|
+
' WHERE "i_wonder_metrics"."id" = 537[0m
|
86505
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86506
|
+
[1m[36mIWonder::Snapshot Load (0.3ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 537 ORDER BY end_time DESC LIMIT 1[0m
|
86507
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86508
|
+
[1m[36mIWonder::Report Load (0.4ms)[0m [1mSELECT "i_wonder_reports".* FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 LIMIT 1[0m [["id", 45]]
|
86509
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 [["id", 45]]
|
86510
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86512
|
+
[1m[36mIWonder::Metric Load (0.3ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 537 LIMIT 1[0m
|
86513
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["end_time", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["metric_id", 537], ["start_time", Thu, 27 Oct 2011 20:23:39 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86514
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86515
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86516
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "i_wonder_metrics" SET "earliest_measurement" = '2011-10-27 20:23:39.254182', "updated_at" = '2011-10-28 20:23:39.258836', "options" = '---
|
86517
|
+
:collection_type: custom
|
86518
|
+
:takes_snapshots: true
|
86519
|
+
' WHERE "i_wonder_metrics"."id" = 537[0m
|
86520
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86521
|
+
[1m[36mIWonder::Snapshot Load (0.2ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 537 ORDER BY end_time DESC LIMIT 1[0m
|
86522
|
+
[1m[35mIWonder::Metric Load (0.2ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 537]]
|
86523
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = 45 LIMIT 1[0m
|
86524
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 537
|
86525
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86527
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "i_wonder_metrics"[0m
|
86528
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86529
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 5"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86530
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86531
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86532
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 19:53:39 UTC +00:00], ["name", "Measurement 6"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86533
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86534
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86535
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 18:53:39 UTC +00:00], ["name", "Measurement 7"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86536
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86537
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86538
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Fri, 28 Oct 2011 18:53:39 UTC +00:00], ["name", "Measurement 8"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86539
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86540
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86541
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["name", "Measurement 9"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86542
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86543
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86544
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Measurement 10"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86545
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86546
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86547
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", true], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 11"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86548
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86549
|
+
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())[0m
|
86550
|
+
[1m[35mIWonder::Metric Load (0.3ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
|
86551
|
+
[1m[36mIWonder::Metric Load (0.4ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())[0m
|
86552
|
+
[1m[35mIWonder::Metric Load (0.4ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
|
86553
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
86554
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86555
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86556
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 12"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86557
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86558
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86559
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86560
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86561
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "test name"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86562
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
86563
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86564
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:39.295315', "options" = '---
|
86565
|
+
:collection_type: event_counter
|
86566
|
+
:event_counter_event:
|
86567
|
+
:takes_snapshots: true
|
86568
|
+
' WHERE "i_wonder_metrics"."id" = 546
|
86569
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86570
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86571
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:39.297558', "options" = '---
|
86572
|
+
:collection_type: event_counter
|
86573
|
+
:event_counter_event:
|
86574
|
+
:takes_snapshots: false
|
86575
|
+
' WHERE "i_wonder_metrics"."id" = 546[0m
|
86576
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86577
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86578
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 20:23:39.298987', "options" = '---
|
86579
|
+
:collection_type: event_counter
|
86580
|
+
:event_counter_event:
|
86581
|
+
:takes_snapshots: true
|
86582
|
+
' WHERE "i_wonder_metrics"."id" = 546
|
86583
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86584
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86585
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 20:23:39.300709', "options" = '---
|
86586
|
+
:collection_type: event_counter
|
86587
|
+
:event_counter_event:
|
86588
|
+
:takes_snapshots: false
|
86589
|
+
' WHERE "i_wonder_metrics"."id" = 546[0m
|
86590
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86591
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86592
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86594
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 13"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86595
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86596
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86597
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86598
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86599
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"hit\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Hits"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: hit\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86600
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
86601
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86602
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86603
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86604
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86605
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["event_type", :hit], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86606
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86607
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86608
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86609
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86610
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86611
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'hit' AND (created_at >= '2011-10-27 20:23:39.315057' AND created_at < '2011-10-28 20:23:39.315138')[0m
|
86612
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
86613
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86614
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86615
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86616
|
+
[1m[35mSQL (33.7ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "Account.where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Accounts"], ["options", "--- \n:collection_type: model_counter\n:model_counter_class: Account\n:model_counter_scopes: \n:model_counter_method: Creation Rate\n:combination_rule: sum\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86617
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86618
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86619
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["active", nil], ["created_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00], ["updated_at", Wed, 26 Oct 2011 20:23:39 UTC +00:00]]
|
86620
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86622
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00]]
|
86623
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86625
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["active", nil], ["created_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 18:23:39 UTC +00:00]]
|
86626
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86627
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86628
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "accounts" WHERE (created_at >= '2011-10-27 20:23:39.365044' AND created_at < '2011-10-28 20:23:39.365133')
|
86629
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86630
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86631
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "collection_method" = 'Account.where("created_at < ?", end_time).count', "updated_at" = '2011-10-28 20:23:39.366997', "options" = '---
|
86632
|
+
:collection_type: model_counter
|
86633
|
+
:model_counter_class: Account
|
86634
|
+
:model_counter_scopes:
|
86635
|
+
:model_counter_method: Total Number
|
86636
|
+
:combination_rule: average
|
86637
|
+
:takes_snapshots: false
|
86638
|
+
' WHERE "i_wonder_metrics"."id" = 549[0m
|
86639
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86640
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86641
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "accounts" WHERE (created_at < '2011-10-28 20:23:39.368369')
|
86642
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86644
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86645
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86646
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86647
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86648
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86649
|
+
|
86650
|
+
|
86651
|
+
Started POST "/i_wonder/metrics" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86652
|
+
Processing by IWonder::MetricsController#create as HTML
|
86653
|
+
Parameters: {"metric"=>{"name"=>"New Metric"}}
|
86654
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86655
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "New Metric"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 20:23:39 UTC +00:00]]
|
86656
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86657
|
+
Redirected to http://www.example.com/i_wonder/metrics/550
|
86658
|
+
Completed 302 Found in 4ms
|
86659
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86660
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86661
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86662
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86663
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86665
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 551], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86666
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86667
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86668
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 551], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86669
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86670
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86671
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 551], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86672
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86673
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86674
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86676
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86677
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 552], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
86679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86680
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 552], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86681
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86682
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86683
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 2' LIMIT 1[0m
|
86684
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["description", nil], ["name", "Report 2"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
86685
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id"[0m [["metric_id", 551], ["report_id", 46]]
|
86686
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 552], ["report_id", 46]]
|
86687
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86688
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 46
|
86689
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 46[0m
|
86690
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 551 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
|
86691
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 552 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')[0m
|
86692
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 551 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
|
86693
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 552 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
86694
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 551 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
|
86695
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 552 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')[0m
|
86696
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86697
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86698
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86699
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86700
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
86701
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
86702
|
+
Processing by TestController#test_with_report as HTML
|
86703
|
+
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
|
86704
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86705
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86706
|
+
Processing by TestController#test_without_report as HTML
|
86707
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
86708
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86709
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86710
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
86711
|
+
|
86712
|
+
|
86713
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86714
|
+
Processing by TestController#test_without_report as HTML
|
86715
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
86716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86717
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'c130509a0b9c8d1021c3', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:39.453873', '2011-10-28 20:23:39.453885')
|
86718
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'c130509a0b9c8d1021c3', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 20:23:39.454500', '2011-10-28 20:23:39.454519')[0m
|
86719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86720
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86721
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
86722
|
+
[1m[36mIWonder::Event Load (0.5ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1[0m
|
86723
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
86724
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
86725
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
86726
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
86727
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
86728
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
86729
|
+
|
86730
|
+
|
86731
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86732
|
+
Processing by TestController#test_without_report as HTML
|
86733
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
86734
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86735
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'c130509a0b9c8d1021c3', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.462765', '2011-10-28 20:23:39.462774')[0m
|
86736
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86737
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86738
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
86739
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1[0m
|
86740
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86741
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86742
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
86743
|
+
|
86744
|
+
|
86745
|
+
Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86746
|
+
Processing by TestController#test_without_login as HTML
|
86747
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
86748
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86749
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86750
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86751
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
86752
|
+
|
86753
|
+
|
86754
|
+
Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86755
|
+
Processing by IWonder::EventsController#index as HTML
|
86756
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC[0m
|
86757
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
|
86758
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86759
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86760
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86761
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
86762
|
+
|
86763
|
+
|
86764
|
+
Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86765
|
+
Processing by TestController#test_redirect as HTML
|
86766
|
+
Redirected to http://www.example.comtest_without_login
|
86767
|
+
Completed 302 Found in 0ms
|
86768
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86769
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86770
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86771
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86772
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86773
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
86774
|
+
|
86775
|
+
|
86776
|
+
Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86777
|
+
Processing by TestController#test_redirect as HTML
|
86778
|
+
Redirected to http://www.example.comtest_without_login
|
86779
|
+
Completed 302 Found in 0ms
|
86780
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86781
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '4f2411106d766b4ec324', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.486031', '2011-10-28 20:23:39.486051')[0m
|
86782
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '4f2411106d766b4ec324', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.486696', '2011-10-28 20:23:39.486705')
|
86783
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86784
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86785
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86786
|
+
[1m[35m (0.0ms)[0m BEGIN
|
86787
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
86788
|
+
|
86789
|
+
|
86790
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:39 -0700
|
86791
|
+
Processing by TestController#test_without_report as HTML
|
86792
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
86793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86794
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:39.491814', '2011-10-28 17:23:39.491839')[0m
|
86795
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:39.492484', '2011-10-28 17:23:39.492509')
|
86796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86797
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86798
|
+
|
86799
|
+
|
86800
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 10:23:39 -0700
|
86801
|
+
Processing by TestController#test_without_report as HTML
|
86802
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
86803
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86804
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 17:23:39.497168', '2011-10-28 17:23:39.497193')
|
86805
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86806
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86807
|
+
|
86808
|
+
|
86809
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86810
|
+
Processing by TestController#test_without_report as HTML
|
86811
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
86812
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86813
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('return_visit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.501542', '2011-10-28 20:23:39.501552')
|
86814
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a6ddd6fc3d35321c04d7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.502143', '2011-10-28 20:23:39.502153')[0m
|
86815
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86816
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86817
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
86818
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86819
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86820
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
86821
|
+
|
86822
|
+
|
86823
|
+
Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86824
|
+
Processing by TestController#test_without_login as HTML
|
86825
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
86826
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86827
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', NULL, NULL, '2b00a242a5183ba148af', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.508083', '2011-10-28 20:23:39.508094')[0m
|
86828
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', NULL, NULL, '2b00a242a5183ba148af', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.508683', '2011-10-28 20:23:39.508692')
|
86829
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86830
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
86831
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
86832
|
+
|
86833
|
+
|
86834
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 13:23:39 -0700
|
86835
|
+
Processing by TestController#test_without_report as HTML
|
86836
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
86837
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 2 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
|
86838
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "i_wonder_events" SET "user_id" = '2', "session_id" = '2b00a242a5183ba148af' WHERE (session_id = '2b00a242a5183ba148af' AND user_id IS NULL)[0m
|
86839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86840
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '2b00a242a5183ba148af', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 20:23:39.515309', '2011-10-28 20:23:39.515318')[0m
|
86841
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86842
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
86843
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
86844
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('blah blah', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-10-28 20:23:39.518096', '2011-10-28 20:23:39.518106')[0m
|
86845
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
86846
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
86847
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
86848
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86849
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
86850
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
86851
|
+
[1m[36m (1.1ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86852
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86853
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86855
|
+
[1m[36mSQL (15.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86856
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 84], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86857
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86858
|
+
[1m[35mIWonder::TestGroupMembership Load (0.7ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
86859
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86860
|
+
[1m[35m (0.4ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86861
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 84], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86862
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86863
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
86864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86865
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 21:01:55.906817', "options" = '---
|
86866
|
+
:test_group_names:
|
86867
|
+
- Options 1
|
86868
|
+
- Options 2
|
86869
|
+
', "test_group_data" = '--- {}
|
86870
|
+
|
86871
|
+
' WHERE "i_wonder_ab_tests"."id" = 84[0m
|
86872
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86873
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
86874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86875
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1[0m
|
86876
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 84], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86877
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86878
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
86879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86880
|
+
[1m[35m (0.2ms)[0m UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 21:01:55.912212', "options" = '---
|
86881
|
+
:test_group_names:
|
86882
|
+
- Options 1
|
86883
|
+
- Options 2
|
86884
|
+
', "test_group_data" = '--- {}
|
86885
|
+
|
86886
|
+
' WHERE "i_wonder_ab_tests"."id" = 84
|
86887
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86888
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1
|
86889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86890
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
86891
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 84], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86893
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 84 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' LIMIT 1[0m
|
86894
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
86895
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86896
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86897
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86898
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86899
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86900
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86901
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86902
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 85], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86903
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86904
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86905
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = 'random_1') LIMIT 1[0m
|
86906
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "random_1"], ["member_type", "account"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86907
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86908
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86909
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = 'random_2') LIMIT 1[0m
|
86910
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "random_2"], ["member_type", "user"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86911
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86912
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86913
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = 'random_3') LIMIT 1[0m
|
86914
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "random_3"], ["member_type", "session"], ["test_group_name", "Options 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86915
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86916
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
|
86917
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86918
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86919
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86921
|
+
[1m[36mIWonder::TestGroupMembership Load (0.2ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1[0m
|
86922
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
86923
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'user', "updated_at" = '2011-10-28 21:01:55.932732', "options" = '---
|
86924
|
+
:test_group_names:
|
86925
|
+
- Options 1
|
86926
|
+
- Options 2
|
86927
|
+
', "test_group_data" = '--- {}
|
86928
|
+
|
86929
|
+
' WHERE "i_wonder_ab_tests"."id" = 85[0m
|
86930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86931
|
+
[1m[36mIWonder::TestGroupMembership Load (0.2ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1[0m
|
86932
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
86933
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1[0m
|
86934
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "3"], ["member_type", "user"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86935
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86936
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'user' AND "i_wonder_test_group_memberships"."member_id" = '3' LIMIT 1
|
86937
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86938
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_ab_tests" SET "test_applies_to" = 'account', "updated_at" = '2011-10-28 21:01:55.937916', "options" = '---
|
86939
|
+
:test_group_names:
|
86940
|
+
- Options 1
|
86941
|
+
- Options 2
|
86942
|
+
', "test_group_data" = '--- {}
|
86943
|
+
|
86944
|
+
' WHERE "i_wonder_ab_tests"."id" = 85
|
86945
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86946
|
+
[1m[35mIWonder::TestGroupMembership Load (0.2ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1
|
86947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86948
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
86949
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 85], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "4"], ["member_type", "account"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86951
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 85 AND "i_wonder_test_group_memberships"."member_type" = 'account' AND "i_wonder_test_group_memberships"."member_id" = '4' LIMIT 1[0m
|
86952
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86953
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86954
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86955
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86956
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86957
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
86958
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86959
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86960
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 86], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86962
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86
|
86963
|
+
[1m[36mIWonder::AbTest Load (0.2ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1[0m
|
86964
|
+
[1m[35mIWonder::TestGroupMembership Load (0.3ms)[0m SELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1
|
86965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86966
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 86 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86967
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 86], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Options 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86968
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86969
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86[0m
|
86970
|
+
[1m[35mIWonder::AbTest Load (0.3ms)[0m SELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86971
|
+
[1m[36mIWonder::TestGroupMembership Load (0.3ms)[0m [1mSELECT "i_wonder_test_group_memberships".* FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2' LIMIT 1[0m
|
86972
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 86
|
86973
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
86974
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86975
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
86976
|
+
[1m[35m (0.1ms)[0m BEGIN
|
86977
|
+
[1m[36mIWonder::AbTest Load (0.3ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'non-existant test' LIMIT 1[0m
|
86978
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86979
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86980
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86981
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
86982
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
86983
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."name" = 'Blah Test' LIMIT 1[0m
|
86984
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."sym" = 'blah' LIMIT 1
|
86985
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_ab_tests" ("created_at", "description", "name", "options", "sym", "test_applies_to", "test_group_data", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["description", nil], ["name", "Blah Test"], ["options", "--- \n:test_group_names: \n- Options 1\n- Options 2\n"], ["sym", "blah"], ["test_applies_to", "session"], ["test_group_data", "--- {}\n\n"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86986
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_ab_test_goals" ("ab_test_id", "options") VALUES ($1, $2) RETURNING "id" [["ab_test_id", 87], ["options", "--- \n:event_type: success\n:goal_type: Event\n"]]
|
86987
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86988
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
86989
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Thu, 27 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "5"], ["updated_at", Thu, 27 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
86990
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86991
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86992
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '1') LIMIT 1
|
86993
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "1"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86994
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86995
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
86996
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '2') LIMIT 1
|
86997
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "2"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
86998
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
86999
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87000
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '3') LIMIT 1
|
87001
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "3"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
87002
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87003
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87004
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '4') LIMIT 1
|
87005
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "4"], ["member_type", "session"], ["test_group_name", "Option 2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
87006
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87008
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "i_wonder_test_group_memberships" WHERE ("i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."member_type" = 'session' AND "i_wonder_test_group_memberships"."member_id" = '5') LIMIT 1
|
87009
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_test_group_memberships" ("ab_test_id", "created_at", "member_id", "member_type", "test_group_name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["ab_test_id", 87], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["member_id", "5"], ["member_type", "session"], ["test_group_name", "Option 1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00]]
|
87010
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87011
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87012
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "1"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87013
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87014
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87015
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87016
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87017
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87018
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "2"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87019
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87020
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87021
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "3"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87022
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87024
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "random"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "4"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87025
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87026
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87027
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["event_type", "success"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "6"], ["updated_at", Fri, 28 Oct 2011 21:01:55 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87028
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87029
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1'[0m
|
87030
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2'
|
87031
|
+
[1m[36mIWonder::AbTest Load (0.7ms)[0m [1mSELECT "i_wonder_ab_tests".* FROM "i_wonder_ab_tests" WHERE "i_wonder_ab_tests"."id" = 87 LIMIT 1[0m
|
87032
|
+
[1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 1' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 21:01:55.963044')
|
87033
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_test_group_memberships" LEFT JOIN i_wonder_events ON i_wonder_events.session_id = i_wonder_test_group_memberships.member_id WHERE "i_wonder_test_group_memberships"."ab_test_id" = 87 AND "i_wonder_test_group_memberships"."test_group_name" = 'Option 2' AND (i_wonder_events.event_type = 'success') AND (i_wonder_events.created_at > '2011-10-28 21:01:55.963044')[0m
|
87034
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
87035
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87036
|
+
|
87037
|
+
|
87038
|
+
Started GET "/i_wonder" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87039
|
+
Processing by IWonder::DashboardController#landing as HTML
|
87040
|
+
Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms)
|
87041
|
+
|
87042
|
+
|
87043
|
+
Started GET "/i_wonder?block_this=true" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87044
|
+
Processing by IWonder::DashboardController#landing as HTML
|
87045
|
+
Parameters: {"block_this"=>"true"}
|
87046
|
+
Redirected to http://www.example.com/
|
87047
|
+
Completed 302 Found in 0ms
|
87048
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
87049
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87050
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87051
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87052
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87053
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87054
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87055
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87056
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87057
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_2"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87058
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87059
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87060
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_3"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87061
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87063
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event_1"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87064
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87065
|
+
[1m[36mIWonder::Event Load (1.0ms)[0m [1mSELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC[0m
|
87066
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'test_event_1' GROUP BY event_type
|
87067
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87068
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87069
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87070
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87071
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87072
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87073
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87074
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87075
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87076
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87077
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87078
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "test_event"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87079
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87080
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87081
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
87082
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87083
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87084
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "i_wonder_events"
|
87085
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87086
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87087
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87089
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87090
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87091
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87092
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "123"], ["updated_at", Wed, 28 Sep 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", 1]]
|
87093
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87094
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
|
87095
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '123' AND user_id IS NULL)[0m
|
87096
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1
|
87097
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'[0m
|
87098
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor'
|
87099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "new_visitor"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87101
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87102
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87103
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", "321"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87104
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87105
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1[0m
|
87106
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "i_wonder_events" SET "user_id" = '1', "session_id" = '123' WHERE (session_id = '321' AND user_id IS NULL)
|
87107
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "i_wonder_events" SET "event_type" = 'return_visit' WHERE (user_id = '1' AND event_type = 'new_visitor' AND id <> 651)[0m
|
87108
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."id" = $1 LIMIT 1 [["id", 654]]
|
87109
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123'[0m
|
87110
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'new_visitor'
|
87111
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '123' AND "i_wonder_events"."event_type" = 'return_visit'[0m
|
87112
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."session_id" = '321'
|
87113
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 1[0m
|
87114
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87115
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87116
|
+
|
87117
|
+
|
87118
|
+
Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87119
|
+
Processing by IWonder::EventsController#index as HTML
|
87120
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC
|
87121
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.4ms)
|
87122
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87123
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87125
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87126
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1[0m [["id", 553]]
|
87127
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87128
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 25 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 24 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87129
|
+
[1m[35m (0.0ms)[0m UPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-09-24 07:00:01.000000', "options" = '---
|
87130
|
+
:collection_type: custom
|
87131
|
+
:takes_snapshots: true
|
87132
|
+
' WHERE "i_wonder_metrics"."id" = 553
|
87133
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87134
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87135
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 26 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 25 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87136
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87137
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87138
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 27 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 26 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87139
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87140
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87141
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 28 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 27 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87142
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87143
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87144
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 29 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 28 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87145
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87146
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87147
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 30 Sep 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 29 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87148
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87149
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87150
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 01 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 30 Sep 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87151
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87152
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87153
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 02 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 01 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87154
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87155
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87156
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 03 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 02 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87157
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87158
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87159
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 04 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 03 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87160
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87161
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87162
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 05 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 04 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87163
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87164
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87165
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 06 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 05 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87166
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87167
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87168
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 07 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 06 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87169
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87170
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87171
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 08 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 07 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87172
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87173
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87174
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 09 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 08 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87175
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87176
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87177
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 10 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 09 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87178
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87179
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87180
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 11 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 10 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87181
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87182
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87183
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 12 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 11 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87184
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87185
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87186
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 13 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 12 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87187
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87188
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87189
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 14 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 13 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87190
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87191
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87192
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 15 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 14 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87193
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87194
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87195
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 16 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 15 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87196
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87197
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87198
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 17 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 16 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87199
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87200
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87201
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Thu, 18 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Wed, 17 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87202
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87203
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87204
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Thu, 18 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87205
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87206
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87207
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Fri, 19 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87208
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87209
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87210
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87211
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87212
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87213
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87214
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87215
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1[0m
|
87216
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87217
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1[0m
|
87218
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 553 LIMIT 1
|
87219
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 553], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87220
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553 ORDER BY end_time DESC LIMIT 1
|
87221
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87222
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 553]]
|
87223
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 553[0m
|
87224
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87225
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87226
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87227
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87228
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87230
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87232
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87233
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 9], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 554], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87235
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87236
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 11], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 554], ["start_time", Sat, 20 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87237
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87239
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 554], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87240
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87241
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 554 ORDER BY end_time DESC LIMIT 1[0m
|
87242
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 555 ORDER BY end_time DESC LIMIT 1
|
87243
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 554 ORDER BY end_time DESC LIMIT 1[0m
|
87244
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 555 ORDER BY end_time DESC LIMIT 1
|
87245
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87246
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87247
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87248
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "1"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 3"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87249
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87251
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87253
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1[0m
|
87254
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
|
87255
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1[0m
|
87256
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87257
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87258
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87259
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 556 LIMIT 1[0m
|
87260
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Sun, 21 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87263
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "i_wonder_metrics" SET "earliest_measurement" = '2012-10-21 07:00:01.000000', "options" = '---
|
87264
|
+
:collection_type: custom
|
87265
|
+
:takes_snapshots: true
|
87266
|
+
' WHERE "i_wonder_metrics"."id" = 556[0m
|
87267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87268
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1[0m
|
87269
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87270
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87271
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87272
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 556 LIMIT 1[0m
|
87273
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Mon, 22 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87275
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1
|
87276
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87277
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87279
|
+
[1m[35mIWonder::Metric Load (0.0ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 556 LIMIT 1
|
87280
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 556], ["start_time", Tue, 23 Oct 2012 07:00:01 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87281
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87282
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556 ORDER BY end_time DESC LIMIT 1[0m
|
87283
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 556
|
87284
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
87285
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87286
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87287
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "3"], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87288
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87290
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87291
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87292
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87294
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87297
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87299
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87300
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87303
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87306
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 4\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87309
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 5\nkey_2: 3\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 558], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87311
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 558 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')
|
87312
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87313
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87315
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87318
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Fri, 19 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87321
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Sat, 20 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87324
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87327
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 4], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87329
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87330
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 5], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 559], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87332
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 559 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-20 07:00:00.000000')[0m
|
87333
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87334
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87335
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87336
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87337
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87339
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87342
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87344
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 560 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
87345
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87346
|
+
[1m[36m (0.0ms)[0m [1mUPDATE "i_wonder_metrics" SET "options" = '---
|
87347
|
+
:collection_type: custom
|
87348
|
+
:takes_snapshots: true
|
87349
|
+
:combination_rule: average
|
87350
|
+
' WHERE "i_wonder_metrics"."id" = 560[0m
|
87351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87352
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87353
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87356
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 560], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87358
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 560 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
87359
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87360
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87361
|
+
[1m[35mIWonder::Metric Load (0.2ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics"
|
87362
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
87363
|
+
[1m[35m (0.5ms)[0m SELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 1' LIMIT 1
|
87364
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["description", nil], ["name", "Report 1"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87365
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87366
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87367
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Measurement 4"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87368
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87369
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87370
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "collection_method" = 'IWonder::Report.find(47).destroy; 1', "updated_at" = '2011-10-28 21:01:56.482503', "options" = '---
|
87371
|
+
:collection_type: custom
|
87372
|
+
:takes_snapshots: true
|
87373
|
+
' WHERE "i_wonder_metrics"."id" = 561[0m
|
87374
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87375
|
+
[1m[36mIWonder::Snapshot Load (0.3ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 561 ORDER BY end_time DESC LIMIT 1[0m
|
87376
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87377
|
+
[1m[36mIWonder::Report Load (0.4ms)[0m [1mSELECT "i_wonder_reports".* FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 LIMIT 1[0m [["id", 47]]
|
87378
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = $1 [["id", 47]]
|
87379
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87380
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87381
|
+
[1m[36mIWonder::Metric Load (0.3ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = 561 LIMIT 1[0m
|
87382
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["end_time", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["metric_id", 561], ["start_time", Thu, 27 Oct 2011 21:01:56 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87383
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87384
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87385
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "i_wonder_metrics" SET "earliest_measurement" = '2011-10-27 21:01:56.484761', "updated_at" = '2011-10-28 21:01:56.489743', "options" = '---
|
87386
|
+
:collection_type: custom
|
87387
|
+
:takes_snapshots: true
|
87388
|
+
' WHERE "i_wonder_metrics"."id" = 561[0m
|
87389
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87390
|
+
[1m[36mIWonder::Snapshot Load (0.2ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 561 ORDER BY end_time DESC LIMIT 1[0m
|
87391
|
+
[1m[35mIWonder::Metric Load (0.2ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE "i_wonder_metrics"."id" = $1 LIMIT 1 [["id", 561]]
|
87392
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."id" = 47 LIMIT 1[0m
|
87393
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 561
|
87394
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87395
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87396
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "i_wonder_metrics"[0m
|
87397
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87398
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 5"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87399
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87400
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87401
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 20:31:56 UTC +00:00], ["name", "Measurement 6"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87402
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87403
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87404
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", Fri, 28 Oct 2011 19:31:56 UTC +00:00], ["name", "Measurement 7"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87405
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87407
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Fri, 28 Oct 2011 19:31:56 UTC +00:00], ["name", "Measurement 8"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87408
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87410
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["name", "Measurement 9"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87411
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87412
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87413
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Measurement 10"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87414
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87415
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87416
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", true], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 11"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87417
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87418
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())[0m
|
87419
|
+
[1m[35mIWonder::Metric Load (0.4ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
|
87420
|
+
[1m[36mIWonder::Metric Load (0.4ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())[0m
|
87421
|
+
[1m[35mIWonder::Metric Load (0.4ms)[0m SELECT "i_wonder_metrics".* FROM "i_wonder_metrics" WHERE (archived = 'f' or archived IS NULL) AND (frequency > 0) AND (last_measurement IS NULL OR last_measurement+(frequency * interval '1 second') < NOW())
|
87422
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87423
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87425
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 12"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87426
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87427
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87428
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
87429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87430
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "test name"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87431
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87432
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87433
|
+
[1m[35m (0.3ms)[0m UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 21:01:56.525455', "options" = '---
|
87434
|
+
:collection_type: event_counter
|
87435
|
+
:event_counter_event:
|
87436
|
+
:takes_snapshots: true
|
87437
|
+
' WHERE "i_wonder_metrics"."id" = 570
|
87438
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87439
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87440
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 21:01:56.527604', "options" = '---
|
87441
|
+
:collection_type: event_counter
|
87442
|
+
:event_counter_event:
|
87443
|
+
:takes_snapshots: false
|
87444
|
+
' WHERE "i_wonder_metrics"."id" = 570[0m
|
87445
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87446
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87447
|
+
[1m[35m (0.2ms)[0m UPDATE "i_wonder_metrics" SET "frequency" = 3600, "updated_at" = '2011-10-28 21:01:56.529050', "options" = '---
|
87448
|
+
:collection_type: event_counter
|
87449
|
+
:event_counter_event:
|
87450
|
+
:takes_snapshots: true
|
87451
|
+
' WHERE "i_wonder_metrics"."id" = 570
|
87452
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87453
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87454
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "frequency" = -1, "updated_at" = '2011-10-28 21:01:56.530896', "options" = '---
|
87455
|
+
:collection_type: event_counter
|
87456
|
+
:event_counter_event:
|
87457
|
+
:takes_snapshots: false
|
87458
|
+
' WHERE "i_wonder_metrics"."id" = 570[0m
|
87459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87460
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87461
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87462
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87463
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", 3600], ["last_measurement", nil], ["name", "Measurement 13"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87464
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87465
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87466
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87468
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"hit\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Hits"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: hit\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87469
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87470
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87471
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87472
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87473
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87474
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id"[0m [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["event_type", :hit], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87475
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87476
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87477
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "i_wonder_events" ("account_id", "action", "controller", "created_at", "event_type", "extra_details", "referrer", "remote_ip", "session_id", "updated_at", "user_agent", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["account_id", nil], ["action", nil], ["controller", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["event_type", "hit"], ["extra_details", "--- {}\n\n"], ["referrer", nil], ["remote_ip", nil], ["session_id", nil], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["user_agent", nil], ["user_id", nil]]
|
87478
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87479
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87480
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" WHERE "i_wonder_events"."event_type" = 'hit' AND (created_at >= '2011-10-27 21:01:56.546567' AND created_at < '2011-10-28 21:01:56.546650')[0m
|
87481
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87482
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87483
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87484
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87485
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", "Account.where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "Track Accounts"], ["options", "--- \n:collection_type: model_counter\n:model_counter_class: Account\n:model_counter_scopes: \n:model_counter_method: Creation Rate\n:combination_rule: sum\n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87486
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87487
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87488
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["active", nil], ["created_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00], ["updated_at", Wed, 26 Oct 2011 21:01:56 UTC +00:00]]
|
87489
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87490
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87491
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["active", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00]]
|
87492
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87493
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87494
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("active", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["active", nil], ["created_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00], ["updated_at", Fri, 28 Oct 2011 19:01:56 UTC +00:00]]
|
87495
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87496
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87497
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "accounts" WHERE (created_at >= '2011-10-27 21:01:56.597896' AND created_at < '2011-10-28 21:01:56.597992')
|
87498
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87499
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87500
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "i_wonder_metrics" SET "collection_method" = 'Account.where("created_at < ?", end_time).count', "updated_at" = '2011-10-28 21:01:56.600457', "options" = '---
|
87501
|
+
:collection_type: model_counter
|
87502
|
+
:model_counter_class: Account
|
87503
|
+
:model_counter_scopes:
|
87504
|
+
:model_counter_method: Total Number
|
87505
|
+
:combination_rule: average
|
87506
|
+
:takes_snapshots: false
|
87507
|
+
' WHERE "i_wonder_metrics"."id" = 573[0m
|
87508
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87510
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "accounts" WHERE (created_at < '2011-10-28 21:01:56.601967')
|
87511
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87512
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87513
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87514
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87515
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87516
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87517
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87518
|
+
|
87519
|
+
|
87520
|
+
Started POST "/i_wonder/metrics" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87521
|
+
Processing by IWonder::MetricsController#create as HTML
|
87522
|
+
Parameters: {"metric"=>{"name"=>"New Metric"}}
|
87523
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87524
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["archived", nil], ["collection_method", "IWonder::Event.where(:event_type => \"\").where(\"created_at >= ? AND created_at < ?\", start_time, end_time).count"], ["created_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00], ["earliest_measurement", nil], ["frequency", -1], ["last_measurement", nil], ["name", "New Metric"], ["options", "--- \n:collection_type: event_counter\n:event_counter_event: \n:takes_snapshots: false\n"], ["updated_at", Fri, 28 Oct 2011 21:01:56 UTC +00:00]]
|
87525
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87526
|
+
Redirected to http://www.example.com/i_wonder/metrics/574
|
87527
|
+
Completed 302 Found in 4ms
|
87528
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87529
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87531
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 1"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87534
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 1], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 575], ["start_time", Sun, 21 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87535
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87536
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87537
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- {}\n\n"], ["count", 2], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 575], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87540
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- {}\n\n"], ["count", 3], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 575], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87541
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87543
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_metrics" ("archived", "collection_method", "created_at", "earliest_measurement", "frequency", "last_measurement", "name", "options", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["archived", nil], ["collection_method", ""], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["earliest_measurement", nil], ["frequency", 86400], ["last_measurement", nil], ["name", "Test Metric 2"], ["options", "--- \n:collection_type: custom\n:takes_snapshots: true\n"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87544
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87546
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["complex_data", "--- \nkey_1: 3\nkey_2: 1\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 576], ["start_time", Mon, 22 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87548
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87549
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_snapshots" ("complex_data", "count", "created_at", "end_time", "metric_id", "start_time", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["complex_data", "--- \nkey_1: 3\nkey_2: 2\n"], ["count", nil], ["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["end_time", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["metric_id", 576], ["start_time", Tue, 23 Oct 2012 07:00:00 UTC +00:00], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87550
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87551
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87552
|
+
[1m[36m (0.0ms)[0m [1mSELECT 1 FROM "i_wonder_reports" WHERE "i_wonder_reports"."name" = 'Report 2' LIMIT 1[0m
|
87553
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_reports" ("created_at", "description", "name", "pin_to_dashboard", "report_type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00], ["description", nil], ["name", "Report 2"], ["pin_to_dashboard", nil], ["report_type", "line"], ["updated_at", Wed, 24 Oct 2012 07:00:00 UTC +00:00]]
|
87554
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id"[0m [["metric_id", 575], ["report_id", 48]]
|
87555
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "i_wonder_report_memberships" ("metric_id", "report_id") VALUES ($1, $2) RETURNING "id" [["metric_id", 576], ["report_id", 48]]
|
87556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87557
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 48
|
87558
|
+
[1m[36mIWonder::Metric Load (0.0ms)[0m [1mSELECT "i_wonder_metrics".* FROM "i_wonder_metrics" INNER JOIN "i_wonder_report_memberships" ON "i_wonder_metrics"."id" = "i_wonder_report_memberships"."metric_id" WHERE "i_wonder_report_memberships"."report_id" = 48[0m
|
87559
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 575 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')
|
87560
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 576 AND (start_time < '2012-10-22 07:00:00.000000' AND end_time > '2012-10-21 07:00:00.000000')[0m
|
87561
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 575 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')
|
87562
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 576 AND (start_time < '2012-10-23 07:00:00.000000' AND end_time > '2012-10-22 07:00:00.000000')[0m
|
87563
|
+
[1m[35mIWonder::Snapshot Load (0.0ms)[0m SELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 575 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')
|
87564
|
+
[1m[36mIWonder::Snapshot Load (0.0ms)[0m [1mSELECT "i_wonder_snapshots".* FROM "i_wonder_snapshots" WHERE "i_wonder_snapshots"."metric_id" = 576 AND (start_time < '2012-10-24 07:00:00.000000' AND end_time > '2012-10-23 07:00:00.000000')[0m
|
87565
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87566
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87567
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
87568
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87569
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87570
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87571
|
+
Processing by TestController#test_with_report as HTML
|
87572
|
+
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
|
87573
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87574
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87575
|
+
Processing by TestController#test_without_report as HTML
|
87576
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
87577
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87578
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87579
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
87580
|
+
|
87581
|
+
|
87582
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87583
|
+
Processing by TestController#test_without_report as HTML
|
87584
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
87585
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87586
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', '5b08b3c78daa0bf15cb7', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 21:01:56.705670', '2011-10-28 21:01:56.705681')
|
87587
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5b08b3c78daa0bf15cb7', 'test', 'test_without_report', NULL, '127.0.0.1', 'chrome', 'http://google.com', '2011-10-28 21:01:56.706336', '2011-10-28 21:01:56.706346')[0m
|
87588
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87589
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87590
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
87591
|
+
[1m[36mIWonder::Event Load (0.5ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1[0m
|
87592
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
87593
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
87594
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
87595
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
87596
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1
|
87597
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
87598
|
+
|
87599
|
+
|
87600
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87601
|
+
Processing by TestController#test_without_report as HTML
|
87602
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
87603
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87604
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', '5b08b3c78daa0bf15cb7', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.715691', '2011-10-28 21:01:56.715700')[0m
|
87605
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87606
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87607
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
87608
|
+
[1m[36mIWonder::Event Load (0.3ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1[0m
|
87609
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87611
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
87612
|
+
|
87613
|
+
|
87614
|
+
Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87615
|
+
Processing by TestController#test_without_login as HTML
|
87616
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
87617
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87618
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
87619
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
87620
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
87621
|
+
|
87622
|
+
|
87623
|
+
Started GET "/i_wonder/events" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87624
|
+
Processing by IWonder::EventsController#index as HTML
|
87625
|
+
[1m[36mIWonder::Event Load (0.4ms)[0m [1mSELECT event_type, COUNT(event_type) as count, MAX(created_at) as most_recent FROM "i_wonder_events" GROUP BY event_type ORDER BY most_recent DESC[0m
|
87626
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
|
87627
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87628
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87629
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87630
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
87631
|
+
|
87632
|
+
|
87633
|
+
Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87634
|
+
Processing by TestController#test_redirect as HTML
|
87635
|
+
Redirected to http://www.example.comtest_without_login
|
87636
|
+
Completed 302 Found in 0ms
|
87637
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
87638
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87639
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87640
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87641
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87642
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
87643
|
+
|
87644
|
+
|
87645
|
+
Started GET "/test_redirect" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87646
|
+
Processing by TestController#test_redirect as HTML
|
87647
|
+
Redirected to http://www.example.comtest_without_login
|
87648
|
+
Completed 302 Found in 0ms
|
87649
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87650
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'd677dcabd0e4cb596d2e', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.740034', '2011-10-28 21:01:56.740047')[0m
|
87651
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd677dcabd0e4cb596d2e', 'test', 'test_redirect', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.740733', '2011-10-28 21:01:56.740742')
|
87652
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87653
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87654
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87655
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87656
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
87657
|
+
|
87658
|
+
|
87659
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 11:01:56 -0700
|
87660
|
+
Processing by TestController#test_without_report as HTML
|
87661
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
87662
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87663
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 18:01:56.746368', '2011-10-28 18:01:56.746395')[0m
|
87664
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 18:01:56.747080', '2011-10-28 18:01:56.747118')
|
87665
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87666
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87667
|
+
|
87668
|
+
|
87669
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 11:01:56 -0700
|
87670
|
+
Processing by TestController#test_without_report as HTML
|
87671
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
87672
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87673
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 18:01:56.752053', '2011-10-28 18:01:56.752088')
|
87674
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87675
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87676
|
+
|
87677
|
+
|
87678
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87679
|
+
Processing by TestController#test_without_report as HTML
|
87680
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
87681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87682
|
+
[1m[35m (0.3ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('return_visit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.756391', '2011-10-28 21:01:56.756400')
|
87683
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'd98eb982837e26a7421f', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.756973', '2011-10-28 21:01:56.756982')[0m
|
87684
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87685
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87686
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
87687
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
87688
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87689
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
87690
|
+
|
87691
|
+
|
87692
|
+
Started GET "/test_without_login" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87693
|
+
Processing by TestController#test_without_login as HTML
|
87694
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
87695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87696
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('new_visitor', NULL, NULL, 'a3886347c922580e6860', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.762170', '2011-10-28 21:01:56.762181')[0m
|
87697
|
+
[1m[35m (0.2ms)[0m INSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', NULL, NULL, 'a3886347c922580e6860', 'test', 'test_without_login', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.762748', '2011-10-28 21:01:56.762757')
|
87698
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87699
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i_wonder_events"
|
87700
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" LIMIT 1[0m
|
87701
|
+
|
87702
|
+
|
87703
|
+
Started GET "/test_without_report" for 127.0.0.1 at 2011-10-28 14:01:56 -0700
|
87704
|
+
Processing by TestController#test_without_report as HTML
|
87705
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
87706
|
+
[1m[35mIWonder::Event Load (0.4ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" WHERE "i_wonder_events"."user_id" = 2 AND "i_wonder_events"."event_type" = 'new_visitor' LIMIT 1
|
87707
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "i_wonder_events" SET "user_id" = '2', "session_id" = 'a3886347c922580e6860' WHERE (session_id = 'a3886347c922580e6860' AND user_id IS NULL)[0m
|
87708
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87709
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('hit', '3', '2', 'a3886347c922580e6860', 'test', 'test_without_report', NULL, '127.0.0.1', NULL, NULL, '2011-10-28 21:01:56.769264', '2011-10-28 21:01:56.769273')[0m
|
87710
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87711
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i_wonder_events" [0m
|
87712
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
87713
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO i_wonder_events (event_type, account_id, user_id, session_id, controller, action, extra_details, remote_ip, user_agent, referrer, created_at, updated_at) values ('blah blah', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-10-28 21:01:56.771848', '2011-10-28 21:01:56.771859')[0m
|
87714
|
+
[1m[35mIWonder::Event Load (0.2ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events"
|
87715
|
+
[1m[36mIWonder::Event Load (0.2ms)[0m [1mSELECT "i_wonder_events".* FROM "i_wonder_events" [0m
|
87716
|
+
[1m[35mIWonder::Event Load (0.3ms)[0m SELECT "i_wonder_events".* FROM "i_wonder_events" ORDER BY "i_wonder_events"."id" DESC LIMIT 1
|
87717
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|