Your own metrics, next to what runs them.
Orders created, failed payments, checkout time, the last good backup: what your own software counts, on the workload or server it belongs to and on dashboards you build from widgets. On Kubernetes, Docker and Linux servers, with no query language.
Read the Your metrics docs →
Where is your number? Three ways in
The number is in a script, a cron job, CI or your own code
Push a value
One HTTP call sends it, with nothing to install: every order, the jobs waiting, the last good backup. The page fills the command with your address and token in curl, Bash, Node.js, Python, PHP and Go, and says when the first value arrives.
A name ending in _total is a counter and adds up; anything else is a gauge and keeps the last value.
curl -sS -X POST https://<your WatchLog>/ingest/v1/metrics \
-H "Authorization: Bearer wl_mt_…" \
-H "Content-Type: application/json" \
-d '{"name": "orders_total", "value": 1, "server": "web-1"}'Your app or an exporter already has a /metrics page
Expose /metrics
Give the address on a server, or a workload’s port in a cluster; WatchLog reads it every 30 seconds. Test reads it once first and says in words what it found.
"Find endpoints for me" tries the ports WatchLog already sees, says which it tried, and adds the ones that answer.
annotations:
watchlog.io/scrape: 'true'
watchlog.io/port: '8080'You already run Prometheus
Send from Prometheus
Send the few metrics you want to see here with remote write, and keep everything else where it is.
Keep a write_relabel_configs filter, so only the metrics you chose are sent.
remote_write:
- url: https://<your WatchLog>/ingest/v1/write
authorization:
credentials: wl_mt_…Shown the way its type reads
No query stands between you and a number. WatchLog reads the metric’s type and shows what that type means; if it guessed wrong, you correct it on the metric’s page.
- Counter
Shown as its rate:
Orders created: 4.2 /min
. Recognised by a TYPE line, or a name ending in _total. - Histogram
Shown as its p95:
Checkout duration: 420 ms
. Recognised by a TYPE line, or _bucket series with le. - Gauge
Shown as as it is:
Jobs waiting: 41
. Recognised by everything else. - Timestamp
Shown as the time since:
Backup last success: 3 h ago
. Recognised by a name ending in _timestamp or _timestamp_seconds.
On the page of what it belongs to
Kubernetes
A scraped metric belongs to the workload that owns the pod:
shop/orders. Pin up to six to the workload’s page, next to its CPU, restarts and alerts.Docker
A container’s exporter is an address on its server:
localhost:9400/metrics. The server’s collector reads it, and the metric sits on that server’s page.Linux servers
A systemd service’s endpoint, or a cron job’s push that names its server:
"server": "db-1". The last good backup shows on db-1’s own page.
Dashboards you build from widgets
Press Edit, pick a metric, a shape and a size, and watch the preview. Drag a widget to move it and its corner to resize it, or use the keyboard. One time range for the whole dashboard; on a phone it is one column.
What there isn’t, on purpose: a query language, variables, formulas, thresholds drawn on charts, WatchLog’s own metrics on a dashboard, sharing links and exports. WatchLog’s own pages stay as they are.
How dashboards work →A metricone of yoursA shapeNumber, Line, Area or BarsOne label to split byoptional: by payment method, by queueA sizeSmall, A third, Medium, Two thirds or WideA titleyours to rename
Alerts that read as a sentence
When a metric is above or below a value, not reported for a while, or (a timestamp) older than a while. Before you save a rule, "It will say" shows the sentence with the metric’s real value.
They are ordinary alert rules: grouped, silenced and sent like every other, and shown under "Needs attention" on the workload or server the metric belongs to.
Alerts on your metrics →WARNING · Jobs waiting on shop/worker is 612, above 500 for 15 min
shop/worker (Deployment) · cluster acme-prod · since 14:05 UTC
Its usual range, on Pro
Press "Watch with What changed" on a metric and WatchLog learns what is usual for it at each hour of the week. Its range shows next to its value, an alert can say "outside its usual range", and when something breaks, orders created
is in the same story as the CPU and the response time.
Orders created4.2 /min · usual 3.6 – 5.1 /minCheckout duration420 ms · usual 380 – 460 msBackup last success3 h ago · alert with "older than"
Tell WatchLog what you changed
A deploy, a configuration change, a migration, a feature flag: one HTTP call from CI, with the same kind of token. It becomes a marker on the charts of the workload or server it is about, and the likely cause of an alert can name it.
Change events →curl -X POST https://<your WatchLog>/api/v1/events \
-H "Authorization: Bearer wl_mt_…" \
-d '{"title": "Deployed orders 2.15.0",
"kind": "deploy",
"workload": "shop/orders"}'What each plan includes
Nothing here is billed on its own. A series is one metric with one set of label values, counted while it reported in the last hour.
| Your metrics | Cloud Free | Cloud Pro | Community | Enterprise licence |
|---|---|---|---|---|
| Series | 200 | 200 for each billed node or server, at least 1,000 | You choose (20,000 by default) | You choose (20,000 by default) |
| Series from one endpoint, or one token’s pushes | 100 | 500 | 500 | 500 |
| Series from one token’s remote write | Up to your 200 | Up to your plan’s series | Up to your cap | Up to your cap |
| Kept for | 3 days | 30 days | Your retention | Your retention |
| Sources | 3 | No limit | No limit | No limit |
| Dashboards | 1, with 8 widgets | 50, with 24 widgets | 50, with 24 widgets | 50, with 24 widgets |
| Pin to a workload’s or server’s page | Yes | Yes | Yes | Yes |
| Alerts on your metrics | No | All | Above, below, not reported, older than | All |
| Usual range and What changed | No | Yes | No | Yes |
The limits, said plainly
- A series is a line on a chart, not a callA series is one line on a chart: one metric with one set of labels. orders_total is 1 series however often you send it. orders_total split by 3 payment methods is 3. There is no limit on how many times you send.
- A label with too many valuesMore than 100 values of one label on one metric (a user id, a URL path) gets that metric refused, and the page names the label.
- No credentials when scrapingAn endpoint behind basic auth or a bearer token can’t be scraped yet. Use remote write or a push for those.
- Every 30 secondsA scraped endpoint is read every 30 seconds: enough for business numbers, not for per-second profiling.
- Your monitoring comes firstWhatever is refused or dropped here, WatchLog’s own monitoring of your clusters and servers is never affected.
Questions
Do I need Prometheus to use my own metrics?
No. WatchLog reads a /metrics endpoint itself, on a Kubernetes pod or on a Linux server, and takes a pushed value over HTTP. If you already run Prometheus, remote write sends WatchLog the metrics you choose.
Is this a Grafana replacement?
No. A dashboard here is a grid of widgets: a metric, a shape, one label to split by and a size. There is no query language, no variables and no formulas. If you need those, keep Grafana for them: your Prometheus can send the same metrics to both.
What does it cost?
Nothing on its own. Cloud Free includes 200 series from 3 sources; Cloud Pro includes 200 series for each node or server it already bills, at least 1,000. A self-hosted installation sets its own cap, 20,000 series by default.
Where does a metric show up?
Under Your metrics, on the dashboards you build, and pinned to the page of the workload or server it belongs to: a scraped metric belongs to the workload that owns the pod or to the server it was read on, a pushed one to what the push names.
Can I alert on my own metrics?
Yes, on Cloud Pro and when you self-host: above or below a value, not reported for a while, or a timestamp older than a while. Pro and an Enterprise licence add "outside its usual range". Cloud Free has no alerts on your own metrics.
Can my CI tell WatchLog about a deploy?
Yes. One HTTP call to /api/v1/events with the same kind of token records a deploy, a configuration change, a migration or a feature flag. It shows as a marker on the charts of the workload or server it is about, and probable cause reads it like a rollout.