Metrics
A step of the Cloud application tree on Gradus, in the Observability area: Logs, metrics, traces, alerts.
Expose latency, error rate, traffic and saturation metrics (the four golden signals) for scraping by Prometheus or similar.
Usually comes after: Structured logging.
Leads to: Distributed tracing, Dashboards.
Prompt for your AI assistant
Instrument the application with Prometheus-compatible metrics covering request latency, error rate, throughput and resource saturation, and expose a /metrics endpoint.This is https://gradus.kazet.blog/tree/cloud-application/step/metrics as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.