Alerting: Minor changes to UI help text and descriptions (#84023)
This commit is contained in:
@@ -280,7 +280,7 @@ function TemplatingGuideline() {
|
||||
</Stack>
|
||||
|
||||
<div className={styles.snippets}>
|
||||
To make templating easier, we provide a few snippets in the content editor to help you speed up your workflow.
|
||||
For auto-completion of common templating code, type the following keywords in the content editor:
|
||||
<div className={styles.code}>
|
||||
{Object.values(snippets)
|
||||
.map((s) => s.label)
|
||||
|
||||
@@ -89,9 +89,6 @@ const AnnotationsStep = () => {
|
||||
};
|
||||
|
||||
function getAnnotationsSectionDescription() {
|
||||
const docsLink =
|
||||
'https://grafana.com/docs/grafana/latest/alerting/fundamentals/annotation-label/variables-label-annotation';
|
||||
|
||||
return (
|
||||
<Stack direction="row" gap={0.5} alignItems="baseline">
|
||||
<Text variant="bodySmall" color="secondary">
|
||||
@@ -101,8 +98,6 @@ const AnnotationsStep = () => {
|
||||
contentText={`Annotations add metadata to provide more information on the alert in your alert notification messages.
|
||||
For example, add a Summary annotation to tell you which value caused the alert to fire or which server it happened on.
|
||||
Annotations can contain a combination of text and template code.`}
|
||||
externalLink={docsLink}
|
||||
linkText={`Read about annotations`}
|
||||
title="Annotations"
|
||||
/>
|
||||
</Stack>
|
||||
|
||||
@@ -284,7 +284,7 @@ const LabelsField: FC<Props> = ({ dataSourceName }) => {
|
||||
<Text element="h5">Labels</Text>
|
||||
<Stack direction={'row'} gap={1}>
|
||||
<Text variant="bodySmall" color="secondary">
|
||||
Add labels to your rule to annotate your rules, ease searching, or route to a notification policy.
|
||||
Add labels to your rule for searching, silencing, or routing to a notification policy.
|
||||
</Text>
|
||||
<NeedHelpInfo
|
||||
contentText="The dropdown only displays labels that you have previously used for alerts.
|
||||
|
||||
Reference in New Issue
Block a user