You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: semconv/experimental/src/main/scala/org/typelevel/otel4s/semconv/experimental/AndroidExperimentalAttributes.scala
* Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found <a href="https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels">here</a>.
* lifecycle callbacks</a>, and from which the `OS identifiers` are
39
-
* derived.
40
-
*/
30
+
/**
31
+
* Deprecated use the `device.app.lifecycle` event definition including `android.state` as a payload field instead.
32
+
*
33
+
* @note
34
+
* - The Android lifecycle states are defined in <a href="https://developer.android.com/guide/components/activities/activity-lifecycle#lc">Activity lifecycle callbacks</a>, and from which the `OS identifiers` are derived.
/** Any time after Activity.onPause() or, if the app has no Activity,
55
-
* Context.stopService() has been called when the app was in the foreground
56
-
* state.
57
-
*/
46
+
/** Any time after Activity.onPause() or, if the app has no Activity, Context.stopService() has been called when the app was in the foreground state. */
/** Any time after Activity.onResume() or, if the app has no Activity,
61
-
* Context.startService() has been called when the app was in either the
62
-
* created or background states.
63
-
*/
48
+
/** Any time after Activity.onResume() or, if the app has no Activity, Context.startService() has been called when the app was in either the created or background states. */
Copy file name to clipboardExpand all lines: semconv/experimental/src/main/scala/org/typelevel/otel4s/semconv/experimental/BrowserExperimentalAttributes.scala
* Array of brand name and version separated by a space
27
+
*
28
+
* @note
29
+
* - This value is intended to be taken from the <a href="https://wicg.github.io/ua-client-hints/#interface">UA client hints API</a> (`navigator.userAgentData.brands`).
* hints API</a> (`navigator.userAgentData.mobile`). If unavailable, this
48
-
* attribute SHOULD be left unset.
49
-
*/
41
+
/**
42
+
* A boolean that is true if the browser is running on a mobile device
43
+
*
44
+
* @note
45
+
* - This value is intended to be taken from the <a href="https://wicg.github.io/ua-client-hints/#interface">UA client hints API</a> (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset.
* User-Agent Client Hints specification</a>. Note that some (but not
63
-
* all) of these values can overlap with values in the <a
64
-
* href="./os.md">`os.type` and `os.name` attributes</a>. However, for
65
-
* consistency, the values in the `browser.platform` attribute should
66
-
* capture the exact value that the user agent provides.
67
-
*/
49
+
/**
50
+
* The platform on which the browser is running
51
+
*
52
+
* @note
53
+
* - This value is intended to be taken from the <a href="https://wicg.github.io/ua-client-hints/#interface">UA client hints API</a> (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent.
54
+
The list of possible values is defined in the <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">W3C User-Agent Client Hints specification</a>. Note that some (but not all) of these values can overlap with values in the <a href="./os.md">`os.type` and `os.name` attributes</a>. However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides.
Copy file name to clipboardExpand all lines: semconv/experimental/src/main/scala/org/typelevel/otel4s/semconv/experimental/ClientExperimentalAttributes.scala
* Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
27
+
*
28
+
* @note
29
+
* - When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available.
* - When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available.
0 commit comments