Meer versturen
Logs
Installeren HTTP, NDJSON or OpenTelemetry
Logs gaan naar https://in.blipit.io/api/v1/logs als JSON-array of NDJSON, maximaal 1.000 regels of 1 MB per request, gzip toegestaan, met de geheime of publieke sleutel. OpenTelemetry-logexporters posten naar /v1/logs. Elke regel bestaat uit message en level, plus optioneel timestamp, service, environment, trace_id en maximaal 50 platte attributen.
1Elke taal
curl https://in.blipit.io/api/v1/logs \
-H "Content-Type: application/json" \
-H "X-Blipit-Key: <secret key>" \
-d '[{"level":"info","message":"order placed","service":"api","attributes":{"order_id":42}}]'2OpenTelemetry
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=https://in.blipit.io/v1/logs
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL=http/json
OTEL_EXPORTER_OTLP_LOGS_HEADERS=x-blipit-key=<secret key>3Node, gebatcht
const lines = [];
const log = (level, message, attributes = {}) =>
lines.push({ level, message, service: "api", timestamp: new Date().toISOString(), attributes });
setInterval(() => {
if (lines.length === 0) return;
fetch("https://in.blipit.io/api/v1/logs", {
method: "POST",
headers: { "Content-Type": "application/json", "X-Blipit-Key": process.env.BLIPIT_SECRET_KEY },
body: JSON.stringify(lines.splice(0, 1000)),
}).catch(() => {});
}, 2000).unref();Goed om te weten
- Tegoed op grootte per maand: Free 1 GB, Solo 5 GB, Team 20 GB, Scale 100 GB. Daarboven worden nieuwe regels weggegooid tot de volgende maand, nooit gefactureerd.
- Bewaartermijn: 3 dagen op Free, 14 op Solo, 30 op Team en Scale.
Kom je er niet uit? Mail support@blipit.io. Sleutels en de exacte DSN van elk project staan onder API-sleutels in app.blipit.io.

