---
title: Fabric
description: >-
  A Python library and command-line tool that simplifies SSH use for app
  deployment and system administration tasks.
breadcrumbs: Docs > Integrations > Fabric
---

# Fabric

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

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

**Warning**: This integration has been deprecated and is not being actively developed anymore.

Connect Fabric to Datadog in order to:

- Capture and search for deploy events in the event stream.
- Correlate deploy events with metric changes on dashboards.

## Setup{% #setup %}

### Configuration{% #configuration %}

1. Install the dogapi package:

   ```shell
   sudo easy_install --upgrade dogapi
   ```

or:

   ```shell
   sudo pip install dogapi
   ```

1. Import dogapi and configure your API key:

   ```python
   from dogapi.fab import setup, notify
   setup("<YOUR_DATADOG_API_KEY")
   ```

1. Add the notify decorator to each task you want to connect to Datadog. Make sure @notify occurs just above @task

   ```python
   @notify
   @task
   def a_fabric_task(...):
       # do things
   ```

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

The Fabric integration does not include any metric.

### Events{% #events %}

The Fabric integration does not include any events.

### Service Checks{% #service-checks %}

The Fabric integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
