Commit 15e27dba authored by Brian Brazil's avatar Brian Brazil

Remove old docs around keeping_extra and alerting.

parent 0f480966
...@@ -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).
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment