Page MenuHomePhabricator

Send tracing headers from Shellbox client
Closed, ResolvedPublic

Description

Looks like Shellbox is using Guzzle HTTP client directly (created by HttpRequestFactory), not MwHttpRequest nor MultiHttpClient.
It supports X-Request-Id header, but it's adding it manually in the ShellboxClientFactory, instead of depending on HTTPRequestFactory to prepare the HTTPClient.

Definition of done:

  • Shellbox code does not use deprecated WebRequest::getRequestId().
  • HttpRequestFactory::getGuzzleClient() returns HTTP Client with telemetry headers

Event Timeline

Change 957245 had a related patch set uploaded (by Pmiazga; author: Pmiazga):

[mediawiki/core@master] shellbox: Use Telemetry class instead of deprecated WebRequest::getRequestId()

https://gerrit.wikimedia.org/r/957245

Change 957245 merged by jenkins-bot:

[mediawiki/core@master] shellbox: Use Telemetry class instead of WebRequest::getRequestId()

https://gerrit.wikimedia.org/r/957245

pmiazga triaged this task as Medium priority.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy