Skip to content

Self hosted sentry did not record transaction information #11036

@linxiaowang

Description

@linxiaowang

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/vue

SDK Version

7.103.0

Framework Version

Vue 2.6.14

Link to Sentry event

No response

SDK Setup

Sentry.init({
  Vue,
  dsn: 'http://188e023e659357f9fc933335eee2d002@10.200.1.145:9000/3',
  integrations: [
    Sentry.browserTracingIntegration(),
    Sentry.replayIntegration({
      maskAllText: false,
      blockAllMedia: false
    })
  ],
  tracesSampleRate: 1.0, //  Capture 100% of the transactions
  tracePropagationTargets: ['localhost', 'http://10.52.11.19:8091', /^https:\/\/yourserver\.io\/api/],
  // Session Replay
  replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
  replaysOnErrorSampleRate: 1.0 // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
})

Steps to Reproduce

self hosted sentry version: Sentry 24.1.0

Expected Result

sentry can receive transactions and display performance data normally

Actual Result

I can see transactions was send in network, but in self-hosted sentry platform has none to show, is there something configuration should be add on?In sass platform everything worked well.

here's part of report(sry for image uploading cannot use):

sentry_key: 188e023e659357f9fc933335eee2d002
sentry_version: 7
sentry_client: sentry.javascript.vue%2F7.103.0

{"event_id":"b8e47df86e98427f8679bec8b6d5fefa","sent_at":"2024-03-12T08:19:38.084Z","sdk":{"name":"sentry.javascript.vue","version":"7.103.0"},"trace":{"environment":"production","public_key":"188e023e659357f9fc933335eee2d002","trace_id":"fdde0a7d463446bb9dc9e358282e7128","sample_rate":"1","sampled":"true"}}
{"type":"transaction"}
{"contexts":{"trace":{"data":{"sentry.origin":"auto.pageload.browser","sentry.op":"pageload","sentry.sample_rate":1},"op":"pageload","span_id":"b7de01

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: vueIssues related to the Sentry Vue SDK

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions