<your-token> in the examples below is a platform API key — in this release that means your platform operator’s key, not a team key. See Getting a token.Check health on demand
NotApplicable on a VM), its most recent alert (last_alert), and alert_lifecycle — for each alert type that has ever fired, whether it is active or clear, active_since, last_fired_at and last_cleared_at. An active entry makes the app degraded (warning) or unhealthy (critical) regardless of how long ago the alert posted. Pod status comes from the cluster Sariva is configured to read; lag reaches this route as the alert engine’s lag alert, not as a live read.
The route never reads the app’s logs — CloudWatch or New Relic — and says so: "logs": "not_read". For errors from the logs, ask Sariva in chat (the app’s on-demand log scans must be approved).
Producer health
A producer has no consumer lag, so Sariva judges it from what proves it is running. Chat and “is everything healthy?” read its logs (where approved) and give the same verdict, on a VM and on Kubernetes.GET /api/v1/apps/{alias}/health reads no logs — see Over REST.
Logs are read only when the app’s on-demand chat scans are approved, and each read counts toward its daily chat limit. Otherwise the verdict says why it can’t tell.
Over REST
GET /api/v1/apps/{alias}/health never reads logs ("logs": "not_read"), so errors aren’t checked. On Kubernetes a running pod shows the producer runs and the messages on its topics show its activity: healthy, healthy, idle or warning, as above. On a VM there is no pod, and messages on a topic may come from another producer, so the verdict is unknown. In both, status takes the worse of the verdict and any active alert. The response carries the verdict in verdict, verdict_label and fact, and the readings in producer.
Configure alerts
Set alert preferences at registration or update them later withPUT /api/v1/apps/{alias}. Alerts post to the channel the app registered on your install’s chat surface — its teams_channel_id on a Teams install, its slack_channel on a Slack install (Register an application).
Pod-level alerts need pod coordinates.
alert_on_pod_restart and alert_on_consumer_rebalance require eks_cluster_name, k8s_namespace, and k8s_pod_label_selector on the app (e.g. app=payments-consumer). alert_on_error_pattern requires cloudwatch_log_group. Lag alerts need none of these — they work from the Metrics API alone.