mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
feat: show rps only for counters (#10361)
This commit is contained in:
parent
c3f1454df7
commit
8455134688
@ -68,15 +68,19 @@ export const ImpactMetricsControls: FC<ImpactMetricsControlsProps> = ({
|
|||||||
label='Begin at zero'
|
label='Begin at zero'
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<FormControlLabel
|
{formData.selectedSeries.startsWith('unleash_counter_') ? (
|
||||||
control={
|
<FormControlLabel
|
||||||
<Checkbox
|
control={
|
||||||
checked={formData.showRate}
|
<Checkbox
|
||||||
onChange={(e) => actions.setShowRate(e.target.checked)}
|
checked={formData.showRate}
|
||||||
/>
|
onChange={(e) =>
|
||||||
}
|
actions.setShowRate(e.target.checked)
|
||||||
label='Show rate per second'
|
}
|
||||||
/>
|
/>
|
||||||
|
}
|
||||||
|
label='Show rate per second'
|
||||||
|
/>
|
||||||
|
) : null}
|
||||||
</Box>
|
</Box>
|
||||||
{availableLabels && (
|
{availableLabels && (
|
||||||
<LabelsFilter
|
<LabelsFilter
|
||||||
|
Loading…
Reference in New Issue
Block a user