diff --git a/packages/types/src/transaction.ts b/packages/types/src/transaction.ts index 585eb66dd8dd..d2a8744cd335 100644 --- a/packages/types/src/transaction.ts +++ b/packages/types/src/transaction.ts @@ -120,7 +120,7 @@ export type Measurements = Record; export type TransactionSamplingMethod = 'explicitly_set' | 'client_sampler' | 'client_rate' | 'inheritance'; export interface TransactionMetadata { - transactionSampling?: { rate?: number; method?: TransactionSamplingMethod }; + transactionSampling?: { rate?: number; method: TransactionSamplingMethod }; /** The two halves (sentry and third-party) of a transaction's tracestate header, used for dynamic sampling */ tracestate?: {