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
f6953986
Commit
f6953986
authored
Nov 29, 2015
by
Brian Brazil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #270 from brian-brazil/params
Document URL parameter configuration for Prometheus
parents
132e87a8
3eaeab40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
configuration.md
content/docs/operating/configuration.md
+6
-1
No files found.
content/docs/operating/configuration.md
View file @
f6953986
...
...
@@ -131,6 +131,10 @@ job_name: <name>
# The URL scheme with which to fetch metrics from targets.
[ scheme: <scheme> | default = http ]
# Optional HTTP URL parameters.
params:
[ <string>: [<string>, ...] ]
# Optional authentication information. Note that `basic_auth`, `bearer_token`
# `bearer_token_file` options are mutually exclusive.
...
...
@@ -518,7 +522,8 @@ label is set to the `job_name` value of the respective scrape configuration.
The
`__address__`
label is set to the
`<host>:<port>`
address of the target.
After relabeling, the
`instance`
label is set to the value of
`__address__`
by default if
it was not set during relabeling. The
`__scheme__`
and
`__metrics_path__`
labels
are set to the scheme and metrics path of the target respectively.
are set to the scheme and metrics path of the target respectively. The
`__param_<name>`
label is set to the value of the first passed URL parameter called
`<name>`
.
Additional labels prefixed with
`__meta_`
may be available during the
relabeling phase. They are set by the service discovery mechanism that provided
...
...
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