What can send
A source gives a tool an address to raise and clear alerts in BasePit. You add sources under Configure › Alerts › Incoming, and choose each one's shape once:
- Prometheus' Alertmanager, in its own format. It sends firing and resolved by itself.
- Grafana's alerting contact point, in its own format.
- Anything else, in BasePit's documented JSON: your own scripts and programs, cron jobs, Kibana, Proxmox, a FortiGate. One message, or up to 500 at once.
The console's How to send gives each tool its steps.
Things
A thing appears on its first message. Its key says which thing (the same key is always the same thing), and its title is what people read. A thing silent for 30 days is forgotten, and its next message makes it again.
Silence watches
A message can say Expect me again within this, from 1 minute to 7 days. If no message comes in time, BasePit says the thing went quiet.
For example, a retail chain: every store's two internet links check in every minute. When one link goes quiet for 3 minutes, the operations centre is told which store and which link, and calls the provider. Alertmanager and Grafana repeat their own alerts, so they need no silence watch.
One incident, not a hundred
- Fold by a label. Alerts with the same value of a label you pick become one incident, such as every store whose Airtel link is down.
- Join a host. When a label's value is exactly one of your hosts' names or addresses, the alert joins that host's incident and obeys its quiets.
- Clear by itself. For tools that send a problem and never its end, such as a backup that failed, an alert can clear after 1 to 168 hours.
Rules and paging
The rule An incoming alert fires covers every source or the ones you choose, by how serious the alert is, and pages through your channels or On call like any other rule.
Numbers too
Turn on Takes numbers on a source, and the same secret takes numbers as well as alerts: BasePit's own JSON, OpenTelemetry (OTLP over HTTP) or Prometheus remote write. The numbers become widgets on a dashboard, and rules that page when a number crosses a line or stops coming. The console's How to send numbers gives each form its steps.
Safety
- An incoming message is data, never an instruction. It can only raise or clear an alert, and its words are cleaned and escaped for every channel they reach.
- Each source's address is shown once and stored only as a hash. Anyone who has it can raise alerts there, so Make a new address stops the old one at once.
- Send the secret in a header,
Authorization: Bearerfollowed by the part after/in/, rather than in the address. That keeps it out of the sending tool's own logs.
Price
Firing and OK messages are free. Each thing BasePit watches for silence, and each series of numbers it keeps, is charged monthly; Pricing says how much.
Limits
- 1,200 messages a minute, 5,000 things, and 256 KB a message.
- Numbers: 600 requests a minute a source, 4 MiB a request, 2,000 series a source and 10,000 an organisation.
- A thing silent for 30 days is forgotten.
- A message can only raise or clear an alert; it cannot run anything.