ask-matt
MAmattpocock/skills336k近 7 天新增 5,004 个 star
Install and configure OpenTelemetry for Codex-oriented workflows, including OTLP exporter setup, collector endpoint wiring, and validation that traces/logs/metrics are emitted and stored under PROJECT_PATH/OpenTelemetry.
Use this skill when the operator asks to add OpenTelemetry (OTEL) instrumentation or telemetry export for Codex workflows in a repository.
Direct trigger phrase: Install OpenTelemetry.
Accept input as: PROJECT_PATH OTLP_ENDPOINT MODE
Mode:
plan: produce an implementation plan onlyexecute (default): apply configuration and validate telemetry emissionExamples:
$opentelemetry-codex /path/to/repo http://127.0.0.1:4318 execute$opentelemetry-codex /path/to/repo https://otel-collector.internal:4318 planconfig.toml blocks, not shell env vars.PROJECT_PATH/OpenTelemetry.PROJECT_PATH/OpenTelemetry/install_opentelemetry.sh exists, prefer it as the default implementation path for consistency across clones.config.toml:[otel]service_name = "codex-agent" (or project-specific service name)log_user_prompt = true (when operator wants prompt logging)exporter = "otlp-http"[otel.exporter."otlp-http"]endpoint = "<OTLP_ENDPOINT>"protocol = "json" (use binary when compact transport is preferred)otlp-http, otlp-grpc, statsig, none) and valid protocol values when applicable.OTEL_* shell environment variables for primary wiring."$PROJECT_PATH/OpenTelemetry/install_opentelemetry.sh" when available."$PROJECT_PATH/OpenTelemetry/run_codex_with_otel.sh" for user-friendly operation.file exporter writing to:
"$PROJECT_PATH/OpenTelemetry/otel-logs.jsonl""$PROJECT_PATH/OpenTelemetry/otel-traces.jsonl" (if traces are persisted locally)Add a minimal smoke operation that should emit telemetry (single request/task run).
Validate:
"$PROJECT_PATH/OpenTelemetry" are created and non-empty when file export is enabled.When instrumenting Codex workflows, capture at least:
planner, researcher, etc.),Do not export secrets, raw credentials, or full sensitive payloads in spans/logs. Use redaction or attribute allow-lists for safety.
For each implementation, include:
config.toml OTEL blocks),PROJECT_PATH/OpenTelemetry,MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
OBobra/superpowers331k近 7 天新增 5,757 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star