Metricbarn
Developer Hub

The Metricbarn API

Query your telemetry, push custom metrics and manage monitors as code.

# p95 latency of the checkout service, last 5 minutes
curl https://api.metricbarn.org/v1/query?metric=http.p95&range=5m \
  -H "Authorization: Bearer $MB_TOKEN" \
  -H "Accept: application/json"
API surface
REST · v1

Query API

PromQL-style queries over metrics, logs and traces.

22 endpoints
Ingest

Metrics ingest

Push custom metrics over HTTP or StatsD.

8 endpoints
REST · v1

Monitors

Create and manage alert policies as code.

15 endpoints
Webhook

Alert events

Route alerts anywhere with HMAC-signed payloads.

11 events
GraphQL

Insights

Cross-signal analytics in one federated schema.

beta
SDK

Agents

Go, Python and Node collectors from one config.

3 langs
Most-used endpoints
Popular this week
  • GET/v1/query
  • POST/v1/series
  • GET/v1/monitors
  • POST/v1/monitors
  • PATCH/v1/monitors/{id}
  • DELETE/v1/monitors/{id}