mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix docs link when creating or editing rules (#66019)
This commit is contained in:
parent
5dc529a55d
commit
3e12b72f58
@ -12,7 +12,7 @@ function getDescription(ruleType: RuleFormType | undefined) {
|
|||||||
return 'Select the Namespace and Group for your recording rule.';
|
return 'Select the Namespace and Group for your recording rule.';
|
||||||
}
|
}
|
||||||
const docsLink =
|
const docsLink =
|
||||||
'https://grafana.com/docs/grafana/latest/alerting/fundamentals/annotation-label/variables-label-annotation/#the-values-variable';
|
'https://grafana.com/docs/grafana/latest/alerting/fundamentals/annotation-label/variables-label-annotation';
|
||||||
const LinkToDocs = () => (
|
const LinkToDocs = () => (
|
||||||
<span>
|
<span>
|
||||||
Click{' '}
|
Click{' '}
|
||||||
@ -26,8 +26,7 @@ function getDescription(ruleType: RuleFormType | undefined) {
|
|||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
{' '}
|
{' '}
|
||||||
Write a summary to help you better manage your alerts.
|
Write a summary to help you better manage your alerts. <LinkToDocs />
|
||||||
<LinkToDocs />
|
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -36,7 +35,6 @@ function getDescription(ruleType: RuleFormType | undefined) {
|
|||||||
<span>
|
<span>
|
||||||
{' '}
|
{' '}
|
||||||
Select the Namespace and evaluation group for your alert. Write a summary to help you better manage your alerts.{' '}
|
Select the Namespace and evaluation group for your alert. Write a summary to help you better manage your alerts.{' '}
|
||||||
<LinkToDocs />
|
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user