feat(cicd): Add OTEL tracing to SignOz for CI/CD monitoring
- CI: awoooi-ci service with sha + ci environment - CD: awoooi-cd service with sha + production environment - Exports to SignOz at 192.168.0.121:4318 Approved: 2026-03-24 統帥指令 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
4
.github/workflows/cd.yaml
vendored
4
.github/workflows/cd.yaml
vendored
@@ -43,6 +43,10 @@ env:
|
||||
IMAGE_PREFIX: library/awoooi
|
||||
LOCAL_CACHE_DIR: /home/wooo/build-cache/awoooi
|
||||
OPENCLAW_URL: http://192.168.0.188:8088
|
||||
# OTEL CI/CD 監控 (2026-03-24 批准)
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://192.168.0.121:4318
|
||||
OTEL_SERVICE_NAME: awoooi-cd
|
||||
OTEL_RESOURCE_ATTRIBUTES: service.version=${{ github.sha }},deployment.environment=production
|
||||
|
||||
jobs:
|
||||
# ==================== Pre-flight Check (10s Fail-Fast) ====================
|
||||
|
||||
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -19,6 +19,10 @@ env:
|
||||
NODE_VERSION: '20'
|
||||
PNPM_VERSION: '9'
|
||||
PYTHON_VERSION: '3.11'
|
||||
# OTEL CI/CD 監控 (2026-03-24 批准)
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://192.168.0.121:4318
|
||||
OTEL_SERVICE_NAME: awoooi-ci
|
||||
OTEL_RESOURCE_ATTRIBUTES: service.version=${{ github.sha }},deployment.environment=ci
|
||||
|
||||
jobs:
|
||||
# ==================== Pre-flight (10s Fail-Fast) ====================
|
||||
|
||||
Reference in New Issue
Block a user