Commit graph

25 commits

Author SHA1 Message Date
Samuel Clay
22cc6de301 Switching from LOCAL_HOST to named server for monitor. 2021-05-19 23:01:12 -04:00
Samuel Clay
49d84af67c Updating monitor to use new elasticsearch. 2021-05-19 22:40:45 -04:00
Samuel Clay
50806a0014 Also handling server selection errors in monitor. 2021-05-10 19:23:24 -04:00
Samuel Clay
dab140a4a1 Error codes need to be known 2021-05-10 19:21:48 -04:00
Samuel Clay
32e1395317 Handling down mongo. 2021-05-10 19:19:40 -04:00
Samuel Clay
72d8f07cf8 Adding db mongo secondary 2021-05-10 18:08:04 -04:00
Samuel Clay
f0aafc7413 Forgive me for this commit. It's a stopgap in consul configs. I need to be able to automate changes to consul configs, but what I was doing was manually juggling these configs on the old datacenter. While this is ugly, it works and as soon as the old DC is retired, we can rip this out. I mean this is basically /etc/hosts, just uglier. 2021-04-08 15:55:58 -04:00
Samuel Clay
e1b2583950 Swapping out pyes for elasticsearch-py. Half-way done, got indices and mappings in, now need to work on querying and storing. 2021-03-18 16:34:28 -04:00
Samuel Clay
d27c8fd91a Fixing pubsub monitor 2021-03-11 10:31:25 -05:00
Samuel Clay
c5a9b863b2 Bad merge 2021-03-11 10:17:27 -05:00
Samuel Clay
71eff77f1a Forgot to remove cruft 2021-03-11 10:16:38 -05:00
Samuel Clay
31c1ce3b0e Merge branch 'master' into dashboard3
* master:
  Handling cold start
  Handling cold start
  Changing redis hosts
  Adding redis host
  Retroactively adding redis pubsub monitor.
  Convertng ObjectId to str
2021-03-11 10:11:15 -05:00
Samuel Clay
e1ab3bd649 Logging db monitor 2021-03-10 10:44:35 -05:00
Samuel Clay
662a52e8a4 Normalizing status codes for monitor. 2021-03-10 10:31:20 -05:00
Samuel Clay
7603e28c72 Gracefully handling redis monitor failure. 2021-03-09 09:58:01 -05:00
Jonathan Math
3debb6d2ff use localhost for endpoints in db_monitor 2021-03-04 12:26:29 -05:00
Jonathan Math
1922e34954 use local_settings.py for db_monitor instead of using dockerbuild env variable to control local settings 2021-03-04 11:18:12 -05:00
Jonathan Math
d3f50c38a3 change back 2021-03-01 21:28:49 -05:00
Jonathan Math
9ffd196182 fixing "No module named 'flask_monitor.flask_settings'" error 2021-03-01 21:20:20 -05:00
Samuel Clay
f9b7bbcd6e Merge branch 'master' into dashboard3
* master:
  Adding a preference to notification title only.
  Adding in preference to only send full title in iOS notifications.
  Forgot primary state
  Adding replset oplog timing to db monitor.
2021-02-01 15:01:58 -05:00
Jonathan Math
934550fde7 update newsblur dir to newsblur_web in code 2021-01-19 09:40:13 -05:00
Jonathan Math
878b531927 add monitor route for redis_pubsub 2021-01-03 11:06:20 -05:00
Jonathan Math
b152347359 update flask monitor port 2020-10-25 13:43:15 +07:00
Jonathan Math
7241d9118c use newsblur_web instead of newsblur as directory for settings file 2020-10-13 22:04:24 +07:00
Jonathan Math
753851f6a8 rename flask to flask_monitor and add import for docker settings 2020-10-04 17:38:02 +07:00
Renamed from flask/db_monitor.py (Browse further)