---
title: Bits Detection
description: >-
  Learn how Bits Detection autonomously identifies critical services and manages
  monitor coverage as your system evolves.
breadcrumbs: Docs > Bits AI > Bits Detection
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Bits Detection

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

{% callout %}
# Important note for users on the following Datadog sites: app.datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, app.datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com

{% callout %}
Bits Detection is in Preview. Contact your Datadog representative to request access.
{% /callout %}

{% /callout %}

## Overview{% #overview %}

Monitor coverage drifts as engineers add endpoints, move dependencies, and change user flows. A service can look healthy at the top level while one critical path is failing. Bits Detection identifies which endpoints need coverage, sets detection logic from observed production behavior, and keeps that coverage current. Your existing monitors stay in place, and Bits Detection works alongside them.

Bits Detection manages monitoring in three stages:

- **Identify critical resources**: Bits Detection evaluates supported services and resources to determine which endpoints, dependencies, or flows are likely to be important to your users and business.
- **Detect meaningful degradations**: Bits Detection creates and tunes managed monitors for critical resources.
- **Adapt as services change**: Bits Detection keeps monitoring aligned with production by reassessing resource criticality, monitoring coverage, and alerting behavior as your services evolve.

Bits Detection is the detection stage of [Bits Autonomous Operations](https://docs.datadoghq.com/bits_ai/bits_autonomous_operations.md) (Autonomous Ops). When Bits Detection flags an issue, Bits triages it and, if it needs action, investigates it with [Bits Investigation](https://docs.datadoghq.com/bits_ai/bits_investigation.md) and addresses it with [Bits Remediation](https://docs.datadoghq.com/bits_ai/bits_remediation.md).

## Enable Bits Detection{% #enable-bits-detection %}

You enable Bits Detection by creating an Autonomous Ops scope. When you create a scope, Bits Detection provisions monitoring for the infrastructure resources in the scope. For services, Bits provisions monitoring when you turn on the Bits Managed Monitors option in the scope.

For information about how to create scopes, see [Create a scope](https://docs.datadoghq.com/bits_ai/bits_autonomous_operations.md#create-a-scope).

## Permissions{% #permissions %}

Bits Detection uses existing Datadog role-based access control (RBAC) permissions. There are no permissions specific to Bits Detection.

| Action                                                                                     | Required permissions                                                                          |
| ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------- |
| View Autonomous Ops scopes and scope details                                               | Bits Investigations Read (`bits_investigations_read`)                                         |
| View critical endpoints                                                                    | APM Read (`apm_read`)                                                                         |
| View Bits Detection monitors                                                               | Monitors Read (`monitors_read`)                                                               |
| Enable, edit, rename, or remove detection coverage for a scope, including auto-investigate | Bits Investigations Write (`bits_investigations_write`) and Monitors Write (`monitors_write`) |
| Mark an endpoint as critical or not critical                                               | APM Read (`apm_read`) and Monitors Write (`monitors_write`)                                   |
| Set up or change alert notifications for a scope                                           | Monitor Configuration Policy Write (`monitor_config_policy_write`)                            |

To set up notifications while enabling or editing a scope, you need Monitor Configuration Policy Write in addition to Bits Investigations Write and Monitors Write.

For details on assigning permissions to roles, see [Access Control](https://docs.datadoghq.com/account_management/rbac.md).

## Review Bits activity{% #review-bits-activity %}

To review the scopes where Bits is active, go to [Bits AI > Autonomous Ops > Scopes](https://app.datadoghq.com/bits/autonomous-ops/scopes). Open a scope to review its recent Bits activity and its configuration. For more information, see [View and manage scopes](https://docs.datadoghq.com/bits_ai/bits_autonomous_operations.md#view-and-manage-scopes).

## Manage Bits Detection notifications{% #manage-bits-detection-notifications %}

Bits Detection monitors are tuned to production behavior, not static thresholds. Use alert notification rules to route alerts to the right teams.

Creating or editing a notification rule requires the Monitor Configuration Policy Write permission. For details, see the Permissions section.

To set up a rule, go to the [service monitoring overview](https://app.datadoghq.com/apm/services) and click Set Up Alert Notification Rules.

1. In Match notifications with specific tags, review the query. Datadog pre-fills the rule with tags for the selected service and Bits Detection-managed monitors. You can filter further.
1. In Choose routing conditions and recipients, select Manual Routing or Dynamic Routing.
1. Add the recipients that should receive matching monitor notifications.
1. Name the rule.
1. Define permissions for the rule.
1. Click Create Rule.

The notification rule applies to monitors that match the tag query. The side panel shows how many monitors match the rule and lists examples of matching monitors.

## Help Bits learn{% #help-bits-learn %}

Use feedback and guidance to tune how Bits detects and handles issues in your environment. You can flag alerts as useful or noisy, update which endpoints are considered critical, give Bits guidance for a scope, and give feedback on the investigations that follow.

### Provide feedback on an alert{% #provide-feedback-on-an-alert %}

1. Open the Bits Detection alert.
1. In the feedback prompt, click Yes if Bits should have alerted you, or click No, Because… if it should not have.
1. If you clicked No, Because…, select a reason.
1. Click Send Feedback.

### Provide feedback on resource criticality{% #provide-feedback-on-resource-criticality %}

Bits Detection uses criticality to determine which resources should have managed monitoring coverage. From the [service monitoring overview](https://app.datadoghq.com/apm/services), click Mark as Not Critical next to an endpoint that should not have critical coverage, or Add a New Endpoint to mark one as critical.

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Autonomously monitor for impactful degradations with Bits Detection](https://www.datadoghq.com/blog/bits-detection/)
