Skip to content

Commit

Permalink
update uptime's automatic detection description (#11098)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaprl authored Aug 14, 2024
1 parent 9664c95 commit 07eb8bb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/product/alerts/uptime-monitoring/automatic-detection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,21 @@ Sentry will execute uptime checks against the hostname root path of the most fre
</Alert>

## Disabling Automatic Detection
Deleting an alert will disable automatic detection for the entire project linked to the host. This feature can also be turned off globally for the entire organization from the [organization settings](https://sentry.io/orgredirect/organizations/:orgslug/settings/organization) page.

Alternatively, the hostname's `robots.txt` can be updated to disallow Sentry:
If you prefer not to use automatically detected uptime alerts, you have two options to disable them:

1. **Deleting Uptime Alerts:** You can directly delete existing automatically detected uptime alerts from your [Alerts page](https://sentry.io/orgredirect/organizations/:orgslug/alerts/rules). Once deleted, these alerts will not be re-created automatically in the future.
2. **Blocking Sentry via `robots.txt`:** Another method to prevent automatic detection is by updating your hostname's robots.txt file to block Sentry’s uptime monitoring bot. To do this, add the following lines to your robots.txt file:

```txt{tabTitle: Example}{filename: robots.txt}
User-agent: SentryUptimeBot
Disallow: *
```

<Alert level="warning">
**Note:** The `robots.txt` file will only prevent Sentry from detecting URLs that it encounters in the future. Existing URLs that have already been detected will continue to have uptime alerts unless they are manually deleted.
</Alert>

## Current Limitations

In the current version, automatically-detected uptime alerts can only be deleted, not edited. Support for editing
will be added in the future. Additionally, each organization is limited to one automatically-detected host.
At present, automatically detected uptime alerts have limited editability. You cannot update the URLs associated with these alerts. Only the alert name and owner can be modified. The ability to edit URLs and other alert settings is planned for a future release. Additionally, each organization is limited to one automatically detected hostname.

0 comments on commit 07eb8bb

Please sign in to comment.