Skip to content

Commit 682f5e2

Browse files
authored
ref(opentelemetry): Remove orphaned code (#22705)
Removing some things that are no longer referenced but were forgotten to be deleted.
1 parent cc16929 commit 682f5e2

4 files changed

Lines changed: 0 additions & 129 deletions

File tree

packages/opentelemetry/src/constants.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,13 @@ export const SENTRY_BAGGAGE_HEADER = 'baggage';
66
export const SENTRY_TRACE_STATE_DSC = 'sentry.dsc';
77
export const SENTRY_TRACE_STATE_SAMPLED_NOT_RECORDING = 'sentry.sampled_not_recording';
88
export const SENTRY_TRACE_STATE_URL = 'sentry.url';
9-
export const SENTRY_TRACE_STATE_SAMPLE_RAND = 'sentry.sample_rand';
10-
export const SENTRY_TRACE_STATE_SAMPLE_RATE = 'sentry.sample_rate';
119

1210
/**
1311
* A flag marking a context as ignored because the span associated with the context
1412
* is ignored (`ignoreSpans` filter).
1513
*/
1614
export const SENTRY_TRACE_STATE_CHILD_IGNORED = 'sentry.ignored';
1715

18-
/**
19-
* A flag marking a segment span as ignored because it matched the `ignoreSpans` filter.
20-
* Unlike `SENTRY_TRACE_STATE_CHILD_IGNORED` (used for child spans), this flag is NOT consumed
21-
* by the context manager for re-parenting. Instead, it propagates to child spans so they
22-
* can record the correct client report outcome (`ignored` instead of `sample_rate`).
23-
*/
24-
export const SENTRY_TRACE_STATE_SEGMENT_IGNORED = 'sentry.segment_ignored';
25-
2616
export const SENTRY_SCOPES_CONTEXT_KEY = createContextKey('sentry_scopes');
2717

2818
export const SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY = createContextKey('sentry_fork_isolation_scope');

packages/opentelemetry/src/semanticAttributes.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/opentelemetry/src/utils/getRequestSpanData.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/opentelemetry/test/utils/getRequestSpanData.test.ts

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)