Nawaz Dhandala
9d0afe0d36
refactor: update curl commands to use -sSL for silent and follow redirects
2026-03-06 13:21:55 +00:00
Simon Larsen
79dbc94f82
feat: Add log viewing instructions and improve error logging in agent
2025-07-25 13:42:25 +01:00
Simon Larsen
ded41fc7ec
feat: Enhance logging functionality with log file path configuration and log directory management
2025-07-25 13:38:23 +01:00
Simon Larsen
f3223e397b
fix: Correct capitalization in help text for OneUptime URL flag
2025-07-22 10:03:44 +01:00
Simon Larsen
2d9f9d41d0
refactor: Remove unused TotalCPUTime function from cpu.go
2025-05-19 14:19:55 +01:00
Simon Larsen
903af990e1
feat: Replace CPU usage calculation with gopsutil's cpu.Percent for improved accuracy
2025-05-19 10:22:37 +00:00
Tony An
c77cb8cd19
⬆️ Update dependencies and bump Go version
...
Updated various dependencies in `go.mod` and `go.sum` to their latest versions, including `golang.org/x/sys`, `github.com/go-co-op/gocron`, and more. Increased the Go version to 1.23.0 and added toolchain specification for Go 1.24.0. These updates improve compatibility, security, and maintainability.
2025-02-27 08:54:28 -06:00
Tony An
39c8acc720
🗑️ Refactor service structure for improved code clarity
...
Renamed the program struct to agentService and updated related methods and variables for consistency. This enhances readability and aligns naming conventions with the underlying functionality. Minor adjustments made to configuration handling and formatting for better maintainability.
2025-02-27 08:52:46 -06:00
Tony An
a4420a06c1
🗑️ Refactor error handling for configuration checks.
...
Removed redundant error checks and streamlined logic for verifying service configuration. This simplifies the code and avoids duplicate error handling, improving maintainability.
2025-02-27 08:48:11 -06:00
Tony An
6ba0768366
✨ Add status command to check service state
...
Introduced a new `status` command to display the service state (running, stopped, or unknown). Improved user feedback by logging the status and handling potential errors during the status check.
2025-02-27 08:47:17 -06:00
Simon Larsen
08cdb33e6e
feat: remove redundant MYENVVAR environment variable from installer templates
2025-01-06 12:39:17 +00:00
Simon Larsen
4021650ea5
feat: add MYENVVAR environment variable to installer for amd64 template
2025-01-06 08:27:01 +00:00
Simon Larsen
6a9f76c656
feat: add environment variable MYENVVAR to installer for arm64 template
2025-01-06 08:26:43 +00:00
Simon Larsen
c3bba74107
feat: update product name for amd64 and remove unnecessary custom actions from installer
2025-01-03 17:15:25 +00:00
Simon Larsen
ef340e5fa0
feat: improve error logging for secret key validation and add proxy support for HTTP requests
2025-01-03 15:22:35 +00:00
Simon Larsen
20aff38458
feat: enhance agent configuration logging and save proxy URL
2025-01-03 15:08:57 +00:00
Simon Larsen
16a1051280
feat: add proxy configuration support to agent and update related functions
2025-01-03 14:55:16 +00:00
Simon Larsen
fe9d3d3020
Add proxy
2025-01-03 14:21:47 +00:00
Simon Larsen
a0c0041cbd
feat: implement default logging to file with fallback to console
2025-01-03 13:31:59 +00:00
Simon Larsen
d755c62a51
chore: update README for build instructions and remove unused dependency
2025-01-03 10:04:11 +00:00
Simon Larsen
5756623f45
fix: improve error handling and logging for metrics ingestion and secret key verification
2025-01-03 09:47:35 +00:00
Simon Larsen
ece451b660
refactor: remove unnecessary UI reference and streamline thank you message in installation templates
2024-12-24 21:09:36 +00:00
Simon Larsen
5ca740b43c
feat: add custom action to set PATH environment variable and show thank you message during installation
2024-12-24 20:55:16 +00:00
Simon Larsen
64bba9246b
Add thank you message and UI reference to installation templates
2024-12-24 20:07:08 +00:00
Simon Larsen
511987bd70
Add PATH environment variable setting in Windows installer templates
2024-12-24 20:03:40 +00:00
Simon Larsen
45803a8cd2
Fix path separators in build-msi.sh for consistency across platforms
2024-12-23 20:19:11 +00:00
Simon Larsen
c04c2a3563
Fix path separators in build-msi.sh for Windows compatibility
2024-12-23 19:10:41 +00:00
Simon Larsen
e61e7f3ba0
Update file identifiers in Windows installer templates for Infrastructure Agent
2024-12-23 18:43:33 +00:00
Simon Larsen
e438050f6e
Fix path separators in build-msi.sh for Windows compatibility
2024-12-23 18:42:23 +00:00
Simon Larsen
9601bdec93
Update product names and descriptions in installer templates for consistency
2024-12-23 18:31:56 +00:00
Simon Larsen
4cabd2562a
Reduce job duration from 1 minute to 30 seconds in InfrastructureAgent
2024-12-23 18:22:03 +00:00
Simon Larsen
c9b0d4fbec
Fix binary paths in build script for MSI to remove leading dot
2024-12-20 16:58:00 +00:00
Simon Larsen
ef06d47619
Fix binary paths in build script for MSI to remove leading dot
2024-12-20 15:55:46 +00:00
Simon Larsen
c8a966a2f7
Enhance server monitor functionality by adding serverMonitorResponse handling and improving hostname resolution
2024-12-20 15:48:32 +00:00
Simon Larsen
32ffdf9174
Consolidate package installation in build script for MSI
2024-12-20 14:54:22 +00:00
Simon Larsen
6286b8bf4c
Update output directory in build script for MSI to a more general path
2024-12-20 13:58:48 +00:00
Simon Larsen
b264f4a6b9
Add MSI image release step to GitHub Actions and update build script for dependencies
2024-12-20 12:10:58 +00:00
Simon Larsen
ec7d5fe5c2
Update ARM64 binary path in MSI build script to reflect new version structure
2024-12-20 12:08:47 +00:00
Simon Larsen
4b9d770030
Update Windows installer templates for arm64: enhance XML structure, update product details, and adjust file references
2024-12-19 20:38:24 +00:00
Simon Larsen
a8100e9b01
Refactor Windows installer template for arm64: update XML structure, improve metadata, and enhance component definitions
2024-12-19 20:37:35 +00:00
Simon Larsen
b43e892295
Update GoReleaser to v6.1.0 and increment version in configuration
2024-12-19 20:14:30 +00:00
Simon Larsen
663f151051
Add MSI build script and templates for Windows infrastructure agent
2024-12-19 19:44:39 +00:00
Simon Larsen
6ecd709f29
Add NFPM configuration for packaging and install step in release workflow
2024-12-17 18:56:27 +00:00
Simon Larsen
9791aa1259
chore: Add CPU core count to CPUMetrics
...
This commit adds the `cores` field to the `CPUMetrics` struct in order to include the number of CPU cores in the collected metrics. This information is useful for understanding the processing power of the server.
2024-07-02 13:54:04 +01:00
Simon Larsen
0de8e2d818
chore: Add hostname to server monitor report
...
This commit adds the hostname field to the server monitor report in order to include the hostname of the server in the collected metrics. This information is useful for identifying and distinguishing between different servers in the monitoring system.
2024-07-02 13:04:02 +01:00
Simon Larsen
b30bb4c95e
chore: Update infrastructure agent installation script and documentation
2024-05-14 17:55:15 +01:00
Simon Larsen
29675f2624
Update GoReleaser command in release workflow to include GORELEASER_CURRENT_TAG environment variable
2024-05-14 16:54:45 +01:00
Simon Larsen
0a90736338
chore: Configure OneUptime Infrastructure Agent as a system service
...
```
2024-05-14 12:23:15 +01:00
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