Observability and tracing

Find a slow span

Find a slow span through a bounded evidence-first AI operations workflow in the training lab.

Observability and tracing
5 min Admin Lesson 131 of 180
cat /opt/ai-lab/observability/metrics.txtaiops traces show find-a-slow-spancurl http://127.0.0.1:8080/metrics
Lesson 131 of 180 0/180 lessons 0/18 missions 0/11 briefings Observability and tracing · 5 min
0%
Continue View profile
AI operations terminal Training lab
New learnerrank 0XP 0%complete
learner@aiops:/home/learner $ AI operations lab: type a command, press Enter
Instructions 5 min

Click any instruction for the command details, the why, and the common mistake to avoid.

Inspect the observability and tracing baseline

Type this exactly: cat /opt/ai-lab/observability/metrics.txt

cat /opt/ai-lab/observability/metrics.txt
Run the traces review

Type this exactly: aiops traces show find-a-slow-span

aiops traces show find-a-slow-span
Confirm the evidence

Type this exactly: curl http://127.0.0.1:8080/metrics

curl http://127.0.0.1:8080/metrics
Lesson support

What to notice while you play.

Objective

Use commands and observable output to explain find a slow span without changing a real model or service.

Hint

Start with cat /opt/ai-lab/observability/metrics.txt. Then run aiops traces show find-a-slow-span before collecting the final evidence.

Why it matters

Find a slow span is an operator skill because AI behavior must be connected to versioned configuration, runtime state, and inspectable evidence.

Common mistakes
  • Skipping the baseline fixture before reasoning about find a slow span.
  • Treating one simulated output as proof of root cause instead of one bounded piece of evidence.
Reference

Commands in this lesson.

aiops models

Inspect the simulated model catalog, manifests, and version comparisons.

aiops prompts

Review versioned prompt metadata and deterministic prompt diffs.

aiops evals

Run and inspect bounded evaluation fixtures without model execution.

aiops rag

Inspect retrieval documents, chunks, index status, and reviewed results.

aiops traces

Read deterministic request traces, summaries, and latency evidence.

aiops guardrails

Review simulated guardrail policies, checks, and audit summaries.

aiops cost

Estimate cost and capacity from fixed training metrics.

aiops incidents

Review incident timelines, evidence bundles, and operator notes.

curl

Read only fixed loopback training endpoints; external URLs and request bodies are blocked.