| Crates.io | aingle-observability |
| lib.rs | aingle-observability |
| version | 0.1.0 |
| created_at | 2025-12-17 08:04:36.824284+00 |
| updated_at | 2025-12-17 08:04:36.824284+00 |
| description | Observability and tracing utilities for AIngle |
| homepage | https://apilium.com |
| repository | https://github.com/ApiliumCode/observability |
| max_upload_size | |
| id | 1989531 |
| size | 84,266 |
Structured contextual logging and tracing for AIngle
Structured contextual logging built on tracing. This crate provides experimental observability features for AIngle distributed systems, including console output, JSON logging, and span filtering.
[dependencies]
observability = "0.1"
# Simple logging
RUST_LOG=trace cargo run
# Filtered logging
RUST_LOG='core[a{something="foo"}]=debug' cargo run
RUST_LOG='core[{}]=debug' cargo run --structured Json > log.json
# Module + span + field filtering
RUST_LOG='core[a{something="foo"}]=debug'
# Multiple filters
RUST_LOG='[{}]=error,[{something}]=debug'
| Component | Description |
|---|---|
core |
Module path filter |
[a] |
Span name filter |
{field="value"} |
Field value filter |
=debug |
Minimum log level |
{
"time": "2024-01-01T00:00:00.000Z",
"name": "event",
"level": "INFO",
"target": "my_module",
"file": "src/lib.rs",
"line": 42,
"fields": {"message": "Hello"},
"spans": [{"name": "request", "id": 1}]
}
| Tool | Purpose |
|---|---|
| jq | JSON processing |
| json2csv | Convert to CSV |
| tad | CSV viewer |
This crate is part of the AIngle ecosystem - a Semantic DAG framework for IoT and distributed AI applications.
Licensed under the MIT License. See LICENSE for details.
Maintained by Apilium Technologies - Tallinn, Estonia