A rework of the metrics system, more detail in the access log about limits, auth and upstreams, and fixes for idle timeouts, request IDs and config reloads.
Breaking and behavior changes
--sPrometheusMetricsselects metric groups (requests,streams,auth,dependencies,access_log,gateway,usage_control) or the presetscoreandall- An empty
--sPrometheusMetricsnow meanscore gw_request_size_bytesandgw_response_size_bytesare replaced by the countersgw_request_bytes_totalandgw_response_bytes_totalgw_upstream_last_success_timestamp_seconds,gw_sink_events_totalandgw_sink_last_write_secondswere removedgw_unique_callersis not available anymore. It will be reworked and released within a new group in the future
New features
gw_limit_rejections_total{rule,scope,kind}counts requests refused by usage control- New access log fields:
limit_reason,limit_rule,limit_scope,dependency_state,auth_result,upstream_pathandgrpc_status_name
Fixes
- Idle timeouts wait the full configured time for gRPC, WebSocket and HTTP connections
- The
X-Nocleye-Request-Idresponse header and metric exemplars always show the request's own ID - Config reloads retire the previous config cleanly: shutdown steps run once and its metrics disappear after the new config takes over
