Samuel Clay
3e23b6394a
Revert "Revert "Merge branch 'add_grafana_monitors'""
...
This reverts commit a7f5025a16
.
2021-09-16 11:57:57 -05:00
Samuel Clay
3f00139541
Upgrading sentry on both web and node.
2021-09-10 15:58:22 -04:00
Samuel Clay
a7f5025a16
Revert "Merge branch 'add_grafana_monitors'"
...
This reverts commit f0c2176908
, reversing
changes made to 72ef2e2f00
.
2021-09-07 11:36:11 -04:00
Jonathan Math
25efd6d973
merge master
2021-09-05 22:42:32 -05:00
Samuel Clay
bf2a54e755
Fixing elasticsearch sysctl and config.
2021-08-13 11:44:18 -04:00
Jonathan Math
a415ba457c
rm nb.local.com and replace with localhost
2021-08-10 10:06:16 -05:00
Samuel Clay
f03be46425
Removing boto2, upgrading to boto3. Needs testing.
2021-08-04 20:04:53 -04:00
Samuel Clay
6555f8ddcc
Vendorizing readability due to v0.8.1.1 not being released yet.
2021-08-03 18:11:17 -04:00
Samuel Clay
8348da9c59
Updating to latest readability-lxml.
2021-08-03 16:05:28 -04:00
Samuel Clay
f91b5164dc
Upgrading readability and removing vendorized package. May regret losing noscript support but Postlight's Mercury Reader probably handles those edge cases.
2021-08-02 17:02:03 -04:00
Samuel Clay
5aaf4d5c38
Rewriting mongo backup, adding in rotation.
2021-07-29 18:17:02 -04:00
Samuel Clay
05fc33b453
Updating dependencies.
2021-07-29 16:24:56 -04:00
Samuel Clay
4ab47b7b42
Found more instances of mongodb changing timestamps
2021-07-14 22:00:25 -04:00
Samuel Clay
14e3d6dd25
Fixing broken requirements.txt, downgrading pymongo to 3.6, since monitoring was changed and we're not ready for it yet.
2021-07-02 12:42:02 -04:00
Jonathan Math
fa92ac24fd
update requirements for new image. Use boto3 instead of s3 and use nosetests
2021-06-30 21:33:35 -06:00
Jonathan Math
09dccbab87
update requirements.txt to match what is in the newsblur/newsblur_python3 image
2021-06-27 20:26:11 -06:00
Samuel Clay
2f602a8d85
Removing consul health check for web, lowering workers.
2021-05-12 17:07:37 -04:00
Samuel Clay
32cc9b8f2b
Merge branch 'master' into dashboard3
...
* master:
Adding in node_page to haproxy to reroute dashboard3 to the correct server. This is corrected in dashboard3 with consul.
2021-05-05 12:06:46 -04:00
Samuel Clay
20b3d24d09
Adding in node_page to haproxy to reroute dashboard3 to the correct server. This is corrected in dashboard3 with consul.
2021-05-05 12:06:41 -04:00
Samuel Clay
9466f336e4
Switching from pyelasticsearch to elasticsearch.
2021-04-27 15:00:52 -04:00
Jonathan Math
e068c9ff4e
change nb.local.com to localhost
2021-04-20 08:04:08 -05:00
Samuel Clay
f281b7cd5e
De-vendorizing pynliner.
2021-04-19 14:07:26 -04:00
Samuel Clay
c7d7764318
Mongo logs shouldnt be over 256MB
2021-04-11 12:09:15 -04:00
Samuel Clay
ec443f6117
Docker compose needs elasticsearch.yml config.
2021-04-07 15:32:17 -04:00
Jonathan Math
28e876df6d
increase gunicorn workers for docker build
2021-04-07 10:36:16 -05:00
Jonathan Math
bb52814648
update gunicorn so the reload feature can be used
2021-04-03 12:28:50 -05:00
Samuel Clay
68170652d1
Wrong syntax
2021-03-29 18:01:13 -04:00
Samuel Clay
55a200a5b3
Graceful deploys for gunicorn. Turns out a HUP signal to the docker container isn't the same thing as a HUP signal to the actual process, which can be done outside of the container.
2021-03-26 18:44:56 -04:00
Samuel Clay
02138db5ca
Switching from elasticsearch and dsl to pyelasticsearch. Feed autocomplete still doesn't work yet.
2021-03-24 21:09:26 -04:00
Samuel Clay
3e61c5e907
Feed autocomplete is trnaslated to elasticsearch 7, but doesn't work quite yet.
2021-03-23 15:30:44 -04:00
Samuel Clay
fb322a6573
Querying works but returns wrong results.
2021-03-19 12:22:28 -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
d52a8d362c
Reducing number of workers on docker-compose. Also removing extraneous task servers and consolidating to task-celery for feeds and task-work for cron and work
2021-03-17 20:13:58 -04:00
Samuel Clay
15cfd7a592
Using the gunicorn config so workers can be toned down.
2021-03-17 17:16:49 -04:00
Samuel Clay
5d2849a9fd
Downgrading elasticsearch on docker-compose to handle aging pyes library.
2021-03-17 16:51:17 -04:00
Samuel Clay
a4af967ccb
Sentry SDK 1.0.0
2021-03-09 16:51:27 -05:00
Samuel Clay
4ad908e233
Fixing updates for new premium users. Also attempting to fix redis server data persistance issues.
2021-03-08 19:47:24 -05:00
Samuel Clay
0c19aec2a3
Updating to apns2 library for Apple Push Notifications over Http/2.
2021-03-04 18:26:40 -05:00
Jonathan Math
8c736ac489
add performance test make commands, dockerfile for locust, and rough draft of performance test (locust.py)
2021-02-24 10:21:47 -05:00
Samuel Clay
32eb8539c1
Attempting to get old inventory working with new, but its not yet resolving for hosts. Not sure why. Also reducing node docker image down.
2021-02-19 19:58:11 -05:00
Jonathan Math
fca7f97b47
alphabetize requirements and also change celery version to celery>=4,<5
2021-02-16 13:11:58 -05:00
Samuel Clay
e1b0c0f8e8
Adding dnsmasq and disabling systemd-resolved. Consul clients and servrs are now being setup, although there ar ehealth check issues still unresolved.
2021-02-11 19:39:46 -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
Samuel Clay
79b0643992
Adding replset oplog timing to db monitor.
2021-02-01 12:39:28 -05:00
Samuel Clay
b865fcb8f5
Merge branch 'master' into dashboard3
...
* master:
Removing ssl from nginx, adding mongo.conf back in to all servers.
2021-02-01 02:27:32 -05:00
Samuel Clay
d88e86d4cb
Removing ssl from nginx, adding mongo.conf back in to all servers.
2021-02-01 02:26:56 -05:00
Samuel Clay
dccb87bd26
Adding files for common setup on app. Finishing up dynamic inventory.
2021-01-28 19:06:30 -05:00
Samuel Clay
c7f4cbb13d
Fixing a substantial number of encoding errors. Also fixing OPML uploads.
2021-01-24 21:05:22 -05:00
Samuel Clay
d3449db1ec
Merge branch 'docker_django3.1' into dashboard3
...
* docker_django3.1:
add swarm_instructions.sh
update celery task name to cron_queue in settings.py.orig
change redis port to 6579 in docker local settings
update celery task name to cron_queue in settings.py
add image building and deployment functionality to Makefile
update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet)
change beat_tasks to cron_queue in config/supervision_celeryd_beat.conf
change pymysql version in __init__ to the new django compatible version
change names for swarm service in swarm haproxy.conf file
remove ssl from nginx
fix dependency issues
change nginx check time in haproxy
add .dockerignore
update newsblur dir to newsblur_web in code
adjust resource limits on containers in stack-compose and correct monitor command
clean up and fix stack-compose.yml file
correct docker-compose images
2021-01-23 19:31:06 -05:00
Samuel Clay
3ad5295a33
Merge branch 'master' into docker_django3.1
...
* master:
Upgrading to mongo 3.4.
Use email if username doesnt work.
Removing old types field. Needed to upgrade to mongo 3.4.
Checking if a feed has any notifications on it, set a max of 30 min fetch (yes this is a pretty good way of getting your feeds to fetch faster, but youll have to deal with the notifications).
Fix task fetch monitor.
Attempting to see iOS premium status over email.
Handling work queue missing error.
Limiting work queue checks.
Executable monitor work queue.
Adding monitor for work queue.
Pointing to the new ssl cert.
More descriptive failure email
No default value
Spitting out error on failure.
Handling missing values
Needs redis
Only warn about falling feed fetches when actually falling.
Revert "Removing unused types key from index."
Don't need full health checks in debug.
2021-01-23 19:29:11 -05:00