Welcome to the Boring Metrics API! This is a simple, fast, and developer-focused observability stack.
All requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
Send logs to track events and debug issues:
POST /api/v1/logs
{
"logs": [{
"type": "log",
"level": "info",
"message": "User signed in",
"sentAt": "2023-12-25T12:00:00Z",
"data": { "userId": "123" }
}]
}
Track metrics in real-time:
PUT /api/v1/lives/:liveId
{
"live": {
"liveId": "active-users",
"value": 42,
"operation": "set",
"sentAt": "2023-12-25T12:00:00Z"
}
}
Official SDKs are available for:
@boringmetrics/sdk)boring_metrics gem)Click the game area and use arrow keys to play
Game is active - using arrow keys ⬆️ ⬇️ ⬅️ ➡️