Metrics
Ingest Metrics
Push application metrics for automatic health detection and status updates
POST
Kodo can automatically determine service health based on metrics you push. When error rates or response times exceed thresholds, Kodo updates your service status and optionally creates incidents.
Request Body
The service to associate metrics with
Metric values to report
ISO 8601 timestamp for the metrics. Defaults to current time.
Response
Returns confirmation and any status changes triggered.Default Thresholds
| Metric | Degraded | Partial Outage | Major Outage |
|---|---|---|---|
| Error Rate | > 1% | > 10% | > 50% |
| Response Time (ms) | > 1000ms | > 3000ms | > 10000ms |
| CPU Percent | > 70% | > 85% | > 95% |
| Memory Percent | > 70% | > 85% | > 95% |