# Quotas for Monitoring

How many uptime checks, status pages and custom metric series you can have, the fixed limits, and how to raise a quota.

(The table of quotas is generated on the web page.)
- A check or a status page over its quota is refused with `409` and code `QuotaExceeded`; the
  message starts "Quota exceeded:" and says how many you may have and have. A paused check counts.
- A custom series counts while it received a datapoint in the last 15 days. A datum that would
  start a new series past the quota is refused on its own, listed in `rejected` with "series limit:
  …" (see [Publish custom metrics](publish-custom-metrics.md)); datums of existing series are still
  stored.

## Fixed limits

These are not quotas and cannot be raised.

| What                               | Limit                                     |
| ---------------------------------- | ----------------------------------------- |
| Metric retention                   | 14 days                                   |
| Points per series in one answer    | 1440                                      |
| Metrics per data request           | 8                                         |
| Alarm period                       | 1 minute to 1 day, whole minutes          |
| Alarm look-back (period × periods) | 1 day                                     |
| Email addresses per alarm or check | 10                                        |
| Log retention                      | 7 days                                    |
| Log lines per search               | 1000                                      |
| Check runs against one host        | 6 a minute, over every organization       |
| Uptime results retention           | 30 days; outages for the check's life     |
| Custom datums per request          | 1000                                      |
| Custom datum age                   | at most 14 days old, 2 hours ahead        |
| Dimensions per series              | 10; names and values up to 255 characters |
| Custom metric retention            | 15 days per minute, 15 months per hour    |
| Components per status page         | 50                                        |
| Subscribers per status page        | 1000                                      |

## Raise a quota

This needs `quotas:RequestServiceQuotaIncrease`. Open **Service quotas** in the Deutsche Cloud Console and
choose **Request increase** on the quota's row, or use the CLI:

```sh
dcloud quotas requests request-increase --quota-id monitoring.uptime-checks \
  --requested-value 100 --reason "One check per customer site"
```

For an organization on standard quotas, a request for **Status pages** up to twice the standard
default is approved at once, unless a request for it was approved that way in the last 24 hours.
Other requests are decided by Deutsche Cloud staff. An organization on trial quotas is asked to have
Deutsche Cloud support move it to standard quotas.

## Related

- [Create an uptime check](create-an-uptime-check.md)
- [Create a status page](create-a-status-page.md)
