Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST http://localhost:5080/api/v1/intake/logs/app \ -H "authorization: Bearer $MS_JWT" \ -H 'content-type: application/json' \ -d "[{\"_timestamp\":$(date +%s)000000,\"level\":\"error\",\"msg\":\"db pool exhausted\",\"trace_id\":\"abc123\"}]"
{ "accepted": 1, "rejected": 0, "errors": [] }
以 JSON 形式向数据流 POST 记录。
POST /api/v1/intake/{type}/{stream}
streams.write
type
logs
metrics
traces
404
stream
_
-
.
_molesignal
403
Content-Encoding: gzip
_timestamp
metric_name
{ "accepted": 1, "rejected": 1, "errors": [ { "index": 0, "reason": "type mismatch on field `level`: expected Utf8, got Number" } ] }
400
event #1 must be a JSON object
401
413
429