Zelos Agent Installation¶
The Zelos Agent is a lightweight service for capturing tracing data on headless systems, edge devices, and servers.
Zelos Agent
If you're not running on a headless device, you don't need to install this. The app bundles its own flavor of the agent for you!
Overview¶
-
Lightweight
Minimal resource usage with configurable data retention
-
Network Ready
gRPC endpoint on port 2300 for SDK connections
-
Systemd Managed
Runs as a system service with automatic startup
-
Data Buffering
Temporary storage with configurable retention time
System Requirements¶
Platform Support
Currently, the Zelos Agent is packaged for:
- Ubuntu 22.04 LTS (Jammy) - Officially supported
- Debian-based systems - May work but not officially tested
- Architecture: amd64
For other platforms, please contact support.
Installation¶
# Add Zelos repository
echo "deb [trusted=yes] https://release.zeloscloud.io/app/ubuntu jammy main" \
| sudo tee /etc/apt/sources.list.d/zelos.list
# Update package list
sudo apt update
# Install Zelos Agent
sudo apt install zelos-agent
Auto-start Enabled
The agent starts automatically after installation and on system boot.
Verify Installation¶
Expected output:
● zelos-agent.service - Zelos Agent
Loaded: loaded (/lib/systemd/system/zelos-agent.service; enabled)
Active: active (running) since Mon 2024-01-15 10:30:00 UTC
...
Configuration¶
Default Settings¶
Setting | Default Value | Description |
---|---|---|
Listen Address | [::]:2300 |
Binds to all interfaces |
Store Type | metadata-only |
Minimal memory usage |
Data Retention | 1h |
How long to keep data |
Customize Configuration¶
To bind to a specific interface or change the port:
Add:
For more data retention at the cost of memory:
Add:
After making changes:
Command Line Options¶
Option | Description | Example |
---|---|---|
--listen-address |
Set bind address | --listen-address [::1]:2300 |
--store-type |
Storage backend | --store-type memory |
--store-retain-duration |
Data retention | --store-retain-duration 6h |
-v, -vv |
Increase verbosity | -vv for trace level |
-q |
Quiet mode | -q |
Service Management¶
Uninstallation¶
To completely remove the agent:
# Stop the service
sudo systemctl stop zelos-agent
# Remove the package
sudo apt remove zelos-agent
# Remove repository
sudo rm /etc/apt/sources.list.d/zelos.list
# Update package list
sudo apt update
# Remove any custom configuration
sudo rm -rf /etc/systemd/system/zelos-agent.service.d
Troubleshooting¶
Agent won't start
Check for port conflicts:
View detailed error messages:
Try running manually to see errors:
Add:
Next Steps¶
-
Send Data
Start streaming data to your agent
-
Visualize Data
Connect the Zelos App to your agent