-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ref(core): Remove otel-based suppressTracing implementation
#22574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const SUPPRESS_TRACING_KEY = '__SENTRY_SUPPRESS_TRACING__'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,6 @@ import type { CurrentScopes } from './types'; | |
| import { getContextFromScope, getScopesFromContext } from './utils/contextData'; | ||
| import { getActiveSpan } from './utils/getActiveSpan'; | ||
| import { getTraceData } from './utils/getTraceData'; | ||
| import { suppressTracing, isTracingSuppressed } from './utils/suppressTracing'; | ||
|
|
||
| /** | ||
| * Sets the async context strategy to use follow the OTEL context under the hood. | ||
|
|
@@ -103,8 +102,6 @@ export function setOpenTelemetryContextAsyncContextStrategy(options?: { | |
| startSpanManual, | ||
| startInactiveSpan, | ||
| getActiveSpan, | ||
| suppressTracing, | ||
| isTracingSuppressed, | ||
| getTraceData, | ||
| continueTrace, | ||
| startNewTrace, | ||
|
Comment on lines
102
to
107
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Removing the custom Suggested FixReinstate the custom Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews. |
||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.