mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
6dbc1c377b
* SwarmMemoryManager Refactoring Plan * fix: add missing directories to npm package (v1.9.3) Added templates/, .claude/helpers/, and docs/reference/ to package.json files array. These were missing from the npm distribution, causing `aqe init` to fail with "Template file not found" errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * checkpoint improvements * fix: critical memory/learning system fixes for v1.9.4 ## Critical Fixes - Vector embeddings now stored correctly (was storing NULL) - SQL parameter style fixed for agentdb's SqlJsDatabase wrapper - HNSW index schema mismatch resolved with pattern_id column - Hooks now save to correct database (.agentic-qe/agentdb.db) ## New Features - Added 5 SwarmMemoryManager methods for learning data retrieval: - getBestAction() - Q-learning best action selection - getRecentLearningExperiences() - Recent experience retrieval - getLearningExperiencesByTaskType() - Task-filtered experiences - getHighRewardExperiences() - Successful experience extraction - getLearningStats() - Aggregate learning statistics - Added comprehensive integration test for memory/learning loop - Added RuVector pattern store integration (experimental) ## Technical Details - Vector embeddings: 384 dimensions × 4 bytes = 1,536 bytes per pattern - All 12 integration tests pass - HNSW index: 150x faster vector search enabled 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: move ARM64-only ruvector packages to optionalDependencies Fixes CI failures caused by platform-specific dependencies: - @ruvector/node-linux-arm64-gnu (ARM64 only) - ruvector-core-linux-arm64-gnu (ARM64 only) These packages caused npm ci to fail on x64 CI runners with: "EBADPLATFORM - wanted linux/arm64, current linux/x64" Solution: Move ARM64 packages to optionalDependencies and add x64 variants for cross-platform compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: regenerate package-lock.json with x64 ruvector packages Updates lockfile to include optional x64 platform packages for CI compatibility: - @ruvector/node-linux-x64-gnu@0.1.17 - ruvector-core-linux-x64-gnu@0.1.15 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
107 lines
2.8 KiB
Plaintext
107 lines
2.8 KiB
Plaintext
# Prometheus Configuration
|
|
# Agentic QE Fleet - Issues #69 & #71
|
|
#
|
|
# This configuration defines scrape targets and alerting rules
|
|
# for the Agentic QE Fleet observability stack.
|
|
#
|
|
# Usage: Copy to prometheus.yml and customize as needed
|
|
|
|
global:
|
|
scrape_interval: 15s
|
|
scrape_timeout: 10s
|
|
evaluation_interval: 15s
|
|
|
|
# External labels attached to all metrics
|
|
external_labels:
|
|
cluster: 'agentic-qe-fleet'
|
|
environment: 'development'
|
|
region: 'us-east-1'
|
|
|
|
# Scrape configurations
|
|
scrape_configs:
|
|
# OTEL Collector metrics (from Prometheus exporter)
|
|
- job_name: 'otel-collector'
|
|
static_configs:
|
|
- targets: ['otel-collector:8889']
|
|
labels:
|
|
service: 'otel-collector'
|
|
component: 'telemetry'
|
|
|
|
# OTEL Collector self-monitoring
|
|
- job_name: 'otel-collector-internal'
|
|
static_configs:
|
|
- targets: ['otel-collector:8888']
|
|
labels:
|
|
service: 'otel-collector-internal'
|
|
component: 'telemetry'
|
|
|
|
# Agentic QE Fleet application metrics (if exposed directly)
|
|
- job_name: 'agentic-qe-fleet'
|
|
static_configs:
|
|
- targets: ['agentic-qe-fleet:3000']
|
|
labels:
|
|
service: 'agentic-qe-fleet'
|
|
component: 'application'
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 30s
|
|
|
|
# Prometheus self-monitoring
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
labels:
|
|
service: 'prometheus'
|
|
component: 'telemetry'
|
|
|
|
# Jaeger metrics (optional)
|
|
- job_name: 'jaeger'
|
|
static_configs:
|
|
- targets: ['jaeger:14269']
|
|
labels:
|
|
service: 'jaeger'
|
|
component: 'telemetry'
|
|
metrics_path: '/metrics'
|
|
|
|
# PostgreSQL metrics (optional, requires postgres_exporter)
|
|
# - job_name: 'postgres'
|
|
# static_configs:
|
|
# - targets: ['postgres-exporter:9187']
|
|
# labels:
|
|
# service: 'postgres'
|
|
# component: 'database'
|
|
|
|
# Redis metrics (optional, requires redis_exporter)
|
|
# - job_name: 'redis'
|
|
# static_configs:
|
|
# - targets: ['redis-exporter:9121']
|
|
# labels:
|
|
# service: 'redis'
|
|
# component: 'cache'
|
|
|
|
# Alerting configuration
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: []
|
|
# Uncomment when Alertmanager is deployed
|
|
# - targets: ['alertmanager:9093']
|
|
|
|
# Rule files for recording and alerting rules
|
|
rule_files:
|
|
- '/etc/prometheus/rules/*.yml'
|
|
|
|
# Storage configuration
|
|
storage:
|
|
tsdb:
|
|
# Retention period
|
|
retention.time: 15d
|
|
# Maximum storage size
|
|
retention.size: 10GB
|
|
|
|
# Remote write configuration (optional, for long-term storage)
|
|
# remote_write:
|
|
# - url: "https://prometheus-remote-write.example.com/api/v1/write"
|
|
# basic_auth:
|
|
# username: "user"
|
|
# password: "password"
|