Enviar más
Logs
Instalar HTTP, NDJSON or OpenTelemetry
Los logs van a https://in.blipit.io/api/v1/logs como array JSON o NDJSON, hasta 1.000 líneas o 1 MB por petición, con gzip permitido, con la clave secreta o pública. Los exportadores de logs de OpenTelemetry envían a /v1/logs. Cada línea es message y level, más opcionalmente timestamp, service, environment, trace_id y hasta 50 atributos planos.
1Cualquier lenguaje
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, por lotes
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();Conviene saber
- Cuota mensual por tamaño: Free 1 GB, Solo 5 GB, Team 20 GB, Scale 100 GB. Al superarla, las líneas nuevas se descartan hasta el mes siguiente, nunca se facturan.
- Retención: 3 días en Free, 14 en Solo, 30 en Team y Scale.
¿Atascado? Escribe a support@blipit.io. Las claves y el DSN exacto de cada proyecto están en Claves API en app.blipit.io.

