Commands Cheat Sheet

Try DrDroid: AI Agent for Debugging

80+ monitoring tool integrations
Long term memory about your stack
Locally run Mac App available

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Thank you for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.
Read more
Time to stop copy pasting your errors onto Google!

Connection

curl http://localhost:9901/
Access the Envoy admin interface

curl -s http://localhost:9901/help
List all available admin endpoints

Configuration

curl -s http://localhost:9901/config_dump
Dump the current configuration

curl -s http://localhost:9901/config_dump?resource=static_clusters
Dump specific configuration (e.g., static clusters)

curl -s http://localhost:9901/config_dump?mask=bootstrap
Dump bootstrap configuration

Stats and Metrics

curl -s http://localhost:9901/stats
Get all stats

curl -s http://localhost:9901/stats?filter=http
Get filtered stats (e.g., HTTP related)

curl -s http://localhost:9901/stats?format=json
Get stats in JSON format

curl -s http://localhost:9901/stats/prometheus
Get Prometheus format metrics

Logging

curl -s http://localhost:9901/logging
Get/modify logging levels

curl -X POST -s http://localhost:9901/logging?level=debug
Set global log level to debug

curl -X POST -s "http://localhost:9901/logging?http=debug"
Set HTTP component log level to debug

Cluster Management

curl -s http://localhost:9901/clusters
Get cluster status

curl -s http://localhost:9901/clusters?format=json
Get cluster status in JSON format

Runtime Operations

curl -X POST -s http://localhost:9901/healthcheck/fail
Fail health checks

curl -X POST -s http://localhost:9901/healthcheck/ok
Reset health checks

curl -X POST -s http://localhost:9901/reset_counters
Reset stat counters

curl -X POST -s http://localhost:9901/drain_listeners
Drain listeners (for graceful shutdown)

curl -X POST -s http://localhost:9901/server_info
Get server information

curl -X POST -s http://localhost:9901/quitquitquit
Gracefully terminate server

Service Discovery

curl -s http://localhost:9901/certs
Get TLS certificates info

curl -s http://localhost:9901/listeners
Get listener status

curl -s http://localhost:9901/listeners?format=json
Get listener status in JSON format