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
3ffc0ca8
Commit
3ffc0ca8
authored
Sep 30, 2016
by
Brian Brazil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document alert_relabel_configs.
Fixes #568
parent
e5dd9ac8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
configuration.md
content/docs/operating/configuration.md
+16
-2
No files found.
content/docs/operating/configuration.md
View file @
3ffc0ca8
...
...
@@ -62,13 +62,18 @@ global:
external_labels:
[ <labelname>: <labelvalue> ... ]
# Rule files specifies a list of files from which rules are read.
# Rule files specifies a list of files from which rules a
nd alerts a
re read.
rule_files:
[ - <filepath> ... ]
# A list of scrape configurations.
scrape_configs:
[ - <scrape_config> ... ]
# Alerting specifies settings related to the Alertmanager.
alerting:
alert_relabel_configs:
[ - <relabel_config> ... ]
```
...
...
@@ -714,10 +719,19 @@ the `replace`, `keep`, `drop` and `labelmap` actions. The regex is fully anchore
to label names given by
`replacement`
with match group references
(
`${1}`
,
`${2}`
, ...) in
`replacement`
substituted by their value.
### `<metric_relabel_config>`
### `<metric_relabel_config
s
>`
Metric relabeling is applied to samples as the last step before ingestion. It
has the same configuration format and actions as target relabeling. Metric
relabeling does not apply to automatically generated timeseries such as
`up`
.
One use for this is to blacklist time series that are too expensive to ingest.
### `<alert_relabel_configs>`
Alert relabeling is applied to alerts before they are sent to the Alertmanager.
It has the same configuration format and actions as target relabeling. Alert
relabeling is applied after external labels.
One use for this is ensuring a HA pair of Prometheus servers with different
external labels send identical alerts.
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