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
2bf7f631
Commit
2bf7f631
authored
Jun 01, 2015
by
Julius Volz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indicate WITH keyword as optional in alerting docs.
parent
7aa30919
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
rules.md
content/docs/alerting/rules.md
+1
-2
No files found.
content/docs/alerting/rules.md
View file @
2bf7f631
...
@@ -20,7 +20,7 @@ Alerting rules are defined in the following syntax:
...
@@ -20,7 +20,7 @@ Alerting rules are defined in the following syntax:
ALERT <alert name>
ALERT <alert name>
IF <expression>
IF <expression>
[FOR <duration>]
[FOR <duration>]
WITH <label set>
[WITH <label set>]
SUMMARY "<summary template>"
SUMMARY "<summary template>"
DESCRIPTION "<description template>"
DESCRIPTION "<description template>"
...
@@ -58,7 +58,6 @@ Examples:
...
@@ -58,7 +58,6 @@ Examples:
ALERT ApiHighRequestLatency
ALERT ApiHighRequestLatency
IF api_http_request_latencies_ms{quantile="0.5"} > 1000
IF api_http_request_latencies_ms{quantile="0.5"} > 1000
FOR 1m
FOR 1m
WITH {}
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}})"
DESCRIPTION "{{$labels.instance}} has a median request latency above 1s (current value: {{$value}})"
...
...
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