Skip to content

new request metrics #426

Closed
Closed

Description

@Geal

interesting metrics that are available in nginx:

  • upstream_connect_time: time spent establishing a connection with an upstream server
  • upstream_header_time: time between establishing a connection to an upstream server and receiving the first byte of the response header
  • upstream_response_time: time between establishing a connection to an upstream server and receiving the last byte of the response body

Activity

  1. added this to the v0.16.0 milestone on Feb 18, 2022
  2. FlorentinDUBOIS commented on Jun 5, 2026

    @FlorentinDUBOIS
    Collaborator

    Status: 2 of the 3 nginx upstream timing metrics now exist — backend_connection_time (≈ upstream_connect_time) and backend_response_time (≈ upstream_response_time), see lib/src/metrics/names.rs. Still missing: a backend time-to-first-byte metric (≈ upstream_header_time), i.e. connection-established → first response-header byte. Keeping this open to track that gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions