> For the complete documentation index, see [llms.txt](https://awsnotes.dendron.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://awsnotes.dendron.so/application-integration/aws-step-functions/topics/logging-and-monitoring.md).

# Logging and monitoring

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-step-functions-developer-guide.git)
{% endhint %}

## Amazon CloudWatch Metrics

* **Note**\
  Lambda Function Metrics are emitted for Task states that specify the Lambda function ARN in the `Resource` field. Task states that use `"Resource": "arn:aws:states:::lambda:invoke"` emit Service Integration Metrics instead. For more information, see [Invoke Lambda with Step Functions](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_step_functions/connect-lambda.md).

## Logging using CloudWatch Logs

* **Note**\
  When you configure logging, [CloudWatch Logs charges](http://aws.amazon.com/cloudwatch/pricing) will apply.
