Mehr senden
Logs
Installation HTTP, NDJSON or OpenTelemetry
Logs gehen an https://in.blipit.io/api/v1/logs als JSON-Array oder NDJSON, bis zu 1.000 Zeilen oder 1 MB pro Request, gzip erlaubt, mit dem geheimen oder öffentlichen Schlüssel. OpenTelemetry-Log-Exporter senden an /v1/logs. Jede Zeile besteht aus message und level sowie optional timestamp, service, environment, trace_id und bis zu 50 flachen Attributen.
1Jede Sprache
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, gebündelt
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();Gut zu wissen
- Kontingent nach Größe pro Monat: Free 1 GB, Solo 5 GB, Team 20 GB, Scale 100 GB. Darüber hinaus werden neue Zeilen bis zum nächsten Monat verworfen, nie berechnet.
- Aufbewahrung: 3 Tage auf Free, 14 auf Solo, 30 auf Team und Scale.
Kommen Sie nicht weiter? Schreiben Sie an support@blipit.io. Schlüssel und den genauen DSN jedes Projekts finden Sie unter API-Schlüssel in app.blipit.io.

