An alert can identify a symptom without explaining its cause. Investigating rising latency might require ingress metrics, service-mesh signals, Kubernetes state, and deployment history. I wanted coding agents to help developers follow that evidence across the platform and arrive at a next step they could justify.

I built the integrations, access patterns, and diagnostic guidance behind that workflow. Connecting the systems made their observations available; the investigation method helped determine which observations belonged together and what to check next.

Connect the sources behind the question

Our integrations covered AWS accounts, Kubernetes environments, Datadog logs, metrics and events, Spark History Server, Airflow, GitHub source control and Actions, CircleCI, and Jira. These were working connections. Their value depended on which question an engineer was investigating.

For a web application, ingress and service-mesh metrics helped locate changes in latency, traffic, errors, and saturation. Kubernetes and AWS observations supplied infrastructure context. Source control, CI/CD history, PR descriptions, and Jira supplied context about what changed and what the change intended to achieve. Spark execution history and Airflow runs supported investigations in the data platform.

A useful correlation has to refer to the same workload, environment, and relevant time window. An error after a deployment makes the deployment worth examining; sequence alone does not establish causation. I want the investigation to identify the observation, its source, the explanation it suggests, and a check that could distinguish that explanation from another.

A PR description provides intent, not proof of runtime behavior. Missing telemetry leaves a question open. Those distinctions matter when an agent can retrieve enough material to make almost any explanation sound plausible.

Illustrative investigation: latency after a rollout

This walkthrough resembles an investigation I handled and illustrates the method using CPU throttling and a changed CPU limit. The sequence is simplified. Detailed comparisons between revisions, request mixes, and downstream behavior are illustrative checks, rather than a complete incident record.

Imagine an alert for increased web-application latency and errors. Ingress metrics show the user-facing symptom. Service-mesh metrics localize the increase to requests handled by an application workload. Traffic is broadly comparable with the preceding period, so a traffic surge is less persuasive as the first explanation.

The agent examines the matching Kubernetes workload and recent deployment history. A rollout preceded the alert. The new revision shows increased CPU throttling, while remaining pods from the previous revision do not show the same pattern. Downstream service observations do not show a corresponding increase in latency. These findings make several hypotheses worth separating: a downstream problem, a change in request mix, or resource contention introduced by the rollout.

The deployment diff shows a lower CPU limit. The application image is unchanged. This strengthens the resource hypothesis but does not prove it: the revisions could still be handling different requests. The next check compares request characteristics and load across revisions, then proposes restoring the earlier limit for a controlled comparison through the approved deployment process. Kubernetes enforces CPU limits through throttling, which makes this a technically plausible hypothesis.

An engineer reviews and authorizes that test. In this illustrative outcome, throttling drops and application latency and errors return toward their earlier range under comparable traffic. Verification follows the request path back to the ingress as well as checking the workload. A successful rollout alone would not establish that users had recovered.

The useful output is the chain from symptom to evidence, competing explanations, distinguishing check, and observed recovery. The engineer can challenge any link. The walkthrough also shows where human judgment matters: deciding whether the comparison is meaningful and whether the proposed production action is appropriate.

Make access part of the platform design

Developers operated in a sandboxed environment with dedicated agent permission sets across AWS accounts. We used AWS IAM Identity Center connected to our organizational identity provider. I also worked on authentication and authorization for the individual integrations, treating each connection as another platform access surface.

That AWS identity arrangement describes the AWS path; each other integration still needed its own authentication and authorization design. The scope of a diagnostic read also mattered. Being able to query one environment did not make another environment relevant or automatically accessible.

We connected diagnostic access to existing review and CI/CD processes for changes. Reading runtime state and preparing a proposal are different operations from modifying infrastructure. A skill could explain how to investigate or prepare a change, while the underlying permissions determined what the agent could actually do.

Turn an access failure into a reviewable request

One workflow made that distinction concrete. When an agent encountered an authorization failure, preloaded guidance explained how to prepare a Terraform pull request containing the requested action and a justification for why the task needed it. The agent could assemble the request instead of leaving the developer to reconstruct the failure and find the infrastructure repository.

I or another DevOps team member reviewed the request. The agent could not approve or apply its own permission expansion. The reviewer still had to decide whether the operation was necessary, whether the scope was appropriate, and whether another approach could complete the work with existing access.

Allowing greater agent control remains future design work, including how Terraform should support agentic workloads. It is not a capability of the current permission-request workflow.

Carry the investigation method forward

I started the reusable guidance with how I would debug alongside Claude. I asked it to capture the actual tool used for each interface and update the skill so the next investigation could reuse that knowledge. The shared review process gave us a way to examine those updates before distributing them.

This made part of the SRE investigation process available to developers without requiring me to participate in every first pass. Operational findings could also inform tests, review questions, and checks earlier in subsequent changes. That is where the self-service workflow connects to shifting reliability work earlier in development.

For engineering leaders, the practical question is whether developers can reach a well-supported next step with fewer specialist interruptions. For the engineer using the workflow, it is whether the evidence is inspectable and the proposed action fits the task. Those are the standards I would use when deciding which integration or diagnostic skill to improve next.