Sentry Relay PHP PoC
Side-by-side comparison of sending events via Relay vs direct Sentry DSN.
Documentation:
Sentry Relay PHP PoC – Developer & DevOps doc
Sentry project:
View events in Sentry (project #22)
Relay DSN host:
sentry-relay.sentry-relay.svc.cluster.local
Direct DSN host:
sentry-test.antavo.com
Relay DSN:
http://d5b8a8bb8a3f02dbc2784aceba9602f9@sentry-relay.sentry-relay.svc.cluster.local/22
Direct DSN:
https://
[email protected]
/22
Endpoints
GET
/test-error
Send a test exception event
Description
Sends a PoC test exception to Sentry and shows Relay vs Direct behavior.
Relay
mode=relay
Try via Relay
No call yet.
{}
Direct Sentry
mode=direct
Try direct
No call yet.
{}
GET
/latency/single
Single-event latency measurement
Description
Measures how long it takes to send a single Sentry event via Relay vs Direct.
Relay
mode=relay
Try via Relay
No call yet.
{}
Direct Sentry
mode=direct
Try direct
No call yet.
{}
GET
/latency/burst
Burst latency (multiple events)
Description
Sends multiple Sentry events and reports total & per-event latency for Relay vs Direct.
Parameters
count
(query, optional, int) – number of events (default: 20)
Relay
mode=relay
Try via Relay
No call yet.
{}
Direct Sentry
mode=direct
Try direct
No call yet.
{}
GET
/healthz
Health check
Description
Simple health endpoint for readiness/liveness checks.
Action
Try it
No call yet.
OK