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
15e27dba
Commit
15e27dba
authored
Jul 08, 2016
by
Brian Brazil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old docs around keeping_extra and alerting.
parent
0f480966
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
25 deletions
+0
-25
rules.md
content/docs/alerting/rules.md
+0
-21
operators.md
content/docs/querying/operators.md
+0
-4
No files found.
content/docs/alerting/rules.md
View file @
15e27dba
...
@@ -38,27 +38,6 @@ identifying for an alert instance. They are used to store longer additional
...
@@ -38,27 +38,6 @@ identifying for an alert instance. They are used to store longer additional
information such as alert descriptions or runbook links. The annotation values
information such as alert descriptions or runbook links. The annotation values
can be templated.
can be templated.
#### Prometheus v0.16.2 and earlier
In previous Prometheus versions the rule syntax is as follows:
ALERT <alert name>
IF <expression>
[ FOR <duration> ]
[ WITH <label set> ]
SUMMARY <string>
DESCRIPTION <string>
[ RUNBOOK <string> ]
Annotations are not free form but fixed to a summary, a description, and a
runbook field. Labels are attached using the
`WITH`
rather than the
`LABELS`
clause.
Label values in the
`WITH`
clause cannot be templated.
NOTE:
**Note:**
Old alerting rules can be converted to the new syntax using
[
this script
](
https://gist.github.com/xbglowx/d798da98ff9937e33862b285d0121bde#gistcomment-1752515
)
.
#### Templating
#### 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
)
.
...
...
content/docs/querying/operators.md
View file @
15e27dba
...
@@ -204,10 +204,6 @@ are identical between elements, but not in the `by` clause).
...
@@ -204,10 +204,6 @@ are identical between elements, but not in the `by` clause).
the input samples, including the original labels, are returned in the result
the input samples, including the original labels, are returned in the result
vector.
`by`
and
`without`
are only used to bucket the input vector.
vector.
`by`
and
`without`
are only used to bucket the input vector.
Until Prometheus 0.14.0, the
`keep_common`
keyword was called
`keeping_extra`
.
The latter is still supported, but is deprecated and will be removed at some
point.
Example:
Example:
If the metric
`http_requests_total`
had time series that fan out by
If the metric
`http_requests_total`
had time series that fan out by
...
...
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