Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 2.46 KB

events.md

File metadata and controls

41 lines (30 loc) · 2.46 KB

Semantic conventions for browser events

Status: Development

This document defines semantic conventions for browser (web) instrumentations that emit events.

Status: Development

The event name MUST be browser.exception.

This event describes an error or exception that occurs in a browser application.

Body fields:

Body Field Type Description Examples Requirement Level Stability
column_number int Column number where the error occurred. 5 Recommended Development
file_name string Name of the file that generated the error. foo.js Recommended Development
line_number int Line number where the error occurred. 3 Recommended Development
message string The exception message. Can't convert 'int' object to str implicitly Recommended Development
stacktrace 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 at com.example.GenerateTrace.methodB(GenerateTrace.java:13) Recommended Development
type 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. TypeError; java.net.ConnectException; OSError Recommended Development