docs: update CLI command syntax across workflow documentation
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
- Updated marketplace commands: `marketplace --action` → `market` subcommands - Updated wallet commands: direct flags → `wallet` subcommands - Updated AI commands: `ai-submit`, `ai-status` → `ai submit`, `ai status` - Updated blockchain commands: `chain` → `blockchain info` - Standardized command structure across all workflow files - Affected files: MULTI_NODE_MASTER_INDEX.md, TEST_MASTER_INDEX.md, multi-node-blockchain-marketplace
This commit is contained in:
@@ -49,9 +49,22 @@ Production configurations are stored in `/etc/aitbc/production/`:
|
||||
### 📊 Monitoring and Logs
|
||||
|
||||
Production logs are centralized in `/var/log/aitbc/production/`:
|
||||
- Each service has its own log directory
|
||||
- Logs rotate automatically
|
||||
- Real-time monitoring available
|
||||
- Each service has its own log directory
|
||||
- Logs rotate automatically
|
||||
- Real-time monitoring available
|
||||
|
||||
Coordinator observability endpoints:
|
||||
- JSON metrics endpoint: `http://localhost:8000/v1/metrics`
|
||||
- Prometheus metrics endpoint: `http://localhost:8000/metrics`
|
||||
- Health endpoint: `http://localhost:8000/v1/health`
|
||||
- Web dashboard source: `/opt/aitbc/website/dashboards/metrics.html`
|
||||
|
||||
Current monitoring flow:
|
||||
- FastAPI request middleware records request counts, error counts, response time, and cache stats
|
||||
- `metrics.py` calculates live metric summaries and alert thresholds
|
||||
- `/v1/metrics` returns JSON for dashboard consumption
|
||||
- `/metrics` remains available for Prometheus-style scraping
|
||||
- Alert delivery uses webhook dispatch when `AITBC_ALERT_WEBHOOK_URL` is configured, otherwise alerts are logged locally
|
||||
|
||||
### 🔧 Maintenance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user