> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/autoship/monitoring.md).

# Monitoring

AutoShip uses your monitoring systems to detect regressions during deployments.

Sentry and AWS CloudWatch are currently supported, after connecting these integrations in the global configuration, AutoShip requires additional information to know where to find the monitoring information for the specific repository and environment.

## Sentry

In the [global AutoShip configuration](https://app.aikido.dev/autoship/settings), add Sentry under monitoring and provide the slug for your Sentry organization as found in your Sentry URL (eg. `slug.sentry.io`).

Create an Auth Token on the [Sentry Auth Tokens](https://sentry.io/settings/account/api/auth-tokens.) page. Make sure to give the token the following permissions:

* `event:read`
* `org:read`
* `project:read`

Once the global configuration is done, enable Sentry monitoring in the AutoShip repository configuration. Provide the Sentry Project for the specific repo and environment.

## AWS CloudWatch

<figure><img src="https://3149773201-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2F1EYHnVHmgDoT3eqEZwhH%2Fimage.png?alt=media&amp;token=6818cc09-3e66-4d11-a74b-5abf981ee029" alt=""><figcaption></figcaption></figure>

In the [global AutoShip configuration](https://app.aikido.dev/autoship/settings), use the `Create IAM Role & Policy` button to apply a CloudFormation template that creates a IAM role that allows AutoShip to read CloudWatch logs.

Once the global configuration is done, enable Cloudwatch in the AutoShip repository configuration. Provide the log group for the specific repo and environment.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/autoship/monitoring.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
