Commands icon
If icon
SlackIncomingWebhook icon
Schedule icon

Envoy Proxy Circuit Breaking and Downstream Connection Reset Sentinel

Audits Envoy proxy clusters for downstream connection resets and local circuit breaker trips to detect upstream saturation.

Categories
CloudInfrastructure

How it works

This workflow connects to the Envoy Proxy admin stats endpoint (/stats/prometheus) to inspect downstream_cx_destroy_local_with_reset. This metric increments whenever Envoy terminates a client connection prematurely due to internal circuit breaking limits (max_connections, max_pending_requests), request buffer overflow, or aggressive stream timeouts. Elevated resets degrade end-user experience with abrupt TCP RST packets and HTTP 503 Service Unavailable responses. The workflow tracks reset volume and dispatches alerts before widespread outages occur.

What you get

  • Real-time detection of abrupt connection terminations at the ingress gateway.
  • Prevents silent client dropouts and broken HTTP/2 streams.
  • Quantitative metric evaluation across ingress proxy instances.

Who it's for

  • Ingress Gateway Engineers and Edge Infrastructure Teams.
  • SREs managing Envoy, Emissary-ingress, or Gloo Edge deployments.

Why orchestrate this with Kestra

  • Continuous Gateway Auditing: Monitors ingress proxies on a reliable schedule.
  • Proactive Anomaly Detection: Identifies upstream saturation before customer tickets arrive.
  • Automated Incident Escalation: Delivers incident notifications with context directly to Slack.

Prerequisites

  • Envoy proxy running with admin interface (/stats/prometheus) accessible.
  • Secret SLACK_WEBHOOK configured in Kestra.

Quick start

  1. Import the blueprint.
  2. Enter your Envoy stats URL and reset threshold.
  3. Run the workflow to inspect reset counts.

How to extend

  • Inspect upstream_rq_pending_overflow to confirm exact circuit breaker saturation.
  • Dynamically tune Envoy connection pool settings using control plane APIs.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.