Direct answer
Prove the observability path works before interpreting its output. Before asking Claude Code to triage an infrastructure incident, check that logs are arriving, that timestamps are synchronized, that correlation fields are present and that sampling has not removed the events that matter. Missing logs do not mean nothing happened. Clock skew makes the order wrong. Broken correlation makes two records that should join look unrelated. Any of these can turn a plausible agent diagnosis into a wrong one. The concrete win is a triage that starts from a known-healthy pipeline, so the first hour is spent on the incident rather than on discovering the telemetry is broken. The concrete loss is the time the health check takes during an active incident, when every minute is expensive. The health check is still worth it, because a triage built on missing data costs more than the check.
Why the telemetry path fails before the service does
Observability pipelines are systems, and systems fail. A collector runs out of memory. A log forwarder loses its destination credentials. A retention policy deletes the events from exactly the window under investigation. A sampling rule keeps one event in ten, and the one that mattered was in the other nine.
None of these failures look like failures from the inside of a triage. The dashboard shows a gap where the events should be, and a reader who does not check sees an absence of evidence and reads it as evidence of absence. An agent asked to triage against that data will produce a diagnosis, because that is what it is asked to do. The diagnosis will be built on missing data, and it will sound confident.
Three incidents shapes make this expensive. A silent collector failure means the incident appears to have no telemetry, and responders spend the first hour debugging observability instead of the service. A partial failure means some sources arrive and others do not, which biases the diagnosis toward the sources that survived. A delayed pipeline means events arrive late, and the timeline is wrong by the delay.
Agent-assisted triage adds a specific risk. The agent does not know the pipeline is unhealthy unless something tells it. A confident narrative built on gaps is worse than no narrative, because a human reviewer may accept it. Making the pipeline health check a precondition of triage is the control that prevents this.
Pipeline health questions
Start with questions, not with dashboards. Five questions cover most pipeline failures.
Are logs arriving, measured as event counts against an expected rate. Are timestamps synchronized, measured as offset between sources. Are correlation fields present, measured as the proportion of events carrying them. Is sampling dropping the events that matter, measured as retained versus emitted counts. Are the expected sources all present, measured as source inventory against the expected list.
| Health check | Expected signal | Failure interpretation |
|---|---|---|
| Event count per source | Counts within the normal range for the window | Source down, collector down, or sampling increased |
| Timestamp offset between sources | Offset within a few seconds | Clock skew; ordering unreliable |
| Correlation field presence | High proportion of events carry the field | Field not propagated on some paths |
| Retained versus emitted events | Retained close to emitted | Sampling or drop in the pipeline |
| Source inventory | All expected sources present | A source silently stopped sending |
| Late-arriving events | Arrival delay within tolerance | Pipeline backlog; timeline wrong by the delay |
Read the table as a precondition list. A triage that starts before these checks pass is a triage built on unverified data.
Arrival and completeness
Arrival is the first check because a pipeline that delivers nothing makes every other check meaningless. Count events per source over a recent window and compare against the expected rate.
Expected rate is a team number, not a universal one. A service that normally emits a thousand events a minute and suddenly emits ten is either quieter or is losing events, and the difference matters. A service that emits nothing might be idle or might be down, and the check that distinguishes these is a synthetic event: send a known test event through the pipeline and confirm it arrives.
Completeness is broader than arrival. A pipeline can deliver events while dropping some fraction silently, through sampling rules, size limits or parse failures. Compare emitted counts, which the source knows, with retained counts, which the backend knows. A gap between the two is a drop, and the drop is the finding.
CISA describes incident response as coordinated detection, analysis, containment, eradication and recovery activities, which is F088. Detection depends on the telemetry path, and the source was available through search rather than a full fetch, so page-level pipeline claims need separate verification. The general point survives the access limitation: a detection that depends on a broken path is not detection.
Timestamp checks
Timestamps are the second check because ordering is the first thing a triage relies on. A pipeline that delivers events with wrong times produces a timeline that is confidently wrong.
Offset between sources can be checked by comparing the timestamps of a single synthetic event as it appears in each system it passes through. The offset is the skew. A few seconds is usually harmless. Minutes mean the timeline order is unreliable across those sources.
The clock needs checking for steps as well as offset. A host that resumed from a paused state, a container that started with a wrong clock, or an NTP correction can produce a step that moves a block of events by a fixed amount. A step is visible as a discontinuity in event timestamps and is easy to miss in a live triage.
Late arrival is a timestamp problem with a different cause. An event can carry a correct timestamp and arrive late because the pipeline is backlogged. Compare event time with ingestion time. A growing gap between the two is a backlog, and the timeline built from it will be wrong by the backlog duration.
OpenTelemetry semantic conventions provide common attributes for traces, metrics, logs and resources, which is F089. Naming conventions make timestamps and correlation fields comparable across sources. Conventions do not prove that a log pipeline is complete, timely or correctly configured, which is why the checks are separate from the naming.
Correlation fields
Correlation fields are what let records from different systems be joined. Without them, every incident becomes parallel lists that someone reconciles by hand.
Presence matters before correctness. Count the proportion of events carrying each expected correlation field. A field that is present on half the events is a field that will join half the records, and the missing half is where the triage will go wrong.
Correctness deserves a known case. Take one request, follow it through the pipeline, and confirm the same identifier appears on every record it should. A field can be present and wrong, through truncation, encoding differences or a mismatched namespace.
The Claude Code correlation attributes, prompt.id and request_id, are documented in the monitoring and usage documentation. Those fields join agent telemetry to API requests. Joining them to cloud audit records requires the identifier to be propagated into the tool call, which is a configuration property of the pipeline rather than a property of the field.
The OpenTelemetry semantic conventions for agents post covers the attribute names that make these joins readable. The audit evidence integrity checks post covers assessing evidence completeness more broadly.
| Log source | Correlation key | Known limitation |
|---|---|---|
| Claude Code agent telemetry | prompt.id, request_id |
Present only when telemetry is configured |
| Cloud control-plane audit log | Cloud request identifier, actor identity | Different namespace from the agent identifier |
| Kubernetes audit log | Request UID, user identity | Does not carry the agent identifier unless propagated |
| Application logs | Trace ID, request ID | Depends on instrumentation |
| Infrastructure logs | Host or node identifier | Joins to the node, not to the request |
Read the table as a join plan. Each row names the key that connects that source to the others and the limitation that will bite during a triage.
Sampling and dropped events
Sampling is a deliberate design choice that becomes a triage hazard during an incident. A sampling rule tuned for cost can remove exactly the events that explain a failure.
The sampling configuration needs reviewing before the incident, not during it. Know which sources are sampled, at what rate, and whether the sampling is deterministic or random. Deterministic sampling keeps all events for some requests and none for others, which preserves correlation chains for the requests it keeps. Random sampling breaks chains, because adjacent events from one request have different survival outcomes.
Dropped events are different from sampled events. A drop is unplanned, caused by size limits, parse failures or backpressure. Drops usually cluster, which means a burst of interesting events is also a burst of dropped events. Check drop counters at the collector and the backend, and treat a spike as a finding.
Claude Code monitoring includes API error and tool result events that can be checked as part of an observability health review, which is F090. Those events cover Claude Code telemetry, not every infrastructure log source. Their absence means the agent path is unhealthy, which is its own finding.
Known blind spots
Every pipeline has blind spots. Naming them before an incident is what makes the health check fast during one.
| Pipeline gap | Triage impact | Escalation owner |
|---|---|---|
| A source with no instrumentation | That component is invisible to the triage | Owning service team |
| A source sampled at a high rate | Failure shapes that produce few events are missed | Observability owner |
| A source with no correlation field | Records cannot be joined to the rest | Owning service team |
| A source with unreliable timestamps | Ordering is wrong for that source | Platform owner |
| A retention window shorter than the investigation | Evidence from earlier is already deleted | Observability owner |
| A destination with credential expiry | Source stops sending at expiry | Platform owner |
Read the table as a risk register. Each row names a gap, what it costs during triage, and who can close it. A blind spot with no escalation owner is a blind spot that will still be there at the next incident.
Retention deserves specific attention. A triage that reaches back past the retention window will find nothing, and nothing is indistinguishable from a quiet system. Confirm the retention window before starting a triage that depends on older events.
Change freezes interact with blind spots in a way worth planning for. A change freeze can be the reason a gap exists, because a deferred instrumentation fix is exactly the kind of work a freeze defers. Naming that connection in the risk register means the next freeze review considers telemetry work as essential rather than as deferrable.
Telemetry cost is a blind spot with a budget line attached. High-cardinality labels and content capture inflate volume, and the fix is the metadata-first schema rather than a sampling rule that breaks correlation. A pipeline that is tuned for cost by dropping events is a pipeline that will fail its own health check during the next incident.
Vendor-managed telemetry has its own blind spots, and a vendor security review should verify which safeguards are actually enabled in the deployed configuration rather than trusting the product documentation. A managed pipeline whose retention, sampling and access controls are set by the vendor is a pipeline whose blind spots are set by the vendor too.
Identity is the last blind spot worth naming. A pipeline that records actor identities joins records across systems, and a pipeline that does not leaves the triage unable to say who acted. The access reviews for agent identities post covers keeping those identity mappings current, which is what makes the actor column usable during an incident. An identity mapping that is out of date points the triage at the wrong owner.
Safe triage boundary
Define what the agent may conclude from telemetry that has passed the health check, and what it may not. A safe boundary protects the triage from a confident narrative built on gaps.
Inside the boundary, the agent may describe what the records show, propose hypotheses, and identify where the records are silent. Outside the boundary, the agent may not declare a root cause, may not claim a component is healthy because its logs are quiet, and may not attribute the incident to a component whose telemetry is missing.
No logs means no activity is the specific claim to forbid. A quiet log source can mean a healthy component, an idle component, an unreachable log forwarder, or a source that was never instrumented. Those have very different implications, and the health check is what distinguishes them.
The incident timeline method covers the correlation and uncertainty discipline that pairs with this boundary. The blameless postmortem evidence post covers the same fact-versus-hypothesis separation applied to a review.
# Example health-check order; adapt queries to your pipeline
1. synthetic_event -> confirm arrival in backend
2. count_events_per_source -> compare against expected rate
3. compare_event_time_vs_ingestion_time -> detect backlog
4. correlation_field_presence -> proportion carrying each key
5. drop_and_sample_counters -> spikes are findingsThe sequence above is an example order, not a tested runbook against a specific backend. Run it against your own pipeline with your own query language.
Escalation to platform owners
When a health check fails, escalate. The triage cannot proceed honestly on broken telemetry, and the platform owner of the pipeline is the person who can fix it.
Escalation should carry the finding, not just the symptom. A finding says which check failed, which source is affected, and what the triage was about to report when the check stopped it. That context lets the platform owner prioritize. A message that says only “logs are missing” sends the owner hunting.
Two escalation paths are common. Repair the pipeline, which is the right path when the repair is quick and the incident is not urgent. Bypass the pipeline, which is the right path when the incident is active and the repair will take longer than the incident. Bypass means reading from source systems directly, which is slower and more manual, and it should be recorded as a bypass in the timeline so a reviewer knows why the normal evidence is absent.
The break glass incident access controls post covers the governance around emergency access, which applies to a pipeline bypass that needs raised read permissions. The runbook ownership and review cadence post covers maintaining the escalation procedure.
Concrete win, concrete loss, practical implication
The concrete win is a triage that starts from known-healthy telemetry. When the health check passes, the first hour goes into the incident, and the agent’s diagnosis can be trusted enough to act on.
The concrete loss is time during an active incident. A health check that takes ten minutes is ten minutes not spent on the service, and that cost is felt most when the incident is most urgent. The loss is real and worth paying, because a triage built on missing data costs more than the check.
The practical implication is to forbid conclusions from silence. A quiet log source is not a healthy component until the health check confirms the source is working. Making that rule explicit, for humans and for the agent, is the single practice that prevents the most expensive wrong turn in a triage.
Tradeoffs worth naming
| Approach | What it buys | What it costs |
|---|---|---|
| No health check, triage immediately | Fastest start | Wrong conclusions from gaps |
| Full health check before triage | Trustworthy evidence | Delay during an active incident |
| Lightweight check on key sources | Fast and mostly reliable | Sources outside the check stay unverified |
| Continuous pipeline monitoring | Failures caught before incidents | Monitoring overhead and alert tuning |
| Agent self-assesses telemetry health | No human in the loop | Agent may trust its own data |
Read the table as a design choice. A lightweight check on the sources that matter is the common compromise, and continuous monitoring is the version that moves the cost out of the incident entirely.
Checklist before you start triage
| Item | Expected evidence | Failure interpretation |
|---|---|---|
| Synthetic event arrived | Test event visible in the backend | Pipeline is down; escalate |
| Event counts within range | Per-source counts match expected rate | Source or collector problem |
| Timestamp offset small | Offset between sources within seconds | Ordering unreliable; note the skew |
| No backlog | Event time close to ingestion time | Late arrival; timeline wrong by the delay |
| Correlation fields present | High proportion of events carry each key | Joins will be partial |
| Sampling understood | Sampled sources and rates recorded | Events missing by design |
| Drop counters clean | No recent spike in drops | Events lost in the pipeline |
| Blind spots named | Risk register reviewed for this incident | Triage will hit a known gap |
| Escalation owner identified | Platform owner reachable | No path to repair or bypass |
Passing the checklist shows the pipeline was verified before use. It does not prove the telemetry is complete, which is why blind spots are named rather than assumed away.
Data gap and future update
No official Claude Code documentation was found that describes a pipeline health feature or a triage precondition check. The telemetry events in F090 come from the monitoring documentation. The CISA framing in F088 was available through search rather than a full fetch, and the PDF was found through search but not successfully fetched, so detailed pipeline claims need separate verification. The OpenTelemetry naming in F089 is documented behavior that does not by itself prove pipeline completeness.
A future update should check whether CISA publishes a fetchable version of the logging reference architecture, and revise the incident-response framing if it does. The OpenTelemetry documentation pages referenced here were observed during research; exact attribute names should be checked against the current semantic conventions specification and the resources concept page before relying on a fine detail.
No measured pipeline latency, drop rate or triage accuracy is reported here, because none was measured. A future update quantifying how often a health check changes a triage outcome would need a measurement pass across real incidents.
One AI API Key option for OpenAI-format agents
Claude Code uses an Anthropic-format route, so the One AI free model IDs are not a Claude Code model source. The packet records Claude IDs as unavailable on 2026-11-27.
OpenAI-format agents have a separate route: One AI API Key offers https://api.oneaiapikey.com/v1, one key and 46 live free IDs. It is a different client and request format, not a workaround for Claude Code authentication. Check the free model list and eligibility notes before choosing an agent route, or read the quickstart for the request shape. The cost calculator compares it with a paid route.
FAQ
What if there is no time for a health check?
Run the short version: synthetic event arrival, event counts for the sources that matter, and a correlation field presence check. That catches the failures that most often produce a wrong triage, and it takes minutes.
Does no logs mean the component is healthy?
No. No logs can mean the component is healthy, idle, unreachable by the forwarder, or never instrumented. Those have different implications, and the health check is what tells them apart.
How do I know if sampling is hiding the events I need?
Check the sampling configuration before the incident, and check drop and sample counters during it. Deterministic sampling preserves correlation chains for the requests it keeps. Random sampling breaks chains, and a spike in drops usually clusters around the interesting events.
What should the agent be allowed to report?
What the records show, hypotheses that need verification, and where the records are silent. Not a root cause, and not a claim that a component is healthy because its logs are quiet.
Who fixes a broken pipeline during an incident?
The platform owner of the pipeline. Escalate with the finding, the affected source and what the triage was about to report. If the repair will take longer than the incident, bypass the pipeline and record the bypass in the timeline.
Related reading in this batch
Continue with OpenTelemetry semantic conventions for agents for the attribute names these checks validate, incident timeline reconstruction for the correlation discipline that follows a healthy check, SLO burn rate alerts during changes for the reliability signal that may have triggered the triage, error budget release policy for the change decision that follows, and blameless postmortem evidence for the review after the incident.
More from this batch
- OpenTelemetry Semantic Conventions for Claude Code Agents
- Incident Timeline Request ID Correlation With Claude Code
- SLO Burn Rate Alerts During Claude Code Changes
- Error Budget Release Policy for Claude Code Automation
- Blameless Postmortem Evidence From Claude Code Sessions
More Claude Code observability and platform reading
- Audit evidence integrity checks for assessing evidence completeness
- Tool output truncation for when results hide the failure
- Outages: status signals and failover for provider-side signals
- Network storms: SYN_SENT, NAT and retries for a failure shape that produces misleading telemetry
- Cloud costs: budget and quota guardrails for the cost side of telemetry volume
- Platform governance council charter for who owns observability standards
- Vendor security review checklist for reviewing a telemetry vendor
- Single points of failure for quota, region and account dependencies
More Claude Code troubleshooting
- Claude Code Terraform Plans: Review Gates Before Apply
- Claude Code Terraform State: Locking and Access Controls
- Claude Code Terraform Drift: Triage Before Reconciliation
- Kubernetes Server-Side Apply: Ownership Checks for Claude Code
- Claude Code Kubernetes RBAC: Least Privilege Reviews
- Claude Code NetworkPolicy: Blast Radius Reviews
- Claude Code Pod Security: Admission Gate Reviews
- Claude Code Cloud IAM: Permission Boundary Reviews
- Claude Code Policy as Code: Audit Before Deny
- Claude Code SOC 2 Evidence: Change Management Packets
- Claude Code Incident Tabletops: NIST-Aligned Exercises
- Claude Code AISVS: Control Mapping for Platform Teams
- Claude Code Security Exceptions: Expiry and Ownership
- Claude Code Threat Models: Infrastructure Agent Boundaries
- Claude Code RACI: Ownership for Infrastructure Changes
- Claude Code Approvals: Risk Tiers for Infrastructure
Sources
- Official: CISA Logging Reference Architecture, general incident-response framing (F088); search-level access only.
- Official: OpenTelemetry semantic conventions, common attributes for traces, metrics, logs and resources (F089).
- Official: OpenTelemetry resources, resource model for telemetry producers.
- Official: Claude Code monitoring and usage documentation, API error and tool result events (F090).
- Official: OpenTelemetry semantic conventions specification, specification index for attribute families.