sentry-ruby icon indicating copy to clipboard operation
sentry-ruby copied to clipboard

Add tracePropagationTargets option

Open smeubank opened this issue 3 years ago • 0 comments

Problem Statement

There is no mechanism to control where tracing is or is not propagated to. Leading to possibly sending useless tracing headers and contextual data to endpoints where it is not relevant.

this is from the PHP issue https://github.com/getsentry/sentry-php/issues/1361 but not sure what GuzzleTracingMiddleware

The GuzzleTracingMiddleware currently propagates the sentry-trace and soon the baggage header on each instrumented request.

Solution Brainstorm

Add the tracePropagationTargets option.

https://develop.sentry.dev/sdk/performance/#tracepropagationtargets

this is from the PHP issue https://github.com/getsentry/sentry-php/issues/1361 but not sure what GuzzleTracingMiddleware

The GuzzleTracingMiddleware currently propagates the sentry-trace and soon the baggage header on each instrumented request.

smeubank avatar Sep 15 '22 11:09 smeubank