relay_event_normalization

Module user_agent

source
Expand description

Generate context data from user agent and client hints.

This module is responsible for taking the user agent string parsing it and filling in the browser, os and device information in the event.

§NOTICE

Adding user_agent parsing to your module will incur a latency penalty in the test suite. Because of this some integration tests may fail. To fix this, you will need to add a timeout to your consumer.

Structs§

  • The client hint variable names mirror the name of the “SEC-CH” headers.
  • A container housing both the user-agent string and the client hint headers.

Traits§

Functions§