Page MenuHomePhabricator

VarnishKafka to propagate user agent client hints headers to webrequest
Closed, ResolvedPublic

Description

This will allow analysis of the impact of google chrome user-agent deprecation.
Considered headers: Sec=CH-UA*, sent as a key-value string

Event Timeline

Change 755435 had a related patch set uploaded (by Phuedx; author: Phuedx):

[operations/puppet@production] profile::manifests::cache::kafka::webrequest: Log Sec-CH-UA* headers

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

@JAllemandou: @elukey highlighted that we (Data Engineering and other stakeholders) should agree on the names for these headers as they're added to the JSON blob that varnishkafka produces. For example:

  • X-Client-IP is added as ip
  • X-Cache-Status as cache_status
  • X-Analytics as x_analytics

I can't talk to what's supported by varnishkafka but I'll go ahead and make the new additions consistent with the above while we discuss naming here, i.e.

  • Sec-CH-UA will be added as ch_ua
  • Sec-CH-UA-Mobile as ch_ua_mobile
  • Sec-CH-UA-Platform as ch_ua_platform

Mentioned in SAL (#wikimedia-analytics) [2022-01-26T10:07:27Z] <btullis> btullis@cumin1001:~$ sudo cumin 'O:cache::upload or O:cache::text' 'disable-puppet btullis-T296064-T299401'

Change 755435 merged by Btullis:

[operations/puppet@production] profile::cache::kafka::webrequest: Log Sec-CH-UA* headers

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

jbond triaged this task as Medium priority.Feb 16 2022, 4:52 PM
EChetty claimed this task.