Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
---
category: Tutorials
title: Create an Uptime Monitor in 5 Minutes
description: "Set up your first uptime monitor with openstatus — track response time, status codes, and availability from 27 global regions."
---
| | |
|---|---|
| **Time** | ~5 minutes |
| **Level** | Beginner |
| **Prerequisites** | openstatus account, a public URL to monitor |
In this tutorial, you'll create your first monitor — an automated watchdog for your services. A monitor periodically checks your endpoints to ensure they are available, performant, and returning the correct data. Think of it as a `curl` command that runs 24/7, providing continuous insights into the health of your application.
By the end you'll have a working uptime monitor checking your endpoint every minute, real-time metrics showing response time and status codes, and a sense of how to customise HTTP requests for different scenarios.
## Get started in 1 minute
Let's get your first uptime check up and running.
### 1. Create the monitor
<Image
src="/docs/tutorial/create-monitor/create-monitor-1.png"
alt="Monitors page showing the Create Monitor button in the sidebar"
/>
Navigate to the **Monitors** page from the sidebar and click the **Create Monitor** button. This will open a new configuration screen.
### 2. Configure the basics
<Image
src="/docs/tutorial/create-monitor/create-monitor-2.png"
alt="Monitor creation form with name and URL fields"
/>
To get your monitor started, you only need to provide two essential pieces of information:
- **Name:** A clear, descriptive name for your monitor (e.g., "Production API Health Check" or "Homepage Uptime").
- **URL:** The full URL of the endpoint you want to test (e.g., `https://openstat.us`).
As soon as you enter the URL, our monitoring tool will automatically begin tracking key performance metrics for every check, including:
- **Response Time:** The total time it takes for the request to complete.
- **Status Code:** The HTTP status code returned by the server (e.g., 200, 404, 500).
- **Response Headers:** A detailed view of the headers returned by the server.
- **Detailed Timing Metrics:** A breakdown of the time spent on each phase of the request (DNS lookup, TCP connection, TLS handshake, etc.)
<Image
src="/docs/tutorial/create-monitor/monitor-overview.png"
alt="Monitor overview dashboard showing response time and status code charts"
/>
**Checkpoint:** After saving, you should see your monitor's overview page with response time and status code charts. If data appears within a few seconds, your monitor is running.
### 3. Customising the HTTP request
Your monitor doesn't just have to be a simple `GET` request. You can customise the HTTP request to simulate real-world traffic and test specific scenarios.
#### HTTP method
Choose the appropriate HTTP method for your check. While `GET` is the default and most common for simple health checks, you can also select `POST`, `HEAD`, `OPTIONS`, `PUT`, `PATCH`, `DELETE`, `TRACE`, or `CONNECT`.
- `GET`: Retrieve data from an endpoint. The most common choice for health checks.
- `POST`: Send data to an endpoint, for example, to test a form submission or API creation endpoint.
- `HEAD`: Same as `GET`, but without the response body. Useful for quickly checking if a resource exists.
- `OPTIONS`: Retrieve the supported HTTP methods for a resource.
- `PUT`: Update an existing resource.
- `PATCH`: Partially update an existing resource.
- `DELETE`: Delete a resource.
- `TRACE`: Echo the request back to the client.
- `CONNECT`: Establish a tunnel to the server.
#### Request body
If you select the `POST` method, you can add a Request Body to your monitor's configuration. This is essential for testing API endpoints that require a JSON, form-encoded, or other data payload. Simply enter the data you want to send in the provided text area.
#### Custom headers
You can add any number of custom HTTP headers to your request. This is particularly useful for:
- **Authentication:** Sending an Authorization token (e.g., a Bearer token) to test a protected endpoint.
- **Content Type:** Setting a `content-type` header to specify a content type (e.g., `application/json`).
- **Content Negotiation:** Setting an Accept header to request a specific content type from the server (e.g., `application/json`).
- **Simulating Clients:** Adding a User-Agent header to simulate traffic from a specific browser or device.
<Aside title="We've got your User-Agent covered!">
openstatus automatically includes the `"User-Agent": "OpenStatus/1.0"` header in every request. This makes it easy to identify and filter out our monitoring traffic from your server logs or analytics.
</Aside>
## Important considerations
### Monitoring third-party endpoints
<Aside>
If you're monitoring a URL you don't own (like `google.com` or a partner API), your requests might be blocked by firewalls or rate limiters (e.g., Cloudflare). This is a security measure on their end to prevent scraping or denial-of-service attacks.
</Aside>
## What you've accomplished
- Created your first uptime monitor
- Configured basic HTTP monitoring settings
- Learned about customising requests with methods, headers, and body
- Understood key monitoring metrics (response time, status codes, timing breakdown)
## What's next
- **[Create a status page](/docs/tutorial/create-your-first-status-page)** — share your service status publicly with users.
### Learn more
- **[Understanding uptime monitoring](/docs/concept/uptime-monitoring)** — deep dive into monitoring concepts.
- **[HTTP monitor reference](/docs/reference/http-monitor)** — complete technical specifications.
## Video tutorial
<ShowcaseYouTube href="https://www.youtube.com/watch?v=0oN0V9UJogk" title="How to set up an HTTP monitor with openstatus" />