mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
b330ed845c
commit
28c513e163
1 changed files with 27 additions and 7 deletions
|
@ -13,6 +13,8 @@ import 'brace/theme/github';
|
|||
import { XJsonMode } from '@kbn/ace';
|
||||
|
||||
import {
|
||||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
EuiButtonEmpty,
|
||||
EuiCodeEditor,
|
||||
EuiSpacer,
|
||||
|
@ -21,6 +23,7 @@ import {
|
|||
EuiText,
|
||||
EuiTitle,
|
||||
EuiLink,
|
||||
EuiIconTip,
|
||||
} from '@elastic/eui';
|
||||
import { DocLinksStart, HttpSetup } from 'kibana/public';
|
||||
import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
|
||||
|
@ -348,14 +351,31 @@ export const EsQueryAlertTypeExpression: React.FunctionComponent<
|
|||
</EuiFormRow>
|
||||
)}
|
||||
<EuiSpacer />
|
||||
<EuiTitle size="xs">
|
||||
<h5>
|
||||
<FormattedMessage
|
||||
id="xpack.stackAlerts.esQuery.ui.conditionPrompt"
|
||||
defaultMessage="When number of matches"
|
||||
<EuiFlexGroup alignItems="center" responsive={false} gutterSize="none">
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiTitle size="xs">
|
||||
<h5>
|
||||
<FormattedMessage
|
||||
id="xpack.stackAlerts.esQuery.ui.conditionPrompt"
|
||||
defaultMessage="When number of matches"
|
||||
/>
|
||||
</h5>
|
||||
</EuiTitle>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiIconTip
|
||||
position="right"
|
||||
color="subdued"
|
||||
type="questionInCircle"
|
||||
iconProps={{
|
||||
className: 'eui-alignTop',
|
||||
}}
|
||||
content={i18n.translate('xpack.stackAlerts.esQuery.ui.conditionPrompt.toolTip', {
|
||||
defaultMessage: 'The time window defined below applies only to the first rule check.',
|
||||
})}
|
||||
/>
|
||||
</h5>
|
||||
</EuiTitle>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
<EuiSpacer size="s" />
|
||||
<ThresholdExpression
|
||||
data-test-subj="thresholdExpression"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue