diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 380f02c5..77facc60 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -8,8 +8,25 @@ "Bash(npm run format:write:*)", "WebFetch(domain:github.com)", "Bash(git checkout:*)", - "Bash(git push:*)" + "Bash(git push:*)", + "Bash(git add:*)", + "Bash(git commit:*)", + "Bash(gh pr create:*)", + "Bash(npm test)", + "Bash(npm test:*)", + "Bash(rg:*)", + "Bash(npm run lint:*)", + "Bash(npx vitest:*)", + "WebFetch(domain:stackoverflow.com)", + "Bash(find:*)", + "Bash(mkdir:*)", + "WebFetch(domain:hub.docker.com)", + "Bash(ls:*)", + "Bash(mv:*)", + "Bash(grep:*)" ], - "deny": [] - } + "deny": [], + "defaultMode": "acceptEdits" + }, + "preferredNotifChannel": "terminal_bell" } diff --git a/.github/configs/otel-collector-config.yaml b/.github/configs/otel-collector-config.yaml new file mode 100644 index 00000000..fedb52fe --- /dev/null +++ b/.github/configs/otel-collector-config.yaml @@ -0,0 +1,50 @@ +# OpenTelemetry Collector Configuration for CI Testing +receivers: + # OTLP receiver accepts metrics and traces via gRPC and HTTP protocols + otlp: + protocols: + http: + endpoint: 0.0.0.0:4318 + +exporters: + debug: + verbosity: detailed + sampling_initial: 2 + sampling_thereafter: 500 + + # File exporter for traces only + file/traces: + path: /collector-logs/traces.json + format: json + + # File exporter for metrics only + file/metrics: + path: /collector-logs/metrics.json + format: json + +extensions: + # Health check extension to monitor collector's health status for CI + health_check: + endpoint: 0.0.0.0:13133 + +service: + # Telemetry configuration for collector's own logs (internal logging) + telemetry: + logs: + level: debug + encoding: json + output_paths: ['/collector-logs/collector-logs.json'] + + # Enable extensions + extensions: [health_check] + + # Processing pipelines define data flow from receivers through processors to exporters + pipelines: + traces: + receivers: [otlp] + processors: [] + exporters: [debug, file/traces] + metrics: + receivers: [otlp] + processors: [] + exporters: [debug, file/metrics]