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
d377ab91
Commit
d377ab91
authored
Jun 24, 2016
by
Yecheng Fu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix relabel defaults
parent
fac1e7dd
Changes
1
Hide 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 @
d377ab91
...
@@ -639,14 +639,14 @@ prefix is guaranteed to never be used by Prometheus itself.
...
@@ -639,14 +639,14 @@ prefix is guaranteed to never be used by Prometheus itself.
[ target_label: <labelname> ]
[ target_label: <labelname> ]
# Regular expression against which the extracted value is matched.
# Regular expression against which the extracted value is matched.
[ regex: <regex> ]
[ regex: <regex>
| default = (.*)
]
# Modulus to take of the hash of the source label values.
# Modulus to take of the hash of the source label values.
[ modulus: <uint64> ]
[ modulus: <uint64> ]
# Replacement value against which a regex replace is performed if the
# Replacement value against which a regex replace is performed if the
# regular expression matches.
# regular expression matches.
[ replacement: <string> | default =
''
]
[ replacement: <string> | default =
$1
]
# Action to perform based on regex matching.
# Action to perform based on regex matching.
[ action: <relabel_action> | default = replace ]
[ action: <relabel_action> | default = replace ]
...
...
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