mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
851b641c2d
commit
b801dbcf06
3 changed files with 3 additions and 1 deletions
|
@ -499,6 +499,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
|
|||
infrastructureThreshold: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/infrastructure-threshold-alert.html`,
|
||||
logsThreshold: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/logs-threshold-alert.html`,
|
||||
metricsThreshold: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/metrics-threshold-alert.html`,
|
||||
threshold: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/threshold-alert.html`,
|
||||
monitorStatus: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/monitor-status-alert.html`,
|
||||
monitorUptime: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/monitor-uptime.html`,
|
||||
tlsCertificate: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/tls-certificate-alert.html`,
|
||||
|
|
|
@ -379,6 +379,7 @@ export interface DocLinks {
|
|||
infrastructureThreshold: string;
|
||||
logsThreshold: string;
|
||||
metricsThreshold: string;
|
||||
threshold: string;
|
||||
monitorStatus: string;
|
||||
monitorUptime: string;
|
||||
tlsCertificate: string;
|
||||
|
|
|
@ -89,7 +89,7 @@ export const registerObservabilityRuleTypes = (
|
|||
),
|
||||
iconClass: 'bell',
|
||||
documentationUrl(docLinks) {
|
||||
return `${docLinks.links.observability.metricsThreshold}`;
|
||||
return `${docLinks.links.observability.threshold}`;
|
||||
},
|
||||
ruleParamsExpression: lazy(() => import('../pages/threshold/components/expression')),
|
||||
validate: validateMetricThreshold,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue