---
title: How to Enable or Disable Telemetry Collection
description: Enable or disable telemetry collection for individual resources in DigitalOcean Insights using the Control Panel, CLI, or API.
product: Insights
url: https://docs.digitalocean.com/products/insights/how-to/manage-telemetry-collection/
last_updated: "2026-11-23"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# How to Enable or Disable Telemetry Collection

DigitalOcean Insights provides metrics, logs, traces, dashboards, and alerts to help you monitor, analyze, and troubleshoot supported DigitalOcean resources.

**Warning**:

  DigitalOcean Insights is not a HIPAA-eligible service and is strictly excluded from DigitalOcean’s Business Associate Agreement (BAA). Customers are contractually prohibited from transmitting, storing, or processing Protected Health Information (PHI) within Insights via logs, traces, custom metrics, or log forwarding, even if originating from resources under an active BAA. For teams covered by a BAA, Insights blocks log and trace ingestion but does not block metrics, which remain permissible only to the extent they contain zero PHI.

  For more information, see [Insights Data Protection](https://docs.digitalocean.com/products/insights/details/data-protection/index.html.md).

**Note**:

  Platform-level operational metrics do not contain personal data. Logs and traces may contain personally identifiable information (PII), credentials, or other sensitive data emitted by your applications.

  Operational security follows DigitalOcean’s [Shared Responsibility Model](https://www.digitalocean.com/security/shared-responsibility-model). DigitalOcean secures the underlying infrastructure; customers maintain exclusive responsibility for telemetry contents emitted by their workloads and access control configurations.

  Ingested logs and traces do not undergo automatic scrubbing, masking, or redaction. Customers are solely responsible for removing or masking Personally Identifiable Information (PII), credentials, or sensitive data on the client side prior to ingestion.

  For more information, see [Insights Data Protection](https://docs.digitalocean.com/products/insights/details/data-protection/index.html.md).

DigitalOcean Insights lets you enable or disable telemetry collection for individual resources. You can manage log and trace collection in the DigitalOcean Control Panel, and metrics collection through the DigitalOcean API or CLI.

Logs and traces share a monthly ingestion allowance of five GB per billing team at no additional cost, across all projects within the team. Additional ingestion costs $0.50 per GB. For more information, see [Insights Pricing](https://docs.digitalocean.com/products/insights/details/pricing/index.html.md).

## Enable or Disable Telemetry Collection Using the Control Panel

To manage collection, go to the [**Settings**](https://cloud.digitalocean.com/insights/settings?utm_source=docs-agent&utm_medium=md) tab in the Control Panel.

In the **Data Ingestion** section, find the resource in the table, on the right, click **…**, and then click **Manage opt-in / opt-out** to open the **Observability** window.

**Note**:

  Standard data retention periods apply according to selected service tiers. Disabling log or trace collection stops future ingestion, typically within one minute, but may take longer because ingestion is handled by a distributed system. Disabling collection does not delete previously collected logs or traces, which remain stored until their configured retention period expires or an explicit deletion request is completed.

  Explicit deletion requests take up to 30 days to process across all hot storage and backup subsystems.

  For more information, see [Insights Data Protection](https://docs.digitalocean.com/products/insights/details/data-protection/index.html.md).

In the **Observability** window, you can configure the following:

- **Logs:** Enable the toggle to collect supported platform logs or disable it to stop collecting them.
- **Traces:** Enable the toggle to collect supported platform traces using the configured sampling policy, or disable it to stop collecting them. You can [change the trace sampling rate](https://docs.digitalocean.com/products/insights/how-to/configure-trace-sampling/index.html.md) in the **Data Volume Controls** section.

Then, click **Save** to apply your changes.

## Enable or Disable Telemetry Collection Using Automation

You can view and update telemetry collection for individual resources using the DigitalOcean CLI or API. Each resource has separate metrics, logs, and traces signals that you can enable or disable, and you identify each resource by its Uniform Resource Name (URN), such as `do:droplet:12345`. When you update a resource, signals you omit stay unchanged. If you use a [custom-scoped token](https://docs.digitalocean.com/reference/api/scopes/index.html.md), updating signals requires both the `insights:create` and `insights:update` scopes.

### Enable or Disable Telemetry Collection via the CLI

To retrieve a list of resources with recorded signal settings, use the `doctl insights resource list` command. To filter the results, add the `--product-type` or `--region` flag.

## How to List Resource Signal Enablement Using the DigitalOcean CLI

1. [Install `doctl`](https://docs.digitalocean.com/reference/doctl/how-to/install/index.html.md), the official DigitalOcean CLI.
2. [Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with `doctl`.
3. Use the token to grant `doctl` access to your DigitalOcean account.

   ```shell
   doctl auth init
   ```
4. Finally, run `doctl insights resource list`. Basic usage looks like this, but you can [read the usage docs](https://docs.digitalocean.com/reference/doctl/reference/insights/resource/list/index.html.md) for more details:

   ```shell
   doctl insights resource list [flags]
   ```

   The following example lists Droplet resources in nyc3:

   ```shell
   doctl insights resource list --product-type droplet --region nyc3
   ```

To retrieve the signal settings for a specific resource, use the `doctl insights resource get` command with the resource’s URN.

## How to Retrieve Resource Signal Enablement Using the DigitalOcean CLI

1. [Install `doctl`](https://docs.digitalocean.com/reference/doctl/how-to/install/index.html.md), the official DigitalOcean CLI.
2. [Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with `doctl`.
3. Use the token to grant `doctl` access to your DigitalOcean account.

   ```shell
   doctl auth init
   ```
4. Finally, run `doctl insights resource get`. Basic usage looks like this, but you can [read the usage docs](https://docs.digitalocean.com/reference/doctl/reference/insights/resource/get/index.html.md) for more details:

   ```shell
   doctl insights resource get <resource-urn> [flags]
   ```

   The following example retrieves signal enablement for a Droplet:

   ```shell
   doctl insights resource get do:droplet:12345
   ```

To enable or disable signals for a resource, use the `doctl insights resource update` command with the resource’s URN and the `--metrics`, `--logs`, or `--traces` flag set to `true` or `false`, such as `--logs=true`.

## How to Update Resource Signal Enablement Using the DigitalOcean CLI

1. [Install `doctl`](https://docs.digitalocean.com/reference/doctl/how-to/install/index.html.md), the official DigitalOcean CLI.
2. [Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with `doctl`.
3. Use the token to grant `doctl` access to your DigitalOcean account.

   ```shell
   doctl auth init
   ```
4. Finally, run `doctl insights resource update`. Basic usage looks like this, but you can [read the usage docs](https://docs.digitalocean.com/reference/doctl/reference/insights/resource/update/index.html.md) for more details:

   ```shell
   doctl insights resource update <resource-urn> [flags]
   ```

   The following example enables metrics and logs while disabling traces:

   ```shell
   doctl insights resource update do:droplet:12345 --region nyc3 --metrics=true --logs=true --traces=false
   ```

### Enable or Disable Telemetry Collection via the API

To retrieve a list of resources with recorded signal settings, send a request to the [List Resource Signal Enablement](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md#insights_list_resources) endpoint. You can filter the results by product type and region.

## How to List Resource Signal Enablement Using the DigitalOcean API

[Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with the API.

### cURL

Send a GET request to [`https://api.digitalocean.com/v2/insights/resources`](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md#insights_list_resources).

Using cURL:

```shell
curl -X GET \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  "https://api.digitalocean.com/v2/insights/resources?filter.product_types=droplet&pagination.per_page=50"
```

To retrieve the signal settings for a specific resource, send its URN to the [Retrieve Resource Signal Enablement](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md#insights_get_resource) endpoint.

## How to Retrieve Resource Signal Enablement Using the DigitalOcean API

[Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with the API.

### cURL

Send a GET request to [`https://api.digitalocean.com/v2/insights/resources/{resource_urn}`](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md#insights_get_resource).

Using cURL:

```shell
curl -X GET \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  "https://api.digitalocean.com/v2/insights/resources/do:droplet:12345"
```

To enable or disable signals for a resource, send its URN to the [Update Resource Signal Enablement](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md#insights_update_resourceSignals) endpoint with `metrics`, `logs`, or `traces` set to `true` or `false`.

## How to Update Resource Signal Enablement Using the DigitalOcean API

[Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with the API.

### cURL

Send a PUT request to [`https://api.digitalocean.com/v2/insights/resources/{resource_urn}/signals`](https://docs.digitalocean.com/reference/api/reference/insights/index.html.md#insights_update_resourceSignals).

Using cURL:

```shell
curl -X PUT \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  -d '{"region":"nyc3","metrics":true,"logs":true}' \
  "https://api.digitalocean.com/v2/insights/resources/do:droplet:12345/signals"
```