Has anyone else been using the Galaxy Public API to try to scale their apps?
This is the GraphQL interface that is used by GitHub - quavedev/galaxy-bot: NodeJS command line tool to monitor and auto-scale Meteor Galaxy
We have a small node app that does this, and it works pretty well, except that
it seems like the API doesn’t always respond reliably. Sometimes it seems to seems to
return errors or timeouts for long periods (like hours) and so we can’t rely on it.
Some example output from our scaling utility is below.
Also, is there no real documentation this public API beyond this page?
API | Galaxy Docs
Thanks in advance!
2021-03-27_06:13:11 - - - - UNDERSCALED BY 1 CONTAINER(S)!
2021-03-27_06:13:11 *** I would scale UP here if I were allowed ***
2021-03-27_06:14:16 Connections: 970 Containers: 2 Conn/Servo: 485.0 CPU: 34.46% [off-peak]
2021-03-27_06:15:22 Connections: 988 Containers: 2 Conn/Servo: 494.0 CPU: 29.35% [off-peak]
2021-03-27_06:16:26 ** NO METRICS ** abort
2021-03-27_06:17:31 Connections: 917 Containers: 2 Conn/Servo: 458.5 CPU: 13.90% [off-peak]
2021-03-27_06:18:36 Connections: 943 Containers: 2 Conn/Servo: 471.5 CPU: 37.59% [off-peak]
2021-03-27_06:19:41 Connections: 940 Containers: 2 Conn/Servo: 470.0 CPU: 29.10% [off-peak]
2021-03-27_06:28:21 ** NO METRICS ** abort
2021-03-27_06:30:34 ** NO METRICS ** abort
2021-03-27_06:31:36 ** NO METRICS ** abort
2021-03-27_06:38:06 ** NO METRICS ** abort
2021-03-27_06:41:21 ** NO METRICS ** abort
2021-03-27_06:54:21 ** NO METRICS ** abort
2021-03-27_07:00:51 ** NO METRICS ** abort
2021-03-27_07:12:46 ** NO METRICS ** abort
2021-03-27_07:13:51 ** NO METRICS ** abort
2021-03-27_07:17:06 ** NO METRICS ** abort
2021-03-27_07:20:21 ** NO METRICS ** abort
2021-03-27_07:31:11 ** NO METRICS ** abort
2021-03-27_07:35:31 ** NO METRICS ** abort
2021-03-27_07:43:06 ** NO METRICS ** abort
2021-03-27_07:47:26 ** NO METRICS ** abort
2021-03-27_07:49:36 ** NO METRICS ** abort
2021-03-27_07:50:41 ** NO METRICS ** abort
2021-03-27_07:51:46 ** NO METRICS ** abort
2021-03-27_08:01:35 ** NO METRICS ** abort
2021-03-27_08:08:01 ** NO METRICS ** abort
2021-03-27_08:43:46 ** NO METRICS ** abort
2021-03-27_09:05:27 ** NO METRICS ** abort
2021-03-27_09:11:57 ** NO METRICS ** abort
2021-03-27_09:19:35 ** NO METRICS ** abort
2021-03-27_09:37:57 ** NO METRICS ** abort
2021-03-27_10:02:52 ** NO METRICS ** abort
2021-03-27_10:05:02 ** NO METRICS ** abort
2021-03-27_10:12:37 ** NO METRICS ** abort
2021-03-27_10:15:52 ** NO METRICS ** abort
2021-03-27_10:34:18 ** NO METRICS ** abort
2021-03-27_10:52:43 ** NO METRICS ** abort
2021-03-27_11:15:28 ** NO METRICS ** abort
2021-03-27_13:30:54 Connections: 924 Containers: 2 Conn/Servo: 462.0 CPU: 37.49% [off-peak]
2021-03-27_13:31:59 Connections: 911 Containers: 2 Conn/Servo: 455.5 CPU: 28.87% [off-peak]
2021-03-27_13:33:04 Connections: 888 Containers: 2 Conn/Servo: 444.0 CPU: 23.35% [off-peak]
2021-03-27_13:34:09 Connections: 962 Containers: 2 Conn/Servo: 481.0 CPU: 64.45% [off-peak]
2021-03-27_13:35:14 Connections: 990 Containers: 2 Conn/Servo: 495.0 CPU: 100.52% [off-peak]