Expand description
Embeddable Lightweight Observability (elo)
A library for building observability agents with proper supervision and actor-based architecture.
§Example
use elo::Agent;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let agent = Agent::builder()
.storage_path("/var/lib/loa")
.build()
.await?;
agent.run().await?;
Ok(())
}Modules§
- constants
- Global constants and configuration defaults for the agent
- core
- Core actors and factories
- http
- Provides a centralized HTTP client configuration with:
Structs§
- Agent
- The main agent handle returned by the builder
- Agent
Builder - Builder for configuring and creating an Agent
- Agent
Identity - Agent
Info - Lightweight agent information that can be read without starting the runtime.
Enums§
- Error
- Error types for elo
Constants§
- VERSION
- Compile-time version from Cargo.toml
Functions§
- get_
global_ identity - Get a clone of the global agent identity
- init_
global_ identity - Initialize the global agent identity
Type Aliases§
- Result
- Result type alias for elo operations