Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/examples/litellm/config/prometheus.yml

rUv0d89fbd380b4
diff --git a/.claude/checkpoints/1754571069.json b/.claude/checkpoints/1754571069.json
new file mode 100644
index 0000000000..c349ce647c
--- /dev/null
+++ b/.claude/checkpoints/1754571069.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250807-125109", "file": "/workspaces/claude-code-flow/examples/litellm/README.md", "timestamp": "2025-08-07T12:51:09Z", "type": "pre-edit", "original_branch": "alpha-88"}
diff --git a/.claude/checkpoints/1754571071.json b/.claude/checkpoints/1754571071.json
new file mode 100644
index 0000000000..b4fdcde0ea
--- /dev/null
+++ b/.claude/checkpoints/1754571071.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250807-125111", "file": "/workspaces/claude-code-flow/examples/litellm/README.md", "timestamp": "2025-08-07T12:51:11Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 6 +- .claude-flow/metrics/system-metrics.json | 168 +++++++++++++++ .claude-flow/metrics/task-metrics.json | 14 +- .claude/checkpoints/1754571064.json | 1 + .claude/checkpoints/1754571067.json | 1 + examples/litellm/README.md | 347 +++++++++++++++++++++++++++++++ 6 files changed, 523 insertions(+), 14 deletions(-) "}
diff --git a/examples/litellm/config/prometheus.yml b/examples/litellm/config/prometheus.yml
new file mode 100644
index 0000000000..ff535aaf7b
--- /dev/null
+++ b/examples/litellm/config/prometheus.yml
@@ -0,0 +1,68 @@
+global:
+ scrape_interval: 15s
+ evaluation_interval: 15s
+ external_labels:
+ monitor: 'litellm-monitor'
+ environment: 'production'
+
+# Alertmanager configuration
+alerting:
+ alertmanagers:
+ - static_configs:
+ - targets: []
+
+# Load rules once and periodically evaluate them
+rule_files:
+ - "alerts.yml"
+
+# Scrape configurations
+scrape_configs:
+ # LiteLLM Proxy metrics
+ - job_name: 'litellm-proxy-1'
+ static_configs:
+ - targets: ['litellm-1:9090']
+ labels:
+ instance: 'proxy-1'
+ service: 'litellm'
+
+ - job_name: 'litellm-proxy-2'
+ static_configs:
+ - targets: ['litellm-2:9091']
+ labels:
+ instance: 'proxy-2'
+ service: 'litellm'
+
+ - job_name: 'litellm-proxy-3'
+ static_configs:
+ - targets: ['litellm-3:9092']
+ labels:
+ instance: 'proxy-3'
+ service: 'litellm'
+
+ # PostgreSQL exporter
+ - job_name: 'postgres'
+ static_configs:
+ - targets: ['postgres-exporter:9187']
+ labels:
+ service: 'database'
+
+ # Redis exporter
+ - job_name: 'redis'
+ static_configs:
+ - targets: ['redis-exporter:9121']
+ labels:
+ service: 'cache'
+
+ # Node exporter for system metrics
+ - job_name: 'node'
+ static_configs:
+ - targets: ['node-exporter:9100']
+ labels:
+ service: 'system'
+
+ # Nginx exporter
+ - job_name: 'nginx'
+ static_configs:
+ - targets: ['nginx-exporter:9113']
+ labels:
+ service: 'loadbalancer'
\ No newline at end of file