@@ -72,6 +72,7 @@ enum RuleType {
7272 REBALANCE_TRANSACTIONS = 'Rebalance Transactions' , // Boost Low Volume Transactions
7373 BOOST_REPLAY_ID = 'Boost Replay ID' ,
7474 INVESTIGATION_RULE = 'Investigation Rule' ,
75+ MINIMUM_SAMPLE_RATE_TARGET = 'Minimum Sample Rate' ,
7576}
7677
7778const getRuleType = ( { id} : RuleV2 ) : RuleType | undefined => {
@@ -82,6 +83,7 @@ const getRuleType = ({id}: RuleV2): RuleType | undefined => {
8283 1003 : RuleType . BOOST_KEY_TRANSACTIONS ,
8384 1004 : RuleType . RECALIBRATION_RULE ,
8485 1005 : RuleType . BOOST_REPLAY_ID ,
86+ 1006 : RuleType . MINIMUM_SAMPLE_RATE_TARGET ,
8587 } ;
8688
8789 if ( id in RESERVED_IDS ) {
@@ -322,7 +324,10 @@ function DynamicSamplingRulesTable({
322324 const round = ( value : number ) => Math . round ( value * 10000 ) / 10000 ;
323325
324326 const formatSamplingRateValue = ( samplingValue : any ) => {
325- if ( samplingValue . type === 'sampleRate' ) {
327+ if (
328+ samplingValue . type === 'sampleRate' ||
329+ samplingValue . type === 'minimumSampleRate'
330+ ) {
326331 return `${ round ( samplingValue . value * 100 ) } %` ;
327332 }
328333 if ( samplingValue . type === 'reservoir' ) {
0 commit comments