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.
npx skills add talkops-ai/talkops-mcp --skill investigating-tempo-latency-regressionsgit clone --depth 1 https://github.com/talkops-ai/talkops-mcpWrote 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.
[](https://agentmods.dev/skills/talkops-ai/talkops-mcp/investigating-tempo-latency-regressions)<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/investigating-tempo-latency-regressions"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/investigating-tempo-latency-regressions/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.
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/investigating-tempo-latency-regressions"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/investigating-tempo-latency-regressions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00181 | $0.01460 |
| Opus 5.5 | $0.00072 | $0.00584 |
| Sonnet 5.5 | $0.00036 | $0.00292 |
| Haiku 4.5 | $0.00018 | $0.00146 |
Grade A, and why
investigating-tempo-latency-regressions 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.
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.
How it starts
The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investigating Tempo Latency Regressions
Preconditions
- Read
tempo://server/capabilities,tempo://system/backends, andtempo://system/backends/{backend_id}via MCP resources to verify active backend features (traceql_metrics) before querying. - Discover attribute names with
tempo_get_attribute_names(scope="resource"andscope="span") before filtering by route, pod, or deployment version.
Latency Investigation Checklist
- Step 1 — Measure Latency Quantiles & Shape: Call
tempo_analyze_service_red(service,since,baseline_offset, optionalgroup_by) and classify the shift via latency-heuristics.md: Bimodal Tail Spike (p99 / p50 >= 5.0) vs Uniform Latency Shift (bothp50andp99increased>= 50%, pointing to shared infrastructure saturation such as CPU throttling, GC/memory limits, or shared DB connection pool contention acrossk8s.pod.name/k8s.node.name/db.system). - Step 2 — Compare Slow vs Baseline Cohorts: Call
tempo_compare_span_cohortswithbase_query='{ resource.service.name = "<service>" && kind = server }'andselection='{ duration > <tail_threshold> }'matching the observed tail cutoff (e.g.{ duration > 4s }when investigating a> 4s–5stail spike, passingtenanton multi-tenant backends) to isolate skewed attributes (http.route,url.path,k8s.pod.name,k8s.node.name,service.version,flagdvariants). If the entry service delegates to a slow child service (e.g.image-provider), also runtempo_compare_span_cohortson that child service if needed. - Step 3 — Sample Baseline and Slow Traces:
- Extract slow candidate traces via
tempo_get_exemplar_traces(passing a valid TraceQL metrics query such as'{ resource.service.name = "<service>" && kind = server && duration > 1500ms } | rate()', NOT PromQL) ortempo_traceql_search(filters={"service": "<service>", "min_duration_ms": ...},most_recent=True). - Fetch a fast baseline trace (
filters={"service": "<service>", "max_duration_ms": ...},most_recent=True) when baseline vs regression trace IDs are not already provided.
- Extract slow candidate traces via
- Step 4 — Inspect Critical Path, Self-Time Hotspots & Time Gaps:
- Call
tempo_summarize_traceon target trace IDs (or runscripts/analyze_otlp_trace_critical_path.py --json '<otlp_json>'/--file <path>when analyzing exported OTLP JSON payloads offline, merging overlapping parallel child intervals rather than naively summing child durations). - Apply latency-heuristics.md: distinguish Local Compute / GC Hotspot (
self_time_ratio >= 0.40) from Downstream Wait (entry spanduration_ms >= 80%of trace withself_time_ratio < 0.15waiting on a slow leaf span). - Uninstrumented Time-Gap Guardrail (
TRACE_TIME_GAPS): Whenhas_time_gaps == True(critical_path_duration_ms < 0.5 * total_duration_msor large unaccounted parent-to-child gap), NEVER prematurely blame CPU saturation—calltempo_get_diagnosticsto rule outSPANS_DISCARDEDand check thread-pool queue wait, DNS/connection pool stalls, or disabled OTel instrumentation (otel.enabled=false).
- Call
- Step 5 — Find Related & Async Consumer Traces: Call
tempo_find_related_traces(correlation_strategy="span_links","temporal_neighbors","same_endpoint","downstream_cascade", or"same_service_errors") to follow OTLP span links across async Kafka/messaging hops and check whether slowness is systemic, then runtempo_summarize_traceon linked consumer traces. - Step 6 — Diff Baseline vs Regression Traces: Call
tempo_compare_traces(backend_id=..., trace_id_a=<baseline_trace_id>, trace_id_b=<comparison_trace_id>). Interpretoperation_diffs,only_in_comparison,duration_delta_ms,span_count_delta,error_count_delta, andattribute_diffusing trace-diff-interpretation.md (N+1 Fan-Outcomparison_count / baseline_count >= 3with< 20%per-call delta vs Single-Operation Slowdown>= 60%ofduration_delta_msvs New Synchronous Dependency / Retry Amplification). - Step 7 — Validate Bottleneck Classification:
[GATE]Confirm the exact bottleneck class before recommending flag rollbacks, batch RPC refactoring, async decoupling, or pod resource changes. Keep latency investigations bounded (<= 12MCP calls): once RED deltas, cohort skew, and 1–2 trace summaries/diffs establish the root cause, synthesize findings immediately rather than issuing unbounded cross-pillar queries.
What ships with it
3 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.
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.
- 11d ago First seen · 33 lines · 181 tokens per session scan A 6232ec81106a
investigating-tempo-latency-regressions is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 181 tokens to every session and 1,460 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.
investigating-tempo-latency-regressions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| investigating-tempo-latency-regressionstalkops-ai/talkops-mcp | Skill | 4 | 12d ago | Apache-2.0 | A | 181 | Claude Code, Codex |
| chrome-devtools-cliChromeDevTools/chrome-devtools-mcp | Skill | 60k | today | Apache-2.0 | A | 31 | Claude Code |
| n8n-validation-expertczlonkowski/n8n-mcp | Skill | 23k | 3d ago | MIT | A | 91 | Claude Code, Codex |
| n8n-error-handlingczlonkowski/n8n-mcp | Skill | 23k | 3d ago | MIT | A | 128 | Claude Code, Codex |
| agentcore-investigationawslabs/mcp | Skill | 10.0k | 2d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| openlore-analyze-codebaseclay-good/OpenLore | Skill | 369 | today | MIT | A | 48 | Claude Code, Codex |
| flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutter | Skill | 401 | 3d ago | MIT | A | 58 | Claude Code |