Samuel Clay
bb1b32f9bd
Following best practices for resource management in an attempt to find the mongo db monitor memory leak (that led to today's brief downtime)
2025-04-10 22:45:57 -07:00
Samuel Clay
148abed4a9
ES no longer allows positional arguments.
2024-12-24 22:44:55 -05:00
Samuel Clay
e55e6c3bd5
Fixing monitor to use new venv.
2024-12-24 22:43:01 -05:00
Samuel Clay
6c5aed53eb
Db monitor for ES needs to point to the correct server.
2024-12-24 22:24:53 -05:00
Samuel Clay
7a9894e31b
Db monitor for ES needs to point to the correct server.
2024-12-24 22:23:50 -05:00
Samuel Clay
fbe34c4c9e
Sticky header
2024-07-10 10:03:16 -04:00
Samuel Clay
c63067754d
Merge branch 'black-formatting' into discover
...
* black-formatting:
Black formatting.
2024-04-24 09:49:17 -04:00
Samuel Clay
d1dafe7606
Black formatting.
2024-04-24 09:43:56 -04:00
Samuel Clay
573476e003
Merge branch 'master' into discover
...
* master: (84 commits)
Cleanup postgres
Adding support for hyphens in youtube usernames.
New APNS updating cert instructions.
Fiddling with metrics server.
Handling broken youtube channel
Youtube username/title
Handling youtube usernames that are actually handles.
Handling @handle youtube.com feeds when adding a feed.
Users who are too far into paging now get a 404
Updating youtube fetcher to use channels/playlists/users for everything, no longer relying on RSS/xml url.
Updating certs.
Handling too many feeds tasked.
Bumping concurrency for feed fetchers.
Icon importer also uses new consul domain.
User not user agent
Adding individual IP addresses from hetzner.
Moving hetzner migration doc to archive
Formatting
Adding dwww
Moving node consul
...
2024-04-24 09:25:45 -04:00
Samuel Clay
9c15c1ac60
New consul node name for mongo analytics db.
2024-02-25 15:56:36 -05:00
Samuel Clay
16768216c1
Updating db monitor redis ports.
2024-02-11 13:59:18 -05:00
Samuel Clay
2f7beac8a7
Redis dbs now moved to their own port.
2024-02-11 13:36:38 -05:00
Samuel Clay
ded1bec96e
Secondary redis is now port separated.
2024-02-11 08:46:09 -05:00
Samuel Clay
4d9b0161e7
Correcting redis db monitor db numbers.
2024-01-26 08:43:01 -05:00
Samuel Clay
eaadf21b83
Fixing mongo and redis db monitor.
2024-01-26 08:39:36 -05:00
Samuel Clay
9a236d1954
Upgrading flask
2023-11-15 21:17:28 -05:00
Samuel Clay
1065c964fd
Fixing elasticsearch to allow consul to assume its OK.
2022-12-26 19:17:14 -05:00
Samuel Clay
656479a876
Upgrading redis story server. Also updating monitor requirements.
2022-05-25 11:02:17 -04:00
Samuel Clay
472fcda770
Locking consul to a working version. Also changing flask status code response to handle custom status codes.
2022-02-04 13:01:18 -05:00
Samuel Clay
7d6a261b73
Flask transactions are way too often.
2022-01-01 22:14:16 -05:00
Samuel Clay
d2100e02f9
Mongo analytics monitor not reayd yet
2021-12-15 09:21:51 -05:00
Samuel Clay
7671025d9c
Turning consul monitor back on.
2021-12-15 09:20:09 -05:00
Samuel Clay
0d9297ced3
Turning on analytics
2021-12-15 09:14:21 -05:00
Jonathan Math
64e64280a1
add requests to flask_monitor image
2021-12-10 16:53:29 -05:00
Samuel Clay
ec33dfab48
Separating consul from haproxy health checks. Consul doesn't care what the status of the service is so long as it's reachable. Don't take out bad nodes, let the software do that.
2021-12-06 15:12:12 -05:00
Samuel Clay
2a8f8678dc
Splitting not master error and server selection timeout in mongo monitor.
2021-10-19 11:15:47 -04:00
Samuel Clay
e86967bfba
Don't check consul vs haproxy. Let consul be the exception adn the default being a full test.
2021-10-19 11:08:46 -04:00
Jonathan Math
dd13af5bf1
add querystring logic to mongo db health check to accommodate consul vs haproxy checking
2021-10-11 11:11:42 -05:00
Samuel Clay
a7fded7e8c
Bootstrapping issue with mongo.
2021-09-30 18:19:12 -04:00
Samuel Clay
9ae6730f76
Bootstrapping issue with mongo.
2021-09-30 18:17:46 -04:00
Jonathan Math
656a111bd7
revert changes to flask_montior/requirements.txt
2021-09-21 12:14:04 -05:00
Jonathan Math
c84eed6360
add boto3 and botocore to requirements for flask_monitor
2021-09-16 18:46:53 -05:00
Samuel Clay
443bf9c5f5
Can't use hostname, monitor needs container name.
2021-08-13 12:22:04 -04:00
Samuel Clay
84feed0011
Using localhost
2021-08-11 19:17:51 -04:00
Samuel Clay
9258f5e112
Updating db monitor for elasticsearch 7
2021-08-11 19:13:23 -04:00
Samuel Clay
f03be46425
Removing boto2, upgrading to boto3. Needs testing.
2021-08-04 20:04:53 -04:00
Samuel Clay
af390d5fd1
Adding elasticsearch to py3, upgrading monitor, need to fix boto -> boto3.
2021-08-04 18:42:58 -04:00
Samuel Clay
4a81611b01
Mongo analytics is its own server, with authentication.
2021-08-03 19:43:27 -04:00
Samuel Clay
bc69e859eb
Adding mongo analytics flask db monitor.
2021-08-03 19:10:20 -04:00
Samuel Clay
de4098e023
Moving to SERVER_NAME for monitor as network mode is host.
2021-07-24 09:55:52 -04:00
Samuel Clay
fedbf08ae8
Pull out old mongos.
2021-07-24 09:38:29 -04:00
Samuel Clay
1974597cca
Ignore optime
2021-07-24 09:15:49 -04:00
Samuel Clay
03e8117c06
Old optimes on mongo are OK for monitor.
2021-07-24 09:13:48 -04:00
Samuel Clay
f916862bb2
Auth errors should raise exceptions.
2021-07-23 14:46:28 -04:00
Samuel Clay
df050acb8e
Don't disregard authentication error
2021-07-21 21:27:56 -04:00
Samuel Clay
1ac16508f8
Changing how mongo is registered on consul. Now allows members before they are part of the replica set.
2021-07-21 21:10:02 -04:00
Samuel Clay
5eea1c6b76
Mongo optime format namespaced under 'ts'.
2021-07-14 21:45:12 -04:00
Samuel Clay
a78e21de90
Capturing mongo internal IP for use with db monitor.
2021-07-14 21:37:49 -04:00
Samuel Clay
6876005b6e
Mongo changed the optime date format.
2021-07-14 20:48:48 -04:00
Samuel Clay
47a8173e39
Flask requires a string
2021-07-14 20:20:27 -04:00