VM Integration: - Add compute module with offloadable operations support - Enable distributed execution for heavy VM operations - Support batch signature verification, merkle proofs, hashing - Add ComputeContext for managing compute cluster connections - Feature-gated behind 'compute' flag Hosting Integration: - Add edge compute module for serverless functions - Support edge functions (WASM, JS, Python runtimes) - Enable server-side rendering and image optimization - Add AI/ML inference at the edge - Feature-gated behind 'compute' flag Docker Deployment: - Add docker-compose.compute.yml for compute layer - Deploy orchestrator, CPU workers, WASM worker, spot market - Include Redis for task queue and Prometheus for metrics - Reserved ports: 17250-17290 for compute services
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
# Prometheus configuration for Synor Compute Layer
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: []
|
|
|
|
rule_files: []
|
|
|
|
scrape_configs:
|
|
# Prometheus self-monitoring
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
# Compute Orchestrator
|
|
- job_name: 'compute-orchestrator'
|
|
static_configs:
|
|
- targets: ['compute-orchestrator:17202']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 10s
|
|
|
|
# CPU Workers
|
|
- job_name: 'compute-workers-cpu'
|
|
static_configs:
|
|
- targets:
|
|
- 'compute-worker-cpu-1:17210'
|
|
- 'compute-worker-cpu-2:17211'
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 10s
|
|
|
|
# WASM Worker
|
|
- job_name: 'compute-workers-wasm'
|
|
static_configs:
|
|
- targets: ['compute-worker-wasm:17212']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 10s
|
|
|
|
# Spot Market
|
|
- job_name: 'compute-spot-market'
|
|
static_configs:
|
|
- targets: ['compute-spot-market:17220']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 10s
|
|
|
|
# Redis
|
|
- job_name: 'redis'
|
|
static_configs:
|
|
- targets: ['compute-redis:6379']
|
|
metrics_path: '/metrics'
|
|
scrape_interval: 30s
|