Open kahest opened 4 months ago
We'll align across SDK teams what the User Agent should look like
PHP, Go, Python do send a user agent, format is like <sdk-name>/<sdk-version>
<sdk-name>/<sdk-version>
<sdk-name>
<sdk-name>/<sdk-version> (<device-name> <device-model>; <os-name> <os-version>; <runtime-name> <runtime-version>)
somewhat related initiative on Ingest team: https://github.com/getsentry/team-ingest/issues/276
Description
Currently, some SDKs (e.g. sentry-cocoa) don't set a user agent or just set the SDK name as user agent. In an effort to make troubleshooting of issues more viable if only the http request headers are available (e.g. looking into LB issues), we want to add more information to the user agent:
Why should we be doing this?
To make troubleshooting of issues more viable if only the http request headers are available, e.g. in incidents like INC-648
Why now?
The earlier we add at least the basic info (SDK name+version), the higher the likelihood that we have useful information available during the next incident.
RFC
No response
Slack-Channel
#inc-648
Notion Document(s)
INC-648 doc
Stakeholder(s)
INC-648, SRE
Team(s)
Mobile Web Backend Web Frontend (?)