Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
1f25f201
Commit
1f25f201
authored
Feb 03, 2016
by
Fabian Reinartz
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #315 from prometheus/fix-broken-link
Fix broken console link in alert rules
parents
662e8300
447e2aa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rules.md
content/docs/alerting/rules.md
+2
-2
No files found.
content/docs/alerting/rules.md
View file @
1f25f201
...
...
@@ -59,7 +59,7 @@ Label values in the `WITH` clause cannot be templated.
#### Templating
Label and annotation values can be templated using
[
console templates
](
../visualization/consoles
)
.
Label and annotation values can be templated using
[
console templates
](
../
../
visualization/consoles
)
.
The
`$labels`
variable holds the label key/value pairs of an alert instance
and
`$value`
holds the evaluated value of an alert instance.
...
...
@@ -85,7 +85,7 @@ Examples:
IF api_http_request_latencies_second{quantile="0.5"} > 1
FOR 1m
ANNOTATIONS {
summary = "High request latency on {{ $labels.instance }}",
summary = "High request latency on {{ $labels.instance }}",
description = "{{ $labels.instance }} has a median request latency above 1s (current value: {{ $value }}s)",
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment