# Dashboard Construct - Checkly Docs

> Learn how to configure dashboards with the Checkly CLI.

Source: https://www.checklyhq.com/docs/constructs/dashboard/

---

COMMUNICATE

# Dashboard Construct

Learn how to configure dashboards with the Checkly CLI.

Learn more about dashboards in [the dashboards overview](https://www.checklyhq.com/docs/communicate/dashboards/overview).

Use Dashboard to create public or private dashboards that display checks and their related metrics on a single page. Dashboards provide a centralized view of your monitoring data.

```
import { Dashboard } from "checkly/constructs"

new Dashboard("basic-dashboard", {
header: "Service Status",
description: "Real-time monitoring dashboard",
tags: ["production", "api"],
customUrl: "service-status",
})
```

```
import { Dashboard } from "checkly/constructs"
import * as path from "path"

new Dashboard("advanced-dashboard", {
header: "ACME Production Status",
description: "Comprehensive monitoring for all ACME services",
tags: ["prod", "api", "web"],
logo: "https://assets.acme.com/images/acme-logo.png",
customUrl: "acme-production-status",
customDomain: "status.acme.com",
favicon: "https://assets.acme.com/favicon.ico",
link: "https://acme.com",
width: "FULL",
refreshRate: 60,
paginate: true,
paginationRate: 30,
checksPerPage: 20,
useTagsAndOperator: true,
hideTags: false,
enableIncidents: true,
expandChecks: false,
showHeader: true,
showP95: true,
showP99: true,
isPrivate: false,
customCSS: {
entrypoint: path.join(__dirname, "dashboard.css"),
},
})
```

## Configuration

Parameter Type Required Default Description

`checksPerPage` `number` ❌ `15` Number of checks per page (1-20)

`customCSS` `object` ❌ - Custom CSS styling (Team/Enterprise plans only)

`customDomain` `string` ❌ - Custom domain (e.g., “status.example.com”)

`customUrl` `string` ❌ - Subdomain under “checklyhq.com” (required if customDomain not specified)

`description` `string` ❌ - Text displayed below the header

`enableIncidents` `boolean` ❌ `false` Enable incidents

`expandChecks` `boolean` ❌ `false` Expand checks by default

`favicon` `string` ❌ - URL to favicon image

`header` `string` ❌ - Text displayed at the top of your dashboard

`hideTags` `boolean` ❌ `false` Hide tags on the dashboard

`isPrivate` `boolean` ❌ `false` Make dashboard private (Team/Enterprise plans only)

`link` `string` ❌ - URL to redirect when dashboard logo is clicked

`logo` `string` ❌ - URL to logo image for the dashboard header

`paginate` `boolean` ❌ `true` Enable pagination for checks

`paginationRate` `number` ❌ `60` Pagination interval: `30` | `60` | `300` seconds

`refreshRate` `number` ❌ `60` Auto-refresh interval: `60` | `300` | `600` seconds

`showHeader` `boolean` ❌ `true` Show header and description

`showP95` `boolean` ❌ `true` Show P95 statistics

`showP99` `boolean` ❌ `true` Show P99 statistics

`tags` `string[]` ❌ `[]` Tags that filter which checks appear on the dashboard

`useTagsAndOperator` `boolean` ❌ `false` Use AND instead of OR for tag filtering

`width` `string` ❌ `'FULL'` Dashboard width: `'FULL'` | `'960PX'`

### Essential `Dashboard` Options

string

Text displayed at the top of your dashboard as the main title. **Usage:**

```
new Dashboard('my-dashboard', {
header: 'Production Services Status'
})
```

**Use cases**: Brand identity, service identification, user clarity.

string

Text displayed below the header providing additional context about the dashboard. **Usage:**

```
new Dashboard('my-dashboard', {
header: 'Production Services',
description: 'Real-time monitoring of all production services'
})
```

**Use cases**: Context provision, scope clarification, user guidance.

string[]

default: "[]"

Tags that filter which checks appear on the dashboard. Empty array shows all checks. **Usage:**

```
new Dashboard('my-dashboard', {
tags: ['production', 'api']
})
```

**Examples:**

```
// Service-specific tags
new Dashboard('api-dashboard', {
header: 'API Services',
tags: ['api-dashboard'],
})

// Environment and service tags
new Dashboard('prod-web-dashboard', {
header: 'Production Web Services',
tags: ['production', 'web'],
useTagsAndOperator: true // Must have BOTH tags
})

// All checks (empty array)
new Dashboard('all-services', {
header: 'All Services',
tags: [] // Shows all checks
})
```

**Use cases**: Service filtering, environment separation, team organization.

string

Subdomain under “checklyhq.com” for your dashboard (e.g., “my-status” becomes “my-status.checklyhq.com”). **Usage:**

```
new Dashboard('my-dashboard', {
customUrl: 'service-status'
})
// Creates: service-status.checklyhq.com
```

Required if `customDomain` is not specified. Use lowercase letters, numbers, and hyphens only.

**Use cases**: Public access, branded URLs, easy sharing.

string

Custom domain for your dashboard (e.g., “status.example.com”). Must be verified through the Checkly UI. **Usage:**

```
new Dashboard('my-dashboard', {
customDomain: 'status.example.com'
})
```

**Use cases**: Brand consistency, professional appearance, domain control.

object

Custom CSS styling for your dashboard. Only available on Team and Enterprise plans. **Usage:**

```
// Using file reference
new Dashboard("styled-dashboard", {
customCSS: {
entrypoint: path.join(__dirname, "dashboard.css"),
},
})

// Using inline content
new Dashboard("styled-dashboard", {
customCSS: {
content: `
.header {
background: #080808;
border-bottom-color: #313035;
}
.header .logo a {
color: #f7f8f8;
}
`,
},
})
```

**Properties:** Parameter Type Required Description

`entrypoint` `string` ❌ Path to a CSS file containing custom styles

`content` `string` ❌ Inline CSS content as a string

You must provide either `entrypoint` or `content`, but not both.

**Use cases**: Brand consistency, custom themes, visual identity, enhanced UX.

## Examples

- Production Monitoring
- API dashboard
- Regional dashboard
- Team dashboard
- Custom styled dashboard

```
new Dashboard("production-monitoring", {
header: "Production Services",
description: "Real-time monitoring of all production services",
tags: ["production", "critical"],
customUrl: "production-monitoring",
logo: "https://company.com/logo.png",
refreshRate: 60,
width: "FULL",
showP95: true,
showP99: true,
enableIncidents: true,
})
```

```
new Dashboard("api-dashboard", {
header: "API Endpoints Status",
description: "Monitor all API endpoints and their performance",
tags: ["api"],
customUrl: "api-status",
customDomain: "api-status.company.com",
width: "960PX",
refreshRate: 60,
checksPerPage: 20,
expandChecks: true,
})
```

```
new Dashboard("us-east-dashboard", {
header: "US East Region Status",
description: "Monitoring for US East infrastructure",
tags: ["us-east", "production"],
customUrl: "us-east-status",
logo: "https://assets.company.com/regional-logo.png",
refreshRate: 300,
paginate: false,
showHeader: true,
hideTags: true,
})
```

```
new Dashboard("platform-team-dashboard", {
header: "Platform Team Services",
description: "Services owned and maintained by the Platform team",
tags: ["platform-team"],
customUrl: "platform-team-status",
width: "960PX",
refreshRate: 300,
checksPerPage: 10,
useTagsAndOperator: true,
expandChecks: true,
isPrivate: true, // Only accessible with authentication
})
```

```
new Dashboard("branded-dashboard", {
header: "ACME Corporation Status",
description: "Service availability dashboard",
tags: ["production"],
customUrl: "acme-status",
logo: "https://acme.com/logo.svg",
customCSS: {
entrypoint: path.join(__dirname, "acme-dashboard.css"),
},
width: "FULL",
refreshRate: 60,
})
```

Was this page helpful?

[Suggest edits](https://github.com/checkly/docs/edit/main/constructs/dashboard.mdx)[Raise issue](https://github.com/checkly/docs/issues/new?title=Issue%20on%20docs&body=Path:%20/constructs/dashboard)

[IncidentTrigger Configuration Previous](https://www.checklyhq.com/docs/constructs/incident-trigger)[MaintenanceWindow Construct Next](https://www.checklyhq.com/docs/constructs/maintenance-window)

[x](https://x.com/checklyhq)[github](https://github.com/checkly)[linkedin](https://linkedin.com/company/checkly)

[Powered by This documentation is built and hosted on Mintlify, a developer documentation platform](https://www.mintlify.com/?utm_campaign=poweredBy&utm_medium=referral&utm_source=checkly-422f444a)
