Skip to content

Add X-Incognia-Latency header to propagate last request latency#347

Merged
figueredo merged 2 commits into
masterfrom
lib-latency
Apr 16, 2026
Merged

Add X-Incognia-Latency header to propagate last request latency#347
figueredo merged 2 commits into
masterfrom
lib-latency

Conversation

@alangalvino
Copy link
Copy Markdown
Contributor

Tracks the latency of each outgoing API call in TokenAwareNetworkingClient
and sends it as the X-Incognia-Latency header on the next request, enabling
server-side latency-based monitoring (LBMT).

The header is absent on the first call and populated from the second call
onward. Covers POST requests with and without query parameters.

@alangalvino alangalvino self-assigned this Apr 9, 2026
@alangalvino alangalvino requested a review from a team as a code owner April 9, 2026 16:01
  Tracks the latency of each outgoing API call in TokenAwareNetworkingClient
  and sends it as the X-Incognia-Latency header on the next request, enabling
  server-side latency-based monitoring (LBMT).

  The header is absent on the first call and populated from the second call
  onward. Covers POST requests with and without query parameters.
@figueredo figueredo merged commit 0debd5a into master Apr 16, 2026
6 of 7 checks passed
@figueredo figueredo deleted the lib-latency branch May 13, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants