Browser error volume
Affected sessions
Affected users
Browser error types
SQL
SELECT COALESCE(attributes___exception___type, status_message, 'Browser error') AS error_type,
LEFT(COALESCE(attributes___exception___message, status_message, name, 'No error message'), 300) AS message,
COUNT(*)::text AS events,
COUNT(DISTINCT attributes___session___id)::text AS sessions,
MAX(timestamp)::text AS last_seen
FROM otel_logs_and_spans
WHERE project_id='{{project_id}}'
AND resource___telemetry___sdk___language IN ('webjs', 'javascript', 'js')
AND (status_code='ERROR' OR attributes___exception___type IS NOT NULL)
AND ('{{var-app}}' = '' OR resource___service___name = '{{var-app}}')
{{time_filter}}
GROUP BY error_type, message ORDER BY COUNT(*) DESC LIMIT 50