Skip to content

Commit 756063b

Browse files
committed
remove TransactionMetadata type
1 parent 6243b67 commit 756063b

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
@@ -109,27 +109,6 @@ export interface SamplingContext extends CustomSamplingContext {
109109
request?: ExtractedNodeRequestData;
110110
}
111111

112-
export interface TransactionMetadata {
113-
/**
114-
* The sample rate used when sampling this transaction.
115-
* @deprecated Use `SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE` attribute instead.
116-
*/
117-
sampleRate?: number;
118-
119-
/**
120-
* The Dynamic Sampling Context of a transaction. If provided during transaction creation, its Dynamic Sampling
121-
* Context Will be frozen
122-
*/
123-
dynamicSamplingContext?: Partial<DynamicSamplingContext>;
124-
125-
/** For transactions tracing server-side request handling, the request being tracked. */
126-
request?: PolymorphicRequest;
127-
128-
/** For transactions tracing server-side request handling, the path of the request being tracked. */
129-
/** TODO: If we rm -rf `instrumentServer`, this can go, too */
130-
requestPath?: string;
131-
}
132-
133112
/**
134113
* Contains information about how the name of the transaction was determined. This will be used by the server to decide
135114
* whether or not to scrub identifiers from the transaction name, or replace the entire name with a placeholder.

0 commit comments

Comments
 (0)