---
title: "Check types"
description: "Every setting of the eight Edge Pulse check types (HTTP, API workflow, SSL, DNS, TCP, UDP, ping and page speed) and exactly when each one passes or fails."
url: "https://edge.network/docs/pulse/check-types"
section: "Pulse"
---

# Check types

Pulse has eight check types. This page lists the settings of each one, when a run passes or fails, and what is recorded. The type of a saved check cannot be changed: create a new check instead.

| Type | Shortest interval | Billed as |
|---|---|---|
| [Website or endpoint (HTTP)](#website-or-endpoint-http) | 30 seconds | Standard run |
| [API workflow](#api-workflow) | 30 seconds | Standard run (the whole workflow is one run) |
| [SSL certificate](#ssl-certificate) | 1 hour | Standard run |
| [DNS record](#dns-record) | 30 seconds | Standard run |
| [TCP port](#tcp-port) | 30 seconds | Standard run |
| [UDP port](#udp-port) | 30 seconds | Standard run |
| [Ping](#ping) | 30 seconds | Standard run |
| [Page speed](#page-speed) | 5 minutes | Page speed run (never free) |

## Rules for every type

- **Timeout.** A run that takes longer than the timeout has failed. It is 10 seconds unless you change it, and the console offers 5 to 30 seconds. Page speed checks use 30 seconds unless you change it, and the console offers 15 to 60. The timeout must be shorter than the interval.
- **Public targets only.** Pulse will not connect to private, loopback or link-local addresses. This is checked on the address actually connected to, so it also covers redirects and hostnames that resolve to a private address. To monitor something on a private network, expose a health endpoint publicly.
- **IPv4.** Locations connect over IPv4. A hostname that has only IPv6 addresses fails.
- **URLs.** A URL must start with `http://` or `https://`. A URL with a user name and password in it is refused: send an `Authorization` header instead.

> [!NOTE]
> HTTP and API workflow requests are sent with `User-Agent: EdgePulse/1.0 (+https://edge.network/pulse)`. Page speed checks add the same text to the end of the browser's own user agent. If a firewall or bot filter sits in front of your site, allow that user agent, or the check will report what the filter answers.

## Website or endpoint (HTTP)

Requests a URL and checks the status, the headers and the body of the answer.

| Setting | What it does |
|---|---|
| Method and URL | GET, HEAD, POST, PUT, PATCH or DELETE. GET unless you change it. |
| Expected status | Up to 10 status codes. Left empty, any status from 200 to 399 passes. |
| Body contains | Text that must appear in the first 1 MB of the response body. |
| Request headers | Up to 20. A `Host` header changes the host the request is made for. A `User-Agent` header replaces the one Pulse sends. |
| Request body | Up to 64 KB. Not sent with GET or HEAD. |
| Expected response headers | Each header listed must be present and contain the text. Upper and lower case are treated as the same. |
| Follow redirects | On unless you change it: up to 5 redirects are followed and the last response is checked. Off checks the first response as it is. |
| Verify the TLS certificate | On unless you change it. Off lets the check pass against a self-signed or mismatched certificate. |

**A run fails when**

- the name does not resolve, the connection cannot be made, or the TLS handshake fails;
- the response does not finish within the timeout;
- the status is not one you expect;
- an expected header is missing or does not contain its text;
- the body does not contain the text you asked for;
- there are more than 5 redirects.

**Recorded:** the total time, split into DNS lookup, connection, TLS handshake and time to first byte; the status, the IP address answered from, the size of the body, the number of redirects and the HTTP version.

## API workflow

Several requests in order, where a later request can use a value taken from an earlier answer. Use it to check that a user can log in and then fetch something, not only that the login page answers.

```text
Variables
  user = probe@example.com

Step 1: Log in
  POST https://api.example.com/login
  Body              {"email":"{{user}}","password":"..."}
  Expected status   200
  Check the JSON    user.active  equals  true
  Keep a value      token  from JSON path  token

Step 2: List orders
  GET https://api.example.com/orders
  Header            Authorization: Bearer {{token}}
  Expected status   200
```

- **Steps.** 1 to 10, run in order. The first step that fails ends the run. Cookies are kept from one step to the next, and up to 5 redirects are followed.
- **Variables.** Up to 20 names and values. Write `{{name}}` in a URL, a header value or a body to use one. A name that has no value fails the step.
- **Each step** has a method, a URL, headers, a body, an expected status and a "body contains" text, with the same meaning as in an HTTP check.
- **Check the JSON response.** Up to 10 per step. Each one names a path such as `data.items[0].id` and says the value there equals, does not equal, or contains a value, or only that it exists. Values are compared as text, so `true` matches the JSON value `true`.
- **Keep a value for later steps.** Up to 10 per step. The value comes from a JSON path, from a response header, or from a pattern (a regular expression: the first group in brackets is kept, or the whole match when there is none). It is then used like a variable.

The whole workflow shares one timeout and counts as one run, however many steps it has.

**Recorded:** the total time, and for each step its status, its time and, for the step that failed, the reason.

## SSL certificate

Connects to a host and checks the certificate it presents. Settings: the **host**, the **port** (443 unless you change it), and a **certificate name**, needed only when the name on the certificate is not the host, for example when the host is an IP address.

**A run fails when**

- the TLS handshake fails;
- the certificate has expired;
- the certificate is not trusted (its chain does not lead to a trusted authority);
- the certificate does not cover the name.

**Expiry warnings.** You are also alerted once when the certificate has 30 days left, again at 14 days and again at 7. These are sent to the check's alert channels as "Certificate expiring" and do not open an incident. They start again after the certificate is renewed.

**Recorded:** the handshake time, who the certificate was issued to and by, the names it covers, the dates it is valid between, the days remaining and the TLS version.

## DNS record

Looks up a record and checks the answer.

| Setting | What it does |
|---|---|
| Hostname and record | The name to look up, and the record type: A, AAAA, CNAME, MX, TXT or NS. |
| Expected values | Up to 20, one per line. Every value listed must be in the answer; the answer may hold others too. Upper and lower case, and a dot at the end, are ignored. For an MX record the mail host alone is enough, without its priority. Left empty, any record of the type passes. |
| Resolver | The IP address of a public resolver to ask, such as `1.1.1.1`. Left empty, each location asks the public resolver it is set up with. |

**A run fails when** the resolver does not answer in time, the name does not exist, it has no record of the type, or an expected value is missing.

**Recorded:** the lookup time, the answers and the resolver asked.

## TCP port

Opens a connection to a **host** and **port**: a database, a mail server, anything that listens on TCP. Two optional settings go further: **Send** is text sent once connected, and **Expect** is text that must appear in the first 4 KB read back.

**A run passes when** the connection opens and, if you set Expect, the text is found.

**Recorded:** the time to connect, the IP address, and the first 200 bytes the server sent, if any.

## UDP port

Sends one datagram to a **host** and **port** and looks for a reply. **Send** is text, or bytes written as `hex:` followed by pairs of hex digits, for example `hex:000001000001`. Left empty, one zero byte is sent. **Expect** is text the reply must contain.

> [!WARNING]
> UDP has no connection to open. With nothing in Expect, a reply passes and so does silence: the check fails only when the host answers that the port is closed. To be sure the service is working, send something it replies to and set Expect.

## Ping

Sends ICMP echo requests to a **host**. **Pings per run** is from 1 to 5, and 3 unless you change it.

**A run passes when** at least one reply comes back.

**Recorded:** how many were sent and received, the share lost, and the shortest, average and longest round trip. The response time shown for the check is the average.

## Page speed

Loads a page in headless Chromium, as a visitor's browser would, including its scripts, styles and images, and waits for the page's load event. Settings: the **page URL** and a **screen size**: desktop (1366 × 768), tablet (820 × 1180) or phone (390 × 844).

**A run fails when** the page does not load, it answers with a status of 400 or above, or it takes longer than the timeout.

**Recorded:** time to first byte, first contentful paint, largest contentful paint, DOM content loaded and load; the number of requests and the bytes transferred. The response time shown for the check is the time to load. The content of the page is never stored.

> [!WARNING]
> Page speed checks need a card on file. They are billed per run and are not part of the free allowance. Without a card the check is saved but stays paused, and cannot be tested. See [Limits and billing](/docs/pulse/limits-and-billing).

## Next steps

- [Locations and intervals](/docs/pulse/locations): How often, and where from
- [Incidents](/docs/pulse/incidents): How a failed run becomes an alert
- [Pulse API](/docs/api/pulse): The same settings as JSON
