diff --git a/static/gsAdmin/views/dynamicSamplingPanel.tsx b/static/gsAdmin/views/dynamicSamplingPanel.tsx index a6f60eca3bfa80..4c40a36d9c680f 100644 --- a/static/gsAdmin/views/dynamicSamplingPanel.tsx +++ b/static/gsAdmin/views/dynamicSamplingPanel.tsx @@ -72,6 +72,7 @@ enum RuleType { REBALANCE_TRANSACTIONS = 'Rebalance Transactions', // Boost Low Volume Transactions BOOST_REPLAY_ID = 'Boost Replay ID', INVESTIGATION_RULE = 'Investigation Rule', + MINIMUM_SAMPLE_RATE_TARGET = 'Minimum Sample Rate', } const getRuleType = ({id}: RuleV2): RuleType | undefined => { @@ -82,6 +83,7 @@ const getRuleType = ({id}: RuleV2): RuleType | undefined => { 1003: RuleType.BOOST_KEY_TRANSACTIONS, 1004: RuleType.RECALIBRATION_RULE, 1005: RuleType.BOOST_REPLAY_ID, + 1006: RuleType.MINIMUM_SAMPLE_RATE_TARGET, }; if (id in RESERVED_IDS) { @@ -322,7 +324,10 @@ function DynamicSamplingRulesTable({ const round = (value: number) => Math.round(value * 10000) / 10000; const formatSamplingRateValue = (samplingValue: any) => { - if (samplingValue.type === 'sampleRate') { + if ( + samplingValue.type === 'sampleRate' || + samplingValue.type === 'minimumSampleRate' + ) { return `${round(samplingValue.value * 100)}%`; } if (samplingValue.type === 'reservoir') {