Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion static/gsAdmin/views/dynamicSamplingPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,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') {
Expand Down
Loading