Ben Gotow
f9f78968b1
Use defaultValue as a template, fix critical sync issue
2016-07-15 19:01:50 -07:00
Ben Gotow
549ced6128
Revert change, @evan’s fix is better
2016-07-15 16:28:13 -07:00
Ben Gotow
18a8e5f09a
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-15 16:25:21 -07:00
Ben Gotow
7efe5db7e9
USE_CONSOLE_LOG for simple console logs
2016-07-15 16:25:18 -07:00
Halla Moore
8140076e17
Remove auto-scaling for the collapsed dashboard view, at least for now.
2016-07-15 16:09:17 -07:00
Ben Gotow
5095f0626f
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-15 13:29:25 -07:00
Halla Moore
0dad9bf7fa
Auto-scale MiniAccounts in the collapsed, ungrouped dashboard view
2016-07-15 13:20:09 -07:00
Evan Morikawa
dffb87bd4a
Report errors earlier
2016-07-15 13:15:26 -07:00
Evan Morikawa
5e0bcc5eff
Quieter logging on dev
2016-07-15 13:07:12 -07:00
Ben Gotow
e13097045b
Log boxname and category name as well
2016-07-15 12:39:28 -07:00
Halla Moore
0abd70c746
Add option to group by process in collapsed dashboard view
2016-07-15 12:31:07 -07:00
Ben Gotow
579fe43fdf
Log when recovering from uidvalidity, don’t do it on first sync
2016-07-15 11:47:26 -07:00
Ben Gotow
95793877c6
Do file creation in a transaction, and with fewer saves
2016-07-15 11:14:35 -07:00
Ben Gotow
e5bada04d3
Do contact insertion in a transaction
2016-07-15 10:23:01 -07:00
Ben Gotow
979401883d
Make db connection pools smaller
2016-07-15 10:22:49 -07:00
Ben Gotow
ac3f96e2d4
Fix accounts syncing in a hard loop due to redis loopback
2016-07-15 10:07:33 -07:00
Ben Gotow
13a723e663
Correctly detect condstore to lower db load
2016-07-15 09:46:31 -07:00
Ben Gotow
13879db9c8
Wait until tables are created before queueing sync
2016-07-14 19:32:13 -07:00
Ben Gotow
08c7ca8b0d
Use EC2 instance ID instead of hostname
2016-07-14 18:52:30 -07:00
Ben Gotow
5062f8d02b
Sort process ids
2016-07-14 18:33:46 -07:00
Ben Gotow
1996666516
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-14 18:18:54 -07:00
Ben Gotow
daaa67818d
Add missing unique indexes, only create tables when authing account
2016-07-14 18:18:48 -07:00
Halla Moore
6e2ae25519
Add a sum line to the dashboard's process load counts
2016-07-14 18:01:52 -07:00
Evan Morikawa
45f132b746
Fix thread moving to support new Promises
2016-07-14 17:37:38 -07:00
Ben Gotow
a229ba1a90
Sort process entries on the dashboard
2016-07-14 17:34:33 -07:00
Ben Gotow
1ce7787632
Disable sequelize logging
2016-07-14 17:21:21 -07:00
Ben Gotow
1d08faece3
Fixes to still support sqlite
2016-07-14 17:21:02 -07:00
Ben Gotow
2f3ca2a906
Merge branch 'master' of ssh://github.com/nylas/k2
...
# Conflicts:
# packages/nylas-core/hook-transaction-log.js
# packages/nylas-core/models/account/transaction.js
2016-07-14 17:17:22 -07:00
Ben Gotow
de3151cab4
Move to single database with many tables for accts
2016-07-14 17:14:16 -07:00
Evan Morikawa
1eef4c3428
Remove logs and rename variables
2016-07-14 16:36:13 -07:00
Annie
5b3f5c8a91
fixed thread syncing
2016-07-14 16:28:09 -07:00
Ben Gotow
ea497f7ea2
A few changes for upcoming db refactoring
2016-07-14 15:48:48 -07:00
Halla Moore
b14d5f7e8d
Add process load counts to the dashboard
2016-07-14 14:51:54 -07:00
Juan Tejada
099e200ec5
Only log sync errors if they are permanent errors
2016-07-14 13:44:43 -07:00
Juan Tejada
37b2323cc7
Add metric for sync errors
2016-07-14 12:00:05 -07:00
Evan Morikawa
0921df432b
Uses default from address
2016-07-14 11:40:46 -07:00
Evan Morikawa
6ce54c2a34
Add send endpoint
2016-07-14 11:34:30 -07:00
Juan Tejada
b58c11605c
Moves metrics into its own pkg to be able to instrument other services
...
- With the Metrics module inside nylas-core, and bc of our current lerna
setup, we required other modules like sequelize and redis before requiring
newrelic, thus preventing them from being properly instrumented
2016-07-14 11:20:58 -07:00
Juan Tejada
592b2af986
Update metric type for accounts_syncing_count
2016-07-14 10:49:40 -07:00
Juan Tejada
16b91ea394
Update metrics with signalfx - report # of syncing accts per host
2016-07-14 10:39:05 -07:00
Juan Tejada
0c900b072d
Add new relic to all pkgs + Revert to PromiseUtils methods
...
- PromiseUtils does not conflict with newrelics changes to Promise
- Other misc fixes
2016-07-13 19:08:24 -07:00
Ben Gotow
ec9f8581f7
Merge branch 'master' of ssh://github.com/nylas/k2
2016-07-13 18:26:49 -07:00
Ben Gotow
66951b4b1a
Add more logging to process claiming
2016-07-13 18:26:46 -07:00
Annie
a07174cc4e
fixed json parsing of message
2016-07-13 18:19:13 -07:00
Halla Moore
0706701378
Make the grayAfter time more appropriate for production, 10 mins
2016-07-13 18:00:17 -07:00
Halla Moore
49f475cdd1
Add collapsed dashboard view
2016-07-13 17:45:54 -07:00
Juan Tejada
5c1704ac8e
Fix thenReturn + misc logger fixes
2016-07-13 17:41:07 -07:00
Ben Gotow
07e3f3ab19
Make dashboard boxes slightly smaller
2016-07-13 17:34:42 -07:00
Ben Gotow
2a05e69e4c
Sort IDs as numbers not strings
2016-07-13 17:25:39 -07:00
Ben Gotow
b43b623ca6
Expand promise utils
2016-07-13 17:22:02 -07:00