Commit Graph

100 Commits

Author SHA1 Message Date
Simon Larsen
6c2144d77e chore: Update go version to 1.22.0 in go.mod file 2024-05-14 12:09:08 +01:00
Simon Larsen
e208b7cc78 Refactor .goreleaser.yaml to use string values for goarm instead of integers 2024-05-14 12:05:37 +01:00
Simon Larsen
69ff3dfe17 Refactor .goreleaser.yaml to use string values for goarm instead of integers 2024-05-14 11:55:48 +01:00
Simon Larsen
29d2abf226 Refactor .gitignore to include InfrastructureAgent/oneuptime-infrastructure-agent 2024-05-14 11:51:44 +01:00
Simon Larsen
1cf7cc4664 Refactor main.go to improve service control commands and error handling 2024-05-14 11:51:36 +01:00
Simon Larsen
0bf8713b60 Refactor error handling in main.go for better clarity and instructions 2024-05-14 11:15:15 +01:00
Simon Larsen
dcc9d4fdf2 Refactor error messages in main.go for better clarity and instructions 2024-05-14 10:05:54 +01:00
Simon Larsen
db32292d33 chore: Update launch.json and config.go for InfrastructureAgent 2024-05-14 10:02:48 +01:00
Simon Larsen
c7f62fac65 Refactor InfrastructureAgent code to add help command 2024-05-13 21:22:49 +01:00
Simon Larsen
db0aee6c0f chore: Refactor code to use model package for memory, processes, disk, and CPU metrics 2024-05-13 21:12:45 +01:00
Simon Larsen
1f53ecb093 Refactor package names and imports in InfrastructureAgent code files 2024-05-13 20:37:27 +01:00
Simon Larsen
d0325f2d7d chore: Remove unused code files for memory, processes, disk, and CPU metrics 2024-05-13 20:28:21 +01:00
Simon Larsen
a1461a4019 chore: Refactor package imports in InfrastructureAgent code files 2024-05-13 17:49:53 +01:00
Simon Larsen
d3096510bd chore: Refactor package names in InfrastructureAgent code files 2024-05-13 17:15:42 +01:00
Simon Larsen
c909d02a5d chore: Refactor package names in InfrastructureAgent code files 2024-05-13 13:41:33 +01:00
Tony An
4a05ee22be ♻️ remove the nodejs version agent, rewrite in Golang 2024-05-10 19:37:40 -05:00
Simon Larsen
382c71be93 Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set 2024-04-09 13:03:32 +01:00
Simon Larsen
445a8d3f35 Update Dockerfile.tpl files to set APP_VERSION to 1.0.0 if not set 2024-04-09 12:53:42 +01:00
Simon Larsen
356bacf9a0 Update Dockerfile.tpl files to set APP_VERSION to 2.0.0 if not set 2024-04-09 12:53:13 +01:00
Simon Larsen
2e7ea183e6 Add InfrastructureAgent files to .gitignore and update daemon management logic in Index.ts 2024-04-09 12:38:56 +01:00
Simon Larsen
1ca9ecede1 Refactor daemon management logic in InfrastructureAgent/Index.ts 2024-04-08 21:26:37 +01:00
Simon Larsen
39d7b76e23 Refactor InfrastructureAgent/Index.ts and update daemon management logic 2024-04-08 20:09:20 +01:00
Simon Larsen
bcefa8ae3a Refactor MonitorInfrastructure class and extract monitorServerMetrics method 2024-04-08 14:50:37 +01:00
Simon Larsen
3c022e30ea Refactor MonitorInfrastructure class and extract monitorServerMetrics method 2024-04-08 14:06:54 +01:00
Simon Larsen
1401daab06 Update tsconfig.json files with resolveJsonModule option 2024-04-08 14:03:07 +01:00
Simon Larsen
8ebcb1b659 Update infrastructure agent to use tsx instead of ts-node 2024-04-03 10:47:02 +01:00
Simon Larsen
1f8c0e6b71 Add logging for server processes 2024-04-02 20:29:12 +01:00
Simon Larsen
d547660284 Add ArrayUtil.removeDuplicates() method and refactor ServerProcessUtil.getProcesses() method 2024-04-02 20:26:39 +01:00
Simon Larsen
fcc9231d1e Add ServerProcess interface and processes field to ServerMonitorResponse 2024-04-02 19:47:22 +01:00
Simon Larsen
28f4f0f37c Fix drivelist import bug in BasicMetrics.ts 2024-04-01 11:54:44 +01:00
Simon Larsen
e793456980 Remove unused import in MonitorInfrastructure.ts 2024-04-01 11:40:13 +01:00
Simon Larsen
bbff753799 Add deprecated comment to ServerMonitor route and refactor BasicMetrics to get disk paths dynamically 2024-04-01 11:33:59 +01:00
Simon Larsen
5246f9f9cb Update variable name in BasicMetrics.ts 2024-04-01 11:17:59 +01:00
Simon Larsen
5088a14665 Refactor ProbeMonitorResponseService class 2024-04-01 11:08:48 +01:00
Simon Larsen
dbd2462958 Remove Linux installation script and update server monitor documentation 2024-03-18 13:22:24 +00:00
Simon Larsen
4c8fb5db10 Fix import statement and update package dependencies 2024-03-17 09:09:16 +00:00
Simon Larsen
f4f9629350 Refactor command line argument parsing and update API endpoint 2024-03-16 19:17:38 +00:00
Simon Larsen
98e1c3a41d Update OneUptime URL and secret key 2024-03-16 19:13:51 +00:00
Simon Larsen
6524b09b75 Fix import paths and update dependencies 2024-03-16 19:04:42 +00:00
Simon Larsen
d15fa225f3 Update npm install commands 2024-03-16 18:43:48 +00:00
Simon Larsen
5da16c2c09 Add "type" field to package.json files 2024-03-16 18:40:16 +00:00
Simon Larsen
6a4f9a09bd Add @types/node-cron dependency and update package name and license 2024-03-16 18:34:14 +00:00
Simon Larsen
9f8632bf02 Add system package manager checks and installations*** 2024-03-16 16:40:15 +00:00
Simon Larsen
b482a2fd6c Add NVM installation and Node.js setup to Linux.sh script 2024-03-15 17:51:46 +00:00
Simon Larsen
1c6ad0f67a Refactor Linux installation script and remove unnecessary code 2024-03-15 16:52:59 +00:00
Simon Larsen
7ec14d5104 Update infrastructure agent installation scripts and add redirect endpoint 2024-03-15 16:43:49 +00:00
Simon Larsen
d767d58dde Update package dependencies and versions 2024-03-15 15:43:31 +00:00
Simon Larsen
4b076a8000 Update shebang in Index.ts 2024-03-15 12:46:16 +00:00
Simon Larsen
04283133d9 Update start script in InfrastructureAgent package.json 2024-03-15 11:17:37 +00:00
Simon Larsen
48c7fefe93 Update shebang to use npx ts-node 2024-03-15 10:25:40 +00:00