---
title: Azure Service Fabric
description: Track metrics from Azure Service Fabric.
breadcrumbs: Docs > Integrations > Azure Service Fabric
---

# Azure Service Fabric

## Overview{% #overview %}

Azure Service Fabric is a distributed systems platform used to package, deploy, and manage scalable and reliable microservices and containers.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure/) first.

Monitor the health of your Azure Service Fabric cluster in Datadog by running a command in the [Azure command line interface](https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest).

To run the install command, make note of the following:

- The OS your cluster is using (Windows or Linux)
- The resource group for your cluster
- The name of the Virtual Machine Scale Set (VMSS) managing the underlying nodes in the cluster
- Your [Datadog API key](https://app.datadoghq.com/organization-settings/api-keys)

Update the following command based on the information you gathered:

{% tab title="Windows" %}

```shell
az vmss extension set --name DatadogWindowsAgent --publisher Datadog.Agent --resource-group <RESOURCE_GROUP_NAME> --vmss-name <VMSS_NAME> --settings '{"site":"<SITE_PARAMETER>", "agentVersion":"latest"}' --protected-settings '{"api_key":"<YOUR_API_KEY>"}'
```

{% /tab %}

{% tab title="Linux" %}

```shell
az vmss extension set --name DatadogLinuxAgent --publisher Datadog.Agent --resource-group <RESOURCE_GROUP_NAME> --vmss-name <VMSS_NAME> --settings '{"site":"<SITE_PARAMETER>", "agentVersion":"latest"}' --protected-settings '{"api_key":"<YOUR_API_KEY>"}'
```

{% /tab %}

Login to the Azure CLI and run the updated command to deploy the Datadog Agent on the nodes in your cluster.

### VM extension{% #vm-extension %}

An alternative installation method is adding the Datadog Azure Virtual Machine extension directly to the [ARM template](https://github.com/DataDog/service-fabric-datadog) of your Service Fabric cluster.

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

### Metrics{% #metrics %}

Because the Datadog Agent is installed on the nodes in your Service Fabric cluster, metrics are reported to Datadog from the Agent's [core checks](https://docs.datadoghq.com/getting_started/agent/#checks).

If you are running containerized apps on Service Fabric, the Agent reports [Service Fabric Mesh metrics](https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported#microsoftservicefabricmeshapplications).

### Events{% #events %}

The Azure Service Fabric integration does not include any events.

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

The Azure Service Fabric integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

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