As environments grow and teams deploy new AI workloads, infrastructure teams have to keep up with new resource patterns, scaling behavior, and operational risks. Many of the issues they handle are familiar, such as OOMKilled and CrashLoopBackOff errors in Kubernetes, memory pressure on Amazon ECS tasks, and hosts that run out of disk space. But these issues are often hard to catch early and slow to resolve.
Kubernetes and ECS report many workload failures as events, so a restarting pod can go unnoticed until it affects a service. And when a host fills up, an alert can tell you that the disk is full. But finding the file or process responsible usually means an engineer has to log in to the host and investigate by hand.
Bits Autonomous Operations, now generally available inBits AI, can detect, investigate, and remediate issues across your infrastructure within the guardrails you set. For SREs and platform teams, this means Bits can handle routine infrastructure issues so that you can spend more time on architecture and capacity planning. Ourlaunch post covers how Bits triages alerts, tests hypotheses, and manages its work across your organization.
In this post, we’ll focus on capabilities for infrastructure teams and show how Bits can help you:
- Detect Kubernetes and ECS failures before they escalate
Detect Kubernetes and ECS failures before they escalate
- Determine whether an issue is a capacity problem or a code regression
Determine whether an issue is a capacity problem or a code regression
- Remediate infrastructure issues within your guardrails
Remediate infrastructure issues within your guardrails
Detect Kubernetes and ECS failures before they escalate
A single OOMKilled event rarely looks urgent. But when the same pod is killed several times in a few minutes, the deployment can run out of healthy replicas before anyone notices. With autonomous monitoring, now in Preview, Bits can catch issues like these before you’ve created a monitor for them, including repeated OOMKilled and CrashLoopBackOff errors, Kubernetes misconfigurations, and out-of-memory errors on ECS tasks.
Say Shopist’s inventory-api pods in the shopist namespace start restarting during traffic peaks, causing intermittent HTTP 5xx errors on inventory lookups. Bits detects the pattern without a monitor alert, posts it to your team’s Slack channel, and triages it, using signals such as how often it has recurred and how many services depend on the workload. Not every detection leads to an investigation. In this case, Bits determines that the issue needs further action and starts investigating.
Determine whether an issue is capacity or code
When a pod is OOMKilled, someone has to work out whether the workload needs more resources or a release introduced a memory leak. That question often lands on SREs and platform teams, even when the fix is routine. Bits Investigation answers that question with evidence from your environment, such as memory trends, traffic, and deployment history. Because Bits shows its evidence, app teams can resolve routine issues like these on their own, and your team steps in only when it’s needed. As of December 2026, an average Bits investigation takes 2 minutes.
To continue our example, let’s say for Shopist’s inventory-api, Bits finds that the working set grew to about 480 MiB as traffic increased, leaving too little headroom under the 512 MiB memory limit. Logs show that the inventory lookup endpoint is receiving more requests than it has historically. The OOMKills follow traffic peaks and started without a code or image change, so Bits concludes that traffic growth exhausted the memory limit. This is a capacity issue for your team.
The same symptom can have a different cause. For example, when checkout-api pods start getting OOMKilled right after the v2.14.0 deploy, Bits finds that memory was flat for 7 days and started climbing within 2 minutes of the rollout. Heap profiles point to a new in-process cache that never evicts cart sessions. Traffic, payload sizes, and garbage collection settings are unchanged, and canary pods still running v2.13.2 show no memory growth. Bits traces the OOMKills to the code change, posts its findings in the alert’s Slack thread, and drafts a fix for the app team to review.
Bits takes the same approach with serverless workloads. When Shopist’s fulfill-orders AWS Lambda function starts timing out and blocking checkout, Bits rules out cold starts and concurrency throttling. It then traces the timeouts to an order-status lookup in the application code that stalls until Lambda ends each invocation.
Investigate issues directly on your hosts
Some root causes are only visible from inside a host. Bits Investigation can useprivate actions to run diagnostics on your hosts through RShell, a restricted shell that runs through the private action runner. So instead of reporting that a disk is full, Bits can find out what’s filling it up and why.
Say a monitor alerts on disk saturation for batch-worker-03 in env:prod. Bits inspects the host and finds that /var/log/app/debug.log has grown to 40 GB. Debug-level logging was enabled during an earlier incident and never turned off. Bits reports the file, the configuration setting responsible, and a proposed fix.
Many infrastructure fixes are simple, such as raising a memory limit or clearing a runaway log file. But they still require an engineer with the right access to make the change, often in the middle of the night. After Bits identifies a root cause, it proposes next steps and canremediate the issue on the host or workload where it occurred. For Kubernetes workloads, Bits can restart pods, scale or roll back deployments, and patch deployment settings such as memory limits. For hosts, Bits can truncate log files and edit configuration files.
Yourguardrails decide which of these actions Bits can take on its own, which need approval, and which Bits can only recommend. For example, a platform team might let Bits restart pods and truncate logs under /var/log in env:staging on its own, and require approval before it raises memory limits or truncates logs in env:prod. If no guardrail covers an action, such as editing files outside the paths you specify, Bits can’t run it.
Returning to the disk example, batch-worker-03 is a production host, so Bits waits for approval. After an engineer approves the fix in Datadog or Slack, Bits truncates debug.log and sets the application’s log level back to INFO. It then verifies that disk usage has dropped below the alert threshold and marks the issue as resolved.
For inventory-api, Bits prepares a patch that raises the memory limit from 512 MiB to 1 GiB, with the working-set evidence attached. Because the production guardrails don’t allow Bits to increase memory on its own, the change waits for approval. Before approving, an engineer confirms that the nodes have enough capacity for the higher limit. After approval, Bits applies the patch and verifies that the OOMKills and inventory errors have stopped.
A live patch stabilizes the workload, but the deployment manifest still declares the old limit. Bits can open a pull request that persists the approved limit in the manifest so that the next deploy doesn’t reintroduce the problem. Your team reviews and approves the pull request before it merges. This keeps the live cluster state and the declared configuration aligned, which helps reduce configuration drift. When your team approves the same kind of fix repeatedly, Bits can recommend updating the guardrail so it handles that issue automatically next time.
Get started with autonomous operations for your infrastructure
Infrastructure teams spend much of their week on fixes they already know how to make. With Bits Autonomous Operations, you can start by letting Bits detect and investigate those issues, then review the fixes it proposes. As your guardrails expand, you can hand off more of that work and spend more time on capacity planning, architecture, and reliability improvements.
Bits Autonomous Operations is now generally available in Bits AI, and the infrastructure capabilities in this post are available inPreview. To learn more, see theBits AI documentation and our launch post.
If you’re not already a Datadog customer, sign up for a free 14-day trial.







