docs: Fix Pending period description in alerting page (#96974)

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
This commit is contained in:
Dimitris Sotirakis
2024-11-26 17:09:08 +02:00
committed by GitHub
co-authored by Gilles De Mey
parent 2370fbffc2
commit d418299780
2 changed files with 3 additions and 3 deletions
@@ -1,5 +1,5 @@
import { css } from '@emotion/css';
import { useFormContext, Controller } from 'react-hook-form';
import { Controller, useFormContext } from 'react-hook-form';
import { GrafanaTheme2 } from '@grafana/data';
import { Field, Input, Select, useStyles2 } from '@grafana/ui';
@@ -27,7 +27,7 @@ export const CloudEvaluationBehavior = () => {
<RuleEditorSection stepNo={3} title="Set evaluation behavior">
<Field
label="Pending period"
description='Period the threshold condition must be met to trigger the alert. Selecting "None" triggers the alert immediately once the condition is met.'
description='Period during which the threshold condition must be met to trigger an alert. Selecting "None" triggers the alert immediately once the condition is met.'
>
<div className={styles.flexRow}>
<Field invalid={!!errors.forTime?.message} error={errors.forTime?.message} className={styles.inlineField}>
@@ -603,7 +603,7 @@ export function ForInput({ evaluateEvery }: { evaluateEvery: string }) {
label={
<Label
htmlFor={evaluateForId}
description='Period the threshold condition must be met to trigger the alert. Selecting "None" triggers the alert immediately once the condition is met.'
description='Period during which the threshold condition must be met to trigger an alert. Selecting "None" triggers the alert immediately once the condition is met.'
>
<Trans i18nKey="alerting.rule-form.evaluation-behaviour.pending-period">Pending period</Trans>
</Label>