Module: OpenTelemetry::SemConv::Incubating::BROWSER
- Defined in:
- lib/opentelemetry/semconv/incubating/browser/attributes.rb
Attribute Names collapse
- BROWSER_BRANDS =
Note:
Stability Level: development
Array of brand name and version separated by a space
This value is intended to be taken from the UA client hints API (
navigator.userAgentData.brands
). 'browser.brands'
- BROWSER_LANGUAGE =
Note:
Stability Level: development
Preferred language of the user using the browser
This value is intended to be taken from the Navigator API
navigator.language
. 'browser.language'
- BROWSER_MOBILE =
Note:
Stability Level: development
A boolean that is true if the browser is running on a mobile device
This value is intended to be taken from the UA client hints API (
navigator.userAgentData.mobile
). If unavailable, this attribute SHOULD be left unset. 'browser.mobile'
- BROWSER_PLATFORM =
Note:
Stability Level: development
The platform on which the browser is running
This value is intended to be taken from the UA client hints API (
navigator.userAgentData.platform
). If unavailable, the legacynavigator.platform
API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent. The list of possible values is defined in the W3C User-Agent Client Hints specification. Note that some (but not all) of these values can overlap with values in theos.type
andos.name
attributes. However, for consistency, the values in thebrowser.platform
attribute should capture the exact value that the user agent provides. 'browser.platform'