The Metrics endpoint exposes operational metrics in Prometheus format. These metrics provide insights into the gateway’s performance, usage patterns, and health.
This endpoint does not require authentication and can be called without an API key. However, it is recommended to restrict access to this endpoint in production environments using network-level controls.
# HELP rate_limit_allowed_total Total number of requests allowed by rate limiter# TYPE rate_limit_allowed_total counterrate_limit_allowed_total 1523.0# HELP rate_limit_blocked_total Total number of requests blocked by rate limiter# TYPE rate_limit_blocked_total counterrate_limit_blocked_total 47.0# HELP python_gc_objects_collected_total Objects collected during gc# TYPE python_gc_objects_collected_total counterpython_gc_objects_collected_total{generation="0"} 12345.0python_gc_objects_collected_total{generation="1"} 6789.0python_gc_objects_collected_total{generation="2"} 123.0# HELP python_info Python platform information# TYPE python_info gaugepython_info{implementation="CPython",major="3",minor="11",patchlevel="0",version="3.11.0"} 1.0# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds# TYPE process_cpu_seconds_total counterprocess_cpu_seconds_total 234.56