| Crates.io | llm-sentinel-alerting |
| lib.rs | llm-sentinel-alerting |
| version | 0.1.0 |
| created_at | 2025-11-06 08:11:23.921156+00 |
| updated_at | 2025-11-06 08:11:23.921156+00 |
| description | RabbitMQ and webhook alerting with deduplication for LLM-Sentinel anomaly detection |
| homepage | https://github.com/globalbusinessadvisors/llm-sentinel |
| repository | https://github.com/globalbusinessadvisors/llm-sentinel |
| max_upload_size | |
| id | 1919280 |
| size | 140,076 |
RabbitMQ and webhook alerting with deduplication for LLM-Sentinel.
Flexible alerting system with multiple delivery channels:
[dependencies]
llm-llm-sentinel-alerting = "0.1.0"
use llm_sentinel_alerting::{AlertingManager, AlertingConfig};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let config = AlertingConfig {
rabbitmq_url: "amqp://localhost:5672".to_string(),
exchange: "sentinel.alerts".to_string(),
..Default::default()
};
let manager = AlertingManager::new(config).await?;
manager.send_alert(&anomaly).await?;
Ok(())
}
Apache-2.0