Skip to content

How to connect sentry-ruby/rails with frontend? #1411

Description

@oliverguenther

I saw that there's an integration guide for the JavaScript SDK on how to connect a backend service through the use of a meta sentry-trace object.

How would I use this with the Ruby/Rails SDK? There's Sentry.get_current_scope.get_transaction with #parent_span_id, #span_id and #trace_id. The first one seems to be always nil in a response (since it's the highest transaction probably), and the other two work, but don't seem to connect the requests correctly in the performance module.

Any pointers here that I'm missing? I would gladly then send a PR to the docs to describe this part.

Metadata

Metadata

Assignees

Labels

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions