@spanmetric/semantic-conventions
v1.0.0
Published
`@openetelemetry/semantic-conventions` is a collection of semantic conventions for OpenTelemetry. This package provides a set of attributes that are used to enrich telemetry data with additional context related to Spanmetric Web Agent (`@spanmetric/web-ag
Readme
Spanmetric Semantic Conventions
@openetelemetry/semantic-conventions is a collection of semantic conventions for OpenTelemetry. This package provides a set of attributes that are used to enrich telemetry data with additional context related to Spanmetric Web Agent (@spanmetric/web-agent).
List of Attributes
spanmetric.browser.device (ATTR_SPANMETRIC_BROWSER_DEVICE)
Represents the type of browser device (e.g., mobile, tablet, desktop).spanmetric.browser.name (ATTR_SPANMETRIC_BROWSER_NAME)
Represents the browser's name.spanmetric.browser.version (ATTR_SPANMETRIC_BROWSER_VERSION)
Represents the browser's full version string.spanmetric.browser.version_major (ATTR_SPANMETRIC_BROWSER_VERSION_MAJOR)
Represents the browser's major version.component (ATTR_SPANMETRIC_RUM_COMPONENT)
Identifies a RUM component.span.type (ATTR_SPANMETRIC_SPAN_TYPE)
Describes the type of span.screen.name (ATTR_SPANMETRIC_SCREEN_NAME)
The screen or page name.screen.type (ATTR_SPANMETRIC_SCREEN_TYPE)
The type of screen or page.session.id (ATTR_SPANMETRIC_SESSION_ID)
Identifies the current session.level (ATTR_SPANMETRIC_LOG_LEVEL)
The log level (e.g., info, warn, error).message (ATTR_SPANMETRIC_LOG_MESSAGE)
The log message.service.key (ATTR_SPANMETRIC_SERVICE_KEY)
A key that identifies the service.spanmetric.agent.version (ATTR_SPANMETRIC_AGENT_VERSION)
Indicates the version of this Spanmetric agent.rum.version (ATTR_SPANMETRIC_RUM_VERSION)
Tracks the RUM (Real User Monitoring) version.rum.scriptInstance (ATTR_SPANMETRIC_RUM_SCRIPT_INSTANCE)
A unique instance identifier for the RUM script.http.request.body (ATTR_SPANMETRIC_HTTP_REQUEST_BODY)
Contains the body of the HTTP request.link.traceId (ATTR_SPANMETRIC_LINK_TRACE_ID)
The trace ID associated with a link.link.spanId (ATTR_SPANMETRIC_LINK_SPAN_ID)
The span ID associated with a link.online (ATTR_SPANMETRIC_CONNECTIVITY_ONLINE)
Connectivity status (online/offline).document.referrer (ATTR_SPANMETRIC_DOCUMENT_REFERRER)
The referrer URL of the document.screen.xy (ATTR_SPANMETRIC_DOCUMENT_SCREEN_XY)
The screen resolution (sometimes used for layout metrics).longtask.name (ATTR_SPANMETRIC_LONGTASK_NAME)
A descriptive name for a long task.longtask.entry_type (ATTR_SPANMETRIC_LONGTASK_ENTRY_TYPE)
The entry type for the long task.longtask.duration (ATTR_SPANMETRIC_LONGTASK_DURATION)
The duration of the long task in milliseconds.location.href (ATTR_SPANMETRIC_BROWSER_LOCATION_HREF)
The current window URL.prev.href (ATTR_SPANMETRIC_USER_INTERACTION_PREV_HREF)
The previous URL visited before the current user interaction.
