triaging-tempo-service-errors

triaging-tempo-service-errors is a skill for Claude Code, Codex from talkops-ai/talkops-mcp. It costs 167 tokens per session (1,469 once invoked), scanned A, original, Apache-2.0.

An incident-triage workflow for Grafana Tempo, a system that records traces showing how a request moves through distributed services. It compares failing requests with normal ones and follows errors to their deepest originating operation.

In plain words
What is it for?
Use it to investigate server errors and latency, extract trace IDs from logs, compare error cohorts with a baseline, and locate the originating service operation.
Why use it?
It turns a high-error alert or a trace ID found in logs into a focused investigation, helping separate broad failures from canary, pod, or route-specific problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate server errors and latency, extract trace IDs from logs, compare error cohorts with a baseline, and locate the originating service operation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add talkops-ai/talkops-mcp --skill triaging-tempo-service-errors
Clone the repo
git clone --depth 1 https://github.com/talkops-ai/talkops-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triaging-tempo-service-errors

README.md
[![agentmods](https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors/github.svg)](https://agentmods.dev/skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors)
Your own site
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triaging-tempo-service-errors

Your own site · 80×15
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/triaging-tempo-service-errors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00167 $0.01469
Opus 5.5 $0.00067 $0.00588
Sonnet 5.5 $0.00033 $0.00294
Haiku 4.5 $0.00017 $0.00147

Measured 11d ago against content hash c74646038a3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

triaging-tempo-service-errors scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/extract_trace_ids_from_logs.py, scripts/render_incident_report.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/tempo-mcp-server/skills/triaging-tempo-service-errors/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Triaging Tempo Service Errors

Preconditions

  • Read tempo://server/capabilities and tempo://system/backends (and commands/triage.md when invoked via /triage) via MCP resources before issuing queries.
  • Confirm the target backend_id, target service name, tenant (X-Scope-OrgID), and time window (since).
  • Never guess span or resource attribute names; verify with tempo_get_attribute_names and tempo_get_attribute_values.

Triage Workflow Checklist

  • Step 1 — Verify Capabilities & Schema: Read tempo://server/capabilities and tempo://system/backends, then call tempo_get_attribute_names (scope="resource" and scope="span") to confirm resource.service.name and attribute keys.
  • Step 2 — Establish Entry Point:
    • If starting from high-error/latency metrics or alerts, call tempo_get_exemplar_traces with a valid TraceQL metrics expression (for example '{ resource.service.name = "<service>" && status = error } | rate()', NOT PromQL) to extract trace_candidates.
    • If starting from raw container error logs or a multi-line log bundle (traceparent, otelTraceID, traceId, trace_id), run scripts/extract_trace_ids_from_logs.py --text '<logs>' to filter out invalid all-zero (00000000000000000000000000000000) trace IDs and call tempo_get_trace_from_log on valid log lines.
    • If starting from a service name, call tempo_analyze_service_red (service, since, baseline_offset) to measure rate_rps, error_rate_rps, error_ratio, and p50/p95/p99 durations.
  • Step 3 — Evaluate Triage Thresholds: Apply the deterministic severity matrix in triage-thresholds.md (CRITICAL if error_ratio >= 0.05 OR error_rate_per_sec >= 1.0; WARNING if 0.01 <= error_ratio < 0.05; ELEVATED if 0.001 <= error_ratio < 0.01; NOMINAL if < 0.001) and run scripts/render_incident_report.py to compute exact report JSON fields.
  • Step 4 — Isolate Error Cohort Drivers: Call tempo_compare_span_cohorts with base_query='{ resource.service.name = "<service>" }' and selection='{ status = error }' to check canary version skew (>= 80% on one service.version), single-pod defect skew (>= 60% error share vs < 20% baseline share on one k8s.pod.name), or route skew (>= 75% on one http.route / rpc.method).
  • Step 5 — Sample Recent Failing Traces: Call tempo_traceql_search with filters={"service": "<service>", "status": "error"} (or narrow TraceQL query) and most_recent=True.
  • Step 6 — Inspect Deepest Error Origin & Trace Resource: Read tempo://traces/{backend_id}/{trace_id} via MCP resources and call tempo_summarize_trace (plus tempo_get_trace when inspecting exception.type, exception.message, exception.stacktrace, or pod attributes). Compare root_service against error_origin_service (deepest_error_span at max(depth)) so upstream cascading 502/503 gateways are exonerated when a downstream service failed.
  • Step 7 — Pivot Across Signals: Follow cross-pillar-handoffs.md to correlate error_origin_service, k8s.pod.name, and trace_id with Grafana Loki (loki_correlate_trace_logs), Prometheus, or Alertmanager.
  • Step 8 — Render Incident Brief: [GATE] Run scripts/render_incident_report.py and format the final incident brief via incident-brief-template.md, citing tempo://traces/<backend_id>/<trace_id>.

Read the full file on GitHub · 43 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 43 lines · 167 tokens per session scan A c74646038a3f

Subscribe to this mod's changes

triaging-tempo-service-errors is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 167 tokens to every session and 1,469 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

triaging-tempo-service-errors compared with skills from other repositories

triaging-tempo-service-errors next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
triaging-tempo-service-errorstalkops-ai/talkops-mcpSkill412d agoApache-2.0A167Claude Code, Codex
chrome-devtools-cliChromeDevTools/chrome-devtools-mcpSkill60ktodayApache-2.0A31Claude Code
n8n-validation-expertczlonkowski/n8n-mcpSkill23k3d agoMITA91Claude Code, Codex
n8n-error-handlingczlonkowski/n8n-mcpSkill23k3d agoMITA128Claude Code, Codex
agentcore-investigationawslabs/mcpSkill10.0k2d agoApache-2.0A52Claude Code, Codex
openlore-analyze-codebaseclay-good/OpenLoreSkill369todayMITA48Claude Code, Codex
flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutterSkill4013d agoMITA58Claude Code