---
title: Disable Serverless Monitoring
description: How to disable Serverless Monitoring for any supported cloud platform.
breadcrumbs: >-
  Docs > Serverless > Serverless Monitoring Guides > Disable Serverless
  Monitoring
---

# Disable Serverless Monitoring

This page explains how to disable Datadog Serverless Monitoring.

## AWS{% #aws %}

{% alert level="info" %}
To enable Serverless Monitoring, see Datadog's documentation for [AWS Lambda](https://docs.datadoghq.com/serverless/aws_lambda) or [AWS Step Functions](https://docs.datadoghq.com/serverless/step_functions).
{% /alert %}

To disable Serverless Monitoring for AWS Lambda or AWS Step Functions:

### Disable metric collection{% #disable-metric-collection %}

1. In Datadog, navigate to the [AWS integration tile](https://app.datadoghq.com/integrations/amazon-web-services).

1. Select your AWS account on the left.

1. Navigate to the **Metric Collection** tab and toggle off metric collection from the AWS services you want to stop monitoring.

   {% image
      source="https://datadog-docs.imgix.net/images/serverless/guide/disable/aws-lambda-off.a6119984a6b5ce0772c2e972ec448a8b.png?auto=format"
      alt="Datadog-AWS integration tile, Metric Collection tab. With 'lambda' in the search bar, the AWS Lambda service appears. The toggle is in a disabled position." /%}

1. **Save** your changes.

### Disable tracing{% #disable-tracing %}

Remove any Datadog Lambda Libraries from your AWS Lambda functions.

## Azure{% #azure %}

{% alert level="info" %}
To enable Serverless Monitoring, see Datadog's documentation for [Azure App Service](https://docs.datadoghq.com/serverless/azure_app_service), [Azure Container Apps](https://docs.datadoghq.com/serverless/azure_container_apps), or [Azure Functions](https://docs.datadoghq.com/serverless/azure_functions).
{% /alert %}

To disable Serverless Monitoring for Azure App Service, Azure Container Apps, or Azure Functions:

### Disable metric collection{% #disable-metric-collection-1 %}

1. In Datadog, navigate to the [Azure integration tile](https://app.datadoghq.com/integrations/azure).

1. Select your app registration on the left.

1. Navigate to the **Metric Collection** tab and toggle off metric collection for the Azure services you wish to stop monitoring.

   {% image
      source="https://datadog-docs.imgix.net/images/serverless/guide/disable/azure-container-off.009b975ea4614f65e6715b2c4ec8d4c6.png?auto=format"
      alt="Datadog-Azure integration tile, Metric Collection tab. With 'container apps' in the search bar, the Azure Container Apps service appears. The toggle is in a disabled position." /%}

1. **Save** your changes.

### Disable tracing{% #disable-tracing-1 %}

If you deployed the Datadog Agent in a sidecar container, remove it. If you are using `datadog/serverless-init`, remove it from your Dockerfile.

## Google Cloud{% #google-cloud %}

{% alert level="info" %}
To enable Serverless Monitoring, see Datadog's documentation for [Google Cloud Run](https://docs.datadoghq.com/serverless/google_cloud_run).
{% /alert %}

To disable Serverless Monitoring for Google Cloud Run containers or functions:

### Disable metrics{% #disable-metrics %}

1. In Datadog, navigate to the [Google Cloud integration tile](https://app.datadoghq.com/integrations/google-cloud-platform).

1. Select your GCP account on the left.

1. Navigate to the **Metric Collection** tab and toggle off metric collection for the Google Cloud services you wish to stop monitoring.

   {% image
      source="https://datadog-docs.imgix.net/images/serverless/guide/disable/gcr-off.10b67e9d5381bdfc65aa87677568088d.png?auto=format"
      alt="Datadog-Google Cloud integration tile, Metric Collection tab. With 'cloud run' in the search bar, the Cloud Run and Cloud Run functions services appear. Both toggles are in a disabled position." /%}

1. **Save** your changes.

### Disable tracing{% #disable-tracing-2 %}

If you deployed the Datadog Agent in a sidecar container, remove it with the [Datadog CLI](https://github.com/DataDog/datadog-ci/)'s [`uninstrument` command](https://github.com/DataDog/datadog-ci/tree/master/packages/plugin-cloud-run#uninstrument). If you are using `datadog/serverless-init`, remove it from your Dockerfile.
