Skip to content

Vue tracing spans not finishing #4023

@micopiira

Description

@micopiira

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/vue

Version:

6.12.0 & 6.13.2

Description

When I have multiple Vue apps on the same page that share the same components the spans from the other app never finish. Log:

Sentry Logger [Log]: [Tracing] cancelling span since transaction ended early {
  "description": "Application Render",
  "op": "Vue",
  "parent_span_id": "a4a39e447a06bb47",
  "span_id": "bf933d53829cf04f",
  "start_timestamp": 1633088070.2207003,
  "status": "cancelled",
  "timestamp": 1633088085.1591,
  "trace_id": "f9ebcdfc843c4efeaa93d31758727bc0"
}

image

Minimal reproducible demo: https://codesandbox.io/s/sentry-vue-span-cancel-zx8bc?file=/src/main.js

Metadata

Metadata

Assignees

Labels

Package: vueIssues related to the Sentry Vue SDK

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions