#agent #io #cloudray-agent

app cloudray-agent

Agent for CloudRay, a server management & monitoring service. Learn more at https://cloudray.io

7 releases

Uses new Rust 2024

new 0.1.0 May 8, 2025
0.0.6 May 4, 2025
0.0.5 Apr 23, 2025

#15 in #agent

Download history 109/week @ 2025-04-02 15/week @ 2025-04-09 206/week @ 2025-04-16 222/week @ 2025-04-23 122/week @ 2025-04-30

575 downloads per month

MIT license

54KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments Shell 141 SLoC // 0.0% comments

CloudRay Agent

Licence: MIT Repository

Agent for CloudRay, a server management & monitoring service. Learn more at https://cloudray.io.

This agent runs on your server, collects metrics, manages tasks, and communicates with the CloudRay platform.

Installation

curl -sSfL https://cloudray.io/install.sh | bash
# Run the cloudray-agent in the background.
# You can find the value of REG_CODE in your CloudRay project at https://cloudray.io
sudo cloudray-agent -d --reg-code <REG_CODE>

Building for Development

  1. Install Rust from https://www.rust-lang.org/tools/install
  2. Clone the repository:
    git clone https://github.com/cloudray-io/cloudray-agent.git
    cd cloudray-agent
    
  3. Build the agent:
    cargo build
    
  4. Run the agent:
    RUST_LOG=debug cargo run -- --reg-code <REG_CODE>
    

Dependencies

~17–34MB
~500K SLoC