getsentry / uptime-checker

Service responsible for powering Sentry's uptime detection features
Other
3 stars 0 forks source link

feat(tracing): Add sentry-trace header #61

Closed evanpurkhiser closed 2 weeks ago

evanpurkhiser commented 2 weeks ago

Do we need to send other options to disable traces from being generated on the server side, and to just include errors?

This is a good question

@AbhiPrasad -- I know the last byte is used to say "don't set any sampling rules" but is there any way to tell the SDK to always sample errors during a trace?

AbhiPrasad commented 2 weeks ago

I know the last byte is used to say "don't set any sampling rules" but is there any way to tell the SDK to always sample errors during a trace?

Error sampling rate defaults to 100%, so only explicit user config makes them drop errors or reduce that. There is unfortunately no way for us to programmatically change that