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
This event represents an instantaneous click on the screen of an application.
37
-
38
-
The `app.screen.click` event can be used to indicate that a user has clicked or tapped on the screen portion of an application. Clicks outside of an application's active area SHOULD NOT generate this event. This event does not differentiate between touch/mouse down and touch/mouse up. Implementations SHOULD give preference to generating this event at the time the click is complete, typically on touch release or mouse up. The location of the click event MUST be provided in absolute screen pixels.
|[`app.screen.coordinate.x`](/docs/registry/attributes/app.md)| int | The x (horizontal) coordinate of a screen coordinate, in screen pixels. |`0`; `131`|`Required`||
43
-
|[`app.screen.coordinate.y`](/docs/registry/attributes/app.md)| int | The y (vertical) component of a screen coordinate, in screen pixels. |`12`; `99`|`Required`||
44
-
45
-
<!-- markdownlint-restore -->
46
-
<!-- prettier-ignore-end -->
47
-
<!-- END AUTOGENERATED TEXT -->
48
-
<!-- endsemconv -->
49
-
50
-
### Event: `app.widget.click`
51
-
52
-
<!-- semconv event.app.widget.click -->
53
-
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
54
-
<!-- see templates/registry/markdown/snippet.md.j2 -->
|[`app.widget.id`](/docs/registry/attributes/app.md)| string | An identifier that uniquely differentiates this widget from other widgets in the same application. [1]|`f9bc787d-ff05-48ad-90e1-fca1d46130b3`; `submit_order_1829`|`Required`||
70
-
|[`app.screen.coordinate.x`](/docs/registry/attributes/app.md)| int | The x (horizontal) coordinate of a screen coordinate, in screen pixels. |`0`; `131`|`Opt-In`||
71
-
|[`app.screen.coordinate.y`](/docs/registry/attributes/app.md)| int | The y (vertical) component of a screen coordinate, in screen pixels. |`12`; `99`|`Opt-In`||
72
-
|[`app.widget.name`](/docs/registry/attributes/app.md)| string | The name of an application widget. [2]|`submit`; `attack`; `Clear Cart`|`Opt-In`||
73
-
74
-
**[1]`app.widget.id`:** A widget is an application component, typically an on-screen visual GUI element.
75
-
76
-
**[2]`app.widget.name`:** A widget is an application component, typically an on-screen visual GUI element.
Exceptions SHOULD be recorded as attributes on the
@@ -46,20 +38,47 @@ The table below indicates which attributes should be added to the
46
38
|---|---|---|---|---|---|
47
39
|[`exception.message`](/docs/registry/attributes/exception.md)| string | The exception message. |`Division by zero`; `Can't convert 'int' object to str implicitly`|`Conditionally Required`[1]||
48
40
|[`exception.type`](/docs/registry/attributes/exception.md)| string | The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it. |`java.net.ConnectException`; `OSError`|`Conditionally Required`[2]||
49
-
|[`exception.stacktrace`](/docs/registry/attributes/exception.md)| string | A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. |`Exception in thread "main" java.lang.RuntimeException: Test exception\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at com.example.GenerateTrace.main(GenerateTrace.java:5)`|`Recommended`||
41
+
|[`exception.stacktrace`](/docs/registry/attributes/exception.md)| string | A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG. [3]|`Exception in thread "main" java.lang.RuntimeException: Test exception\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\n at com.example.GenerateTrace.main(GenerateTrace.java:5)`|`Recommended`||
50
42
51
43
**[1]`exception.message`:** Required if `exception.type` is not set, recommended otherwise.
52
44
53
45
**[2]`exception.type`:** Required if `exception.message` is not set, recommended otherwise.
54
46
47
+
**[3]`exception.stacktrace`:** The table below, adapted from [Google Cloud][gcp-error-reporting], includes
48
+
possible representations of stacktraces in various languages. The table is not
49
+
meant to be a recommendation for any particular language, although SIGs are free
0 commit comments