OpenTelemetry (OTLP/HTTP JSON)
Send production error spans directly to AutoSRE's authenticated POST /v1/ingest/otlp/v1/traces endpoint using JSON encoding and a workspace Bearer token (TRACEFIX_INGEST_TOKEN).
- HTTP/JSON transport only (set encoding: json in your OTel Collector)
- Automatic signature fingerprinting & duplicate collapse
- Pre-storage redaction of JWTs, auth headers, emails, cards & up to 30 custom rules
- AI triage separates code_bug from infra, third_party, config_change & noise
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
exporters:
otlphttp/autosre:
endpoint: https://<your-workspace-host>/v1/ingest/otlp
encoding: json
headers:
Authorization: "Bearer ${TRACEFIX_INGEST_TOKEN}"
service:
pipelines:
traces:
receivers: [otlp]
exporters: [otlphttp/autosre]curl -X POST https://<your-workspace-host>/v1/ingest/otlp/v1/traces \
-H "Authorization: Bearer $TRACEFIX_INGEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"resourceSpans": [{
"resource": {
"attributes": [
{ "key": "service.name", "value": { "stringValue": "checkout-api" } }
]
},
"scopeSpans": [{
"spans": [{
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
"spanId": "00f067aa0ba902b7",
"name": "POST /webhooks/stripe",
"kind": 2,
"status": { "code": 2, "message": "TypeError: Cannot read properties of undefined" }
}]
}]
}]
}'