Monitoring & Integrations
MTE Relay v5 is observed through its structured JSON logs. Every request
produces correlated events: performance timings, including the decrypt,
validate, proxy, and encrypt phase breakdown; security events such as token
failures, replay rejections, and state store problems; an audit record with
hashes only, never plaintext; and error events. The events of one request share
a correlation_id, which is also the X-MTE-Relay-Request-Id the client sees.
A few events from the outbound relay client carry none; the
Event Schema Reference lists them.
No vendor SDK runs inside the relay. Your log collector ships the container's output to your platform of choice and adds tags such as the service name, and the prebuilt assets on this site do the rest.
Start here
- Event Schema Reference, the field level contract all integrations build on.
- Pick your platform:
| Platform | What's provided |
|---|---|
| Datadog | Log pipeline, facet and measure list, importable dashboard, five monitors |
| New Relic | Importable two page dashboard, alert policy with five NRQL conditions |
| Grafana | Dashboards for CloudWatch Logs Insights (AWS) and Loki (Kubernetes and on premise) |
Splunk, Elastic, and any other JSON capable aggregator work the same way: ingest the JSON lines and build on the schema reference.
Recommended alerts (any platform)
- Any
security_eventwith severityhighorcritical - Any
error_eventwithevent_typepanic - State store health: sustained
pair_not_foundor anystate_restore_failedsecurity events, andrelayCode503 on the"Request completed"line - Average
performance_event.total_time_msabove your latency budget - Spikes in
client_pairs_exhaustedorinvalid_client_id, which usually mean replicas do not shareclient_id_secretor pair state - Relay error codes 470 to 490 and the
X-MTE-Relay-Errorheader at your load balancer; see Errors and recovery
Log volume
Per request performance events dominate log volume, and the relay emits them for every request. Filter or sample them in your log shipper if you need to; keep security, error, and audit events unsampled.