Skip to content

Commit 8bb1753

Browse files
committed
remove TransactionMetadata type
1 parent ab7171e commit 8bb1753

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

packages/types/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export type {
111111
TraceparentData,
112112
Transaction,
113113
TransactionArguments,
114-
TransactionMetadata,
115114
TransactionSource,
116115
} from './transaction';
117116
export type {

packages/types/src/transaction.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,6 @@ export interface SamplingContext extends CustomSamplingContext {
9999
request?: ExtractedNodeRequestData;
100100
}
101101

102-
export interface TransactionMetadata {
103-
/**
104-
* The sample rate used when sampling this transaction.
105-
* @deprecated Use `SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE` attribute instead.
106-
*/
107-
sampleRate?: number;
108-
109-
/**
110-
* The Dynamic Sampling Context of a transaction. If provided during transaction creation, its Dynamic Sampling
111-
* Context Will be frozen
112-
*/
113-
dynamicSamplingContext?: Partial<DynamicSamplingContext>;
114-
115-
/** For transactions tracing server-side request handling, the request being tracked. */
116-
request?: PolymorphicRequest;
117-
118-
/** For transactions tracing server-side request handling, the path of the request being tracked. */
119-
/** TODO: If we rm -rf `instrumentServer`, this can go, too */
120-
requestPath?: string;
121-
}
122-
123102
/**
124103
* Contains information about how the name of the transaction was determined. This will be used by the server to decide
125104
* whether or not to scrub identifiers from the transaction name, or replace the entire name with a placeholder.

0 commit comments

Comments
 (0)