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
b602ec32
Commit
b602ec32
authored
Apr 14, 2017
by
Björn Rabenstein
Committed by
GitHub
Apr 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #710 from prometheus/target-relabel
Document that target_label can do regex replacement
parents
6f5001a2
2deab292
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
configuration.md
content/docs/operating/configuration.md
+2
-2
No files found.
content/docs/operating/configuration.md
View file @
b602ec32
...
...
@@ -819,7 +819,7 @@ prefix is guaranteed to never be used by Prometheus itself.
[ separator: <string> | default = ; ]
# Label to which the resulting value is written in a replace action.
# It is mandatory for replace actions.
# It is mandatory for replace actions.
Regex capture groups are available.
[ target_label: <labelname> ]
# Regular expression against which the extracted value is matched.
...
...
@@ -829,7 +829,7 @@ prefix is guaranteed to never be used by Prometheus itself.
[ modulus: <uint64> ]
# Replacement value against which a regex replace is performed if the
# regular expression matches.
# regular expression matches.
Regex capture groups are available.
[ replacement: <string> | default = $1 ]
# Action to perform based on regex matching.
...
...
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