docs/connect-sentry
Telemetry Ingestion Webhooks & DSN
Route production crash telemetry directly to Ichnois using dedicated project webhooks, drop-in SDK DSNs, or direct HTTP POST requests — no third-party Sentry SaaS account required.
Own telemetry architecture: Ichnois operates its own standalone ingestion perimeter (Server A Edge Gateway). You do not need a commercial Sentry SaaS subscription. Each project generates its own native webhook URL and DSN.
Method 1 (Recommended) · Direct Native Telemetry Webhook
Every microservice project can post crash exceptions directly to Ichnois’s Edge Gateway. The gateway inspects payloads for malicious vectors, sanitizes PII synchronously, and returns a fast HTTP 202 response.
- Endpoint:
POST /api/v1/telemetry/ingestorPOST /api/{project_id}/store/ - Authentication: Pass your project key in the
X-Ichnois-TokenorAuthorization: Bearer <key>header. - Guards: Enforces 2.5s read timeout (Slowloris protection), 50KB payload ceiling, and per-IP/project rate limiting.
Terminal — Native Telemetry Webhook
| 1 | # Direct Native Telemetry Webhook (POST to Edge Gateway) |
| 2 | curl -X POST https://ichnoisapi.onrender.com/api/v1/telemetry/ingest \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -H "X-Ichnois-Token: pk_live_your_project_key" \ |
| 5 | -d '{ |
| 6 | "event_id": "evt_9042", |
| 7 | "environment": "production", |
| 8 | "exception": { |
| 9 | "values": [{ |
| 10 | "type": "KeyError", |
| 11 | "value": "session_claims", |
| 12 | "stacktrace": { |
| 13 | "frames": [{ |
| 14 | "filename": "auth/tokens.py", |
| 15 | "lineno": 89, |
| 16 | "function": "extract_claims", |
| 17 | "in_app": true |
| 18 | }] |
| 19 | } |
| 20 | }] |
| 21 | } |
| 22 | }' |
Method 2 · Drop-in Project DSN (Sentry SDK Compatible)
If your application already uses standard monitoring SDKs (sentry_sdk in Python, @sentry/nextjs in TypeScript, or Go), you can point them directly to your Ichnois project DSN.
Find your project DSN in the dashboard at Projects → Service Hub:
https://proj_c76fccfd95bd@ichnoisapi.onrender.com/proj_c76fccfd95bd
application.py — SDK Initialization
| 1 | # Drop-in Python SDK (Zero Sentry SaaS account required) |
| 2 | import sentry_sdk |
| 3 | |
| 4 | sentry_sdk.init( |
| 5 | dsn="https://proj_c76fccfd95bd@ichnoisapi.onrender.com/proj_c76fccfd95bd", |
| 6 | environment="production", |
| 7 | traces_sample_rate=1.0, |
| 8 | ) |
Payload extraction: Whether delivered via native webhook or SDK envelope, Ichnois extracts the failing in-app frame, strips container path prefixes (e.g.
/app/), and executes deterministic SHA-256 fingerprint deduplication.