diff --git a/docs/sources/alerting/fundamentals/annotation-label/_index.md b/docs/sources/alerting/fundamentals/annotation-label/_index.md index 4d2dd03bf7e..8270a4ce178 100644 --- a/docs/sources/alerting/fundamentals/annotation-label/_index.md +++ b/docs/sources/alerting/fundamentals/annotation-label/_index.md @@ -16,7 +16,7 @@ weight: 401 # Annotations and labels for alerting rules -Annotations and labels are key value pairs associated with alerts originating from the alerting rule, datasource response, and as a result of alerting rule evaluation. They can be used in alert notifications directly or in [templates]({{< relref "../../contact-points/message-templating/" >}}) and [template functions]({{< relref "../../contact-points/message-templating/template-functions/" >}}) to create notification contact dynamically. +Annotations and labels are key value pairs associated with alerts originating from the alerting rule, datasource response, and as a result of alerting rule evaluation. They can be used in alert notifications directly or in [templates]({{< relref "../../contact-points/message-templating/" >}}) and [template functions]({{< relref "../../contact-points/fundamentals/annotation-label/template-functions/" >}}) to create notification contact dynamically. ## Annotations diff --git a/docs/sources/alerting/contact-points/message-templating/example-template-functions.md b/docs/sources/alerting/fundamentals/annotation-label/example-template-functions.md similarity index 86% rename from docs/sources/alerting/contact-points/message-templating/example-template-functions.md rename to docs/sources/alerting/fundamentals/annotation-label/example-template-functions.md index 76693eda54d..3bd894057ab 100644 --- a/docs/sources/alerting/contact-points/message-templating/example-template-functions.md +++ b/docs/sources/alerting/fundamentals/annotation-label/example-template-functions.md @@ -1,9 +1,7 @@ --- aliases: - - /docs/grafana/latest/alerting/contact-points/message-templating/example-template-functions/ - - /docs/grafana/latest/alerting/contact-points/message-templating/template-functions/ - - /docs/grafana/latest/alerting/message-templating/template-functions/ - - /docs/grafana/latest/alerting/unified-alerting/message-templating/template-functions/ + - /docs/grafana/latest/alerting/fundamentals/annotation-label/example-template-functions/ + - /docs/grafana/latest/alerting/unified-alerting/fundamentals/annotation-label/template-functions/ keywords: - grafana - alerting diff --git a/docs/sources/alerting/contact-points/message-templating/template-functions.md b/docs/sources/alerting/fundamentals/annotation-label/template-functions.md similarity index 95% rename from docs/sources/alerting/contact-points/message-templating/template-functions.md rename to docs/sources/alerting/fundamentals/annotation-label/template-functions.md index 567f0452703..b06bb916045 100644 --- a/docs/sources/alerting/contact-points/message-templating/template-functions.md +++ b/docs/sources/alerting/fundamentals/annotation-label/template-functions.md @@ -1,8 +1,7 @@ --- aliases: - - /docs/grafana/latest/alerting/contact-points/message-templating/template-functions/ - - /docs/grafana/latest/alerting/message-templating/template-functions/ - - /docs/grafana/latest/alerting/unified-alerting/message-templating/template-functions/ + - /docs/grafana/latest/alerting/fundamentals/annotation-label/template-functions/ + - /docs/grafana/latest/alerting/unified-alerting/fundamentals/annotation-label/template-functions/ keywords: - grafana - alerting @@ -15,7 +14,7 @@ weight: 125 # Template Functions -Template functions allow you to process labels and annotations to generate dynamic notifications. +Template functions allow you to process alert evaluation results to generate dynamic notifications. | Name | Argument type | Return type | Description | | ----------------------------------------- | ------------------------------------------------------------ | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |