---
title: Serverless Monitoring for AWS Step Functions
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Serverless > Serverless Monitoring for AWS Step Functions
---

# Serverless Monitoring for AWS Step Functions

AWS Step Functions is a serverless orchestration service that lets developers create and manage multi-step application workflows. In addition to getting CloudWatch metrics from Datadog's [AWS Step Functions integration](https://docs.datadoghq.com/integrations/amazon_step_functions/), Datadog also provides AWS Step Function tracing, logs, and [enhanced metrics](https://docs.datadoghq.com/serverless/step_functions/enhanced-metrics) through the collection of CloudWatch logs.

{% image
   source="https://datadog-docs.imgix.net/images/serverless/step_functions/overview_725.b8693ba64ee126991007cd9994049f4a.png?auto=format"
   alt="An AWS Step Function oveview tab." /%}

### How it works{% #how-it-works %}

Datadog AWS Step Functions Monitoring makes use of CloudWatch metrics from the [AWS Step Functions integration](https://docs.datadoghq.com/integrations/amazon_step_functions/) and CloudWatch logs sent through the Datadog Forwarder or Amazon Data Firehose. Both Forwarder and Firehose run in your environment. Sending CloudWatch logs provides tracing and [enhanced metrics](https://docs.datadoghq.com/serverless/step_functions/enhanced-metrics).

### Monitor the overall health of Step Functions in the Serverless view{% #monitor-the-overall-health-of-step-functions-in-the-serverless-view %}

The Serverless view shows key metrics for your Step Functions in one place to easily provide a snapshot of the health of your Step Functions. You can access a detailed view of each Step Function to see all associated metrics, logs, and traces within a certain time frame and set monitors for problematic executions.

{% image
   source="https://datadog-docs.imgix.net/images/serverless/step_functions/overview_trace_725.eda6699454e3aecf59b65f49248205e7.png?auto=format"
   alt="An AWS Step Function visualization with span tags." /%}

### Visualize AWS Step Function Traces on a State Machine Map{% #visualize-aws-step-function-traces-on-a-state-machine-map %}

When [Step Function tracing is enabled](https://docs.datadoghq.com/serverless/step_functions/installation), you can use a visual representation of an AWS Step Function execution through a state machine map. Get an at-a-glance-view of whether a successful or failed execution took the expected path through the state machine. Drill into any anomalous executions to identify what states are problematic or have a high latency.

{% image
   source="https://datadog-docs.imgix.net/images/serverless/step_functions/traceview_725.a9523ea635e49b80dd952e107bdab80b.png?auto=format"
   alt="An AWS Step Function span displayed in a flame graph visualization." /%}

### Reduce Step Function debugging time with detailed execution traces{% #reduce-step-function-debugging-time-with-detailed-execution-traces %}

You can view end-to-end traces for a single Step Function execution and its associated logs, errors, and metrics, which enable you to identify issues in your Step Function logic. Step Function spans also contain rich metadata for step inputs and outputs, associated Lambda traces, and step duration length that help you to reproduce bugs and fix bottlenecks.

To get started, follow the [installation instructions](https://docs.datadoghq.com/serverless/step_functions/installation).

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

- [Install Serverless Monitoring for AWS Step Functions](https://docs.datadoghq.com/serverless/step_functions/installation)
- [Merge Step Functions and Lambda Traces](https://docs.datadoghq.com/serverless/step_functions/merge-step-functions-lambda)
- [Enhanced Metrics for AWS Step Functions](https://docs.datadoghq.com/serverless/step_functions/enhanced-metrics)
- [Redrive Executions](https://docs.datadoghq.com/serverless/step_functions/redrive)
- [Tracing Distributed Map States](https://docs.datadoghq.com/serverless/step_functions/distributed-maps)
- [Troubleshoot Serverless Monitoring for AWS Step Functions](https://docs.datadoghq.com/serverless/step_functions/troubleshooting)
- [Disable Serverless Monitoring](https://docs.datadoghq.com/serverless/guide/disable_serverless)
