Uptime monitoring metrics for Prometheus

Yes, OnlineOrNot works with Prometheus. OnlineOrNot exports the state, result counts and response times of your checks, and the pings and schedule of your heartbeats, in the Prometheus text format. Scrape it with Prometheus, Grafana Cloud, the Datadog Agent or any other Prometheus-compatible system, and chart OnlineOrNot data beside your own metrics.


How to connect OnlineOrNot to Prometheus

  1. Sign up for OnlineOrNot and create your checks and heartbeats. Prometheus export is available on paid plans and during the free trial.
  2. Go to Settings > Integrations > Prometheus, choose the projects to export and whether to split results by region.
  3. Click Create Prometheus token. OnlineOrNot creates a read-only API token and a scrape configuration you can paste into prometheus.yml.
  4. Import the starter Grafana dashboard and the example alert rules if you want them.

What OnlineOrNot exports

Frequently asked questions

Does OnlineOrNot work with Prometheus?

Yes. OnlineOrNot has a Prometheus endpoint at https://api.onlineornot.com/v1/metrics/prometheus that exports uptime, API, browser, DNS and TCP checks and heartbeats.

Does it work with Grafana Cloud and Datadog?

Yes. Add a Metrics Endpoint connection in Grafana Cloud, or use the Datadog Agent OpenMetrics check. OnlineOrNot also has a starter Grafana dashboard to import.

Can I alert from Prometheus instead of OnlineOrNot?

Yes. Use oon_monitor_status{state="DOWN"} == 1, or the example alert rules. Prometheus alerts arrive a minute or two later than OnlineOrNot alerts, because of the export delay and your scrape interval.

How many series does it create?

Each check produces 32 series, or 11 plus 21 for each region when results are split by region. Each heartbeat produces up to 15. The Prometheus page in the dashboard estimates the total before you start.

Documentation

Start monitoring
in 30 seconds:

Free 14-day trial · No credit card required

Join thousands of teams already using OnlineOrNot