otel-queries
Skill by github
Analyzes gh-aw OpenTelemetry traces from JSONL mirrors or OTLP backends to answer telemetry questions. Built for developers who need to explain slow or failing gh-aw workflow and agent runs.
Install otel-queries
Built from the published package, never by AI.
git clone --depth 1 https://github.com/github/gh-aw /tmp/gh-aw && mkdir -p ~/.claude/skills && cp -r /tmp/gh-aw/.github/skills/otel-queries ~/.claude/skills/otel-queriesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/github/gh-aw /tmp/gh-aw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gh-aw/.github/skills/otel-queries ~/.gemini/antigravity-cli/skills/otel-queriesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The otel-queries skill helps an AI assistant inspect gh-aw OpenTelemetry and OTLP data and answer telemetry questions. It starts from the cheapest trustworthy source, such as the /tmp/gh-aw/otel.jsonl mirror, or a live OTLP backend such as Grafana, Tempo, Sentry, Honeycomb or Datadog. It then runs a fixed set of six common queries covering spans, trace continuity, phases, errors and attributes.
The skill follows a standard analysis loop. It checks whether spans exist, whether trace continuity holds, which phase is slow or failing, whether attributes are present, and whether the problem is systemic. It gives JSONL recipes using jq and a fixed output shape. It is for engineers and maintainers investigating slow or failing gh-aw workflow and agent runs, and for those who want telemetry findings tied to code or workflow changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Check span presenceVerifies that traceId, span name, service.name and github.run_id exist for a run.
- Verify trace continuityConfirms that setup, agent and conclusion spans share the same trace, run ID and workflow reference.
- Bucket phase timingGroups spans into setup, agent, tool or safe-output and conclusion phases by wall-clock duration.
- Audit core attributesChecks spans for service.version, github.repository, github.event_name and deployment.environment.
- Find error clustersGroups error spans by span name, status message, workflow ref and engine.
- Query JSONL locallyRuns jq recipes against /tmp/gh-aw/otel.jsonl to list, filter and inspect spans.
- Translate queries to backendsAdapts the common queries to Grafana or Tempo, Sentry, Honeycomb or Datadog.
- Point to gh-aw source filesLists starting files for instrumentation or correlation problems in gh-aw.
What you need
- jq for the JSONL recipes
- Access to /tmp/gh-aw/otel.jsonl or a live OTLP backend
- An MCP server or supported tool for live OTLP backend queries
Try asking
- Analyze the gh-aw OTel spans in /tmp/gh-aw/otel.jsonl for slow phases
- Check whether setup, agent and conclusion spans share one trace ID
- Group gh-aw error spans by span name and status message
Good to know
- Copilot CLI spans go directly to the OTLP backend with no local file mirror.
- Copilot CLI spans must be queried in the backend, filtered by github.run_id.
- Not for instrumentation-only tasks that do not require reading telemetry.
- Avoid broad architectural changes based on a single outlier trace.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .github/skills/otel-queries/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to otel-queries
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
otel-queries: common questions
What telemetry sources does it read?
It prefers local artifacts, then /tmp/gh-aw/otel.jsonl, then live OTLP backend data through an MCP server or supported tool. Static code inspection is the last option.
Which backends does it support?
The source names Grafana or Tempo, Sentry, Honeycomb and Datadog, and gives query translation notes for each.
Does it change code by itself?
It recommends or implements a follow-on optimization only when the telemetry evidence supports it.
How do I install otel-queries?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is otel-queries free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is otel-queries safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to otel-queries?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
