What a dashboard is
A dashboard is a page of widgets under Watch › Dashboards in the console. Each widget reads one source with one query, and draws it in one of four shapes:
| Shape | What it shows |
|---|---|
| Big number | The value with its unit, a small chart of the range under it, and how it moved, in words: ↑ 12 % since 14:00. |
| Time chart | Lines, areas or bars over the dashboard's range: up to 20 series, the 8 largest drawn and the rest folded into Other, with thresholds as dashed lines. Any chart can be shown as a table. |
| Gauge | A value between a minimum and a maximum, as a bar or a ring, with your thresholds as bands. |
| Table | Up to 100 rows, sorted by a column, each row with its state. |
Widgets sit on a 24-column grid, as Grafana's panels do. A dashboard has one time range for all its widgets, from the last 15 minutes to 90 days or between two dates, and one refresh: off, or every 30 seconds, minute or 5 minutes. Times are said in your organisation's time zone, and the dashboard names it. A threshold marks a value ok, attention or down, always with its word beside its colour.
- Mine and Shared. Anyone who can see the fleet makes dashboards. A new one is its maker's alone until they share it with the organisation. Its maker and the organisation's admins edit a shared dashboard, and anyone can copy it into one of their own.
- Each person sees only what their access allows, on a shared dashboard too. A widget over every host adds up only the hosts that person may see, and says how many it left out.
Where the numbers come from
| Source | What it is asked | Credentials |
|---|---|---|
| BasePit | Hosts' CPU, memory, disk and network; apps' CPU, memory, copies and restarts; monitors' response times, uptime and checks; network devices' readings; alerts and incidents, with time to acknowledge and to fix; log watch matches and stories; things your other tools report; what is unusual now; credits. | None: it is your own data. |
| Prometheus, and Mimir, Thanos or VictoriaMetrics | Your own PromQL, through Prometheus' read API only. Grafana's $__interval, $__rate_interval and $__range are filled in. | None, a user and password, or a bearer token. |
| Elasticsearch and OpenSearch | An index pattern, a time field, a query string in Kibana's syntax, a figure (a count, an average, a sum, a minimum, a maximum or a percentile of a field), and an optional split by a field, top 10. | An API key, or a user and password. |
| JSON over HTTP | A value picked by its path, or rows of up to six fields, read now. Turn on Keep its history to chart it over time. | None, or one header you name. |
An organisation admin adds outside sources under Configure › Sources › Dashboards, and each is tested before it is kept. A source is read:
- Directly, by BasePit, when it has a public address.
- Through one of your hosts, when it is on your own network, such as a Prometheus at
prom.shop.internal. The host is a Linux host whose agent was installed with--allow-host-control. It reads only addresses on its own networks, follows no redirect, and holds the credential for that one request.
TLS is always checked: against the usual certificate authorities, a certificate authority you paste, or the server's exact certificate, which BasePit reads and shows you before you trust it. Nothing turns checking off. A credential crosses a network only under checked TLS, or in the clear to a private address.
Each source says who may read it: everyone in the organisation, or only people who see every host. Its credential is sealed under your organisation's key and never shown again.
Numbers your tools push
Your scripts, cron jobs and collectors can send numbers to BasePit. Turn on Takes numbers on an Incoming source, and the same secret takes numbers in three forms:
| Form | What it carries |
|---|---|
| BasePit's JSON | One number, or up to 1,000 at once: a name, a value, its labels, and a time if it is not now. |
| OpenTelemetry (OTLP over HTTP) | Gauges and sums, and a histogram's count and sum. |
| Prometheus remote write | Samples from Prometheus, or from any agent that writes in its format. |
# one number, with a label: the secret in a header keeps it out of your own logs
curl -X POST https://app.basepit.com/in/numbers \
-H "Authorization: Bearer $BASEPIT_SOURCE_SECRET" \
-H "Content-Type: application/json" \
-d '{"name": "orders", "value": 42, "labels": {"shop": "in"}}'
- A series is one name with one set of labels. Each is kept per minute for 7 days and per hour for 90 days, and forgotten after 30 days without a number.
- A remote write carries everything a Prometheus scrapes, so BasePit keeps only the series a widget or a rule names. The other names are listed for 24 hours, names and label keys only, so you can pick from them.
- A widget asks pushed numbers with a simple form, not PromQL: a name, label filters, the value or its rate a second, and a sum, average, minimum, maximum or count, by the labels you choose.
- What you push is your data. BasePit never writes a name, a label or a value into its own logs.
Alerts from numbers
Two kinds of alert rule read numbers. Each pages like any other rule: through your channels or an on-call policy, with quiets and flapping held as everywhere.
- A number crosses a line: a pushed number above or below a value for 1 to 60 minutes, for the whole query or for each set of labels. A series that stops sending is not 0: Alert when it stops sending says so in words of its own.
- An outside query crosses a line: a Prometheus, Elasticsearch or JSON query, asked every 1, 5 or 15 minutes, above or below a value for a number of asks in a row. A source that cannot be read three times in a row says so: BasePit cannot read prom-main: the token was not accepted (401).
Alert when… on a widget opens a new rule with its source and query filled in, or, on a figure of BasePit's own that a rule already watches, that rule. Every message is a plain sentence: 🔴 Orders a minute is 2 — below 10 for 5 minutes.
Bring a Grafana dashboard
Import from Grafana takes a dashboard's exported JSON (Grafana's Export as JSON, schema 27 and later) and shows what it will bring before it makes anything:
- Stat, time series, graph, gauge, bar gauge and table panels become the four shapes, in the same places on the grid. Panels inside rows come in order.
- Each of the dashboard's data sources is matched to one of your sources of the same kind, or skipped.
- Prometheus queries come as they are. Elasticsearch queries come with their query string, their figure and their date histogram or terms split.
- Units, decimals and thresholds come too, with green, yellow, orange and red mapped to ok, attention and down.
- Anything it cannot bring is named: a panel of another type, a second query on a gauge, a legend format, an override, a transformation, a link. A variable such as
$regionis fixed to the value it was exported with, and the import says so. - Up to 40 panels. A larger dashboard brings the first 40 and names the rest.
The dashboard it makes is yours alone until you share it.
On your Home and on the wall
- Pin to Home: any widget you can see, from your own dashboard or a shared one, sits below Home's own dashboard, for you alone. Up to 12, each with a link to its dashboard. Home draws as fast as before: your pins load after it.
- On the wall: a shared dashboard can fill a cell of a NOC wall, drawn in the wall's look, and spread across several TVs. A dashboard taller than its cell shows its rows in pages that take turns. On a wall, its numbers are read once a minute.
- Four new wall scenes came with dashboards: Threat map, where today's knocking on your machines comes from; Network, each network device with its ports; Incoming alerts, everything your other tools report; and Unusual now, what is off its usual band this hour, drawn against it.
- On your phone, a dashboard's widgets read in one column, live. Building and editing are done on a computer. On your phone.
Never a guess
- A source that cannot be read says so on the widget, by its reason: Refused: the token was not accepted. A widget never shows an old value as current and never draws 0 for a number it did not read: after one refresh it says Not read since 14:02.
- A query that takes longer than 10 seconds shows nothing rather than old numbers.
- An answer is kept for 30 seconds, so a dashboard on twenty screens asks each source once a refresh. Nothing a query answers is stored.
- A widget only shows. It never restarts, acknowledges or runs anything, and BasePit only reads a source: Prometheus through its read API, Elasticsearch through a search.
Price
Dashboards, widgets, pins, the wall's scenes and BasePit's own numbers are free. Each outside source, and each pushed series kept on a day it received a number, is charged monthly; Pricing says how much. While an organisation is paused for credits, pushed numbers are not kept and outside sources are not read; dashboards over BasePit's own data keep working.
Limits
- No SQL database as a source: a database check stays a check.
- No embedding in another site and no public link. A dashboard is seen signed in, or on a paired TV.
- From Grafana: no variables (each is fixed to its value), annotations, transformations, plugins or alerting. Datadog dashboards cannot be imported.
- No PromQL over pushed numbers: point a widget at your own Prometheus for that. No raw Elasticsearch query body.
- 20 outside sources an organisation; 50 dashboards a person and 200 shared; 40 widgets a dashboard.
- Pushed numbers: 10 labels a series, 2,000 series a source and 10,000 an organisation, 600 requests a minute a source, and 4 MiB a request.